.banner-box {
  position: relative;
  width: 100%;
  height: 120px;
  margin: 0 auto 30px auto;
  /* 居中显示 */
  /*background: url('/images/product-list/Slice 46.png') center center/cover no-repeat;*/
  overflow: hidden;
  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;
}

.banner-block {
  border-radius: 16px;
  padding: 20px 0;
  margin-right: 60px;
  min-width: 340px;
  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-detail-main {
  width: 100%;

  display: flex;
  justify-content: center;
  padding-bottom: 40px;
}

.product-msg-l-chart {
  margin-top: 40px;
  width: 500px;
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.product-msg-l-chart .chart-header {
  margin-bottom: 15px;
}

.product-msg-l-chart .chart-header h3 {
  font-size: 12px;
  font-weight: bold;
  color: #131521;
  margin: 0;
}

/* 图表指标样式 */
.chart-metrics {
  display: flex;
  gap: 20px;
  margin-bottom: 5px;
}

.metric-item {
  display: flex;
  /* flex-direction: column; */
  gap: 4px;
}

.metric-label {
  font-size: 11px;
  color: #5a607f;
  font-weight: normal;
}

.metric-value {
  font-size: 11px;
  color: #101010;
  font-weight: bold;
}

/* 图表容器样式 */
#priceChart {
  border-radius: 8px;
  overflow: hidden;
  width: 100% !important;
  height: 350px !important;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .product-msg-l-chart {
    width: 100%;
    padding: 15px;
    margin-top: 20px;
  }

  .chart-metrics {
    flex-direction: column;
    gap: 10px;
  }
}

.product-detail-content {
  display: flex;
  width: 100%;
  gap: 30px;
  align-items: flex-start;
}

.product-detail-gallery {
  width: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.product-detail-main-img {
  width: 500px;
  aspect-ratio: 4/3;
  background: #f5f5f5;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 18px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-detail-main-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.4s ease-in-out;
}

.product-detail-thumb-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  width: 100%;
  justify-content: flex-start;
}

.product-detail-thumb {
  width: 100%;
  height: 72px;
  border-radius: 8px;
  overflow: hidden;
  background: #f5f5f5;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.product-detail-thumb:hover {
  border-color: #0d65f8;
  box-shadow: 0 2px 8px rgba(13, 101, 248, 0.15);
}

.product-detail-thumb.active {
  border-color: #0d65f8;
  box-shadow: 0 2px 8px rgba(13, 101, 248, 0.2);
}

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

.product-detail-info {
  flex: 1;
  min-width: 320px;
  max-width: 900px;
  display: flex;
  flex-direction: column;
}

.product-detail-divider {
  width: 100%;
  height: 1px;
  background: #e5e6eb;
  border-radius: 1px;
  margin: 15px 0 20px 0;
}

.product-detail-divider-b {
  width: 100%;
  height: 1px;
  background: #e5e6eb;
  border-radius: 1px;
  margin: 30px 0 30px 0;
}

.product-detail-title {
  font-size: 22px;
  font-weight: bold;
  color: #222;
  margin-bottom: 18px;
  line-height: 1.3;
}

.product-detail-section {
  margin-bottom: 20px;
}

.product-detail-label {
  font-size: 15px;
  font-weight: bold;
  color: #131523;
  margin-bottom: 10px;
}

.product-detail-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  flex-wrap: unset;
}

.product-detail-option {
  min-height: 55px;
  box-sizing: border-box;
  position: relative;
  padding: 12px 18px 10px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: border 0.2s, background 0.2s;
  background: #f7f8fa;
  border-radius: 4px;
  font-size: 12px;
  color: #222;
  font-weight: 500;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
  border: 1px solid #d9e1ec;
  text-align: left;
  cursor: pointer;
  transition: border 0.2s, background 0.2s;
  box-sizing: border-box;
}

.product-detail-option.selected {
  border: 1.5px solid #0d65f8;
  background: #fff;
  color: #0d65f8;
}

.product-detail-option.selected::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  width: 25px;
  height: 25px;
  background: #0d65f8;
  clip-path: polygon(100% 0, 0 100%, 100% 100%);
  border-bottom-right-radius: 5px;
  z-index: 1;
  pointer-events: none;
}

