.banner-box {
  position: relative;
  width: 100%;
  /*max-width: 1440px;*/
  height: 120px;
  margin: 0 auto 30px auto;
  /* 居中显示 */
  /*background: url('/images/product-list/Slice 46.png') center center/cover no-repeat;*/
  overflow: visible;
  display: flex;
  align-items: center;
  background-color:#1473E6;
}

.banner-box::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 80, 200, 0.35);
  /* 半透明蓝色遮罩 */
  z-index: 1;
}

.banner-content {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  box-sizing: border-box;
  overflow: visible;
}

.banner-block {
  border-radius: 16px;
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
}

.banner-file-list {
  margin-top: 16px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  width: 100%;
  position: relative;
  z-index: 1000;
  overflow: visible;
}

/* 自定义下拉框样式 */
.custom-dropdown-wrapper {
  position: relative;
  min-width: 200px;
  display: block !important;
  z-index: 1000;
}

.custom-dropdown {
  position: relative;
  min-width: 200px;
  width: 100%;
  display: block !important;
  z-index: 1000;
}

.custom-dropdown-selected {
  padding: 8px 12px;
  font-size: 16px;
  border: none;
  border-radius: 4px;
  background-color: rgba(255, 255, 255, 0.9);
  color: #333;
  cursor: pointer;
  height: 36px;
  box-sizing: border-box;
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s ease;
  width: 100%;
}

.custom-dropdown-selected:hover {
  background-color: #fff;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5);
}

.custom-dropdown-selected .el-icon-arrow-down {
  transition: transform 0.3s ease;
  font-size: 14px;
  color: #666;
  flex-shrink: 0;
  margin-left: 8px;
}

.custom-dropdown.active .custom-dropdown-selected .el-icon-arrow-down {
  transform: rotate(180deg);
}

