.header {
    position: fixed;
    z-index: 100;
    width: 100vw;
    line-height: 56px;
    background-color: white;
    top: 0;
    border-block-end: 1px solid rgba(5, 5, 5, 0.06);
}

.header .logo-actives {
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header .logo-actives .logo {
    height: 80px;
    display: flex;
    align-items: center;
}

.header .logo-actives .logo img {
    height: 40px;
    width: 40px;
}

.header .logo-actives .logo span {
    font-weight: 600;
    color: black;
    font-size: 30px;
    margin-inline-start: 5px;
}

.header .logo-actives .actives {
    margin-left: 50px;
}

.header .logo-actives .actives .notlogin {
    display: inline-block;
    height: 40px;
    line-height: 40px;
    border-radius: 30px;
    padding: 0 20px;
    background: linear-gradient(to right, #0BB4E3, #1DDAB8);
    color: white;
    font-size: 16px;
    font-weight: 500;
    transition-duration: 0.5s;

    span {
        padding: 0 3px;
    }
}

.header .logo-actives .actives .notlogin:hover {
    background: linear-gradient(to left, #0BB4E3, #1DDAB8);
    transition-duration: 0.5s;
    cursor: pointer;
}

.header .logo-actives .actives .user {
    height: 40px;
    line-height: 0;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.header .logo-actives .actives .user .header {
    size: 40px;
}

.header .logo-actives .actives .user .info {
    display: inline-block;
    margin-left: 5px;
}

.header .logo-actives .actives .user .info .name {
    display: block;
    height: 20px;
    line-height: 22px;
}

.header .logo-actives .actives .user .info .balance {
    display: block;
    height: 20px;
    line-height: 18px;
}

/* ------------ */
.header .navbar {
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    margin-top: -10px;
    border-block-end: 1px solid rgba(5, 5, 5, 0.06);
}

.header .navbar .ul {
    overflow: hidden;
    display: inline-flex;
    list-style: none;
    height: 40px;
    line-height: 40px;
}

.header .navbar .ul li {
    margin-left: 40px;
    font-size: 17px;
    font-weight: 500;
    position: relative;
}

.header .navbar .ul li a {
    width: 100%;
    color: #1677ff !important;
}

.header .navbar .ul li:first-child {
    margin-left: 20px;
}

.header .navbar .ul li:last-child {
    margin-right: 20px;
}

.header .navbar .ul li.on {
    font-weight: 600 !important;
    background: linear-gradient(to right, #0BB4E3, #1DDAB8);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.header .navbar .ul li.on::before {
    background: linear-gradient(to right, #0BB4E3, #1DDAB8);
    content: "";
    display: inline-block;
    width: 100%;
    height: 2px;
    position: absolute;
    bottom: 0px;
}

/* ----------- */
.header .products {
    background: white;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    box-shadow: 0 4px 4px rgba(238, 238, 238, 0.4);
}

.header .products ul {
    list-style: none;
}

.header .products .main {
    display: flex;
    padding: 0 5px 0 15px;
}

.header .products .main .classify {
    font-size: 15px;
    border-right: 1px solid #eee;
    padding: 10px 15px 10px 0;
}

.header .products .main .classify li {
    position: relative;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.header .products .main .classify li.on {
    font-weight: 600 !important;
    background: linear-gradient(to right, #0BB4E3, #1DDAB8);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.header .products .main .classify li.on::before {
    background: linear-gradient(to right, #0BB4E3, #1DDAB8);
    content: "";
    display: inline-block;
    width: 100%;
    height: 2px;
    position: absolute;
    bottom: 0px;
}

.header .products .main .classify-list {
    max-height: 50vh;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
    margin-left: 15px;
}

.header .products .main .classify-list .list {
    padding: 10px 0;
}

.header .products .main .classify-list .list li {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 50px !important;
    line-height: 50px !important;
    width: 50%;
    float: left;
}

.header .products .main .classify-list .list li a {
    color: #333 !important;
}

.header .products .main .classify-list .list li.on {
    font-weight: 600 !important;
    background: linear-gradient(to right, #0BB4E3, #1DDAB8);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.header .products .close {
    border-top: 1px solid #eee;
    text-align: center;
}