.product-detail-option .option-check {
  display: none;
  position: absolute;
  right: 4px;
  bottom: 4px;
  width: 8px;
  height: 8px;
  z-index: 2;
  pointer-events: none;
}

.product-detail-option.selected .option-check {
  display: block;
}

.product-detail-option.selected .option-check::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 8px;
  border-bottom: 2px solid white;
  border-right: 2px solid white;
  transform: rotate(45deg);
}

.product-detail-option:hover {
  border-color: #0d65f8;
  background: #f8fbff;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(13, 101, 248, 0.15);
}

.option-desc {
  font-size: 13px;
  color: #888;
  font-weight: 400;
}

.product-detail-auth-btn {
  margin-top: 20px;
  width: auto;
  height: auto;
  background: none;
  color: #0d65f8;
  font-size: 24px;
  font-weight: bold;
  border: none;
  border-radius: 0;
  box-shadow: none;
  cursor: pointer;
  transition: color 0.2s;
  align-self: flex-start;
  letter-spacing: 0.5px;
  text-align: left;
  padding: 0 8px 0 8px;
  position: relative;
  text-decoration: none;
}

.product-detail-auth-btn::after {
  content: '';
  display: block;
  width: 100%;
  height: 3px;
  background: #0d65f8;
  border-radius: 2px;
  margin-top: 4px;
}

.product-detail-auth-btn:active,
.product-detail-auth-btn:hover {
  color: #0846a8;
}

.product-detail-auth-btn:active::after,
.product-detail-auth-btn:hover::after {
  background: #0846a8;
}

.product-detail-select {
  width: 100%;
  max-width: 100%;
  height: 36px;
  font-size: 14px;
  border: 1px solid #d9e1ec;
  border-radius: 8px;
  padding: 0 16px;
  color: #849696;
  background: #fff;
  margin-top: 4px;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: #fff url('data:image/svg+xml;utf8,<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M5 7L9 11L13 7" stroke="%23999" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat right 16px center/18px 18px;
  padding-right: 40px;
  cursor: pointer;
}

/* 红色框选部分：标签页和下载卡片 */
.product-detail-tabs-section {
  width: 100%;
  max-width: 1440px;
  margin: 0px auto 0 auto;
  padding: 0 20px;
  background-color: #fff;
}

.product-detail-tabs {
  display: flex;
  gap: 130px;
  margin-bottom: 24px;
  border-bottom: 1px solid #e5e6eb;
  justify-content: center;
  height: 80px;
  align-items: center;
}

.tab-item {
  font-size: 16px;
  font-weight: 500;
  color: #3a4057;
  padding: 27px 0;
  cursor: pointer;
  position: relative;
  transition: color 0.2s;
  font-weight: bold;
}

.tab-item.active {
  color: #0d65f8;
  font-weight: 600;
}

.tab-item.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: #0d65f8;
  border-radius: 1px;
}

/* 标签页内容区域滑动效果 */
.detail-content {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 150px;
}

.tab-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.4s ease-in-out;
  visibility: hidden;
  min-height: 120px !important;
}

.tab-content.active {
  opacity: 1;
  transform: translateX(0);
  visibility: visible;
  position: relative;
}

.tab-content.slide-out-left {
  transform: translateX(-100%);
  opacity: 0;
}

.tab-content.slide-in-right {
  transform: translateX(0);
  opacity: 1;
}

.download-cards-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  gap: 5px;
  padding-bottom: 50px;
}

.download-card {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  background: #fff;
  padding: 10px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
  transition: box-shadow 0.2s;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  box-sizing: border-box;
  min-width: 0;
}

.download-card-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  flex: 1;
}