.custom-dropdown-text {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.custom-dropdown-options {
  position: absolute !important;
  top: calc(100% + 4px) !important;
  left: 0 !important;
  right: 0 !important;
  background-color: #fff !important;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  list-style: none !important;
  padding: 4px 0 !important;
  margin: 0 !important;
  max-height: 300px;
  overflow-y: auto;
  z-index: 10000 !important;
  display: none !important;
  width: 100%;
  box-sizing: border-box;
}

.custom-dropdown.active .custom-dropdown-options {
  display: block !important;
}

.custom-dropdown-option {
  padding: 8px 12px;
  font-size: 16px;
  color: #333;
  cursor: pointer;
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  transition: background-color 0.2s ease;
  list-style: none !important;
  margin: 0 !important;
  width: 100%;
  box-sizing: border-box;
}

.custom-dropdown-option:hover {
  background-color: #f5f5f5;
}

.custom-dropdown-option.selected {
  background-color: #e3f2fd;
  color: #1976d2;
}

.option-text {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.preview-icon {
  margin-left: 8px;
  font-size: 16px;
  color: #666;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: all 0.2s ease;
  flex-shrink: 0;
  display: inline-block !important;
  pointer-events: auto !important;
}

.preview-icon:hover {
  color: #1976d2;
  background-color: #e3f2fd;
}

/* 隐藏原生 select 元素（如果存在） */
select#staticDropdown {
  display: none !important;
}

/* 确保自定义下拉框显示 */
.custom-dropdown-wrapper {
  display: block !important;
}

.custom-dropdown {
  display: block !important;
}

.download-btn {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 4px;
  background-color: rgba(255, 255, 255, 0.9);
  color: #333;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.download-btn:hover {
  background-color: #fff;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5);
}

.download-btn:focus {
  outline: none;
}

.download-icon {
  font-size: 18px;
}

.banner-block-t {
  border-radius: 16px;
  padding: 24px 48px 20px 0;
  min-width: 340px;
  max-width: 400px;
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.banner-block:last-child {
  margin-right: 0;
}

.banner-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 8px;
}

.banner-value {
  font-size: 22px;
  font-weight: bold;
}

.banner-desc {
  font-size: 20px;
  margin-top: 8px;
  font-weight: 500;
}

@media (max-width: 768px) {
  .banner-content {
    flex-direction: column;
    padding: 15px 10px;
  }

  .banner-block {
    margin-bottom: 10px;
    min-width: 160px;
    padding: 10px 16px;
  }
}

/* 产品列表容器 */
.product-list-container {
  width: 100%;
  overflow-x: visible;
  margin: 40px -15px;
}

.product-list-container .row {
  gap: 48px;
  justify-content: flex-start;
  align-items: flex-start;
}

.product-list-container .col-md-3 {
  padding: 0;
  max-width: none;
  flex: 0 0 auto;
}

.product-list-container .col-md-9 {
  padding: 0;
  max-width: none;
  flex: 1;
  min-width: 0;
  overflow-x: visible;
}

/* 筛选器区域 */
.filter-section {
  background: linear-gradient(180deg, #0D65F8 0%, #F5F6FA 95%);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
  width: 30rem;
  height: 80rem;
  position: relative;
  margin-left: 20px;
}

.filter-group {
  margin-bottom: 24px;
}

.filter-group h5 {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
}

.filter-options {
  display: flex;
  flex-direction: column;
  /* gap: 8px; */
}

.checkbox-label {
  display: flex;
  align-items: center;
  font-size: 13px;
  color: #fff;
  cursor: pointer;
  /* padding: 4px 0; */
}

.filter-option {
  display: flex;
  align-items: center;
  font-size: 13px;
  color: #fff;
  cursor: pointer;
  padding: 8px 12px;
  margin: 2px 0;
  border-radius: 6px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.filter-option input[type="radio"] {
  margin-right: 8px;
  width: 16px;
  height: 16px;
  accent-color: #fff;
  appearance: none;
  -webkit-appearance: none;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  background: transparent;
  position: relative;
  cursor: pointer;
}

.filter-option input[type="radio"]:checked {
  background: #fff;
  border-color: #fff;
}

.filter-option input[type="radio"]:checked::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  background: #0D65F8;
  border-radius: 50%;
}

.sub-option {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.9);
  margin-left: 5px;
  padding: 3px 12px;
  display: block;
}

.sub-options {

  padding-left: 20px;
}

/* 产品控制区域 */
/* .product-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding: 16px 0;
  border-bottom: 1px solid #eee;
} */

/* .results-info {
  font-size: 14px;
  color: #666;
} */

/* .view-controls {
  display: flex;
  gap: 8px;
} */

/* .view-btn {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 8px 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.view-btn.active {
  background: #0050c8;
  border-color: #0050c8;
  color: #fff;
} */

/* 产品网格 */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
  justify-items: stretch;
  width: 100%;
  max-width: 1240px;
  margin-left: -20px;
  /* 4*300+3*20, 适合4列 */
}

.product-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
  width: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.product-image {
  position: relative;
  width: 320px;
  height: 320px;
  /* aspect-ratio: 4/3; */
  overflow: hidden;
  background: #f5f5f5;
  margin: 5px;
}

.product-image .p-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;
  transition: transform 0.3s ease;
  /* 平滑过渡效果 */
}

/* 悬浮时的放大效果 */
.product-image:hover .p-image {
  transform: scale(1.1);
  /* 放大1.1倍 */
}

.product-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 80, 200, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.quick-view-btn {
  background: #fff;
  color: #0050c8;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.quick-view-btn:hover {
  background: #0050c8;
  color: #fff;
}

.product-info {
  padding: 16px;
}

.product-title {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
  line-height: 1.3;
}

.product-desc {
  font-size: 13px;
  color: #666;
  margin-bottom: 12px;
  line-height: 1.4;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}

.brand,
.viscosity {
  font-size: 12px;
  color: #888;
  background: #f5f5f5;
  padding: 4px 8px;
  border-radius: 4px;
}

.product-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.price {
  font-size: 16px;
  font-weight: 700;
  color: #0050c8;
}

.unit {
  font-size: 12px;
  color: #888;
}

/* 分页 */
.pagination-container {
  display: flex;
  justify-content: flex-end;
  margin-top: 50px;
  position: absolute;
  bottom: 0;
  right: 0;
}

.pagination-bg {
  width: 440px;
  height: 48px;
  background: #fff;
  border: 1px solid #0D65F8;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* margin: 0 auto; */
  box-sizing: border-box;
}

.pagination {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0 12px;
  height: 48px;
}

.pagination>li {
  display: inline-block;
}

