/* 顶部信息条 */
.top-info-bar {
    width: 100%;
    background: #2563eb;
    color: #fff;
    padding: 14px 0;
    font-size: 15px;
    position: relative;
    z-index: 10000;
}
/* 顶部信息条固定状态 */
.top-info-bar.fixed {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
}
.top-info-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.top-info-left, .top-info-right {
    display: flex;
    align-items: center;
    gap: 40px;
}
.top-info-item {
    display: flex;
    align-items: center;
    gap: 8px;
}
.top-info-item i {
    font-size: 18px;
}
.top-info-item a {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.2s ease;
}
.top-info-item a:hover {
    opacity: 0.8;
}

/* 主头部容器 */
.main-header-wrap {
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
    position: relative;
    z-index: 9999;
    transition: all 0.3s ease;
}
/* 主头部固定状态（在顶部信息条下面） */
.main-header-wrap.fixed {
    position: fixed !important;
    top: 48px !important; /* 等于顶部信息条的高度 */
    left: 0 !important;
    right: 0 !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
/* 占位元素，防止页面跳动 */
.header-placeholder {
    display: none;
    height: 0;
    transition: height 0.3s ease;
}
.header-placeholder.active {
    display: block;
}

.main-header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo样式 */
.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}
.logo-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    background: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    font-weight: bold;
}
.logo-text {
    font-size: 32px;
    font-weight: bold;
    color: #333;
}

/* 导航菜单 */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
}
.nav-item {
    position: relative;
}
.nav-item > a {
    display: block;
    font-size: 18px;
    color: #333;
    text-decoration: none;
    padding: 10px 0;
    transition: color 0.2s ease;
}
.nav-item > a:hover,
.nav-item > a.active {
    color: #2563eb;
}
.nav-item > a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #2563eb;
}

/* 下拉菜单 */
.nav-item.has-submenu > a::after {
    content: ' ▾';
    font-size: 14px;
    margin-left: 4px;
}
.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    min-width: 160px;
    display: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 10000;
}
.nav-item.has-submenu:hover .submenu {
    display: block;
}
.submenu-item a {
    display: block;
    padding: 10px 20px;
    color: #333;
    text-decoration: none;
    font-size: 16px;
    transition: background 0.2s ease;
}
.submenu-item a:hover {
    background: #f5f5f5;
    color: #2563eb;
}

/* 右侧联系按钮 */
.header-contact-btn {
    background: #233266;
    color: #fff;
    padding: 12px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* 移动端菜单按钮 */
.mobile-menu-btn {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
}

/* 响应式适配 */
@media (max-width: 992px) {
    .top-info-bar {
        display: none;
    }
    .main-header-wrap.fixed {
        top: 0 !important; /* 移动端隐藏顶部信息条，主头部直接在顶部 */
    }
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        border-bottom: 1px solid #e5e5e5;
    }
    .nav-menu.active {
        display: flex;
    }
    .mobile-menu-btn {
        display: block;
    }
    .header-contact-btn {
        display: none;
    }
}
/* ==============================
   省份城市选择器样式
   ============================== */
.city-selector-wrap {
    position: relative;
    z-index: 99999 !important; /* 提高到最高优先级 */
}

/* 选择器按钮 */
.city-selector-btn {
    background: rgba(255,255,255,0.2);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 4px;
    padding: 6px 12px;
    font-size: 14px;
    cursor: pointer !important; /* 强制显示手型 */
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    user-select: none; /* 防止文字选中 */
}

.city-selector-btn:hover {
    background: rgba(255,255,255,0.3);
}

.city-selector-btn::after {
    content: '▾';
    font-size: 12px;
    margin-left: 4px;
}

/* 下拉面板 */
.city-selector-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff !important;
    border: 1px solid #e5e5e5 !important;
    border-radius: 6px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
    width: 280px !important;
    display: none !important;
    margin-top: 8px !important;
    z-index: 99999 !important; /* 最高层级 */
}

.city-selector-dropdown.show {
    display: block !important; /* 强制显示 */
}

/* 切换省份按钮 */
.switch-province-btn {
    padding: 12px 16px;
    border-bottom: 1px solid #e5e5e5;
    cursor: pointer;
    color: #2563eb;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.switch-province-btn:hover {
    background: #f8f9fa;
}

/* 省份列表面板 */
.province-panel {
    padding: 16px;
    display: none;
}

.province-panel.show {
    display: block;
}

.province-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.province-item {
    text-align: center;
    padding: 8px 4px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
    transition: all 0.2s ease;
}

.province-item:hover {
    background: #e6f0ff;
    color: #2563eb;
}

.province-item.active {
    background: #2563eb;
    color: #fff;
}

/* 城市列表面板 */
.city-panel {
    max-height: 350px;
    overflow-y: auto;
    display: block; /* 默认显示城市列表 */
}

.city-item {
    padding: 10px 16px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
    border-bottom: 1px solid #f5f5f5;
    transition: all 0.2s ease;
}

.city-item:last-child {
    border-bottom: none;
}

.city-item:hover {
    background: #f8f9fa;
    color: #2563eb;
}

.city-item.current {
    background: #e6f0ff;
    color: #2563eb;
    font-weight: 500;
}

/* 响应式适配 */
@media (max-width: 992px) {
    .city-selector-wrap {
        display: none;
    }
}

















/* 面包屑整体容器 - 和全站1200px宽度对齐 */
.breadcrumb-wrap {
    width: 100%;
    max-width: 1200px;
    margin: 10px auto;
    box-sizing: border-box;
}

/* 面包屑内容区 - 虚线边框样式 */
.breadcrumb-container {
    border: 1px dashed #ccc;
    border-radius: 6px;
    padding: 5px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    background: #fff;
}

/* 左侧面包屑文字 */
.breadcrumb-left {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    flex: 1;
    min-width: 280px;
}
.breadcrumb-left a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s ease;
}
.breadcrumb-left a:hover {
    color: #2563eb;
}

/* 分隔符 */
.breadcrumb-sep {
    margin: 0 8px;
    color: #999;
}

/* 当前页面文字（不可点击） */
.breadcrumb-current {
    color: #333;
    font-weight: 500;
}

/* ==============================
   全新设计的搜索框（彻底解决显示问题）
   ============================== */
.breadcrumb-right {
    width: 320px; /* 固定宽度，永远不会被压缩 */
    flex-shrink: 0; /* 禁止收缩 */
}

/* 搜索框容器 */
.search-box {
    position: relative;
    width: 100%;
    height: 40px;
}

/* 搜索输入框 */
.search-box input {
    width: 100%;
    height: 100%;
    padding: 0 50px 0 16px; /* 右侧留出按钮位置 */
    border: 1px solid #ddd;
    border-radius: 20px; /* 圆角设计，更美观 */
    font-size: 14px;
    box-sizing: border-box;
    outline: none;
    transition: all 0.2s ease;
    background: #fafafa;
}

.search-box input:focus {
    border-color: #2563eb;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* 搜索按钮 */
.search-box button {
    position: absolute;
    right: 4px;
    top: 4px;
    width: 32px;
    height: 32px;
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 50%; /* 圆形按钮 */
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.search-box button:hover {
    background: #1d4ed8;
    transform: scale(1.05);
}

/* 响应式适配 */
@media (max-width: 768px) {
    .breadcrumb-container {
        flex-direction: column;
        align-items: stretch;
        padding: 12px 16px;
    }
    .breadcrumb-left {
        min-width: 0;
        text-align: center;
    }
    .breadcrumb-right {
        width: 100%;
    }
}