.download-filename {
  font-size: 16px;
  font-weight: 500;
  color: #000;
  /* max-width: 220px; */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.download-filesize {
  font-size: 14px;
  color: #666;
  margin-bottom: 8px;
}

.download-docbox {
  flex: 1;
  border: 1px solid #e5e6eb;
  border-radius: 8px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
}

.download-card-action {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 65px;
  gap: 20px;
  margin-left: 12px;
}

.download-icon {
  margin-bottom: 0;
}

.download-text {
  font-size: 14px;
  font-weight: 500;
  color: #1e5eff;
  line-height: 1;
  text-decoration: none;
}

.download-text:hover {
  color: #0d65f8;
  text-decoration: underline;
}

.download-preview {
  font-size: 14px;
  font-weight: 500;
  color: #1e5eff;
  line-height: 1;
  text-decoration: none;
}

.download-preview:hover {
  color: #0d65f8;
  text-decoration: underline;
}

.related-products-section {
  width: 100%;
  margin: 60px 0 100px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.related-products-title {
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  color: #131523;
  margin-bottom: 48px;
}

.related-products-list {
  display: flex;
  flex-direction: row;
  gap: 40px;
  justify-content: center;
}

.related-product-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.2s;
  width: 320px;
}

.related-product-img-wrap {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
  min-height: 320px;
}

.related-product-img {
  width: 310px;
  margin: 5px;
  border-radius: 5px;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  margin-bottom: 18px;
}

.related-product-img-label {
  position: absolute;
  left: 0;
  bottom: 20px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  padding: 10px 18px 8px 16px;
  line-height: 1.4;
  max-width: 90%;
  word-break: break-all;
  box-sizing: border-box;
  z-index: 2;
  pointer-events: none;
}

.related-product-info {
  width: 100%;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 0 15px 0;
}

.related-product-name {
  font-size: 20px;
  font-weight: 600;
  color: #222;
  margin-bottom: 18px;
  text-align: center;
}

.related-product-btn {
  background: #0d65f8;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 20px;
  /* padding: 8px 15px; */
  cursor: pointer;
  transition: background 0.2s;
  box-shadow: 0 2px 8px 0 rgba(30, 94, 255, 0.1);
  width: 95px;
  height: 32px;
  line-height: 32px;
}

.related-product-btn:hover {
  background: #0d65f8;
}

.detail-tabs {
  display: flex;
  width: 1060px;
  gap: 20px;
  border-bottom: 1px solid #1473e6;
  margin-bottom: 20px;
  justify-content: center;
}

.tab-btn {
  padding: 10px 20px;
  background: none;
  border: none;
  font-size: 16px;
  color: #101010;
  cursor: pointer;
  position: relative;
}

.tab-btn.active {
  font-weight: bold;
  background-color: #f1f1f1;
}

.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 5px;
  background-color: #0066ff;
}

.tab-content {
  display: none;
  min-height: 200px;
  width: 100%;
  margin: 0 auto;
}

.tab-content.active {
  display: block;
}

/* Attributes 样式 */
.product-parameters h3,
.tech-index h3,
.properties-uses h3,
.package-storage h3 {
  font-size: 16px;
  color: #101010;
  margin-bottom: 16px;
}

.params-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
  border-bottom: 1px solid #bbbbbb;
  border-top: 1px solid #bbbbbb;
  font-family: HarmonyOS_Sans_SC-regular;
}

.params-table td {
  padding: 8px 0;
  font-size: 14px;
  color: #101010;
  line-height: 1.5;
  border: none;
}

.param-label {
  /* font-weight: bold; */
  width: 270px;
}

.tech-table {
  width: 1060px;
  border-collapse: collapse;
  margin-bottom: 16px;
  margin-left: auto;
  margin-right: auto;
  /* border-bottom: 1px solid blue; */
}

.tech-table th,
.tech-table td {
  /* border: none; */
  padding: 6px 5px;
  text-align: center;
  font-size: 14px;
}

.tech-table th {
  background: #ffffff;
  font-weight: normal;
  /* border: none; */
}

.tech-table thead {
  /* border-bottom: 1px solid red; */
  border-top: 1px solid #bbbbbb;
  border-bottom: 1px solid #bbbbbb;
}

.quantity-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  /* gap: 0; */
  background: #fff;
  border: 1px solid #bbbbbb;
  border-radius: 20px;
  padding: 4px;
  width: fit-content;
  margin: 5px auto;
  height: 32px;
  box-sizing: border-box;
}

.quantity-btn {
  width: 24px;
  height: 24px;
  border: none;
  background: transparent;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #101010;
  transition: all 0.2s ease;
  margin: 0;
  flex-shrink: 0;
}

.quantity-btn:hover {
  background: #f0f0f0;
}

.quantity-input {
  width: 50px;
  height: 24px;
  border: none;
  border-radius: 0;
  text-align: center;
  font-size: 14px;
  color: #101010;
  background: transparent;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
}

