/* ==========================================================================
   上海英登 MRO 商城 - 商品列表与 SPU/SKU 详情页样式 (Product Catalog & Detail)
   工业品选型矩阵、多属性多选、放大镜、MOQ/步进量控制
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. 商品分类与检索列表页 (Category / Search Page)
   -------------------------------------------------------------------------- */

/* 多维属性筛选盒子（工业品标准筛选栏） */
.filter-container-box {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}

.filter-header-bar {
  padding: 12px 18px;
  background: #fafafa;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.filter-result-stat {
  font-size: 13px;
  color: var(--text-secondary);
}

.category-context-title {
  display: none;
  margin-right: 10px;
  color: var(--primary-color);
  font-weight: 600;
}

.category-context-title:not(:empty) {
  display: inline-block;
}

.filter-result-stat strong {
  color: var(--accent-color);
}

.filter-selected-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-tag-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  padding: 2px 8px;
  font-size: 12px;
  border-radius: 2px;
}

.filter-tag-chip .remove-tag {
  cursor: pointer;
  font-weight: bold;
}

.filter-tag-chip button.remove-tag {
  border: 0;
  background: transparent;
  color: inherit;
  padding: 0;
  font: inherit;
}

.filter-row {
  display: flex;
  border-bottom: 1px dashed #eeeeee;
  padding: 10px 18px;
  position: relative;
}

.filter-row:last-child {
  border-bottom: none;
}

.filter-label {
  width: 100px;
  font-size: 13px;
  font-weight: 600;
  color: #555555;
  padding-top: 4px;
  flex-shrink: 0;
}

.filter-values-group {
  flex: 1;
  min-width: 0;
  display: block;
}

.filter-control-line {
  width: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 2px;
}

.filter-inline-search {
  box-sizing: border-box;
  flex: 0 0 180px;
  width: 180px;
  height: 28px;
  border: 1px solid var(--border-color);
  border-radius: 2px;
  padding: 0 9px;
  font-size: 12px;
  color: var(--text-primary);
  outline: none;
}

.filter-inline-search:focus {
  border-color: var(--primary-color);
}

.filter-expand-btn {
  display: inline-flex;
  align-items: center;
  height: 28px;
  border: 1px solid var(--border-color);
  background: #fff;
  color: var(--text-secondary);
  border-radius: 2px;
  padding: 0 9px;
  font-size: 12px;
  cursor: pointer;
}

.filter-expand-btn:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.filter-value-item {
  font-size: 12px;
  color: var(--text-secondary);
  padding: 4px 8px;
  border-radius: 2px;
  cursor: pointer;
  transition: var(--transition);
  user-select: none;
}

.filter-value-item:hover,
.filter-value-item.active {
  background-color: var(--primary-light);
  color: var(--primary-color);
  font-weight: 500;
}

/* 品牌字母检索与 Logo 格子 */
.brand-filter-box {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-height: 110px;
  overflow-y: auto;
}

.brand-filter-box.is-expanded,
.filter-category-box.is-expanded {
  max-height: none;
  overflow-y: visible;
}

.filter-category-box {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 8px 16px;
  max-height: 168px;
  overflow-y: auto;
}

.brand-filter-item {
  border: 1px solid var(--border-color);
  padding: 4px 10px;
  font-size: 12px;
  border-radius: 2px;
  cursor: pointer;
  transition: var(--transition);
}

.brand-filter-item:hover,
.brand-filter-item.active {
  border-color: var(--primary-color);
  color: var(--primary-color);
  background-color: #edf8f4;
}

/* 排序与控制工具条 (Sort Bar) */
.product-sort-bar {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.sort-options-group {
  display: flex;
  align-items: center;
  gap: 2px;
}

.sort-btn {
  padding: 6px 14px;
  font-size: 13px;
  color: var(--text-secondary);
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition);
}

.sort-btn:hover {
  color: var(--primary-color);
}

.sort-btn.active {
  background: var(--primary-color);
  color: #ffffff;
  font-weight: 600;
}

.sort-btn-price {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.sort-arrows {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  line-height: 1;
  font-size: 8px;
  gap: 1px;
}

.sort-arrow-up, .sort-arrow-down {
  font-style: normal;
  line-height: 6px;
  opacity: 0.45;
  transition: opacity 0.15s ease;
}

.sort-btn.active.price-asc .sort-arrow-up {
  opacity: 1;
  color: #ffffff;
}
.sort-btn.active.price-asc .sort-arrow-down {
  opacity: 0.25;
}

.sort-btn.active.price-desc .sort-arrow-down {
  opacity: 1;
  color: #ffffff;
}
.sort-btn.active.price-desc .sort-arrow-up {
  opacity: 0.25;
}

.price-range-filter {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 20px;
  padding-left: 20px;
  border-left: 1px solid var(--border-color);
}

.price-input {
  width: 65px;
  height: 28px;
  border: 1px solid var(--border-color);
  padding: 0 6px;
  font-size: 12px;
  border-radius: 2px;
}

/* 列表展示与网格切换 */
.view-switch-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.view-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border: 1px solid #d1d5db;
  background: #ffffff;
  font-size: 12px;
  color: #4b5563;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.view-toggle-btn:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.view-toggle-btn.active {
  border-color: var(--primary-color);
  color: #ffffff;
  background: var(--primary-color);
  font-weight: 600;
}

/* 商品卡片列表网格 (4列) */
.product-list-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 30px;
}


/* --------------------------------------------------------------------------
   2. 商品详情页 (Product Detail SPU & Multi-SKU Matrix)
   -------------------------------------------------------------------------- */

.product-detail-layout {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  margin-bottom: 12px;
  display: flex;
  align-items: stretch;
  gap: 24px;
}

/* 左侧相册区与放大镜 (Photo Gallery with Magnifier - 280px 紧凑平衡尺寸) */
.detail-gallery-box {
  width: 280px !important;
  min-width: 280px !important;
  max-width: 280px !important;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  position: relative;
}

.main-image-viewport {
  width: 280px !important;
  height: 280px !important;
  max-width: 280px !important;
  border: 1px solid #eeeeee;
  position: relative;
  overflow: hidden;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: crosshair;
  box-sizing: border-box;
}

.main-image-viewport img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* 放大镜遮罩与预览框 */
.magnifier-lens {
  position: absolute;
  width: 110px;
  height: 110px;
  background: rgba(4, 117, 83, 0.2);
  border: 1px solid var(--primary-color);
  cursor: crosshair;
  display: none;
  pointer-events: none;
}

.magnifier-zoom-box {
  position: absolute;
  top: 0;
  left: 295px;
  width: 420px;
  height: 420px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  background: #ffffff;
  overflow: hidden;
  z-index: 1000;
  display: none;
}

.magnifier-zoom-box img {
  position: absolute;
  max-width: none;
  max-height: none;
  width: 920px;
  height: 920px;
}

/* 缩略图轮播条 (紧凑型) */
.thumbnail-carousel {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  width: 280px !important;
  max-width: 280px !important;
  box-sizing: border-box;
}

.thumb-item {
  width: 46px;
  height: 46px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 2px;
  cursor: pointer;
  transition: var(--transition);
}

