* {
    padding: 0;
    margin: 0;
    font-size: 14px;
    box-sizing: border-box;
}
.zhenpinbox {
    /* margin-top: 80px; */

}
.banner{
    width: 1200px;
    /* height: 47px; */
    display: flex;
    margin: 0 auto;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
}
.logo-box{
    display: flex;
    align-items: center;
}
.logo-icon{
    width: 75px;
    height: 75px;
}
.logo-box h2{
    color: #2E3092;
    margin-left: 7px;
    font-size: 24px;
}
.banner-text{
    color: #999999;
    font-size: 16px;
    padding: 4px 10px;
    background-color: #F2F2F2;
    border-radius: 5px;
    cursor: pointer;
}

.search-box{
    height: 537px;
    background-image: url('../img/listbeijing.png');
    /* 拉伸方向 */
    background-repeat: repeat-x;
    /* 横向重复纹理，和示例图一致 */
    background-position: center top;    
    /* 宽度设为100%（拉伸），高度设为auto（自动保持比例） */
    background-size: 100% 100%;
    border-top: #2E3092 solid 2px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.search-container {
    width: 1200px;
    height: 440px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    border-radius: 8px;
    padding: 0 40px;
}

.search-container h3 {
    color: #2E3092;
    font-size: 39px;
    text-align: center;
    letter-spacing: 2px;
    margin: 70px 0 55px;
}

.info {
    display: flex;
}

.li-item {
    display: flex;
    align-items: center;
    position: relative;
    flex-direction: column;
    justify-content: center;
    width: 14.28%;
}

.li-item::after {
    width: 1px;
    position: absolute;
    content: '';
    height: 90%;
    right: 0;
    top: 0;
    background-color: #D2D2D2;
}

.li-item:last-child::after {
    width: 0;
}

.li-item .title img {
    width: 16px;
    display: block;
    margin-right: 2px;
}

.li-item div {
    display: flex;
    align-items: center;
}
.li-item div span{
    font-size: 18px;
    color: #333333;
}
.li-item div b {
    color: #2E3092;
    font-size: 18px;
}

.searchBox {
    display: flex;
    gap: 7px;
    margin-top: 30px;
}

.condition {
    display: flex;
    margin-bottom: .15rem;
    align-items: center;
    padding: 8px 10px;
    width: 215px;
    height: 65px;
    border: 1px solid #2e3092;
    border-radius: 5px;
    text-align: center;
    position: relative;
}

.condition span,
.searchnner span {
    display: block;
    position: relative;
    color: #2E3092;
    font-size: 18px;
    padding-right: 15px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    margin: 0 auto;
    cursor: pointer;
    width: 100%;
}

.condition b {
    background-color: #d0e5ff;
    color: #2e3092;
    font-size: 14px;
    text-align: center;
    padding: 5px 8px;
    border-radius: 26px;
    display: inline-block;
    margin-right: 10px;
}

.condition span::after,
.searchnner span::after {
    content: '';
    position: absolute;
    right: 21px;
    top: 0;
    width: 16px;
    height: 100%;
    background: url('../img/arrow.png') no-repeat center center;
    background-size: 11px 6px;
}

.input-search {
    flex: 1;
    display: flex;
    background-color: #2e3092;
    border-radius: 15px;
    height: 65px;
}

.searchnner {
    position: relative;
    width: 100%;
    background-color: #fff;
    border: 1px solid #2e3092;
    border-radius: 5px;
    /* padding: 8px 10px; */
    display: flex;
    align-items: center;
}

.searchnner .categorySel {
    position: relative;
    width: 138px;
    height: 40px;
    display: flex;
    align-items: center;
}

.searchnner span,
.searchnner .categorySel span {
    max-width: 180px;
    font-size: 18px;
    color: #2E3092;
    text-align: center;
}

