/* 主头部区域 */
.wst-main-header {
    background-color: #fff;
    width: 100%;
    position: relative;
    box-sizing: border-box;
}

/* ========== 上半部分 ========== */
.wst-header-top {
    background-color: #f5f5f5;
    width: 100%;
    padding: 18px 0 14px;
    box-sizing: border-box;
}

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

/* 左侧：官方热线 */
.wst-header-hotline {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 8px;
}

.wst-header-hotline .hotline-text {
    color: #333;
    font-size: 14px;
    white-space: nowrap;
}

.wst-header-hotline .hotline-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
    flex-shrink: 0;
}

/* 中间：LOGO + 登录注册按钮 */
.wst-header-center {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.wst-header-center .wst-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.wst-login-reg-btn {
    display: inline-block;
    padding: 4px 18px;
    background-color: #c8a86e;
    color: #fff;
    font-size: 13px;
    text-decoration: none;
    border-radius: 14px;
    white-space: nowrap;
    line-height: 1.6;
    transition: background-color 0.25s ease;
}

.wst-login-reg-btn:hover {
    background-color: #b8965a;
    color: #fff;
    text-decoration: none;
}

/* 右侧：注册图片 + 优惠文字 */
.wst-header-promo {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    padding-top: 4px;
}

.wst-reg-promo {
    position: relative;
    display: inline-block;
    line-height: 0;
    text-decoration: none;
}

.wst-reg-promo img {
    display: block;
    height: 40px;
    width: auto;
}

.wst-reg-promo .wst-reg-btn-label {
    position: absolute;
    left: 50%;
    top: 45%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    pointer-events: none;
}

.wst-promo-text {
    margin: 0;
    color: #333;
    font-size: 13px;
    white-space: nowrap;
}

/* ========== 下半部分：导航栏 ========== */
.wst-header-nav {
    width: 100%;
    background-color: #fff;
}

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

/* 左侧图标：购物车 + 用户 */
.wst-nav-left-icons {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.wst-nav-left-icons a {
    display: flex;
    align-items: center;
    line-height: 0;
}

.wst-nav-left-icons img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    opacity: 0.85;
    transition: opacity 0.25s ease;
}

.wst-nav-left-icons a:hover img {
    opacity: 1;
}

/* 导航链接 */
.wst-nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
    margin: 0;
    flex: 1;
    justify-content: center;
}

.wst-nav-links .wst-nav-item {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    padding: 0 2px 6px;
    color: #666;
    font-size: 15px;
    font-weight: 400;
    line-height: 24px;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.25s ease;
}

.wst-nav-links .wst-nav-item:hover {
    color: #333;
    text-decoration: none;
}

.wst-nav-links .wst-nav-item.nav-active {
    color: #D4A066;
    font-weight: 500;
}

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

/* 搜索图标 */
.wst-nav-search {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    line-height: 0;
}

.wst-nav-search img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    opacity: 0.85;
    transition: opacity 0.25s ease;
}

.wst-nav-search:hover img {
    opacity: 1;
}

/* 导航底部全宽装饰线 */
.wst-header-nav-bottom {
    width: 100%;
    line-height: 0;
    overflow: hidden;
}

.wst-header-nav-bottom img {
    display: block;
    width: 100%;
    height: auto;
}

.wst-search-hidden {
    position: absolute;
    width: 0;
    height: 0;
    padding: 0;
    border: 0;
    opacity: 0;
    pointer-events: none;
    overflow: hidden;
}

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

/* 响应式 */
@media (max-width: 992px) {
    .wst-header-top-inner {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }

    .wst-header-hotline,
    .wst-header-promo {
        flex: 0 0 auto;
    }

    .wst-header-nav-inner {
        flex-wrap: wrap;
        justify-content: center;
    }

    .wst-nav-links {
        flex-wrap: wrap;
        gap: 16px;
        justify-content: center;
        order: 3;
        flex: 1 1 100%;
    }
}

@media (max-width: 768px) {
    .wst-header-hotline .hotline-text {
        font-size: 12px;
    }

    .wst-nav-links {
        gap: 12px;
    }

    .wst-nav-links .wst-nav-item {
        font-size: 13px;
        line-height: 22px;
        min-height: 22px;
    }
}