.thumb-item.active,
.thumb-item:hover {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 1px var(--primary-color);
}

.thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-extra-bar {
  width: 280px !important;
  max-width: 280px !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
  font-size: 11px;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  box-sizing: border-box;
}
.gallery-spu-code {
  color: #64748b;
  font-size: 11px;
}
.gallery-spu-code strong {
  color: #1e293b;
  font-family: var(--font-code);
  font-weight: 600;
}
.gallery-cert-badge {
  color: #047553;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 11px;
}

/* ==========================================================================
   极简资料下载 (对标震坤行 zkh.com 原版最原始样式：白底+浅灰边框+经典红PDF图标+蓝字超链接)
   ========================================================================== */
.product-doc-download-card {
  width: 280px !important;
  max-width: 280px !important;
  margin-top: 8px;
  background: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 4px;
  padding: 8px 12px;
  box-sizing: border-box;
}

.doc-download-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  padding: 0;
  background: transparent;
  border: none;
}

.doc-download-title {
  font-size: 13px;
  font-weight: 400;
  color: #333333;
  line-height: 1.2;
}

.doc-download-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  background: none;
  border: none;
  color: #999999;
  font-size: 12px;
  cursor: pointer;
  padding: 0;
  text-decoration: none;
  font-family: inherit;
  line-height: 1.2;
  transition: color 0.15s ease;
}

.doc-download-more-btn:hover {
  color: #1890ff;
}

.doc-download-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0;
  margin: 0;
}

.doc-download-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 2px 0;
  min-width: 0;
  border: none;
  background: transparent;
}

.doc-pdf-icon {
  width: 16px;
  height: 18px;
  flex-shrink: 0;
  display: block;
}

.doc-file-link {
  font-size: 12px;
  color: #1890ff;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.5;
  cursor: pointer;
  transition: color 0.15s ease;
}

.doc-file-link:hover {
  color: #0960bd;
  text-decoration: underline;
}

/* 自由下拉浮层面板 (对标全部商品分类：绝对定位自由悬浮下拉，卡片高度永不改变，右侧对齐不受任何影响) */
.doc-download-dropdown-panel {
  position: absolute;
  top: 100%;
  left: -1px;
  width: calc(100% + 2px);
  background: #ffffff;
  border: 1px solid #e8e8e8;
  border-top: 1px dashed #e8e8e8;
  border-radius: 0 0 4px 4px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
  z-index: 1000;
  padding: 6px 12px 8px;
  box-sizing: border-box;
  display: none;
  flex-direction: column;
  gap: 5px;
  animation: docDropdownFadeIn 0.16s ease-out;
}

@keyframes docDropdownFadeIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-doc-download-card.is-open .doc-download-dropdown-panel {
  display: flex;
}

/* 预览弹窗内部多文档快速切换 Tab */
.doc-preview-nav-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 2px;
  margin-top: 4px;
}

.doc-tab-btn {
  padding: 4px 10px;
  font-size: 11.5px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #475569;
  border-radius: 4px;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.15s ease;
  font-family: inherit;
}

.doc-tab-btn:hover {
  border-color: #047553;
  color: #047553;
  background: #f0fdf4;
}

.doc-tab-btn.active {
  background: #047553;
  color: #ffffff;
  border-color: #047553;
  font-weight: 600;
}

/* 文档在线预览弹窗特定样式 (Document Online Preview Modal Dialog) */
.doc-preview-modal-dialog {
  max-width: 820px;
  width: 92%;
  border-radius: 8px;
  overflow: hidden;
}

.doc-preview-modal-header-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.doc-preview-modal-header-info .modal-title {
  font-size: 16px;
  font-weight: 700;
  color: #1e293b;
}

.doc-preview-pill {
  font-size: 11px;
  font-weight: 600;
  color: #047553;
  background: #e8f5ee;
  border: 1px solid #cce8dc;
  padding: 2px 8px;
  border-radius: 12px;
}

.doc-preview-modal-body {
  padding: 24px;
  background: #475569;
  max-height: 70vh;
  overflow-y: auto;
  display: flex;
  justify-content: center;
}

.doc-preview-viewer {
  width: 100%;
  display: flex;
  justify-content: center;
}

.doc-preview-page-sheet {
  background: #ffffff;
  width: 100%;
  max-width: 700px;
  min-height: 520px;
  padding: 40px 48px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  border-radius: 2px;
  color: #1e293b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

.preview-sheet-header {
  border-bottom: 2px solid #047553;
  padding-bottom: 14px;
  margin-bottom: 24px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.preview-sheet-logo {
  font-size: 18px;
  font-weight: 800;
  color: #047553;
  letter-spacing: 0.5px;
}

.preview-sheet-sub {
  font-size: 12px;
  color: #64748b;
}

.preview-sheet-title {
  font-size: 22px;
  font-weight: 700;
  color: #0f172a;
  text-align: center;
  margin: 16px 0 24px 0;
}

.preview-sheet-section {
  margin-bottom: 20px;
}

.preview-sheet-sec-title {
  font-size: 14px;
  font-weight: 700;
  color: #047553;
  border-left: 3px solid #047553;
  padding-left: 8px;
  margin-bottom: 10px;
}

.preview-sheet-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  font-size: 12px;
  background: #f8fafc;
  padding: 12px 16px;
  border-radius: 4px;
  border: 1px solid #e2e8f0;
}

.preview-grid-row {
  display: flex;
  gap: 8px;
}

.preview-grid-row .k {
  color: #64748b;
  flex-shrink: 0;
}

.preview-grid-row .v {
  color: #0f172a;
  font-weight: 600;
}

.preview-sheet-text {
  font-size: 13px;
  line-height: 1.7;
  color: #334155;
  margin-bottom: 12px;
}

.preview-sheet-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  margin: 14px 0;
}

.preview-sheet-table th,
.preview-sheet-table td {
  border: 1px solid #e2e8f0;
  padding: 8px 12px;
  text-align: left;
}

.preview-sheet-table th {
  background: #f1f5f9;
  font-weight: 600;
  color: #1e293b;
}

.preview-stamp-box {
  margin-top: 30px;
  display: flex;
  justify-content: flex-end;
  position: relative;
}

.preview-official-stamp {
  width: 120px;
  height: 120px;
  border: 3px solid #dc2626;
  border-radius: 50%;
  color: #dc2626;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 1px;
  transform: rotate(-12deg);
  opacity: 0.85;
  padding: 6px;
  box-shadow: inset 0 0 0 1px #dc2626;
}

.preview-official-stamp span {
  font-size: 9px;
  margin-top: 4px;
}



/* 右侧商品核心信息区 (Product Info) - 纯现有元素自然排布，左右高度紧凑协调 */
.detail-info-box {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-self: stretch !important;
  box-sizing: border-box;
  padding: 2px 0;
}

.product-spu-title {
  font-size: 20px;
  font-weight: 700;
  color: #1a2b3c;
  line-height: 1.35;
  margin-bottom: 6px;
}

.product-key-attrs {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  color: var(--text-secondary);
  padding-bottom: 8px;
  border-bottom: 1px solid #f0f0f0;
}

.product-key-attrs strong {
  color: #333333;
}