.searchnner input {
    flex: 1;
    border: none;
    padding: 5px;
    box-sizing: border-box;
    outline: none;
    font-size: 18px;
    height: 100%;
    padding: 0 10px;
    border-radius: 15px;
    cursor: pointer;
}
.categorySel::after{
    content: '';
    width: 1px;
    height: 100%;
    background-color: #5355A5;
    position: absolute;
    right: 0;
    top: 0;
}
.searchBtn,.resetBtn {
    height: 100%;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #2e3092;
    cursor: pointer;
    z-index: 111;
    border-radius: 10px;
}

.searchBtn img ,.resetBtn img {
    width: 34px;
    height: 34px;
}
.resetBtn{
    height: 65px;
    background-color: #fff;
    border: 1px solid #2e3092;
}
/* Toast提示样式 */
.toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 14px;
    z-index: 9999;
    display: none;
}

/* 省市区下拉弹窗 */
.areaDropdown {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 5px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: none;
    min-width: 360px;
}

.areaDropdown.show {
    display: block;
}

.areaDropdownContent {
    display: flex;
    padding: 0px 0 40px;
}

.areaColumn {
    flex: 1;
    min-width: 200px;
    min-height: 250px;
    max-height: 350px;
    /* overflow-y: auto; */
    border-right: 1px solid #eee;
}

.areaColumn:last-child {
    border-right: none;
}

.areaColumnTitle {
    padding: 10px 20px;
    background-color: #f8f8f8;
    font-size: 16px;
    font-weight: bold;
    color: #333;
    border-bottom: 1px solid #eee;
}
.provinceListBox{
    overflow-y: auto;
    min-width: 200px;
    min-height: 250px;
    max-height: 300px;
}
.areaItem {
    padding: 8px 20px;
    font-size: 16px;
    color: #333;
    cursor: pointer;
    transition: background-color 0.2s;
}

.areaItem:hover {
    background-color: #f0f4ff;
}

.areaItem.active {
    background-color: #e0e8ff;
    color: #2e3092;
    font-weight: bold;
}

.areaItem:empty {
    padding: 20px 15px;
    color: #999;
    font-size: 13px;
}

/* 关闭按钮 */
.areaDropdownFooter {
    position: absolute;
    bottom: 0px;
    right: 0px;
    left: 0;
    margin: 0 auto;
    height: 40px;
    border-top: 1px solid #ddd;
    background-color: #fff;
    z-index: 10;
    display: flex;
}

.areaDropdownClose {
    flex: 1;
    height: 40px;
    color: #999;
    font-size: 18px;
    line-height: 40px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    border-right: 1px solid #ddd;
}

.areaDropdownClose:last-child {
    border-right: none;
}

.areaDropdownClose:hover {
    border-color: #2e3092;
    color: #2e3092;
    background-color: #f0f4ff;
}

.areaDropdownConfirm {
    flex: 1;
    height: 40px;
    color: #2e3092;
    font-size: 18px;
    line-height: 40px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    border-right: 1px solid #ddd;
}

.areaDropdownConfirm:last-child {
    border-right: none;
}

.areaDropdownConfirm:hover {
    border-color: #2e3092;
    color: #2e3092;
    background-color: #f0f4ff;
}

/* 滚动条样式 */
.provinceListBox::-webkit-scrollbar {
    width: 6px;
}

.provinceListBox::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.provinceListBox::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 3px;
}

.provinceListBox::-webkit-scrollbar-thumb:hover {
    background: #ccc;
}

/* 产品类别下拉弹窗 */
.categoryDropdown {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 5px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: none;
    min-width: 360px;
}

.categoryDropdown.show {
    display: block;
}

.categoryDropdownContent {
    display: flex;
    padding: 0px 0 40px;
}

.categoryColumn {
    flex: 1;
    min-height: 250px;
    max-height: 350px;
    /* overflow-y: auto; */
    border-right: 1px solid #eee;
}

.categoryColumn:last-child {
    border-right: none;
}

