﻿/* 头部 */
.header {
    height: 88px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 var(--theme-pd);
}
.header-logo {
    height: 80%;
    display: flex;
}
.header-logo a {
    height: 100%;
}
.header-logo a img {
    object-fit: contain;
    /* height: auto; */
}
.header-info {
    height: 100%;
    display: flex;
}
.header-info .iconfont {
    font-size: 12px;
    padding: 0 5px;
    display: flex;
    transform: scale(0.8);
    transition: transform .5s;
}
.header-info ul {
    display: flex;
}
.header-info ul li {
    padding-left: 40px;
    height: 100%;
    display: flex;
    align-items: center;
}
.header-info ul li a {
    font-size: 14px;
    flex-direction: column;
}
.header-info ul li a .en {
    width: 100%;
    color: #999;
    display: block;
    transform: scale(0.9);
    margin-top: 2px;
}
.header-info ul li a,
.header-info ul li a .name,
.header-info ul li .text {
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;
}
.header-info ul li div:hover > a,
.header-info ul li div:hover > a .en {
    color: #eb5922;
}
.header-info ul li div:hover .iconfont{
    transform: scale(0.8) rotate(180deg);
}
.header-info ul li div:hover .tips {
    display: block;
}
.header-info-btn {
    flex: 1;
}
.header-info-btn .text .tips {
    display: none;
    top: 100%;
    left: -30px;
    position: absolute;
    z-index: 20;
    padding-top: 18%;
    width: fit-content;
}
.header-info-btn .text .tips .tips-box {
    padding: 20px 37px;
    background: #fff;
    border-radius: 5px;
    cursor: auto;
    box-shadow: -10px 10px 10px rgba(0, 0, 0, .2),
                10px 10px 10px rgba(0, 0, 0, .2),
                0 15px 20px rgba(0, 0, 0, .2);
}
.header-info-btn .text .tips-box dl {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.header-info-btn .text .tips-box dl dd a {
    display: block;
    color: #666;
    font-size: 14px;
    white-space: nowrap;
    text-align: center;
}
.header-info-btn .text .tips-box dl dt:hover a,
.header-info-btn .text .tips-box dl dd:hover a {
    color: #f1602f;
    text-decoration: underline;
}
.header-info .shopping {
    display: flex;
    align-items: center;
    gap: 14px;
}
.header-info .shopping span {
    font-size: 12px;
    color: #999;
    border-left: 1px solid #999;
    padding-left: 30px;
    margin-left: 30px;
}

/* 小屏专用头部 */
.header-min {
    --height: 56px;
    display: none;
    position: sticky;
    top: 0;
    width: 100%;
    height: var(--height);
    background: #fff;
    z-index: 20;
    justify-content: space-between;
    padding: 0 var(--theme-pd);
}
.header-min-logo {
    display: flex;
    justify-content: center;
    align-items: center;
}
.header-min-logo a {
    height: 80%;
}
.header-min .operation .menu-btn {
    width: 56px;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
.header-min .operation .menu-btn .btn-text {
    cursor: pointer;
}
.header-min .operation .menu-btn .btn-text .iconfont {
    font-size: 22px;
    display: none;
    color: #333;
}
.header-min .operation .menu-btn .btn-text .active {
    display: block;
}
.header-min .operation .menu-btn .mask {
    position: absolute;
    min-width: 100vw;
    min-height: calc(100vh - var(--height));
    top: var(--height);
    right: calc(var(--theme-pd) * -1);
    background: rgba(0, 0, 0, .5);
    z-index: 20;
    opacity: 0;
    transition: opacity .5s;
    pointer-events: none;
}
.header-min .operation .menu-btn .menu {
    display: flex;
    flex-direction: column;
    position: absolute;
    width: 0;
    height: 100%;
    top: 0;
    right: 0;
    background: #fff;
    z-index: 20;
    transition: width .5s;
    overflow: hidden;
}
.header-min .operation .active .mask {
    opacity: 1;
    pointer-events: auto;
}
.header-min .operation .active .menu {
    right: 0;
    width: 100%;
}
.header-min .operation .menu-btn .menu .menu-item {
    white-space: nowrap;
    display: flex;
    flex: 1;
}
.header-min .operation .menu-btn .menu .menu-item a {
    width: 100%;
    padding: 0 25px;
    display: flex;
    align-items: center;
    font-size: 14px;
    border-bottom: 1px solid #ccc;
}
.header-min .operation .menu-btn .menu .menu-item:first-child a {
    border-top: 1px solid #ccc;
}
@media only screen and (max-width: 1600px) {
    .header-info ul li {
        padding-left: 20px;
    }
    .header-info .shopping span {
        padding-left: 20px;
        margin-left: 20px;
    }
}
@media only screen and (max-width: 1450px) {
    .header-info ul li {
        padding-left: 15px;
    }
}
@media only screen and (max-width: 1100px) {
    .header {
        display: none;
    }
    .header-min {
        display: flex;
    }
}
@media only screen and (max-width: 400px) {
    .header-min .operation .menu-btn .menu .menu-item a {
        padding-left: 10px;
    }
}

