#header {
    height: 98px;
    display: flex;
    align-items: center;
    justify-content: space-between;

    background: #FFFFFF;
    box-shadow: 0 4px 10px rgba(176, 199, 238, 0.3);

    color: #161412;
    font-family: Switzer, sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;

    padding: 0 50px 0 20px;
}

/* left */
/* domain-space img & anchor */
#header .left {
    display: flex;
    justify-content: space-between;
    align-items: center;

    width: 80%;
    max-width: 996px;
}

#header .left .logo-and-name,
#header #mobile-nav-list .offcanvas-header .logo-and-name {
    display: flex;
    align-items: center;
}

#header .left .logo-and-name a,
#header #mobile-nav-list .offcanvas-header .logo-and-name a {
    color: #07133B;
    font-family: 'Tourney', sans-serif;
    font-weight: 900;
    font-size: 24px;
    line-height: 37px;
}

#header .left .logo-and-name img,
#header #mobile-nav-list .offcanvas-header .logo-and-name img {
    width: 40px;
    height: 37px;
    border-radius: 50%;
    margin-right: 10px;
}

#header .left i.fa-bars {
    display: none;
}

/* nav-list */
#header .left .nav-list {
    width: 80%;
    max-width: 716px;
}

#header .left .nav-list ul {
    display: flex;
    justify-content: space-between;
}

#header .left .nav-list ul li:hover,
#header #mobile-nav-list .offcanvas-header .nav-list ul li:hover {
    opacity: 0.6;
}

#header .left .nav-list ul li a.focus,
#header #mobile-nav-list .offcanvas-header .nav-list ul li a.focus {
    font-weight: 600;
}

/* right */
.right {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-width: 150px;
}

.right .sign-in {
    align-items: center;
}

.right .sign-in .sign-in-link {
    display: flex;
    width: 90px;
    padding: 4px 10px;
    justify-content: center;
    align-items: center;

    border-radius: 70px;
    border: 1px solid #161412;
}

.right .user-info {
    display: none;
    align-items: center;
}

.right.logged-in {
    min-width: 180px;
}

.right.logged-in .sign-in {
    display: none;
}

.right.logged-in .user-info {
    display: flex;
    gap:10px;
    cursor: pointer;
}

.right.logged-in .user-info .user-avatar {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 24px;
    height: 24px;
    text-align: center;
    background-color: #CDD0D9;
    border-radius: 50%;
}

.right.logged-in .user-info .user-avatar .user-avatar-icon {
    font-size: 14px;
    display: flex;
    color: #ffffff;
}

.right.logged-in .user-info.has-avatar .user-avatar .user-avatar-icon {
    display: none;
}

.right.logged-in .user-info.has-avatar .user-avatar .user-avatar-image {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.right.logged-in > div.user-info-modal.dropdown-menu {
    width: 244px;
    top: 70px;
    right: 110px;

    padding: 0;
    flex-shrink: 0;
    color: #161412;
    font-family: Inter, sans-serif;
    font-size: 14px;
    font-weight: 400;
    font-style: normal;
    line-height: normal;
    border-radius: 10px;
    background: #FFF;
}

.right.logged-in > div.user-info-modal.dropdown-menu.show > a >  div.modal-header {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(3, 18, 66, 0.10);
}

.right.logged-in > div.user-info-modal.dropdown-menu.show > div.modal-header div {
    width: 100%;
    margin-left: 30px;
}

.right.logged-in > div.user-info-modal.dropdown-menu.show > a > div.modal-header div {
    width: 100%;
    margin-left: 30px;
}

.right.logged-in > div.user-info-modal.dropdown-menu.show i {
    font-family: "Font Awesome 6 Pro", sans-serif;
    margin-right: 7px;
    color: #0080FF;
    font-size: 16px;
}

.right.logged-in > div.user-info-modal.dropdown-menu.show > div.menu-content {
    padding: 0 0 20px 30px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.right.logged-in > div.user-info-modal.dropdown-menu.show > div.menu-content > div.menu-item{
    cursor: pointer;
}

.right.logged-in > div.user-info-modal.dropdown-menu.show > div.modal-header > div.user-avatar {
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;

    text-align: center;
    background-color: #CDD0D9;
    border-radius: 50%;
}

.right.logged-in > div.user-info-modal.dropdown-menu.show > div.modal-header > div.user-avatar .user-avatar-icon {
    font-size: 28px;
    display: flex;
    color: #ffffff;
}

.right.logged-in > div.user-info-modal.dropdown-menu.show > div.modal-header > div.user-avatar.has-avatar .user-avatar-icon {
    display: none;
}

.right.logged-in > div.user-info-modal.dropdown-menu.show > div.modal-header > div.user-avatar.has-avatar .user-avatar-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.right.logged-in > div.user-info-modal.dropdown-menu.show > a > div.modal-header > div.user-name {
    color: #161412;
    font-family: Switzer, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.right.logged-in > div.user-info-modal.dropdown-menu.show > a > div.modal-header > div.user-email {
    color: #161412;
    font-family: Switzer, sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    opacity: 0.6;
}

#header > div.right.logged-in > div.user-info-modal.dropdown-menu.show > div.menu-footer > div.sign-out{
    cursor: pointer;
}

.right.logged-in > div.user-info-modal.dropdown-menu.show > div.menu-footer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 7px 30px;
    margin-bottom: 20px;
    border: none;

    color: #161412;
    font-family: Switzer, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.right.logged-in > div.user-info-modal.dropdown-menu.show > div.modal-footer i {
    margin-right: 9px;
    color: #161412;
    font-size: 14px;
}


#header .shopping-cart {
    cursor: pointer;
    display: flex;
    margin-left: 10px;
}

#header .shopping-cart:after {
    display: inline-block;
    visibility: visible;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #DB89FF;
    content: "";
    position: relative;
    top: -2px;
    left: -4px;
}