.quantity-input:focus {
  outline: none;
  border: none;
  background: transparent;
}

/* 添加禁用状态的样式 */
.quantity-btn.disabled {
  background-color: #f5f5f5;
  border-color: #e5e5e5;
  color: #999;
  cursor: not-allowed;
}

.quantity-btn.disabled:hover {
  border-color: #e5e5e5;
  color: #999;
}

.moq-table {
  width: 100%;
  border-collapse: collapse;
  background: transparent;
  font-family: HarmonyOS_Sans_SC-regular;
  border-radius: 8px;
  /* overflow: hidden; */
}

/* 固定表头样式 */
.moq-table thead {
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  background: #f8f9ff;
}

/* 产品规格表格容器 - 控制滚动条显示 */
.product-msg-r-moq-b {
  max-height: 400px;
  /* 约10行的高度 */
  overflow-y: auto;
  position: relative;
}

/* 始终显示滚动条 - 使用!important强制应用 */
.product-msg-r-moq-b::-webkit-scrollbar {
  width: 6px !important;
  background: transparent !important;
}

.product-msg-r-moq-b::-webkit-scrollbar-track {
  background: #f1f1f1 !important;
  border-radius: 3px !important;
}

.product-msg-r-moq-b::-webkit-scrollbar-thumb {
  background: #c1c1c1 !important;
  border-radius: 3px !important;
}

.product-msg-r-moq-b::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8 !important;
}

/* 通用滚动条样式 - 确保所有容器都显示滚动条 */
.product-msg-r-moq,
.product-msg-r-moq-b,
.moq-table {
  scrollbar-width: thin !important;
  scrollbar-color: #c1c1c1 #f1f1f1 !important;
}

.product-msg-r-moq::-webkit-scrollbar,
.product-msg-r-moq-b::-webkit-scrollbar,
.moq-table::-webkit-scrollbar {
  width: 6px !important;
  background: transparent !important;
}

.product-msg-r-moq::-webkit-scrollbar-track,
.product-msg-r-moq-b::-webkit-scrollbar-track,
.moq-table::-webkit-scrollbar-track {
  background: #f1f1f1 !important;
  border-radius: 3px !important;
}

.product-msg-r-moq::-webkit-scrollbar-thumb,
.product-msg-r-moq-b::-webkit-scrollbar-thumb,
.moq-table::-webkit-scrollbar-thumb {
  background: #c1c1c1 !important;
  border-radius: 3px !important;
}

.product-msg-r-moq::-webkit-scrollbar-thumb:hover,
.product-msg-r-moq-b::-webkit-scrollbar-thumb:hover,
.moq-table::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8 !important;
}

/* 适配Bootstrap table类 */
.table-borderless {
  border: none;
}

.table-borderless th,
.table-borderless td {
  border: none;
  padding: 5px 8px;
  text-align: center;
  font-size: 14px;
  background: transparent;
  vertical-align: middle;
}

.moq-table th {
  border: none;
  padding: 12px 8px;
  text-align: center;
  font-size: 14px;
  color: #101010;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 10;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.moq-table td {
  padding: 5px 8px;
  text-align: center;
  font-size: 14px;
  /* color: #101010; */
  background: transparent;
  vertical-align: middle;
}

.moq-table td:first-child {
  text-align: left;
}

.moq-table th {
  background: transparent;
  font-weight: bold;
  color: #131523;
  font-size: 14px;
  font-family: Inter-Bold, sans-serif;
}

.moq-table tbody tr {
  background: transparent;
  border-bottom: none;
  transition: background-color 0.2s ease;
}

/* 鼠标悬停效果 */
.moq-table tbody tr:hover {
  background-color: #eef5fb;
  cursor: pointer;
}

.moq-table tbody tr:last-child {
  border-bottom: none;
}

/* Unit列数据特殊样式 */
.moq-table td:nth-child(2) {
  color: #131523;
  font-weight: 500;
}

/* Quantity列特殊样式 */
.moq-table th:nth-child(3) {
  color: #131523;
  font-weight: bold;
}

.moq-table td:nth-child(3) {
  text-align: center;
}

/* 产品规格输入框样式 */
.product-spec-input {
  width: 100%;
  height: 32px;
  line-height: 32px;
  border: 1px solid #d9e1ec;
  border-radius: 18px;
  text-align: left;
  font-size: 14px;
  color: #101010;
  background: transparent;
  padding: 0 8px;
  box-sizing: border-box;
}

