.product-main {
  max-width: 100%;
  margin: 0 auto;
}

.products-title{
  margin-bottom: 10px;
}

.product-container {
  width: 1400px;
  margin: 0 auto;
  padding: 15px 0;
}

/* 过滤器面板样式 */
.filter-container {
  margin-bottom: 20px;
}

.filter-panel {
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 4px;
  padding: 15px;
}

.filter-panel .scroll-box {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 10px;
  height: 280px;
  width: 100%;
  flex-wrap: nowrap;
}

.filter-panel .card {
  width: 250px;
  flex: 0 0 250px;
  height: 100%;
  box-sizing: border-box;
  border: 1px solid #e9ecef;
}

.filter-panel .card-head {
  background-color: #e6e6e6;
  color: #333;
  padding: 10px 15px;
  font-weight: bold;
  font-size: 14px;
  border-radius: 4px 4px 0 0;
}

.filter-panel .card-box {
  border-top: none;
  border-radius: 0 0 4px 4px;
  height: calc(100% - 40px);
  box-sizing: border-box;
}

.filter-panel .card-scroll {
  padding: 10px;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  box-sizing: border-box;
}

.filter-panel .card-scroll ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.filter-panel .card-scroll li.filterOption {
  padding: 3px 10px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  border-radius: 4px;
  margin-bottom: 5px;
  font-size: 13px;
}

.filter-panel .card-scroll li.filterOption:hover {
  background-color: #f1f5f9;
}

/* 选中状态样式 */
.filter-panel .card-scroll li.filterOption.active {
  background-color: #1a5fb4;
  color: #fff;
  font-weight: 500;
}

/* 滚动条样式优化 */
.filter-panel .scroll-box::-webkit-scrollbar,
.filter-panel .card-scroll::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.filter-panel .scroll-box::-webkit-scrollbar-track,
.filter-panel .card-scroll::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.filter-panel .scroll-box::-webkit-scrollbar-thumb,
.filter-panel .card-scroll::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 3px;
}

.filter-panel .scroll-box::-webkit-scrollbar-thumb:hover,
.filter-panel .card-scroll::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

/* 筛选操作按钮 */
.filter-actions {
  margin-top: 20px;
  text-align: right;
}

.btn-reset {
  padding: 8px 16px;
  margin-right: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #f8f9fa;
  cursor: pointer;
  font-size: 14px;
}

.btn-apply {
  padding: 8px 24px;
  border: none;
  border-radius: 4px;
  background: #1a5fb4;
  color: white;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
}

/* 产品表格样式 */
.products-info .products-qty {
  margin: 5px 0;
  font-size: 16px;
}

.products-info .product-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  overflow: hidden;
  border: 1px solid #e9ecef;
}

.products-info .product-table .table-header-sticky {
  background-color: #1a5fb4;
  position: sticky;
  top: 0;
  z-index: 100;
}

.products-info .product-table thead {
  background-color: #e6e6e6;
  border-bottom: 1px solid #e9ecef;
  color: #333;
}

.products-info .product-table th {
  padding: 14px 12px;
  text-align: left;
  font-size: 16px;
  font-weight: bold;
  color: #333;
  white-space: nowrap;
}

.products-info .product-table tbody tr {
  border-bottom: 1px solid #e9ecef;
  transition: background-color 0.3s ease;
}

.products-info .product-table tbody tr:hover {
  background-color: #fafafa;
}

.products-info .product-table tbody td {
  padding: 16px 12px;
  font-size: 14px;
  color: #495057;
  vertical-align: middle;
  border-bottom: 1px solid #e9ecef;
}

.products-info .product-table tbody td.product-image img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border: 1px solid #eee;
}

.products-info .product-table tbody td a {
  text-decoration: none;
  color: #0000EE;
}

.products-info .product-table tbody td.in-stock>div {
  display: flex;
  align-items: center;
}

.products-info .product-table tbody td.in-stock .icon {
  padding: 5px 10px;
  border: 1px solid #ccc;
  cursor: pointer;
}

.products-info .product-table tbody td input {
  width: 50px;
  height: 31px;
  border: 1px solid #ccc;
  padding-left: 5px;
  border-left: none;
  border-right: none;
  text-align: center;
}

.products-info .product-table tbody td.product-partno {
  font-weight: 600;
}

.products-info .product-table tbody td.product-partno a:hover{
  text-decoration: underline;
}

.products-info .product-table tbody td.product-manufacturer a:hover{
  text-decoration: underline;
}

.products-info .product-table tbody td.product-desc {
  max-width: 300px;
  line-height: 1.5;
}

.products-info .product-table tbody td.product-datasheet .datasheet-link {
  display: inline-flex;
  align-items: center;
  color: #1a5fb4;
  text-decoration: none;
  font-weight: 500;
  gap: 6px;
}

.products-info .product-table tbody td.product-datasheet .datasheet-link:hover {
  text-decoration: underline;
}

.products-info .product-table tbody td.product-action .btn-quote {
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.products-info .product-table tbody td.product-action .btn-quote {
  background-color: #1a5fb4;
  color: #fff;
}

.products-info .product-table tbody td.product-action .btn-quote:hover {
  background-color: #154a8c;
}

.products-info .product-table tbody td.product-action .btn-quote.disabled {
  background-color: #ccc;
  cursor: not-allowed;
  opacity: 0.7;
}

.no-product-tip {
  width: 100%;
  text-align: center;
  padding: 100px 0; 
  font-size: 18px;
  color: #999;
  background-color: #f9f9f9;
  border-radius: 8px;
  margin: 20px 0;
}