/* 核心价格卡片（企业专属价呈现 - 紧凑型） */
.price-showcase-panel {
  background: #f8faf9;
  border: 1px solid #e2ebe5;
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  margin: 0;
}

.price-showcase-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.price-row-main {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.price-label {
  font-size: 12px;
  color: var(--text-secondary);
  width: 65px;
}

.price-val-hero {
  font-size: 28px;
  font-weight: 700;
  color: #dc2626; /* 醒目突出的电商主价格红 */
  font-family: var(--font-family);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.3px;
  line-height: 1;
  display: inline-flex;
  align-items: baseline;
}

.price-val-hero .price-symbol,
.price-val-hero small {
  font-size: 16px;
  font-weight: 600;
  margin-right: 2px;
  font-family: var(--font-family);
  color: #dc2626;
  letter-spacing: normal;
}

.price-val-hero .price-amount {
  font-family: var(--font-family);
  font-weight: 700;
  color: #dc2626;
}

.price-val-hero .price-sep {
  font-size: 16px;
  color: var(--text-muted);
  margin: 0 4px;
  font-family: var(--font-family);
  font-weight: 400;
}

.price-val-hero.guest-mode {
  color: #dc2626; /* 游客指导价态同样保持醒目突出 */
}

.price-val-hero.guest-mode .price-symbol,
.price-val-hero.guest-mode .price-amount {
  color: #dc2626;
}

.vip-price-tag {
  background: linear-gradient(90deg, #e1251b 0%, #ff5722 100%);
  color: #ffffff;
  padding: 1px 6px;
  font-size: 10.5px;
  font-weight: 600;
  border-radius: 2px;
}

.btn-auth-price-switcher {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #475569;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
  flex-shrink: 0;
  white-space: nowrap;
}

.btn-auth-price-switcher:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
  color: var(--primary-color);
}

.untaxed-price-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
  font-size: 12px;
}

.untaxed-val {
  font-size: 14.5px;
  font-weight: 700;
  color: #334155;
  font-family: var(--font-number);
  font-variant-numeric: tabular-nums;
  display: inline-flex;
  align-items: baseline;
}

.untaxed-val .price-symbol {
  font-family: var(--font-family);
  font-size: 12px;
  margin-right: 1.5px;
  font-weight: 600;
}

.untaxed-val .price-amount {
  font-family: var(--font-number);
}

.tax-rate-tag {
  font-size: 12px;
  color: #64748b;
  font-weight: 500;
  margin-left: 2px;
}

.retail-price-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 3px;
  font-size: 11px;
  color: var(--text-muted);
}

.retail-val {
  font-family: var(--font-number);
  font-variant-numeric: tabular-nums;
  text-decoration: line-through;
  font-weight: 600;
  display: inline-flex;
  align-items: baseline;
}

.retail-val .price-symbol {
  font-family: var(--font-family);
  font-size: 10px;
  margin-right: 1px;
}

.vip-guest-teaser-bar {
  margin-top: 10px;
  padding: 8px 12px;
  background: #fffbeb;
  border: 1px solid #fef3c7;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.vip-teaser-content {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
}

.vip-teaser-title {
  font-weight: 700;
  color: #92400e;
}

.vip-teaser-desc {
  color: #b45309;
  font-size: 11px;
}

.btn-vip-peek-login {
  color: #d97706;
  font-weight: 700;
  font-size: 12px;
  text-decoration: none;
  white-space: nowrap;
  padding: 2px 8px;
  border-radius: 4px;
  background: #ffffff;
  border: 1px solid #fde68a;
  transition: all 0.15s;
}

.btn-vip-peek-login:hover {
  background: #fef3c7;
  color: #b45309;
}

/* 采购核心参数 (MOQ / 步进量 / 货期) */
.procurement-params-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  background: #ffffff;
  border: 1px solid #edf2f0;
  border-radius: 4px;
  padding: 10px 14px;
  margin-top: 10px;
}

.param-col {
  display: flex;
  flex-direction: column;
}

.param-col .p-label {
  font-size: 11px;
  color: var(--text-muted);
}

.param-col .p-val {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-top: 2px;
}

/* ==========================================================================
   2.0 6 大通用核心业务属性网格 (参考震坤行：品牌名称、商品型号、包装规格、订货编码、起订量、最小包装量)
   ========================================================================== */
.product-common-attrs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px 18px;
  padding: 12px 0;
  background: transparent;
  border: none;
  border-bottom: 1px dashed #e2ebe5;
  margin: 0;
  box-sizing: border-box;
}

.common-attr-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 12.5px;
  line-height: 1.4;
  min-width: 0;
}

.common-attr-item .attr-label {
  color: #64748b;
  font-size: 12px;
  flex-shrink: 0;
  font-weight: 500;
}

.common-attr-item .attr-val {
  color: #1e293b;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: var(--font-code);
  letter-spacing: 0.2px;
}

.common-attr-item .highlight-brand {
  color: #047553;
  font-weight: 700;
}