.categoryColumnTitle {
    padding: 10px 15px;
    background-color: #f8f8f8;
    font-size: 16px;
    font-weight: bold;
    color: #333;
    border-bottom: 1px solid #eee;
    height: 45px;
}
.categoryLevel1ListBox{
    overflow-y: auto;
    min-width: 200px;
    min-height: 250px;
    max-height: 300px;
}
.categoryItem {
    padding: 8px 15px;
    font-size: 16px;
    color: #333;
    cursor: pointer;
    transition: background-color 0.2s;
}

.categoryItem:hover {
    background-color: #f0f4ff;
}

.categoryItem.active {
    background-color: #e0e8ff;
    color: #2e3092;
    font-weight: bold;
}

.categoryItem.subItem {
    display: flex;
    align-items: center;
}

.categoryItem.subItem::before {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid #ddd;
    border-radius: 2px;
    margin-right: 8px;
    background-color: #fff;
    flex-shrink: 0;
}

.categoryItem.subItem.selected {
    color: #2e3092;
    background-color: #e0e8ff;
}

.categoryItem.subItem.selected::before {
    content: '✓';
    background-color: #2e3092;
    border-color: #2e3092;
    color: #fff;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.categoryItem:empty {
    padding: 20px 15px;
    color: #999;
    font-size: 13px;
}

/* 类别关闭按钮 */
.categoryDropdownFooter {
    position: absolute;
    bottom: 0px;
    right: 0px;
    left: 0;
    margin: 0 auto;
    height: 40px;
    border-top: 1px solid #ddd;
    background-color: #fff;
    z-index: 10;
    display: flex;
}

.categoryDropdownClose {
    flex: 1;
    height: 40px;
    color: #999;
    font-size: 16px;
    line-height: 40px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    border-right: 1px solid #ddd;
}

.categoryDropdownClose:last-child {
    border-right: none;
}

.categoryDropdownClose:hover {
    border-color: #2e3092;
    color: #2e3092;
    background-color: #f0f4ff;
}

.categoryDropdownConfirm {
    flex: 1;
    height: 35px;
    color: #2e3092;
    font-size: 16px;
    line-height: 35px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    border-right: 1px solid #ddd;
}

.categoryDropdownConfirm:last-child {
    border-right: none;
}

.categoryDropdownConfirm:hover {
    border-color: #2e3092;
    color: #2e3092;
    background-color: #f0f4ff;
}

.categoryLevel1ListBox::-webkit-scrollbar {
    width: 6px;
}

.categoryLevel1ListBox::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.categoryLevel1ListBox::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 3px;
}

.categoryLevel1ListBox::-webkit-scrollbar-thumb:hover {
    background: #ccc;
}

/* 搜索结果列表样式 */
.result-container {
    width: 1200px;
    margin: 30px auto 50px;
    min-height: 300px;
}
.result-list{
    width: 100%;
    margin-bottom: 30px;
}
.result-grid {
    width: 100%;
    display: grid;
    /* 核心布局：5列等宽 */
    grid-template-columns: repeat(5, 1fr);
    /* 核心对齐：整体靠左 */
    justify-content: start;
    /* 间距 */
    gap: 20px;
}

.result-item {
    width: 225px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    padding: 10px 6px 20px;
}