.pagination>li>a,
.pagination>li>span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 14px;
  font-size: 16px;
  color: #0D65F8;
  background: transparent;
  border: none;
  border-radius: 16px;
  margin: 0 2px;
  transition: all 0.2s;
  font-weight: 500;
  box-sizing: border-box;
  cursor: pointer;
}

.pagination>li>a[aria-label],
.pagination>li>a[aria-label]:hover {
  font-size: 20px;
  padding: 0 14px;
  color: #0D65F8;
  background: transparent;
  border: none;
}

.pagination>li>a[aria-label]:hover {
  background: #eaf3ff;
}

.pagination>.active>a,
.pagination>.active>span {
  background: #0D65F8;
  color: #fff;
  border-radius: 16px;
  font-weight: bold;
}

.pagination>.disabled>a,
.pagination>.disabled>span {
  color: #ccc;
  background: transparent;
  cursor: not-allowed;
}

.pagination>.disabled>a[aria-label] {
  color: #ccc;
  background: transparent;
  cursor: not-allowed;
}

/* 响应式设计 */
@media (max-width: 1200px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: 930px;
  }
}

@media (max-width: 900px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 620px;
  }
}

@media (max-width: 600px) {
  .product-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
  }
}

/* 列表视图样式 */
.product-grid.list-view {
  grid-template-columns: 1fr;
  gap: 16px;
}

.product-grid.list-view .product-card {
  display: flex;
  height: auto;
}

.product-grid.list-view .product-image {
  width: 200px;
  height: 150px;
  flex-shrink: 0;
}

.product-grid.list-view .product-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-grid.list-view .product-meta {
  justify-content: flex-start;
  gap: 16px;
}

.product-grid.list-view .product-price {
  align-self: flex-end;
}

.product-desc-in-img {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 12px 16px 10px 16px;
  font-size: 14px;
  font-weight: bold;
  color: #fff;
  text-align: left;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.45) 100%);
  z-index: 2;
  letter-spacing: 0.5px;
  line-height: 1.3;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  pointer-events: none;
}

.buy-now-btn {
  width: 95px;
  height: 32px;
  line-height: 32px;
  background: #0D65F8;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  margin: 5px auto 0 auto;
  display: block;
  cursor: pointer;
  box-shadow: none;
  transition: background 0.2s;
  letter-spacing: 0.5px;
  border-radius: 20px;
}

.buy-now-btn:active {
  background: #0846a8;
}

.parent-category a {
  color: #fff;
  text-decoration: none;
}

.parent-category {
  color: #ffffff;
  font-weight: 800;
  font-size: 1.4rem;
}

.parent-category.active::before,
.parent-category:hover::before {
  content: "";
  width: 20px;
  /* 整体直径 */
  height: 20px;
  /* 整体直径 */
  background-color: #ffffff;
  /* 继承文本颜色 */
  display: inline-block;
  margin-right: 12px;
  /* 与文本间距 */
  vertical-align: middle;
  border-radius: 50%;
  /* 确保圆形 */

}

.parent-category::before {
  content: "";
  width: 20px;
  /* 内容区直径 = 整体直径 - 2×边框宽度 */
  height: 20px;
  border: 2px solid #ffffff;
  /* 2px边框 + 16px内容 = 20px整体大小 */
  display: inline-block;
  margin-right: 12px;
  /* 与文本间距 */
  vertical-align: middle;
  border-radius: 50%;
  /* 确保圆形 */
}

p.sub-category {
  font-size: 1.4rem;
  color: #ffffff;
  padding-left: 36px;
}

p.sub-category a {
  color: #ffffff;
  text-decoration: none;
}

p.sub-category.active,
p.sub-category:hover {
  font-weight: 800;
}

.right-show {
  min-height: 744px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0;
  gap: 20px;
}

/* 产品项面板 - 一行三列布局 */
.product-item-panel.col-md-4 {
  flex: 0 0 calc(33.333% - 20px);
  max-width: calc(33.333% - 20px);
  margin: 0 0 30px 6px;
  padding: 0;
  box-sizing: border-box;
}
.product-name{
  display: block;
  text-align: center;
  font-size: 1.4rem;
  font-weight: 800;
  padding-top: 10px;
  height: 5.6rem;

}
.product-name a{
  color: #000;
  text-decoration: none;
}