.attr-val-with-copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.attr-val-with-copy .code-text {
  font-family: var(--font-code);
  font-weight: 600;
  color: #0f172a;
  font-size: 12.5px;
  letter-spacing: 0.2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn-copy-code {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 3px;
  padding: 2px 5px;
  font-size: 11px;
  color: #475569;
  cursor: pointer;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  transition: all 0.15s ease;
}

.btn-copy-code:hover {
  border-color: #047553;
  color: #047553;
  background: #ecfdf5;
}

.badge-free-shipping {
  display: inline-block;
  background: #fee2e2;
  color: #dc2626;
  font-size: 10.5px;
  font-weight: 600;
  padding: 1px 6px;
  border-radius: 2px;
  margin-left: 8px;
}

.service-tags {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: #475569;
}

.service-tags span {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.service-tags i {
  color: #047553;
  font-size: 13px;
}

/* --------------------------------------------------------------------------
   2.1 SPU 采购属性与履约时效服务卡片 (对标震坤行：纯净通透排版，虚线分隔)
   -------------------------------------------------------------------------- */
.spu-procurement-meta-card {
  background: transparent;
  border: none;
  border-bottom: 1px dashed #e2ebe5;
  border-radius: 0;
  padding: 10px 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.meta-row-item {
  display: flex;
  align-items: baseline;
  font-size: 12px;
  color: #555555;
  gap: 10px;
  line-height: 1.35;
}
.meta-item-label {
  width: 54px;
  flex-shrink: 0;
  color: #888888;
  font-size: 11.5px;
  font-weight: 500;
}
.meta-item-val {
  color: #333333;
  font-size: 12px;
}
.badge-stock-fast {
  display: inline-block;
  background: #e6f4ed;
  color: #047553;
  border: 1px solid #b7e4ce;
  font-size: 11px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 2px;
  margin-right: 4px;
}

/* --------------------------------------------------------------------------
   2.2 首屏核心购买/加购操作栏
   -------------------------------------------------------------------------- */
.detail-primary-buy-panel {
  margin: 0;
  padding-top: 4px;
}
.primary-buy-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
/* 数量步进器 */
.primary-buy-stepper-wrap {
  display: inline-flex;
  align-items: center;
  border: 1px solid #cbd5e1;
  border-radius: 3px;
  background: #ffffff;
  height: 40px;
  overflow: hidden;
}
.primary-buy-stepper-wrap .stepper-btn {
  width: 32px;
  height: 100%;
  border: none;
  background: #f8fafc;
  color: #475569;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  transition: all 0.15s;
}
.primary-buy-stepper-wrap .stepper-btn:hover {
  background: #e2e8f0;
  color: #047553;
}
.primary-buy-stepper-wrap .stepper-input {
  width: 52px;
  height: 100%;
  border: none;
  border-left: 1px solid #e2e8f0;
  border-right: 1px solid #e2e8f0;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: #1e293b;
  outline: none;
  -moz-appearance: textfield;
}
.primary-buy-stepper-wrap .stepper-input::-webkit-outer-spin-button,
.primary-buy-stepper-wrap .stepper-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.primary-buy-stepper-wrap .stepper-unit {
  padding: 0 10px;
  font-size: 12px;
  color: #64748b;
  background: #f8fafc;
  height: 100%;
  display: flex;
  align-items: center;
  border-left: 1px solid #e2e8f0;
  user-select: none;
  font-weight: 500;
}
/* 加入购物车主按钮 (西域墨绿标杆色) */
.btn-buy-add-cart {
  height: 40px;
  padding: 0 24px;
  background: #047553;
  color: #ffffff;
  border: none;
  border-radius: 3px;
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(4, 117, 83, 0.22);
}
.btn-buy-add-cart i {
  font-size: 17px;
}
.btn-buy-add-cart:hover {
  background: #035e42;
  box-shadow: 0 4px 12px rgba(4, 117, 83, 0.32);
  transform: translateY(-1px);
}
.btn-buy-add-cart:active {
  transform: translateY(0);
}
/* 立即购买次级按钮 (西域浅绿边框高对比度风格) */
.btn-buy-now {
  height: 40px;
  padding: 0 24px;
  background: #f0fdf7;
  color: #047553;
  border: 1px solid #047553;
  border-radius: 3px;
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-buy-now i {
  font-size: 16px;
}
.btn-buy-now:hover {
  background: #047553;
  color: #ffffff;
  box-shadow: 0 3px 10px rgba(4, 117, 83, 0.22);
  transform: translateY(-1px);
}
.btn-buy-now:active {
  transform: translateY(0);
}


/* --------------------------------------------------------------------------
   3. SPU 多 SKU 规格选型矩阵 (MRO 工业品核心表格)
   -------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------
   3. SPU 顶部选定规格摘要 & 企业采购服务保障
   -------------------------------------------------------------------------- */
.current-sku-highlight-bar {
  background: #f4faf6;
  border: 1px solid #cce8d7;
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin: 16px 0;
}

.current-sku-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.current-sku-title-row strong {
  color: #1a2b3c;
  font-weight: 700;
}

.current-sku-sub-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 6px;
  font-size: 12px;
  color: #666666;
}

.current-sku-action-btns {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed #d6ebd9;
}

.btn-jump-matrix-link {
  font-size: 13px;
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  margin-left: auto;
  transition: var(--transition);
}

.btn-jump-matrix-link:hover {
  text-decoration: underline;
  color: #035c42;
}

.detail-trust-badges-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 16px;
  padding: 12px 14px;
  background: #fafafa;
  border-radius: 4px;
  border: 1px solid #eeeeee;
}

.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #444444;
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   4. MRO 核心：SPU 下全部规格型号选型矩阵 (通栏拉通，无左侧筛选项)
   参考英登 yingdeng.com/product-MWC415，拉通 100% 舒发展示
   -------------------------------------------------------------------------- */
.spu-sku-fullwidth-section {
  margin: 28px 0;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.spu-sku-toolbar-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: #fafbfa;
  border-bottom: 2px solid #047553;
  gap: 16px;
  flex-wrap: wrap;
}

.spu-sku-tabs-left {
  display: flex;
  align-items: center;
}

.spu-sku-tab-item {
  font-size: 15px;
  font-weight: 700;
  color: #047553;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: default;
}

.sku-count-badge {
  background: #047553;
  color: #ffffff;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 600;
}

.sku-quick-search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 3px;
  padding: 3px 8px;
}

.sku-quick-search-box i {
  color: #888888;
  font-size: 15px;
}

.sku-quick-search-box input {
  border: none;
  outline: none;
  font-size: 12px;
  width: 320px;
  color: #333333;
}

.btn-clear-search {
  border: none;
  background: transparent;
  color: #999999;
  font-size: 16px;
  cursor: pointer;
  padding: 0 4px;
}

.btn-sku-search {
  border: none;
  background: #047553;
  color: #ffffff;
  padding: 4px 14px;
  border-radius: 2px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-sku-search:hover {
  background: #035c42;
}

/* SPU 通栏表格 */
.spu-sku-table-container {
  width: 100%;
  overflow-x: auto;
}

.spu-sku-full-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.spu-sku-full-table th {
  background: #f5f8f6;
  font-size: 12px;
  font-weight: 600;
  color: #333333;
  padding: 8px 5px;
  border-bottom: 1px solid var(--border-color);
  text-align: left;
  white-space: nowrap;
}

.spu-sku-full-table td {
  padding: 7px 5px;
  font-size: 12px;
  border-bottom: 1px solid #eef2f0;
  color: #333333;
  vertical-align: middle;
}

.spu-sku-full-table tr:hover td {
  background-color: #f7fcf9;
}

.spu-sku-full-table tr.selected-row td {
  background-color: #edf8f4;
}

.spu-sku-full-table tr.active-matched-row.selected-row td {
  background-color: #edf8f4;
}

.spu-sku-full-table tr.active-matched-row td {
  font-weight: 500;
}

.sku-product-info-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sku-product-thumb-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border: 1px solid #e2e8f0;
  border-radius: 3px;
  background: #ffffff;
  flex-shrink: 0;
}

.sku-product-info-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.sku-code-tag {
  font-family: var(--font-code);
  font-size: 11px;
  font-weight: 600;
  color: #047553;
  background: #e8f5ee;
  padding: 1px 6px;
  border-radius: 2px;
  align-self: flex-start;
  letter-spacing: 0.2px;
}

.sku-name-title {
  font-size: 13px;
  color: #1a2b3c;
  line-height: 1.4;
}

.sku-model-badge {
  font-weight: 700;
  color: #1a2b3c;
  font-size: 12.5px;
}

.btn-sku-add-cart {
  background: #047553;
  color: #ffffff;
  border: none;
  padding: 4px 6px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-sku-add-cart:hover {
  background: #035c42;
  box-shadow: 0 2px 6px rgba(4, 117, 83, 0.3);
}

/* 数量加减步进器 (Stepper with MOQ & Step Validation) */
.quantity-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-color);
  border-radius: 2px;
  background: #ffffff;
}

.stepper-btn {
  width: 22px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f7f7f7;
  font-size: 13px;
  color: #666666;
  cursor: pointer;
  user-select: none;
}

.stepper-btn:hover {
  background: #eeeeee;
  color: var(--primary-color);
}

.stepper-input {
  width: 32px;
  height: 24px;
  text-align: center;
  font-size: 11.5px;
  font-weight: 600;
  border-left: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
  outline: none;
}

