/* 头部样式 - 从原始HTML完整提取 */

/* 头部导航 */
header {
    background: #fff;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    box-shadow: 0px 4px 12px 0px rgba(0, 0, 0, 0.05);
}

.header {
    position: relative;
    width: 1450px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    margin-right: 40px;
}

header .nav {
    display: flex;
    align-items: center;
    height: 100%;
    line-height: 75px;
    color: #5B5E66;
    cursor: pointer;
    margin-left: 20px;
}

header .nav li {
    position: relative;
    margin-right: 20px;
}

header .nav li a {
    padding: 8px 20px;
    white-space: nowrap;
    color: #000;
    font-size: 18px;
    font-weight: bold;
}

header .nav li a:hover {
    color: #FD4E4E;
}

.nav-hot {
    position: absolute;
    top: 5px;
    right: -5px;
    width: 50px;
    height: 24px;
}

.nav-hot img {
    width: 100%;
    height: 100%;
    display: block;
}

.nav-hot-text {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    z-index: 999;
    color: #fff;
    font-weight: 600;
}

.nav-tag {
    position: absolute;
    top: -5px;
    right: -10px;
    background: #FD4E4E;
    color: #fff;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: normal;
}

/* 底部导航 */
.navBottom {
    width: 1450px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
    margin-bottom: 10px;
}

.navBottomBox {
    display: flex;
}

.navBottomBox > li {
    position: relative;
    padding: 8px 17px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.navBottomBox > li > a {
    color: #000;
    margin-right: 17px;
    padding-bottom: 10px;
    transition: all .5s ease;
    font-size: 14px;
    font-weight: 600;
}

.navBottomBox > li:hover > a {
    color: #FD4E4E;
}

.navBottomBox > li > b {
    width: 20px;
    height: 20px;
    background: url(https://file.dianshangjiaofu.com/image/1692348303507/dowms12.png) no-repeat;
    position: absolute;
    left: 44%;
    transform: translate(-50%, -50%);
    bottom: -14px;
    background-size: cover;
}

.navBottomBox > li:hover b {
    background: url(https://file.dianshangjiaofu.com/image/1692433511145/xias.png) no-repeat;
    background-size: cover;
}

.navBottomBox > li:hover .sub-nav {
    display: block;
}

.sub-nav {
    width: 200px;
    position: absolute;
    top: 40px;
    left: -70px;
    background: #FFFFFF;
    box-shadow: 0px 10px 30px 0px rgb(102 114 153 / 30%);
    border-radius: 2px 2px 4px 4px;
    padding: 5px 20px;
    border-top: 2px solid #EA2232;
    z-index: 99;
    display: none;
}

.sub-nav li {
    position: relative;
    line-height: 45px;
    padding: 0;
    display: flex;
    align-items: center;
}

.sub-nav li a {
    display: inline-block;
    width: 100%;
    text-align: left;
    color: #29333D;
    font-size: 14px;
    margin-right: 0;
}

.sub-nav li a .rightGo {
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url(https://upload.dianshangdanao.com/202107271645543147.png);
    background-repeat: no-repeat;
    position: absolute;
    right: -5px;
    top: 12px;
    margin: 0px;
    background-size: 100% 100%;
}

.sub-nav li a:hover {
    color: #EA2232;
}

.sub-nav li a:hover .rightGo {
    background-image: url(https://upload.dianshangdanao.com/202107271642599131.png);
}

.headerPay {
    padding: 8px 17px;
    background: #FD4E4E;
    border-radius: 8px;
    color: #fff !important;
}

.headerUser {
    padding: 8px 17px;
    border: 1px solid #FD4E4E;
    border-radius: 8px;
    color: #FD4E4E !important;
}