.product-spec-input:focus {
  outline: none;
  border-color: #007bff;
}

.product-msg-r-moq {
  width: 100% !important;
}

.total-price {
  font-size: 20px;
  font-weight: bold;
  color: #101010;
  font-family: HarmonyOS_Sans_SC-regular;
}

/* 操作按钮样式 */
/* .action-buttons {
    gap: 12px;
    margin-top: 20px;
    text-align: center;
} */

.tech-index-content {
  color: red;
}

/* 产品配置选择区域样式 */
.selected-configuration-section {
  margin: 0 auto;
  padding: 20px;
  border: 2px solid #0d65f8;
  border-radius: 12px;
  background: #fff;
  min-height: 100px;
  max-height: 60vh;
  height: auto;
  width: 74%;
  max-width: 1400px;
  position: fixed;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  display: none;
  overflow-y: auto;
}

/* 配置区域滚动条样式 */
.selected-configuration-section::-webkit-scrollbar {
  width: 6px;
  background: transparent;
}

.selected-configuration-section::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.selected-configuration-section::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 3px;
}

.selected-configuration-section::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

/* 当配置区域显示时，为页面底部添加空间，避免内容被遮挡 */
body:has(.selected-configuration-section[style*='display: block']) {
  padding-bottom: 150px;
}

/* 或者使用JavaScript动态添加的类来控制 */
body.config-selected {
  padding-bottom: 150px;
}