/* 批量加购控制栏 (Batch Action Bar - 置顶置于表格上方) */
.batch-order-action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f4faf6;
  border-bottom: 1px solid #cce8d7;
  padding: 12px 20px;
  position: sticky;
  top: 0;
  z-index: 30;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.batch-stat-text {
  font-size: 14px;
  color: var(--text-secondary);
}

.batch-stat-text strong {
  color: var(--primary-color);
  font-size: 16px;
  font-weight: 700;
}

.batch-stat-text #batchSelectedAmount {
  color: #dc2626; /* 预估总计金额高亮突出 */
  font-size: 20px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  margin-left: 2px;
}

.batch-action-buttons {
  display: flex;
  gap: 12px;
}

/* --------------------------------------------------------------------------
   5. 底部商品详情页 (双 Tab: 商品介绍 + 规格参数)
   -------------------------------------------------------------------------- */
.product-tabs-container {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  margin-bottom: 40px;
  overflow: hidden;
}

.tabs-nav-bar {
  display: flex;
  background: #f8fafc;
  border-bottom: 2px solid #047553;
}

.tabs-nav-bar .tab-nav-item {
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  border-right: 1px solid #e2e8f0;
  background: #f8fafc;
  transition: all 0.2s ease;
  user-select: none;
}

.tabs-nav-bar .tab-nav-item:hover {
  color: #047553;
  background: #f1f5f9;
}

.tabs-nav-bar .tab-nav-item.active {
  background: #ffffff;
  color: #047553;
  border-bottom: 2px solid #047553;
  margin-bottom: -2px;
}

.tabs-nav-bar .tab-nav-item i {
  font-size: 18px;
}

.product-intro-hero {
  padding: 24px 30px;
  background: #ffffff;
}

.product-intro-title-bar {
  padding-bottom: 18px;
  border-bottom: 1px solid #eeeeee;
  margin-bottom: 24px;
}

.intro-tag {
  display: inline-block;
  background: #047553;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 2px;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.intro-headline {
  font-size: 20px;
  font-weight: 700;
  color: #1a2b3c;
  margin-bottom: 6px;
}

.intro-subheadline {
  font-size: 13px;
  color: #666666;
}

/* 结构解剖图卡片 */
.product-intro-graphic-card {
  border: 1px solid #e0e8e4;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 24px;
  background: #fbfdfc;
}

.graphic-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
  background: #eef6f2;
  border-bottom: 1px solid #e0e8e4;
}

.graphic-title {
  font-size: 14px;
  font-weight: 700;
  color: #047553;
  display: flex;
  align-items: center;
  gap: 6px;
}

.graphic-subtitle {
  font-size: 12px;
  color: #888888;
}

.graphic-image-box {
  padding: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #ffffff;
  min-height: 220px;
}

.graphic-image-box img {
  max-width: 100%;
  max-height: 380px;
  object-fit: contain;
}

/* 4 大工艺特点卡片 */
.product-feature-points-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.feature-point-card {
  background: #f8faf9;
  border: 1px solid #e6eeea;
  border-radius: 4px;
  padding: 16px;
}

.feature-point-icon {
  width: 36px;
  height: 36px;
  border-radius: 4px;
  background: #e6f4ed;
  color: #047553;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 10px;
}

.feature-point-title {
  font-size: 14px;
  font-weight: 700;
  color: #1a2b3c;
  margin-bottom: 6px;
}

.feature-point-desc {
  font-size: 12px;
  color: #666666;
  line-height: 1.5;
}

/* 后端图文详情专属挂载容器 */
.backend-rich-content-slot {
  margin-top: 24px;
  padding: 24px;
  border: 1px dashed #c0d8cb;
  border-radius: 4px;
  background: #fafdfb;
}

.cms-slot-placeholder {
  text-align: center;
  padding: 20px 0;
}

.cms-slot-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #047553;
  background: #e6f4ed;
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}

.cms-slot-tip {
  font-size: 13px;
  color: #666666;
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.6;
}

.cms-slot-tip code {
  background: #eeeeee;
  padding: 2px 6px;
  border-radius: 3px;
  font-family: var(--font-code);
  color: #047553;
}

/* ==========================================================================
   规格参数专属独立页面样式 (结构化工业技术大表)
   ========================================================================== */
.product-specs-detail-page {
  padding: 24px 30px;
  background: #ffffff;
}

.specs-page-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid #eeeeee;
  margin-bottom: 24px;
}

.specs-page-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #ecfdf5;
  color: #047553;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 3px;
  margin-bottom: 8px;
}

.specs-page-title {
  font-size: 20px;
  font-weight: 700;
  color: #1a2b3c;
  margin-bottom: 6px;
}

.specs-page-desc {
  font-size: 13px;
  color: #64748b;
}

.specs-active-sku-badge {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  padding: 8px 14px;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.specs-active-sku-badge .badge-label {
  color: #64748b;
}

.specs-active-sku-badge .badge-model {
  color: #047553;
  font-weight: 700;
  font-family: var(--font-code);
  letter-spacing: 0.2px;
}

.specs-active-sku-badge .badge-tip {
  color: #94a3b8;
  font-size: 12px;
}

.specs-full-table-wrap {
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 28px;
}

.specs-full-table {
  width: 100%;
  border-collapse: collapse;
}

.specs-full-table tr {
  border-bottom: 1px solid #eef2f6;
}

.specs-full-table tr:last-child {
  border-bottom: none;
}

.specs-full-table tr:nth-child(even) {
  background: #fbfdfc;
}

.specs-full-table td {
  padding: 11px 16px;
  font-size: 13px;
  line-height: 1.45;
  vertical-align: middle;
}

.specs-full-table td.attr-td-label {
  width: 18%;
  color: #64748b;
  font-weight: 600;
  background: #f8fafc;
  border-right: 1px solid #eef2f6;
}

.specs-full-table td.attr-td-val {
  width: 32%;
  color: #1e293b;
  font-weight: 500;
}

.specs-full-table td.attr-td-val:first-of-type {
  border-right: 1px solid #eef2f6;
}

.specs-quality-assurance-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 20px 24px;
}

.qa-card-title {
  font-size: 15px;
  font-weight: 700;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
}

.qa-card-title i {
  color: #047553;
  font-size: 18px;
}

.qa-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.qa-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.qa-item i {
  font-size: 24px;
  color: #047553;
  margin-top: 2px;
  flex-shrink: 0;
}

.qa-item strong {
  display: block;
  font-size: 13.5px;
  color: #1e293b;
  margin-bottom: 4px;
}

.qa-item p {
  font-size: 12px;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}

/* --------------------------------------------------------------------------
   5. 英登标准分类结果页收敛样式
   筛选只呈现当前类目可选项与品牌，避免把完整目录树堆在结果页。
   -------------------------------------------------------------------------- */
.filter-container-box {
  border: 1px solid #e5ebe8;
  border-radius: 2px;
  margin-bottom: 14px;
  box-shadow: none;
}

.filter-row {
  min-height: 46px;
  padding: 8px 16px;
  border-bottom: 1px solid #f0f3f2;
  align-items: flex-start;
}

