/* ========== 头部顶栏全新设计 ========== */
.header-area .header-top {
    font-size: 13px;
    background: linear-gradient(90deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
    padding: 8px 0;
    position: relative;
    z-index: 10;
}
.epix-t-left {
    display: flex;
    align-items: center;
    gap: 20px;
}
.epix-t-left .welcome-text {
    color: rgba(255,255,255,0.85);
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.epix-t-left .welcome-text i {
    color: #e8b700;
    font-size: 15px;
    animation: welcomePulse 2s infinite;
}
@keyframes welcomePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}
.epix-t-left .company-info {
    color: rgba(255,255,255,0.5);
    font-size: 12px;
    border-left: 1px solid rgba(255,255,255,0.2);
    padding-left: 16px;
}
.epix-t-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
}
.ht-actions {
    display: flex;
    align-items: center;
    gap: 0;
}
.ht-actions a {
    font-size: 13px !important;
    padding: 4px 14px !important;
    margin-left: 0 !important;
    color: rgba(255,255,255,0.8) !important;
    text-decoration: none;
    border-radius: 3px;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: 5px;
}
.ht-actions a:hover {
    color: #fff !important;
    background: rgba(255,255,255,0.1);
}
.ht-actions a i {
    font-size: 13px;
}
.ht-actions .divider {
    color: rgba(255,255,255,0.2);
    font-size: 12px;
    padding: 0 2px;
    user-select: none;
}
.ht-hotline {
    color: rgba(255,255,255,0.85);
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 5px;
}
.ht-hotline i {
    color: #e8b700;
    font-size: 14px;
}
.ht-hotline strong {
    color: #fff;
    font-weight: 600;
}
/* 移动端适配 */
@media (max-width: 991px) {
    .header-area .header-top {
        font-size: 12px;
        padding: 6px 0;
    }
    .epix-t-left .welcome-text {
        font-size: 12px;
    }
    .epix-t-left .company-info {
        display: none;
    }
    .ht-actions a {
        font-size: 12px !important;
        padding: 3px 8px !important;
    }
}

/* ========== 其他头部样式 ========== */
.header-area .header-middle .epix-action-single .content span {
    font-size: 14px;
}
.header-area .header-bottom .header-nav nav ul li a {
    font-size: 16px;
    padding: 15px 18px;
}
.header-area .header-bottom .header-contact a {
    font-size: 15px;
}

/* ========== 头部中层全新设计 ========== */
.header-middle {
    background: #fff !important;
    padding: 18px 0 !important;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    position: relative;
    z-index: 9;
}
/* Logo 区域 */
.epix-header-logo a {
    display: block;
}
.epix-header-logo img {
    max-height: 55px;
    width: auto;
    transition: transform 0.3s ease;
}
.epix-header-logo:hover img {
    transform: scale(1.03);
}
/* 搜索区域 */
.epix-header-flex {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0 !important;
}
.epix-header-form.epix-header-form-1 {
    flex: 1;
    position: relative;
}
.epix-header-form.epix-header-form-1 form {
    display: flex;
    align-items: center;
    width: 100%;
}
.epix-header-form.epix-header-form-1 input {
    width: 100% !important;
    height: 46px !important;
    border: 2px solid #e8e8e8 !important;
    border-radius: 30px !important;
    padding: 0 55px 0 22px !important;
    font-size: 14px !important;
    color: #333 !important;
    background: #f8f9fa !important;
    box-sizing: border-box !important;
    transition: all 0.3s ease;
}
.epix-header-form.epix-header-form-1 input:focus {
    border-color: #0f3460 !important;
    background: #fff !important;
    box-shadow: 0 0 0 4px rgba(15,52,96,0.06);
    outline: none;
}
.epix-header-form.epix-header-form-1 input::placeholder {
    color: #bbb !important;
}
.epix-header-form.epix-header-form-1 button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px !important;
    height: 36px !important;
    border: none !important;
    border-radius: 50% !important;
    background: #0f3460 !important;
    color: #fff !important;
    font-size: 15px !important;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
}
.epix-header-form.epix-header-form-1 button:hover {
    background: #1a1a2e !important;
    box-shadow: 0 3px 10px rgba(15,52,96,0.3);
}
/* 热门搜索词 */
.hot-search-tags {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    font-size: 12px;
}
.hot-search-tags .hot-label {
    color: #e8b700;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 3px;
}
.hot-search-tags a {
    color: #999;
    text-decoration: none;
    padding: 2px 8px;
    border-radius: 10px;
    background: #f5f5f5;
    transition: all 0.25s ease;
}
.hot-search-tags a:hover {
    color: #0f3460;
    background: #e8f0fa;
}
/* 购物车等操作区 */
.epix-header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: flex-end;
}
.epix-action-single a {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 0;
}
.epix-action-single a .icon {
    position: relative;
    width: 42px;
    height: 42px;
    background: #f0f4f8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.epix-action-single a:hover .icon {
    background: #0f3460;
}
.epix-action-single a .icon i {
    color: #555 !important;
    font-size: 20px !important;
    transition: color 0.3s ease;
}
.epix-action-single a:hover .icon i {
    color: #fff !important;
}
.epix-action-single a .icon span {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 18px;
    height: 18px;
    background: #e74c3c;
    color: #fff;
    border-radius: 9px;
    font-size: 11px;
    line-height: 18px;
    text-align: center;
    padding: 0 5px;
    font-weight: 600;
    border: 2px solid #fff;
}
.epix-action-single a .content span {
    color: #333 !important;
    font-size: 14px !important;
    font-weight: 500;
    padding-left: 10px !important;
}
.epix-action-single a:hover .content span {
    color: #0f3460 !important;
}
/* 中层移动端适配 */
@media (max-width: 991px) {
    .header-middle {
        padding: 12px 0 !important;
    }
    .epix-header-logo img {
        max-height: 42px;
    }
    .epix-header-form.epix-header-form-1 input {
        height: 38px !important;
        font-size: 13px !important;
    }
    .hot-search-tags {
        display: none;
    }
    .epix-header-actions {
        gap: 12px;
    }
}