.result-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}
.result-item-imgBox{
    width: 210px;
    height: 210px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.result-item img{
    /* width: 210px;·
    height: 210px; */
    max-width: 100%;
    max-height: 100%;
    display: block;
}
.result-item-title{
    width: 100%;
    color: #333333;
    font-size: 18px;
    font-weight: bold;
    margin-top: 10px;
    white-space: nowrap; /* 防止文本换行 */
    overflow: hidden; /* 隐藏溢出的文本 */
    text-overflow: ellipsis; /* 溢出文本显示为省略号 */
}
.result-item-text{
    width: 100%;
    color: #999999;
    font-size: 14px;
    margin-top: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.result-prompt{
    width: 100%;
    color: #999999;
    font-size: 16px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}
.result-prompt span{
    color: #FF0000;
    font-weight: bold;
}
.result-table{
    width: 100%;
}
.result-table table{
    border: none;
    width: 100%;
    table-layout: fixed; /* 让列宽遵循设定的比例 */
    /* border-collapse: collapse; 合并边框 */
    border-spacing: 0 15px; /* 设置单元格之间的间距 */
}
.result-table table tr td:first-child{
    width: 140px;
    text-align: center;
}
.result-table table tr td:nth-child(2){
    width: 15%;
}
.result-table table tr td:nth-child(3){
    width: 23%;
}
.result-table table td span{
    width: 111px;
    height: 111px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.result-table table img{
    max-width: 111px;
    max-height: 111px;
    display: block;
    border-radius: 10px;
}
.result-table table tr:first-child{
    box-shadow: none;
    margin: 0;
}
.result-table table tr{
    margin: 15px 0;
    box-shadow: 0px 0px 10px rgba(11, 11, 13, 0.15);
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
}
/* 选中除了第一行（表头）以外的所有 tr，应用 hover 效果 */
.result-table table tr:not(:first-child):hover {
    box-shadow: 0 8px 16px rgba(11, 11, 13, 0.15);
    transform: translateY(-2px);
}
.result-table table td{
    padding: 20px 15px;
    color: #333333;
    font-size: 18px;
    white-space: nowrap;       /* 防止文本换行 */
    overflow: hidden;          /* 隐藏溢出的内容 */
    text-overflow: ellipsis; 
}
.result-table table tr:first-child td{
    color: #333333;
    font-size: 18px;
    font-weight: bold;
    border-bottom: 1px solid #2E3092;
}

/* nth-child */
.product-image {
    width: 100%;
    height: 180px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 4px;
    margin-bottom: 15px;
    background-color: #f5f5f5;
}

.product-info {
    text-align: center;
}

.product-name {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.4;
    word-wrap: break-word;
    word-break: break-all;
}

.company-name {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
    word-wrap: break-word;
    word-break: break-all;
}

.loading {
    text-align: center;
    padding: 40px;
    color: #999;
    font-size: 16px;
}
.no-data-content{
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
}
.no-data-content img{
    width: 198px;
    display: block;
}
.no-data-content p{
    color: #BABABA;
    font-size: 18px;
    margin-top: 30px;
}
/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
}

.pagination-item {
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border: 1px solid #ddd;
    background-color: #fff;
    color: #333;
    font-size: 14px;
    line-height: 34px;
    text-align: center;
    cursor: pointer;
    border-radius: 26px;
    transition: all 0.2s;
}

.pagination-item:hover {
    border-color: #2e3092;
    color: #2e3092;
}

.pagination-item.active {
    background-color: #2e3092;
    color: #fff;
    border-color: #2e3092;
}

.pagination-item.disabled {
    background-color: #f5f5f5;
    color: #ccc;
    cursor: not-allowed;
}

/* 列表视图样式（来自 productSearch.html） */
.vip-title {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}

.vip-title .float-left {
    display: flex;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.vip-title h4 {
    color: #333;
    font-size: 16px;
    margin: 0;
    display: inline-block;
}

.vip-title .gray {
    color: #999;
    font-size: 14px;
    margin-left: 10px;
}

.news-list {
    width: 100%;
    border-collapse: collapse;
    list-style: none;
    padding: 0;
    margin: 0;
}

.news-list li {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f5f5f5;
}

.news-list li:first-child {
    background-color: #f8f9fa;
    font-weight: bold;
    color: #333;
}

.news-list .c1,
.news-list .c2 {
    flex: 1;
    text-align: center;
    font-size: 14px;
    color: #333;
}

.news-list .c1 {
    flex: 1.2;
    /* 产品名称宽度稍宽 */
}

.news-list a {
    color: #0066cc;
    text-decoration: none;
    display: flex;
    width: 100%;
    align-items: center;
}

.news-list a:hover {
    text-decoration: underline;
}

.news-list .c2 img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
}