.filter-row:last-child { border-bottom: 0; }

.filter-label {
  width: 72px;
  padding-top: 4px;
  font-size: 12px;
  font-weight: 500;
  color: #555;
}

.filter-values-group {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.filter-category-box,
.brand-filter-box {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 24px;
  max-height: none;
  overflow: visible;
}

.filter-value-item,
.brand-filter-item {
  border: 0;
  border-radius: 0;
  padding: 3px 0;
  background: transparent;
  color: #3975b9;
  font-size: 12px;
  line-height: 1.4;
  white-space: nowrap;
}

.filter-value-item:hover,
.filter-value-item.active,
.brand-filter-item:hover,
.brand-filter-item.active {
  background: transparent;
  color: var(--primary-color);
  font-weight: 600;
}

.filter-expand-btn {
  height: auto;
  padding: 3px 0;
  border: 0;
  background: transparent;
  color: #7c8581;
  white-space: nowrap;
}

.filter-expand-btn:hover { color: var(--primary-color); }

.filter-multi-btn {
  flex-shrink: 0;
  padding: 3px 8px;
  border: 1px solid #dfe6e3;
  border-radius: 2px;
  color: #7c8581;
  background: #fff;
  font-size: 12px;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.15s ease;
}

.filter-multi-btn:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  background: #f0fdf4;
}

.filter-multi-btn.has-selection {
  border-color: var(--primary-color);
  color: var(--primary-color);
  background: #f0fdf4;
  font-weight: 600;
}

/* 品牌多选模式状态 */
.filter-brand-row.is-multi-mode {
  background: #fafcfb;
  border-bottom: 1px solid #d1fae5;
  padding-bottom: 12px;
}

.filter-brand-row.is-multi-mode .filter-values-group {
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}

.filter-brand-row.is-multi-mode .filter-expand-btn,
.filter-brand-row.is-multi-mode .filter-multi-btn {
  display: none !important;
}

.filter-brand-row.is-multi-mode .brand-filter-box {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  max-height: 220px;
  overflow-y: auto;
  padding: 8px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
}

.filter-brand-row.is-multi-mode .brand-filter-box::-webkit-scrollbar {
  width: 5px;
}

.filter-brand-row.is-multi-mode .brand-filter-box::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}

.filter-brand-row.is-multi-mode .brand-filter-box::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* 品牌多选卡片 */
.brand-multi-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid #e2e8f0;
  border-radius: 3px;
  background: #ffffff;
  color: #334155;
  font-size: 12px;
  line-height: 1.4;
  cursor: pointer;
  user-select: none;
  transition: all 0.15s ease;
}

.brand-multi-item:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  background: #f8fafc;
}

.brand-multi-item.selected {
  border-color: var(--primary-color);
  background: #f0fdf4;
  color: var(--primary-color);
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(0, 105, 73, 0.08);
}

.brand-multi-item .multi-chk-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  border: 1px solid #cbd5e1;
  border-radius: 2px;
  background: #ffffff;
  color: transparent;
  font-size: 10px;
  line-height: 1;
  transition: all 0.15s ease;
  flex-shrink: 0;
}

.brand-multi-item.selected .multi-chk-box {
  border-color: var(--primary-color);
  background: var(--primary-color);
  color: #ffffff;
}

/* 品牌多选底部操作条 */
.brand-multi-action-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  padding-top: 8px;
  margin-top: 2px;
}

.brand-multi-action-bar .multi-tip {
  font-size: 12px;
  color: #64748b;
}

.brand-multi-action-bar .multi-tip strong {
  color: var(--primary-color);
  font-weight: 700;
  margin: 0 2px;
}

