/* 头部容器 */
.wst-search-container {
    width: 100%;
    background: #fff;
}

/* ========== 顶部条 ========== */
.wst-top-bar {
    width: 100%;
    height: 36px;
    line-height: 36px;
    background: #555;
    position: relative;
    overflow: hidden;
}

.wst-top-bar::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 16.666%;
    height: 100%;
    background: #ff6633;
    z-index: 0;
}

.wst-top-bar-inner {
    position: relative;
    z-index: 1;
    width: 1200px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 36px;
}

.wst-top-left,
.wst-top-right {
    display: flex;
    align-items: center;
    gap: 18px;
}

.wst-top-welcome {
    color: #fff;
    font-size: 13px;
    white-space: nowrap;
}

.wst-top-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    font-size: 13px;
    text-decoration: none;
    white-space: nowrap;
}

.wst-top-link img {
    display: block;
    width: auto;
    height: 15px;
}

.wst-top-link:hover {
    color: #ffd666;
}

.wst-top-divider {
    color: rgba(255, 255, 255, 0.55);
    font-size: 12px;
    line-height: 1;
}

/* ========== 中间层：LOGO + 搜索 + 电话 ========== */
.wst-main-header {
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #e8e8e8;
    box-sizing: border-box;
}

.wst-main-header-inner {
    width: 1200px;
    max-width: 100%;
    margin: 0 auto;
    padding: 22px 20px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.wst-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.wst-logo img {
    display: block;
    height: 60px;
    width: auto;
    max-width: 180px;
}

.wst-header-search {
    flex: 1;
    max-width: 520px;
    display: flex;
    align-items: stretch;
    height: 40px;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    overflow: hidden;
    background: #f7f7f7;
}

.wst-header-search-ipt {
    flex: 1;
    min-width: 0;
    height: 100%;
    padding: 0 16px;
    border: 0;
    outline: none;
    background: transparent;
    font-size: 14px;
    color: #333;
}

.wst-header-search-ipt::placeholder {
    color: #aaa;
}

.wst-header-search-btn {
    flex-shrink: 0;
    width: 48px;
    height: 100%;
    border: 0;
    padding: 0;
    background: #ff6633;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wst-header-search-btn img {
    width: 20px;
    height: 20px;
    display: block;
}

.wst-header-search-btn:hover {
    background: #ff7744;
}

.wst-header-hotline {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 240px;
    padding-left: 20px;
    background: url(../img/1_19.png) no-repeat right center;
    background-size: auto 70%;
}

.wst-hotline-icon {
    width: 33px;
    height: 32px;
    flex-shrink: 0;
}

.wst-hotline-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.wst-hotline-label {
    font-size: 13px;
    color: #666;
    line-height: 1.2;
}

.wst-hotline-num {
    font-size: 22px;
    font-weight: 700;
    color: #333;
    line-height: 1.2;
    text-decoration: none;
}

a.wst-hotline-num:hover {
    color: #ff6633;
}

/* ========== 底部导航 ========== */
.wst-bottom-nav {
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #eee;
}

.wst-bottom-nav-inner {
    width: 1200px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.wst-nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0 8px;
    margin: 0;
    padding: 14px 0;
}

.wst-nav-links .wst-nav-item {
    position: relative;
    display: block;
    padding: 0 20px 14px;
    color: #333;
    text-decoration: none;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.4;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.wst-nav-links .wst-nav-item:hover {
    color: #FF6633;
}

.wst-nav-links .wst-nav-item.nav-active {
    color: #FF6633;
}

.wst-nav-links .wst-nav-item.nav-active::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 36px;
    height: 3px;
    background: #FF6633;
    border-radius: 2px;
}

.wst-nav-links .wst-nav-item::before {
    display: none;
}

.wst-nav-links .nav-en {
    display: none;
}

/* 清除浮动 */
.wst-clear {
    clear: both;
}

/* 响应式 */
@media (max-width: 992px) {
    .wst-main-header-inner {
        flex-wrap: wrap;
    }

    .wst-header-search {
        order: 3;
        flex: 1 1 100%;
        max-width: none;
    }

    .wst-header-hotline {
        min-width: 0;
        padding-left: 0;
        background: none;
    }

    .wst-nav-links .wst-nav-item {
        padding: 0 12px 12px;
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .wst-top-bar-inner {
        flex-direction: column;
        height: auto;
        padding: 8px 15px;
        gap: 6px;
    }

    .wst-top-bar {
        height: auto;
        line-height: 1.6;
    }

    .wst-top-left,
    .wst-top-right {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }

    .wst-top-divider {
        display: none;
    }

    .wst-main-header-inner {
        padding: 15px;
        gap: 15px;
    }

    .wst-hotline-num {
        font-size: 18px;
    }

    .wst-nav-links {
        justify-content: flex-start;
    }

    .wst-nav-links .wst-nav-item {
        padding: 6px 10px 12px;
        font-size: 13px;
    }
}
