@charset "UTF-8";

.header {
    background-color: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

    .header .container {
        width: 1200px;
        margin: 0 auto;
    }

.header-top {
    background-color: #f5f5f5;
    padding: 4px 0;
}

.header-top__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-top__text {
    font-size: 12px;
    color: #757575;
}

.header-top__text--blue {
    color: #0054bc;
    /*margin-left: 10px;*/
}

.header-top__right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-top__link {
    font-size: 12px;
    color: #757575;
    text-decoration: none;
    transition: color 0.3s ease;
}

    .header-top__link:hover {
        color: #ff6b00;
    }

.header-top__divider {
    color: #bdbdbd;
    font-size: 14px;
}

.header-top__phone {
    font-size: 14px;
    color: #ff6b00;
    font-weight: 500;
}

.header-main {
    padding: 16px 0;
}

.header-main__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-main__logo img {
    height: 81px;
}

.header-main__search {
    flex: 1;
    max-width: 512px;
    margin: 0 24px;
    overflow: hidden;
}

    .header-main__search .search-input-wrapper {
        display: flex;
        border: 2px solid #fa7a04;
        border-radius: 4px 0 0 4px;
        overflow: hidden;
    }

        .header-main__search .search-input-wrapper input {
            flex: 1;
            height: 40px;
            line-height: 40px;
            font-size: 14px;
            color: #333;
            border: none;
            padding: 0 12px;
            outline: none;
        }

            .header-main__search .search-input-wrapper input::placeholder {
                color: #999;
            }

    .header-main__search .search-btn {
        background-color: #fa7a04;
        border: 2px solid #fa7a04;
        padding: 0 24px;
        height: 40px;
        color: #ffffff;
        font-size: 16px;
        font-weight: 500;
        cursor: pointer;
        border-left: none;
        outline: none;
    }

    .header-main__search .serch-key {
        display: flex;
        gap: 8px;
        padding-top: 4px;
    }

        .header-main__search .serch-key .item {
            font-size: 12px;
            color: #36393e;
            line-height: 14px;
            cursor: pointer;
        }

            .header-main__search .serch-key .item:hover {
                color: #ff6b00;
            }

.header-main__kefu {
    display: flex;
    align-items: center;
    gap: 8px;
}

    .header-main__kefu img {
        width: 135px;
        height: 37px;
    }

.header-nav {
    border-bottom: 4px solid #fa7a04;
}

.header-nav__list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.header-nav__item {
    position: relative;
    width: 200px;
    height: 40px;
    text-align: center;
}

.header-nav__link {
    display: block;
    height: 100%;
    line-height: 40px;
    color: #202225;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
}

    .header-nav__link:hover {
        color: #ffffff;
        background-color: #fa7a04;
    }

.header-nav__link--active {
    color: #ffffff;
    background-color: #fa7a04;
}
/* 响应式设计 */
@media (max-width: 768px) {
    .header-main__content {
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
    }

    .header-main__search {
        margin: 0;
        max-width: 100%;
    }

    .header-main__login {
        text-align: center;
    }

    .header-nav__list {
        flex-wrap: wrap;
    }

    .header-nav__link {
        padding: 8px 16px;
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .header-top__content {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}