.brand-multi-action-bar .multi-btns {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-multi-confirm {
  padding: 4px 18px;
  border: 1px solid var(--primary-color);
  background: var(--primary-color);
  color: #fff;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-multi-confirm:disabled {
  background: #cbd5e1;
  border-color: #cbd5e1;
  color: #f8fafc;
  cursor: not-allowed;
  opacity: 0.7;
}

.btn-multi-confirm:not(:disabled):hover {
  background: #005a3c;
  border-color: #005a3c;
  box-shadow: 0 2px 4px rgba(0, 105, 73, 0.2);
}

.btn-multi-cancel {
  padding: 4px 18px;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #475569;
  border-radius: 3px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-multi-cancel:hover {
  border-color: #94a3b8;
  color: #1e293b;
  background: #f8fafc;
}

/* 预留类目属性筛选：无配置时由 hidden + :empty 双重收起，不产生空白行。 */
.dynamic-attribute-filters[hidden],
.dynamic-attribute-filters:empty {
  display: none;
}

.filter-attribute-row {
  display: flex;
  align-items: flex-start;
  border-bottom: 1px dashed #eeeeee;
  padding: 8px 18px;
  position: relative;
  transition: background-color 0.15s ease;
}

.filter-attribute-row:last-child {
  border-bottom: none;
}

.filter-attribute-row.is-folded-attr-row {
  display: none !important;
}

.filter-attribute-row .filter-label {
  width: 100px;
  font-size: 13px;
  font-weight: 600;
  color: #555555;
  padding-top: 4px;
  flex-shrink: 0;
}

.filter-attribute-row .filter-values-group {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  align-items: center;
  padding-top: 2px;
}

.filter-attribute-row .filter-row-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 12px;
  flex-shrink: 0;
  padding-top: 2px;
}

.attribute-filter-item {
  border: 0;
  border-radius: 2px;
  padding: 2px 6px;
  background: transparent;
  color: #3975b9;
  font-size: 12px;
  line-height: 1.5;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.attribute-filter-item:hover {
  color: var(--primary-color, #c00);
}

.attribute-filter-item.active {
  background: var(--primary-color, #c00);
  color: #fff !important;
  font-weight: 600;
}

.attribute-filter-item[data-attribute-value=""] {
  color: #666;
}

.attribute-filter-item[data-attribute-value=""].active {
  background: var(--primary-color, #c00);
  color: #fff !important;
}

/* 属性多选交互模式 */
.filter-attribute-row.is-multi-mode {
  background: #f8faf9;
  border: 1px solid #d0e4d7;
  border-radius: 3px;
  margin: 4px 0;
  padding: 10px 16px;
}

.attr-multi-options-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  width: 100%;
  max-height: 140px;
  overflow-y: auto;
  padding: 4px 0;
}

.attr-multi-checkbox-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #333;
  cursor: pointer;
  user-select: none;
  padding: 3px 6px;
  border-radius: 2px;
  transition: background 0.15s ease;
}

.attr-multi-checkbox-item:hover {
  background: #edf5f0;
  color: var(--primary-color, #c00);
}

.attr-multi-checkbox-item input[type="checkbox"] {
  display: none;
}

.attr-multi-checkbox-item .multi-chk-box {
  width: 14px;
  height: 14px;
  border: 1px solid #b8c4bc;
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  font-size: 10px;
  color: transparent;
  transition: all 0.15s ease;
}

.attr-multi-checkbox-item.checked .multi-chk-box {
  background: var(--primary-color, #c00);
  border-color: var(--primary-color, #c00);
  color: #fff;
}

.attr-multi-action-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px dashed #d5e0d8;
}

.attr-multi-confirm-btn {
  height: 26px;
  padding: 0 16px;
  background: var(--primary-color, #c00);
  color: #fff;
  border: none;
  border-radius: 2px;
  font-size: 12px;
  cursor: pointer;
  font-weight: 500;
  transition: opacity 0.15s ease;
}

.attr-multi-confirm-btn:hover {
  opacity: 0.9;
}

.attr-multi-cancel-btn {
  height: 26px;
  padding: 0 14px;
  background: #fff;
  color: #666;
  border: 1px solid #ccc;
  border-radius: 2px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.attr-multi-cancel-btn:hover {
  border-color: #999;
  color: #333;
}

/* 参数折叠展开栏（5排限制切换栏） */
.filter-fold-toggle-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 7px 0;
  background: #fbfbfb;
  border-top: 1px solid #eeeeee;
  margin-top: 2px;
}

.filter-fold-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  color: #666666;
  font-size: 12px;
  cursor: pointer;
  padding: 4px 16px;
  border-radius: 2px;
  transition: color 0.15s ease;
}

.filter-fold-toggle-btn:hover {
  color: var(--primary-color, #c00);
}

.filter-fold-toggle-btn i {
  font-size: 13px;
  transition: transform 0.2s ease;
}


.product-sort-bar {
  height: 42px;
  padding: 0 12px;
  border: 1px solid #e5ebe8;
  border-radius: 2px;
  margin-bottom: 8px;
  box-shadow: none;
}

.sort-options-group { height: 100%; gap: 0; }

.sort-btn {
  height: 100%;
  padding: 0 14px;
  border-radius: 0;
  font-size: 12px;
}

.sort-btn.active {
  background: var(--primary-color);
  color: #fff;
}

.sort-check {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 100%;
  padding: 0 10px;
  color: #68736e;
  font-size: 12px;
  white-space: nowrap;
}

.sort-check input { accent-color: var(--primary-color); }

.sort-summary-group {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #7a8580;
  font-size: 12px;
}

.sort-result-count strong { color: var(--primary-color); }

.view-switch-group { gap: 0; }

.view-toggle-btn {
  padding: 5px 10px;
  border-radius: 0;
  color: #6d7773;
}

.view-toggle-btn.active {
  border-color: var(--primary-color);
  background: var(--primary-color);
  color: #fff;
}

/* --------------------------------------------------------------------------
   列表选型模式统一网格规范 (Unified 7-Column Grid Layout)
   严格保证每列宽度与表头像素级对齐，支持标题换行而不挤压后续列
   -------------------------------------------------------------------------- */
:root {
  --mro-list-grid-cols: minmax(320px, 3fr) 100px 130px minmax(140px, 1.6fr) 110px 100px 110px;
}

.product-list-header {
  display: none;
  grid-template-columns: var(--mro-list-grid-cols);
  align-items: center;
  gap: 0 16px;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid #dce9e3;
  background: #f5fbf8;
  color: #56645e;
  font-size: 12px;
  font-weight: 600;
  box-sizing: border-box;
}

.product-list-header .col-head-info { text-align: left; }
.product-list-header .col-head-brand { text-align: center; }
.product-list-header .col-head-model { text-align: center; }
.product-list-header .col-head-spec { text-align: left; }
.product-list-header .col-head-price { text-align: center; }
.product-list-header .col-head-lead { text-align: center; }
.product-list-header .col-head-qty { text-align: center; }

/* ==========================================================================
   英登风格标准网格大图模式 (Grid Mode - 严格对齐英登搜索大图卡片规范：紧凑精致 6 列)
   ========================================================================== */
.product-list-container:not(.list-mode) .product-list-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-top: 14px;
  margin-bottom: 30px;
  align-items: stretch;
}

@media (max-width: 1360px) {
  .product-list-container:not(.list-mode) .product-list-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (max-width: 1100px) {
  .product-list-container:not(.list-mode) .product-list-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  .product-list-container:not(.list-mode) .product-list-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.product-list-container:not(.list-mode) .product-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 3px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  box-sizing: border-box;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.product-list-container:not(.list-mode) .product-card:hover {
  border-color: var(--primary-color);
  box-shadow: 0 4px 14px rgba(4, 117, 83, 0.12);
  transform: translateY(-2px);
}

.product-list-container:not(.list-mode) .card-grid-view {
  display: flex !important;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
}

.product-list-container:not(.list-mode) .card-list-view {
  display: none !important;
}

/* 1. 方形标准主图容器 (精致紧凑高 150px，居中 Contain，防拉伸防失真) */
.product-list-container:not(.list-mode) .card-img-wrap {
  width: 100%;
  height: 150px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 8px;
  box-sizing: border-box;
  border-bottom: 1px solid #f1f5f9;
  overflow: hidden;
}

.product-list-container:not(.list-mode) .card-img-wrap img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.product-list-container:not(.list-mode) .product-card:hover .card-img-wrap img {
  transform: scale(1.05);
}

/* 注意事项：右下角“图片仅供参考” */
.card-img-tip {
  position: absolute;
  bottom: 4px;
  right: 6px;
  font-size: 10px;
  color: #94a3b8;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.85);
  padding: 0 3px;
  border-radius: 2px;
}

/* 2. 商品信息主体 (紧凑规范对齐) */
.product-list-container:not(.list-mode) .card-content-col {
  padding: 8px 10px 10px;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
  box-sizing: border-box;
}

/* 价格行：品牌主色粗体 */
.card-price-row {
  display: flex;
  align-items: baseline;
  gap: 3px;
  margin-bottom: 4px;
}

.card-price-row .price-prefix {
  font-size: 11px;
  color: #64748b;
  font-weight: 500;
}

.card-price-row .card-price-num {
  font-size: 17px;
  font-weight: 800;
  color: #dc2626;
  font-family: var(--font-number);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.card-price-row .card-price-num small {
  font-size: 11px;
  font-weight: 700;
  margin-right: 1px;
}

.card-price-row .price-tax-unit {
  font-size: 10px;
  color: #94a3b8;
  margin-left: 2px;
}

/* 标题：严格双行折叠与固定高 34px，保证所有卡片高度严格齐平 */
.card-product-title {
  font-size: 12px;
  line-height: 17px;
  height: 34px;
  color: #1e293b;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin-bottom: 6px;
  font-weight: 600;
  text-align: left;
  transition: color 0.15s ease;
}

.product-card:hover .card-product-title {
  color: var(--primary-color);
}

.card-product-title .kw-highlight {
  color: #dc2626;
  font-weight: 700;
  background: #fee2e2;
  padding: 0 2px;
  border-radius: 2px;
}

/* 订货号与预计出货日 */
.card-meta-box {
  background: #f8fafc;
  border-radius: 3px;
  padding: 4px 6px;
  margin-bottom: 8px;
  font-size: 11px;
  line-height: 1.5;
  color: #64748b;
  border: 1px solid #f1f5f9;
}

.card-meta-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-meta-item .meta-val {
  color: #334155;
  font-family: var(--font-code);
  font-weight: 600;
}

/* 底部操作区：双按钮（收藏 + 加入购物车，紧凑 28px 高度） */
.card-action-dual-btns {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 6px;
  margin-top: auto;
}

.btn-card-fav {
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #64748b;
  font-size: 11px;
  height: 28px;
  border-radius: 2px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  transition: all 0.2s ease;
}

.btn-card-fav:hover {
  color: #dc2626;
  border-color: #fca5a5;
  background: #fff5f5;
}

.btn-card-cart {
  border: 1px solid #c6ebd9;
  background: #edf8f4;
  color: var(--primary-color);
  font-size: 11px;
  font-weight: 700;
  height: 28px;
  border-radius: 2px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  transition: all 0.2s ease;
}

.btn-card-cart:hover {
  background: var(--primary-color);
  color: #ffffff;
  border-color: var(--primary-color);
}

/* ==========================================================================
   英登风格标准列表选型模式 (List Mode - 对齐英登类目选型表格)
   ========================================================================== */
.product-list-container.list-mode .product-list-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: #ffffff;
  border: 1px solid #e1e9e4;
  border-top: none;
}

.product-list-container.list-mode .product-card {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: none;
  border-bottom: 1px solid #edf2ee;
  border-radius: 0;
  box-shadow: none;
  background: #ffffff;
  box-sizing: border-box;
  cursor: pointer;
  transition: background 0.15s;
}

.product-list-container.list-mode .product-card:last-child {
  border-bottom: none;
}

.product-list-container.list-mode .product-card:hover {
  background: #f6fbf8;
  transform: none;
  box-shadow: none;
}

.product-list-container.list-mode .product-card .card-grid-view {
  display: none !important;
}

.product-list-container.list-mode .product-card .card-list-view {
  display: grid !important;
  grid-template-columns: var(--mro-list-grid-cols);
  align-items: center;
  gap: 0 16px;
  padding: 12px 16px;
  box-sizing: border-box;
  font-size: 13px;
  color: #444444;
}

/* 第一列：商品信息 (含缩略图 + 换行标题 + 订货号) */
.list-col-info {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0; /* 关键：允许子元素在 Grid 列中自适应缩放折行 */
  text-align: left;
}

.list-col-thumb {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border: 1px solid #e8eee9;
  border-radius: 3px;
  overflow: hidden;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.list-col-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.list-col-titles {
  flex: 1;
  min-width: 0; /* 关键：允许文本换行而不撑开 Grid 单元格 */
}

.list-product-name {
  font-size: 13px;
  font-weight: 600;
  color: #222222;
  line-height: 1.45;
  white-space: normal; /* 关键：允许商品标题自动换行！ */
  word-break: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* 标题最多优雅折发展示 2 行，排版整洁紧凑 */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card:hover .list-product-name {
  color: #047553;
}

.list-product-code {
  margin-top: 4px;
  font-size: 11px;
  color: #8a9690;
  font-family: var(--font-code);
}

/* 第二列：品牌 */
.list-col-brand {
  text-align: center;
  color: #555555;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 第三列：型号 */
.list-col-model {
  text-align: center;
  color: #333333;
  font-family: var(--font-code);
  font-weight: 600;
  word-break: break-all;
}

/* 第四列：规格 */
.list-col-spec {
  text-align: left;
  color: #555555;
  font-size: 12px;
  line-height: 1.4;
  white-space: normal;
  word-break: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 第五列：英登价 */
.list-col-price {
  text-align: center;
  color: #e1251b;
  font-weight: 700;
  font-size: 14px;
}

/* 第六列：预计出货 */
.list-col-lead {
  text-align: center;
  color: #047553;
  font-size: 12px;
  font-weight: 500;
}

/* 第七列：购买数量计数器 */
.list-col-qty {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.list-col-qty button {
  width: 22px;
  height: 22px;
  border: 1px solid #cedad4;
  background: #ffffff;
  color: #555555;
  font-size: 13px;
  line-height: 20px;
  border-radius: 2px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}
.list-col-qty button:hover {
  border-color: #047553;
  color: #047553;
  background: #f4faf6;
}
.list-col-qty b {
  min-width: 20px;
  text-align: center;
  font-weight: 600;
  font-size: 13px;
}
.list-col-qty .btn-list-add-cart {
  width: 24px;
  height: 24px;
  border: 1px solid #c6ebd9;
  background: #edf8f4;
  color: #047553;
  border-radius: 2px;
  margin-left: 4px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: all 0.2s ease;
}
.list-col-qty .btn-list-add-cart:hover {
  background: #047553;
  color: #ffffff;
  border-color: #047553;
}

/* --------------------------------------------------------------------------
   SPU 规格选型矩阵分页与展开/收起样式
   -------------------------------------------------------------------------- */
.spu-sku-pagination-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  background: #fbfdfc;
  border-top: 1px solid #e2ebe5;
  gap: 16px;
  flex-wrap: wrap;
}
.pagination-pages-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
}
.page-btn {
  min-width: 32px;
  height: 30px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid #cedad4;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 500;
  color: #444444;
  cursor: pointer;
  user-select: none;
  transition: all 0.2s;
}
.page-btn:hover:not(:disabled) {
  border-color: #047553;
  color: #047553;
  background: #f4faf6;
}
.page-btn.active {
  background: #047553;
  color: #ffffff;
  border-color: #047553;
  font-weight: 700;
}
.page-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  background: #f7f7f7;
}
.page-info-tip {
  font-size: 12px;
  color: #666666;
  margin-left: 8px;
}
.pagination-toggle-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}
.btn-toggle-expand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid #047553;
  color: #047553;
  font-size: 13px;
  font-weight: 600;
  padding: 5px 16px;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-toggle-expand:hover {
  background: #047553;
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(4, 117, 83, 0.2);
}
.btn-toggle-expand.is-expanded {
  background: #edf8f4;
  color: #035c42;
  border-color: #047553;
}

/* --------------------------------------------------------------------------
   SPU 规格参数面板 (参考英登规范)
   -------------------------------------------------------------------------- */
.spu-key-attributes-panel {
  background: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 4px;
  margin: 8px 0 0;
  overflow: hidden;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.attributes-panel-header {
  padding: 7px 12px;
  background: #f8fafc;
  border-bottom: 1px solid #e8e8e8;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.panel-title {
  font-size: 12px;
  font-weight: 700;
  color: #334155;
}
.panel-tag {
  font-size: 10.5px;
  color: #047553;
  background: #eaf6f0;
  padding: 1px 6px;
  border-radius: 2px;
  font-weight: 600;
}
.attributes-table-wrap {
  width: 100%;
  flex: 1;
  display: flex;
}
.attributes-table {
  width: 100%;
  height: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}
.attributes-table tr {
  border-bottom: 1px solid #f0f0f0;
}
.attributes-table tr:last-child {
  border-bottom: none;
}
.attributes-table td {
  padding: 7.5px 10px;
  font-size: 12px;
  line-height: 1.4;
  vertical-align: middle;
}
.attributes-table td.attr-td-label {
  width: 40%;
  color: #666666;
  border-right: 1px solid #e8e8e8;
  background: #fafafa;
  font-weight: normal;
}
.attributes-table td.attr-td-val {
  width: 60%;
  color: #222222;
  font-weight: 500;
}


