.sample-brand-container {
    width: 1200px;
    margin: 22px auto;
    padding-top: 74px;
    transform-origin: top;
    transition: transform 0.3s ease-in-out;
    padding-left: 0;
}

/* 品牌介绍 */
.logo {
    width: 15%;
}

.brandName {
    display: flex;
    text-align: center;
    /*margin-bottom: 10px;*/
    align-items: center;
    justify-content: center;
}

.brandName .brandNameLeft {
    text-align: left;
    display: flex;
    white-space: nowrap;
    max-width: 100%;
    align-items: center;
}

.brandName .brandNameRight {
    text-align: left;
    padding: 20px;
    /*width: 150px;*/
}

.brandName .brandNameLeft a {
    color: #3366CC;
    font-size: 18px;
    /*font-family: '宋体';*/
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
}

.brandName .brandNameLeft a:hover {
    color: #3366CC;
    text-decoration: none;
}

.brandName .brandNameRight img {
    cursor: pointer;
}

.brandNameRight .off {
    height: 22px;
    width: 22px;
}

.brandNameRight .open {
    width: 22px;
    height: 22px;
}

.left-menu {
    padding: 0 25px;
}

.left-menu {
    width: 1120px;
    background: #fff;
    border: 1px solid #e3e3e3;
    margin-bottom: 6px;
}

.left-menu {
    display: flex;
    height: 90px;
    width: 1120px;
}

.right-content {
    /*min-height: 616px;*/
    width: 1120px;
    height: auto;
}

/*品牌介绍结束*/

/*交叉搜索*/
.intersectSearch {
    position: relative;
    align-items: center;
    /*padding-top: 10px;*/
}

.current-page-search-input {
    display: flex;
    justify-content: center; /* 水平居中 */
    align-items: center; /* 垂直居中 */
    position: relative;
}

.current-page-search {
    float: left;
    /*margin: 15px 0 0 0;*/
    border: 1px solid #3366cc;
    border-right: none;
    position: relative;
    display: flex;
    align-items: center; /* 垂直居中 */
}

.current-page-search input {
    width: 486px;
    /*line-height: 27px;*/
    border: none;
    padding: 4px 30px 4px 10px;
    outline: none;
}

.current-page-search .closeText {
    margin-right: 10px;
    position: absolute;
    left: 460px;
    top: 8px;
    cursor: pointer;
}

.current-page-search .cearch-botton {
    line-height: 38px;
    color: #fff;
    background: #3366cc;
    display: inline-block;
    padding: 0 40px;
    cursor: pointer;
}

.search-suggest {
    width: 488px;
    border-right: 1px solid #3366CC;
    border-bottom: 1px solid #3366CC;
    border-left: 1px solid #3366CC;
    display: none;
    line-height: 32px;
    background: #fff;
    padding: 0 10px;
    max-height: 260px;
    overflow: auto;
    position: absolute;
    top: 100%;
    z-index: 10;
    left: 0;
}

.search-suggest .history-search .closeText {
    margin-right: 10px;
    position: absolute;
    left: 460px;
    cursor: pointer;
}

/*历史记录*/
.history-search-div {
    display: flex;
    flex-wrap: wrap;
    max-height: 200px;
    overflow-y: auto;
    cursor: pointer;
}

/* 自定义滚动条样式 */
.history-search-div::-webkit-scrollbar {
    width: 10px; /* 滚动条的宽度 */
}

.history-search-div::-webkit-scrollbar-track {
    background-color: #f1f1f1; /* 轨道背景颜色 */
}

.history-search-div::-webkit-scrollbar-thumb {
    background-color: #a6a6a6; /* 滑块颜色 */
    border-radius: 5px; /* 滑块圆角 */
}

.history-search-div::-webkit-scrollbar-thumb:hover {
    background-color: #888; /* 滑块悬停颜色 */
}

.his-record {
    display: inline-flex;
    align-items: center;
    background-color: #f5f5f5;
    margin-right: 10px;
    margin-bottom: 10px;
    white-space: nowrap;
    border-radius: 5px;
    line-height: 1.5;
}

.his-record:last-child {
    margin-right: 0;
}