#header .shopping-cart.empty:after {
    visibility: hidden;
}

#header .right i.fa-bars {
    display: none;
}

/*off canvas mobile nav list*/
#header #mobile-nav-list {
    width: 90%;
    max-width: 400px;
    font-size: 16px;
}

#header #mobile-nav-list .offcanvas-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    height: 70px;
}

#header #mobile-nav-list .fa-xmark {
    font-size: 20px;
}

#header #mobile-nav-list .offcanvas-body {
    padding: 0 12px;
}

#header #mobile-nav-list .offcanvas-body > div {
    padding-left: 8px;
}

#header #mobile-nav-list .title {
    margin-bottom: 28px;
    padding: 30px 0;
    border-top: 1px solid rgba(3, 18, 66, 0.10);
    border-bottom: 1px solid rgba(3, 18, 66, 0.10);
}

#header #mobile-nav-list .title .sign-in {
    cursor: pointer;
}

#header #mobile-nav-list.sign-in .title .sign-in {
    display: none;
}

#header #mobile-nav-list .title .user-info {
    display: none;
}

#header #mobile-nav-list.sign-in .title .user-info {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

#header #mobile-nav-list .title .user-info img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 20px;
}

#header #mobile-nav-list .title .user-info .email {
    font-size: 14px;
    opacity: 0.6;
}

#header #mobile-nav-list .sign-in i,
#header #mobile-nav-list .sign-out i {
    font-size: 14px;
    margin-right: 6px;
}

/*mobile-nav-list ffcanvas body*/
#header #mobile-nav-list .nav-list {
    height: 450px;
    border-bottom: 1px solid rgba(3, 18, 66, 0.10);

    margin-bottom: 30px;
}

#header #mobile-nav-list .nav-list ul {
    height: 340px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#header #mobile-nav-list .sign-out {
    cursor: pointer;
    margin-bottom: 40px;
}

@media only screen and (max-width: 1200px) {
    #header {
        height: 80px;
    }

    #header .right .user-info {
        display: none;
    }

    #header .right.logined {
        min-width: 200px;
    }

    #header .right i.fa-bars {
        display: block;
        background-color: #FFFFFF;
        border: none;
        font-size: 20px;
        font-weight: 400;
        cursor: pointer;
    }

    #header .right a.sign-in {
        display: none;
    }

    #header .left .nav-list {
        display: none;
    }

    #header .right {
        min-width: 80px;
    }
}

@media only screen and (max-width: 850px) and (min-width: 450px) {
    #header {
        height: 60px;
        padding-right: 20px;
    }

    #header .left .logo-and-name span a {
        height: 10px;
        font-size: 20px;
    }

    #header .left .logo-and-name img,
    #header #mobile-nav-list .offcanvas-header .logo-and-name img {
        width: 38px;
        height: 25px;
    }

    #header .modal-content hr {
        color: #dee2e6;
        opacity: 1;
    }

    #header .right {
        width: 62px;
    }
}

@media only screen and (max-width: 450px) {
    #header {
        height: 50px;
        padding: 0 20px;
    }

    #header .logo-and-name span a {
        font-size: 14px;
    }

    #header .left .logo-and-name img,
    #header #mobile-nav-list .offcanvas-header .logo-and-name img {
        width: 22px;
        height: 14px;
    }

    #header .left .logo-and-name a,
    #header #mobile-nav-list .offcanvas-header .logo-and-name a {
        font-size: 14px;
    }

    #header .right .sign-in a{
        display: flex;
        width: 70px;
        padding: 2px 5px;
        justify-content: center;
        align-items: center;
        font-size: 14px;
        font-weight: 400;
        border-radius: 70px;
        border: 1px solid #161412;
    }

    #header button {
        margin-right: 20px;
        width: 20px;
        height: 25px;
    }
}