.configuration-container {
  padding: 0;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.configuration-header {
  margin-bottom: 20px;
}

.configuration-header span {
  font-size: 16px;
  font-weight: 500;
  color: #848896;
}

/* 配置表头样式 */
.configuration-table-header {
  display: flex;
  gap: 62px;
  padding: 5px 10px;
  align-items: flex-start;
}

.configuration-table-header .config-details {
  /* width: 100%; */
  /* flex: 1; */
}

.configuration-table-header .config-details .config-text {
  font-size: 12px;
  color: #848896;
  font-weight: 500;
  line-height: 1.4;
}

.configuration-table-header .config-controls {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
}

.configuration-table-header .currency-display {
  padding: 0 12px;
  font-size: 11px;
  color: #848896;
  width: 80px;
  height: 27px;
  background: transparent;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  font-weight: 500;
  flex-shrink: 0;
  margin-right: 20px;
}

.configuration-table-header .unit-price-display {
  font-size: 12px;
  color: #848896;
  font-weight: 500;
  white-space: nowrap;
  min-width: 120px;
  text-align: left;
  flex-shrink: 0;
}

.configuration-table-header .quantity-controls {
  display: flex;
  /* align-items: center; */
  margin-left: 23px;
  justify-content: flex-start;
  height: 27px;
  flex-shrink: 0;
  background: transparent;
}

.configuration-table-header .quantity-header {
  font-size: 12px;
  color: #848896;
  font-weight: 500;
  white-space: nowrap;
  text-align: left;
}

.configuration-table-header .subtotal-display {
  font-size: 12px;
  color: #848896;
  font-weight: 500;
  white-space: nowrap;
  min-width: 100px;
  text-align: left;
  flex-shrink: 0;
  margin-left: 60px;
}

.configuration-content-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.configuration-items {
  display: flex;
  flex-direction: column;
  flex: 1;
  /* min-height: 80px; */
}

.configuration-items:empty::after {
  content: '请选择产品规格';
  color: #848896;
  font-size: 14px;
  text-align: center;
  padding: 20px;
  font-style: italic;
}

.configuration-item {
  display: flex;
  gap: 62px;
  padding: 5px 10px;
  align-items: flex-start;
}

.item-bottom {
  /* padding: 0 16px 16px 16px; */
}

.config-details {
  /* width: 100%; */
  /* flex: 1; */
  min-width: 300px
}

.config-text {
  font-size: 12px;
  color: #131523;
  font-weight: bold;
  line-height: 1.4;
}

.config-controls {
  display: flex;
  align-items: center;
  /* gap: 20px; */
  justify-content: flex-start;
  gap: 0;
}

.currency-display {
  /* padding: 0 12px; */
  font-size: 11px;
  color: #09112d;
  width: 80px;
  height: 27px;
  background: rgba(217, 225, 236, 0.5);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  flex-shrink: 0;
  margin-right: 20px;
}

.unit-price-display {
  font-size: 14px;
  color: #333;
  font-weight: 500;
  white-space: nowrap;
  min-width: 120px;
  text-align: left;
  flex-shrink: 0;
}

.quantity-controls {
  display: flex;
  align-items: center;
  background: #fff;
  height: 27px;
  flex-shrink: 0;
}

.subtotal-display {
  font-size: 14px;
  color: #333;
  font-weight: 600;
  white-space: nowrap;
  min-width: 100px;
  /* text-align: right; */
  flex-shrink: 0;
  margin-left: 30px;
}

.quantity-btn {
  width: 25px;
  height: 27px;
  background: #fff;
  color: #495057;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s;
  border: 1px solid #d9e1ec;
}

.quantity-btn:hover {
  background: #e9ecef;
}

.quantity-btn.minus {
  border-radius: 14px 0 0 14px;
}

.quantity-btn.plus {
  border-radius: 0 14px 14px 0;
}

.quantity-input {
  width: 50px;
  height: 27px;
  border: none;
  text-align: center;
  font-size: 14px;
  color: #495057;
  background: #fff;
  padding: 0;
  background: rgba(217, 225, 236, 0.5);
}

.configuration-summary {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  flex-shrink: 0;
}

.configuration-summary .total-price {
  font-size: 15px;
  font-weight: bold;
  color: #131523;
  margin-right: 50px;
}

.configuration-summary .action-buttons {
  display: flex;
  gap: 12px;
  margin-top: 0;
}

.add-to-cart-btn {
  width: 125px;
  height: 36px;
  background: #0d65f8;
  color: #fff;
  /* padding: 12px 24px; */
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.add-to-cart-btn:hover {
  background: #0846a8;
  border-color: #0846a8;
  color: #fff;
}

.buy-now-btn {
  width: 125px;
  height: 36px;
  background: #fff;
  border: 2px solid #0d65f8;
  color: #0d65f8;
  /* padding: 12px 24px; */
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.buy-now-btn:hover {
  background: #0d65f8;
  color: #fff;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .configuration-item {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .config-details {
    margin-right: 0;
    margin-bottom: 12px;
  }

  .config-controls {
    justify-content: space-between;
  }

  .configuration-summary {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }

  .configuration-summary .action-buttons {
    flex-direction: column;
  }
}

.table>tbody>tr>td {
  border: none;
}

/*!* 产品详情页面footer特殊样式 *!*/
/*.product-detail-page footer {*/
/*    margin-bottom: 120px !important;*/
/*}*/

/* 贸易选项（四个下拉框）两列布局 */
.payment-terms-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 30px;
}

.form-item-full-width {
  grid-column: 1 / -1;
}

.form-item-label {
  font-size: 15px;
  font-weight: bold;
  color: #131523;
  margin-bottom: 6px;
}

/* Inline specs summary layout: top info + bottom actions */
.specs-inline-summary {
  padding: 16px 20px;
  margin-top: 16px;
}

.sis-top {
  display: flex;
  /* align-items: center; */
  justify-content: space-between;
  margin-bottom: 8px;
}

.sis-total-label {
  font-size: 20px;
  font-weight: 700;
  color: #131523;
}

.sis-pallets,
.total-pallets {
  font-size: 20px;
  font-weight: 700;
  color: #131523;
  margin-left: 20px;
}

.sis-numbers {
  display: flex;
  align-items: baseline;
  /* gap: 100px; */
  float: right;
}

.sis-price {
  font-size: 22px;
  font-weight: 700;
  color: #131523;
  margin-left: 200px;
}

.sis-qty {
  font-size: 20px;
  font-weight: 700;
  color: #131523;
}

.sis-note {
  font-size: 12px;
  color: #848896;
  margin-bottom: 10px;
  font-weight: 700;
  /* margin-left: 460px; */
}

.sis-actions {
  display: flex;
  align-items: center;
  gap: 100px;
}

.sis-buy-btn {
  height: 50px;
  padding: 0 28px;
  width: 220px !important;
}

.sis-cart-btn {
  height: 50px;
  padding: 0 18px;
  width: 220px !important;
}