/*品牌样品*/
.sample-result {
    background-color: #fff;
    border: 1px solid #e3e3e3;
}

.brand-sample-option {
    position: relative;
    /*display: flex;*/
    align-items: flex-start;
    border: 1px solid #e3e3e3;
    width: 1120px;
    margin-bottom: 6px;
    background-color: #fff;
    min-height: 44px;
}

.brand-sample-option .option-item {
    display: flex;
    align-items: flex-start;
    /*border-bottom: 1px dashed #e3e3e3;*/
    margin-left: 10px;
    margin-top: 10px;
}

/* 基础样式 */
.brand-sample-option .brand-sample-classify-slider-level-1 {
    display: flex;
    flex-wrap: wrap; /* 确保可以换行 */
    list-style: none;
    padding-left: 10px;
    /*margin: 10px 0; !* 恢复外边距 *!*/
    /*justify-content: space-between; !* 平均分布 li 元素 *!*/
    align-items: center; /* 垂直居中对齐 */
    max-height: 24px; /* 默认只显示一行的高度，根据实际情况调整 */
    overflow: hidden;
    transition: max-height 0.3s ease-out; /* 平滑过渡效果 */
    height: 24px;
}

/* 当需要显示所有 li 时添加此 class */
.brand-sample-option .brand-sample-classify-slider-level-1.show-all {
    max-height: none; /* 移除高度限制 */
    height: unset;
}

/* li 样式 */
.brand-sample-option .brand-sample-classify-slider-level-1 li {
    position: relative;
    /*flex: 1 1 calc(10% - 4px); !* 每行10个，减去边距 *!*/
    box-sizing: border-box;
    margin-right: 15px; /* 右边距 */
    margin-bottom: 10px; /* 下边距 */
    cursor: pointer;
    transition: color 0.3s ease;
    text-align: center; /* 文字水平居中 */
    line-height: 20px; /* 设置行高使文字垂直居中，根据实际情况调整 */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; /* 超出部分用省略号表示 */
    padding-bottom: 4px;
}

/* a 标签样式 */
.brand-sample-option .brand-sample-classify-slider-level-1 a {
    color: rgb(51, 51, 51);
    /*font-weight: 600;*/
    font-size: 14px;
    text-decoration: none;
    display: block; /* 确保 a 标签占据整个 li 的宽度 */
    width: 100%;
    height: 100%; /* 确保 a 标签也垂直居中 */
    line-height: inherit; /* 继承 li 的行高 */
}

/* 高亮选中的 a 标签 */
.brand-sample-option .brand-sample-classify-slider-level-1 a.on {
    color: red;
    font-size: 14px;
}

/* li 的伪元素样式 */
.brand-sample-option .brand-sample-classify-slider-level-1 li::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: transparent;
    transition: background-color 0.3s ease, width 0.3s ease, left 0.3s ease;
}

/* 高亮选中的 li 的伪元素 */
.brand-sample-option .brand-sample-classify-slider-level-1 li.on::before {
    background-color: #3366CC;
    width: 70%;
    left: 15%;
}

.brand-sample-option .brand-sample-package-slider-level-1 a {
    color: rgb(51, 51, 51);
    font-weight: 600;
    font-size: 12px;
    text-decoration: none;
}

.brand-sample-option .brand-sample-package-slider-level-1 a.on {
    color: red;
    font-size: 13px;
}

.brand-sample-option .brand-sample-package-slider-level-1 {
    display: flex;
    list-style: none;
    padding: 0;
    /*margin: 10px;*/
    justify-content: flex-start;
}

.brand-sample-option .brand-sample-package-slider-level-1 li {
    position: relative;
    padding: 5px 10px;
    cursor: pointer;
    transition: color 0.3s ease;
    white-space: nowrap;
    /*overflow: hidden;*/
    text-overflow: ellipsis;
}

.brand-sample-option .brand-sample-package-slider-level-1 li::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: transparent;
    transition: background-color 0.3s ease;
}

.brand-sample-option .brand-sample-package-slider-level-1 li.on::before {
    background-color: #3366CC;
    width: 70%;
    left: 15%;
}

/*!* 第一个元素的样式 *!*/
/*.brand-sample .brand-sample-classify-level-1 li:first-child {*/
/*    border-left: 1px solid #e3e3e3;*/
/*}*/

/*!* 最后一个元素的样式 *!*/
/*.brand-sample .brand-sample-classify-level-1 li:last-child {*/
/*    border-right: 1px solid #e3e3e3;*/
/*}*/

/*!* 中间元素的样式 *!*/
/*.brand-sample .brand-sample-classify-level-1 li:not(:first-child):not(:last-child) {*/
/*    border-right: 1px solid #e3e3e3;*/
/*}*/

.brand-sample-option .brand-sample-slider {
    width: 91%;
    /*overflow: hidden;*/
    display: flex;
    align-items: flex-start;
}

.brand-sample-option .brand-sample-slider a {
    text-decoration: none;
}

.brand-sample-option .brand-sample-slider > :last-child {
    margin-left: auto; /* 将最后一个子元素推到最右边 */
}

.brand-sample-option .brand-sample-slider-list {
    overflow: hidden;
    display: block;
    float: left;
    position: relative;
    width: 100%;
}

.brand-sample-option .brand-sample-slider-list-ul {
    width: 20000px;
    height: 20px;
    position: absolute;
    top: 0;
    left: 0
}

.brand-sample-option .brand-sample-slider-list-ul li {
    width: 144px;
    height: 20px;
    float: left;
}

.brand-sample-option .brand-sample-slider-list-ul li a {
    display: block;
    border: 1px solid #e3e3e3;
    border-radius: 5px;
    margin-left: 4px;
    margin-right: 4px;
}

.brand-sample-option .brand-sample-slider-list-ul li a {
    text-decoration: none;
}

.brand-sample-option .brand-sample-slider-list-ul li.active a, .brand-sample-slider-list-ul li:hover a {
    border: 1px solid #0033cc;
}

.brand-sample-option .brand-sample-slider-list-ul li a:focus {
    border: 1px solid #0033cc;
}

.brand-sample-option .brand-sample-slider-list-ul li h2 {
    font-size: 17px;
    color: #0033cc;
    line-height: 24px;
    margin: 0 5px;
}

.brand-sample-option .brand-sample-slider-list-ul li p {
    font-size: 12px;
    line-height: 20px;
    margin-left: 5px;
    margin-right: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.brand-sample-more {
    /*margin-left: 20px;*/
    position: relative;
    display: flex;
    align-items: flex-start;
    right: 0;
}

.brand-sample-more a {
    color: rgb(51, 51, 51);
    padding: 0 10px;
    /*font-weight: 600;*/
    font-size: 14px;
    text-decoration: none;
}

.brand-sample-more a:hover {
    color: #3366cc;
}

.select-input {
    width: 42px;
    height: 20px;
    background: #fff;
    border: 1px solid #ccc;
    line-height: 18px;
    text-align: center;
    color: #9a9a9a;
    cursor: pointer;
    float: right;
    font-size: 14px;
}

.select-input:hover {
    color: #3366cc;
    border-color: #3366cc
}

/* 已选分类 */
.selected-items {
    /*margin-top: 10px;*/
}

.selected-item {
    display: inline-block;
    background-color: #f2f2f2;
    padding: 5px 10px;
    margin: 5px;
    border-radius: 4px;
    position: relative;
    font-size: 12px;
}

.selected-item .remove {
    position: absolute;
    top: 0;
    right: -3px;
    background-color: red;
    color: white;
    border-radius: 50%;
    width: 12px;
    height: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 13px;
    line-height: 1;
    cursor: pointer;
}

/* 置灰已选中的可选项 */
.brand-sample-classify-slider-level-1 li.selected {
    /*opacity: 0.9; !* 置灰效果 *!*/
    /*border: 1px solid #ccc;*/
    background-color: #e73f3c;
}

.brand-sample-classify-slider-level-1 li.selected a {
    color: #fff;
}

.brand-sample-classify-slider-level-1 li.selected:hover {
    border-color: #3366cc;
}

/*.brand-sample-classify-slider-level-1 li.disabled,*/
/*.brand-sample-classify-level-3 li.disabled {*/
/*    opacity: 0.5; !* 置灰效果 *!*/
/*    pointer-events: none; !* 防止再次点击 *!*/
/*    cursor: not-allowed; !* 更改鼠标指针 *!*/
/*}*/

/*.brand-sample-package-slider-level-1 li.disabled,*/
/*.brand-sample-package-level-3 li.disabled {*/
/*    opacity: 0.5; !* 置灰效果 *!*/
/*    pointer-events: none; !* 防止再次点击 *!*/
/*    cursor: not-allowed; !* 更改鼠标指针 *!*/
/*}*/

.selected-container {
    /*position: relative; !* 确保内部绝对定位元素相对于此容器 *!*/
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    margin-left: 10px;
    margin-right: 10px;
}

/* 确认取消按钮样式 */
.confirm-cancel-buttons {
    display: flex;
    justify-content: center; /* 水平居中 */
    /*position: absolute;*/
    bottom: 0; /* 固定在底部 */
    left: 0;
    right: 0; /* 确保宽度覆盖整个容器 */
    padding: 10px; /* 可选：增加一些内边距 */
}

/*.confirm-cancel-buttons button {*/
/*    padding: 5px 10px;*/
/*    margin: 0 5px; !* 按钮之间的间距 *!*/
/*}*/

/*.selected-content > :last-child {*/
/*    margin-left: auto; !* 将最后一个子元素推到最右边 *!*/
/*}*/

/* 厂家样品分类 */
.brand-sample-classify {
    height: auto;
    overflow: hidden;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    position: absolute;
    z-index: 10;
    background-color: #fff;
    box-shadow: 9px 8px 16px rgb(0 0 0 / 18%);
    width: 450px;
    border: 1px solid rgb(227, 227, 227);
}

.brand-sample-classify .brand-sample-classify-level {
    float: left;
    display: block;
    align-items: stretch;
    padding-left: 10px;
    width: 33.33%;
}

.brand-sample-classify .brand-sample-classify-level li {
    display: block;
}

.brand-sample-classify .brand-sample-classify-level li a {
    line-height: 16px;
    padding: 10px 5px;
    text-align: left;
    font-size: 14px;
    display: block;
    font-weight: 700;
    color: rgb(51, 51, 51);
    text-decoration: none;
}

.brand-sample-classify .brand-sample-classify-level-1, .brand-sample-classify-level-2 {
    border-right: 1px solid #e3e3e3;
}

.brand-sample-classify .brand-sample-classify-level-1 li.on a {
    background: #FFFFFF;
    color: red;
}

.brand-sample-classify .brand-sample-classify-level-2 li.on a {
    background: #FFFFFF;
    color: red;
}

.brand-sample-classify .brand-sample-classify-level-3 li.on a {
    color: red;
}


.brand-sample-classify .brand-sample-package-level {
    float: left;
    display: block;
    align-items: stretch;
    padding-left: 10px;
    width: 33.33%;
}

.brand-sample-classify .brand-sample-package-level li {
    display: block;
}

.brand-sample-classify .brand-sample-package-level li a {
    line-height: 16px;
    padding: 10px 5px;
    text-align: left;
    font-size: 14px;
    display: block;
    font-weight: 700;
    color: rgb(51, 51, 51);
    text-decoration: none;
}

.brand-sample-classify .brand-sample-package-level-1, .brand-sample-package-level-2 {
    border-right: 1px solid #e3e3e3;
}

.brand-sample-classify .brand-sample-package-level-1 li.on a {
    background: #FFFFFF;
    color: red;
}

.brand-sample-classify .brand-sample-package-level-2 li.on a {
    background: #FFFFFF;
    color: red;
}

.brand-sample-classify .brand-sample-package-level-3 li.on a {
    color: red;
}

/*厂家样品结束*/

/*搜索表格*/
.result-all {
    min-height: 616px;
    background-color: #fff;
}

.result-all.data-null {
    display: flex;
    justify-content: center;
    align-items: center;
}

.result-all .sample-table .tableTr .tableTh {
    font-size: 14px !important;
}
