.product-detail-container {
  margin-top: 18px;
  margin-bottom: 60px;
  display: flex;
}
.product-info {
  position: relative;
  padding-right: 430px;
}
.product-info .product-introduce {
  border-radius: 4px;
  background-color: #fff;
  padding: 20px 40px 40px 40px;
  min-height: 450px;
  display: flex;
}
.product-info .product-introduce-img {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}
.product-info .product-introduce-img .product-logo {
  width: 110px;
  height: 30px;
  object-fit: contain;
}
.product-info .product-introduce-img .product-img {
  width: 240px;
  height: 240px;
  object-fit: contain;
}
.product-info .product-introduce-img .favorite {
  margin-top: 10px;
  border-radius: 4px;
  padding: 12px;
  transition: all .3s ease;
  width: 100%;
}

.product-info .product-introduce-img .favorite:hover {
  background-color: #e8eaf0
}

.product-info .product-introduce-img .favorite .favorite-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  color: #666;
  font-size: 14px
}

.product-info .product-introduce-img .favorite .favorite-btn i {
  display: inline-block;
  width: 20px;
  height: 20px;
  background: url('/static/thumbnail/icon/favorites-before.png') no-repeat center;
  background-size: contain;
  transition: transform .3s ease
}

.product-info .product-introduce-img .favorite.active .favorite-btn i {
  display: inline-block;
  background: url('/static/thumbnail/icon/favorites-after.png') no-repeat center;
  width: 20px;
  height: 20px;
  background-size: contain;
  transition: transform .3s ease
}

.product-info .product-introduce-img .favorite .favorite-btn:hover i {
  transform: scale(1.1)
}

.product-info .product-introduce-img .product_share {
  margin-top: 20px;
  color: #999;
  display: flex;
  align-items: center;
  justify-content: center
}

.product-info .product-introduce-img .product_share h2 {
  color: #333;
  padding-right: 5px;
  font-weight: bold;
  font-size: 14px
}

.product-info .product-introduce-img .product_share .share-box {
  height: 32px
}

.product-info .product-introduce-img .product_share .share-icon {
  width: 32px;
  height: 32px;
  display: inline-block;
  background: url('/static/thumbnail/share.png') no-repeat;
  transition: all .3s
}

.product-info .product-introduce-img .product_share .share-icon:hover {
  transform: translateY(-5px)
}

.product-info .product-introduce-img .product_share .icon-share-fb {
  background-position: -0 -0
}

.product-info .product-introduce-img .product_share .icon-share-tw {
  background-position: -41px 0
}

.product-info .product-introduce-img .product_share .icon-share-in {
  background-position: -82px 0
}

.product-info .product-introduce-img .product-guide {
  font-size: 12px;
  color: #7C7C8D;
  line-height: 25px;
}
.product-info .product-introduce-detail {
  margin-left: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.product-info .product-introduce-detail .product-name h1 {
  font-size: 20px;
}
.product-info .product-introduce-detail .product-subname {
  margin-top: 10px;
  font-size: 14px;
  color: #7C7C8D;
}
.product-info .product-introduce-detail .product-fields {
  font-size: 14px;
  line-height: 44px;
}
.product-info .product-introduce-detail .product-fields .product-field {
  display: flex;
}
.product-info .product-introduce-detail .product-fields .field-name {
  width: 120px;
  flex-shrink: 0;
  color: #7C7C8D;
}
.product-info .product-introduce-detail .product-fields .field-name h2,
.product-info .product-introduce-detail .product-fields .field-name h3{
  font-size: 14px;
  font-weight: normal;
}
.product-info .product-introduce-detail .product-fields .field-value.description {
  line-height: 22px;
  padding-top: 11px;
  padding-bottom: 11px;
}
.product-info .product-introduce-detail .product-fields .field-value .rohs-img{
  width: 24px;
  height: 24px;
  margin-top: 8px;
}
.product-info .product-introduce-detail .product-fields .field-value a.pdf:hover {
  color: #1DCA66;
}
.product-info .product-introduce-detail .product-fields .field-value .info_payment,
.product-info .product-introduce-detail .product-fields .field-value .info_delivery{
  margin-top: 8px;
}
.product-info .product-introduce-detail .product-fields .field-value .pdf-img{
  width: 26px;
  height: unset;
}
.product-info .product-introduce-detail .product-fields .text-primary {
  color: #1DCA66;
  line-height: 22px;
  padding-top: 11px;
  padding-bottom: 11px;
}
.product-info .product-introduce-detail .product-fields .text-bold {
  font-weight: 700;
}
.product-info .product-introduce-detail .product-fields a > img {
  vertical-align: middle;
}
.product-info .product-introduce-detail .share-channel > img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.product-info .product-introduce-detail .product-fields .field-value .detailBuy_qty {
  display: flex;
  align-items: center;
  gap: 15px
}

.product-info .product-introduce-detail .product-fields .field-value .gd_in_desc_number {
  display: flex;
  align-items: center;
  height: 33px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  overflow: hidden;
  background: #fff
}

.product-info .product-introduce-detail .product-fields .field-value .gd_span {
  width: 33px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
  color: #333;
  transition: all .2s ease
}

.product-info .product-introduce-detail .product-fields .field-value .gd_span:hover {
  background-color: #f5f5f5
}

.product-info .product-introduce-detail .product-fields .field-value .gd_span.disabled {
  color: #ccc;
  cursor: not-allowed;
  background-color: #f8f8f8
}

.product-info .product-introduce-detail .product-fields .field-value .gd_in_desc_number .textbox {
  width: 60px;
  height: 100%;
  border: 0;
  text-align: center;
  font-size: 14px;
  color: #333;
  border-left: 1px solid #e0e0e0;
  border-right: 1px solid #e0e0e0
}

.product-info .product-introduce-detail .product-fields .field-value .gd_in_desc_number .textbox:focus {
  outline: 0;
  background-color: #f8f9fa
}

.product-info .product-introduce-detail .product-fields .field-value .detailBuy_addCart_btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 35px;
  width: unset;
  padding: 0 30px;
  font-size: 16px;
  background-color: #ff5023;
  color: #fff;
  border-radius: 4px;
  font-weight: 500;
  text-decoration: none;
  transition: all .3s ease
}

.product-info .product-introduce-detail .product-fields .field-value .detailBuy_addCart_btn:hover {
  background-color: #e5481f
}

.product-info .product-introduce-detail .product-fields .field-value .detailBuy_addCart_btn:active {
  transform: translateY(1px)
}

.product-info .product-introduce-detail .product-fields .field-value .detailBuy_addCart_btn .success {
  background-color: #52c41a;
  pointer-events: none
}

.product-info .product-introduce-detail .product-fields .field-value .detailBuy_addCart_btn .loading {
  background-color: #ff7875;
  pointer-events: none;
  position: relative;
  overflow: hidden
}

.product-info .product-introduce-detail .product-fields .field-value .detailBuy_addCart_btn .loading::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,transparent,rgba(255,255,255,0.2),transparent);
  animation: loading 1s infinite
}

.product-info .product-introduce-detail .product-fields .field-value .detailBuy_qty .total_price span b {
  color: #ff4d4f;
  font-weight: 600
}
.certification {
  margin-top: 15px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  row-gap: 18px;
  background: #FFFFFF;
  border-radius: 4px;
}
.certification .safe-img {
  width: 110px;
  height: 110px;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
  background-color: #1DCA66;
  display: flex;
  justify-content: center;
  align-items: center;
}
.certification .safe-img > img {
  width: 68px;
  height: 68px;
  object-fit: contain;
}
.certification .cert-confidence,
.certification .cert-list {
  flex-grow: 2;
}
.certification .cert-confidence {
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: #fff;
}
.certification .cert-confidence-title h3 {
  font-weight: bold;
  font-size: 20px;
  line-height: 1;
  color: #1DCA66;
}
.certification .cert-confidence-desc {
  margin-top: 5px;
  font-size: 14px;
  color: #7C7C8D;
  line-height: 20px;
}
.certification .cert-confidence-more {
  font-size: 14px;
  color: #75787C;
  line-height: 20px;
}
.certification .cert-list {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px;
}
.certification .cert-item {
  width: 82px;
  height: 82px;
  background: #FFFFFF;
  border: 1px solid #9A9AA1;
  padding: 5px;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
}
.certification .cert-item > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.certification .cert-item > div {
  font-weight: bold;
  font-size: 12px;
  color: #222E3B;
  line-height: 20px;
}
.certification .cert-item > div ~ img {
  width: 54px;
  height: 50px;
}
.product-specification {
  margin-top: 15px;
  background-color: #fff;
  border-radius: 4px;
  min-height: 450px;
}
.spec-tabs {
  padding: 0 20px;
  height: 78px;
  display: flex;
  border-bottom: 1px solid #E6E8EB;
}
.spec-tabs-item h2{
  line-height: 77px;
  font-size: 20px;
  cursor: pointer;
  font-weight: normal;
}
.spec-tabs-item + .spec-tabs-item {
  margin-left: 40px;
}
.spec-tabs-item.active h2 {
  font-weight: 700;
  position: relative;
}
.spec-tabs-item.active h2::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 4px;
  background-color: #1DCA66;
}
.spec-content {
  padding: 20px;
}
.spec-content-item {
  display: none;
}
.spec-content-item.active {
  display: block;
}
.spec-content .spec-item {
  height: 43px;
  line-height: 1.1;
  border-top: 1px solid #E5E5E5;
  display: flex;
  align-items: center;
}

/* 添加偶数行的背景色 */
.spec-content .spec-item:nth-child(even) {
  background-color: #F5F6F8;
}

/* 添加奇数行的背景色 */
.spec-content .spec-item:nth-child(odd) {
  background-color: #FFFFFF;
}

.spec-content .spec-item-name {
  display: flex;
  width: 50%;
  color: #7C7C8D;
  align-items: center;
  padding-left: 5px;
}
.spec-content .spec-item-name p {
  cursor: pointer;
  padding: 0;
  margin-left: 8px;
  height: 16px;
  width: 16px;
  background: url('/static/thumbnail/tips-new.png') center center no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.spec-content .spec-item-name p .tooltip {
  display: none;
  position: absolute;
  background-color: #333;
  color: #fff;
  padding: 10px;
  border-radius: 4px;
  font-size: 12px;
  max-width: 270px;
  word-wrap: break-word;
  text-align: left;
  line-height: 20px;
  transform: translateX(-50%);
  z-index: 1000;
}

.spec-content .spec-item-name p .tooltip::before {
  content: '';
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 5px solid #333
}
.spec-content .spec-item:last-child {
  height: 44px;
  border-bottom: 1px solid #E5E5E5;
}

/* Show More/Less Button 样式 */
.spec-content-item .show-more-btn {
  margin-top: 0;
  text-align: left;
  color: #1DCA66;
  font-size: 14px;
  cursor: pointer;
  padding: 8px 0 8px 5px;
  font-weight: 500;
  border-top: 1px solid #E5E5E5;
}

.spec-content-item .show-more-btn:hover {
  text-decoration: underline;
}

.spec-content-item .show-more-btn::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 5px;
  vertical-align: middle;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #1DCA66;
  transition: transform 0.3s;
}

.spec-content-item .show-more-btn.expanded::after {
  transform: rotate(180deg);
}

.spec-content .description {
  line-height: 25px;
}

.spec-content .spec-content-item .product-detail-title {
    font-weight: 700
}

.spec-content .spec-content-item .distributor_descriptions {
    padding-top: 20px
}

.spec-content .spec-content-item .distributor_descriptions ._title {
    font-weight: 700
}

.product-proximate {
  margin-top: 30px;
}
.product-proximate .panel-header-title h2 {
  font-size: 24px;
  font-weight: 700;
}
.proximate-list {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  --col-num: 3;
}
.proximate-item {
  width: calc((100% - 14px * (var(--col-num) - 1)) / var(--col-num));
  padding: 20px 22px 15px;
  display: flex;
  justify-content: space-between;
  background-color: #fff;
  font-weight: 400;
  font-size: 15px;
  color: #222E3B;
  border-radius: 4px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}
.proximate-item:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}
.proximate-item.has-detail .proximate-title a {
  color: #222E3B;
}
.proximate-item.has-detail .proximate-title a:hover {
  color: #1DCA66;
}
.proximate-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.proximate-info button {
  margin-top: auto;
  width: 120px;
  height: 32px;
  background: rgba(29, 202, 102, 0);
  border-radius: 2px;
  border: 1px solid #9E9E9E;
  font-weight: 400;
  font-size: 13px;
  color: #222E3B;
}
.proximate-info button:hover {
  border-color: #1DCA66;
  color: #1DCA66;
}
.proximate-desc {
  margin-top: 10px;
  color: #7C7C8D;
  font-size: 13px;
  line-height: 20px;
  padding-bottom: 10px;
}
.proximate-imgs {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: self-end;
}
.proximate-img {
  width: 90px;
  height: 90px;
  object-fit: contain;
}
.proximate-logo {
  margin-top: 4px;
  height: 32px;
}
.stock-info {
  position: absolute;
  top: 0;
  right: 0;
  align-self: flex-start;
  flex-shrink: 0;
  margin-left: 15px;
}
.stock-info-wrapper {
  width: 414px;
}
.stock-panel {
  background-color: #fff;
  padding: 0 18px 18px;
  border-radius: 4px;
  font-family: ArialMT;
}
.stock-panel .panel-header {
  height: 63px;
  line-height: 62px;
  border-bottom: 1px solid #E5E5E5;
  margin-bottom: 10px;
}
.stock-panel .panel-header-title {
  font-size: 24px;
  font-weight: 400;
  display: inline-flex
}
.stock-panel .panel-header-title > span {
  font-weight: 700;
}
.stock-panel .panel-header-title > span h2 {
  font-size: 24px;
}
.stock-panel .panel-header-title > strong {
  font-weight: 500;
  font-size: 16px;
  color: #7C7C8D;
  padding-left: 10px;
}
.stock-panel .stock-list,
.stock-panel .stock-price {
  display: none;
}
.stock-panel.has-price .stock-list,
.stock-panel.has-price .stock-price {
  display: block;
}
.stock-panel.has-price .stock-form .stock-car {
  margin-top: 0;
  margin-bottom: 10px;
}
.stock-panel.has-price .stock-form-guide {
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid #E5E5E5;
}
.stock-panel .stock-item {
  display: flex;
  align-items: center;
  padding: 5px 10px;
}
.stock-panel .stock-item:nth-child(odd) {
  background-color: #FFFFFF;
}
.stock-panel .stock-item:nth-child(even) {
  background-color: #F5F6F8;
}
.stock-panel .stock-item + .stock-item {
  margin-top: 1px;
}
.stock-panel .stock-item.stock-item-header {
  background-color: transparent;
}
.stock-panel .stock-item-quantity,
.stock-panel .stock-item-price {
  width: 50%;
  height: 30px;
  line-height: 30px;
}
.stock-panel .stock-item-radio {
  width: 14px;
  height: 14px;
}
.stock-panel .stock-item-radio > input[type=radio] {
  width: 100%;
  height: 100%;
}
.stock-panel .stock-price {
  font-size: 24px;
  color: #FF7500;
  line-height: 54px;
}
.stock-panel .stock-form {
  padding-top: 20px;
  display: flex;
  flex-direction: column;
}
.stock-panel .stock-form .submit-btn {
  display: block;
  margin: 15px auto 0;
  width: 160px;
  height: 40px;
  border-radius: 4px;
  background-color: #1DCA66;
  color: #fff;
  font-weight: 500;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.stock-panel .stock-form .submit-btn:hover {
  background-color: #00804a;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.stock-panel .stock-product-name {
  font-family: ArialMT;
  font-size: 24px;
  font-weight: 700;
  line-height: 40px;
}
.stock-panel .stock-product-name h2 {
  font-size: 24px;
}
.stock-panel .stock-form-guide {
  font-size: 14px;
  color: #7C7C8D;
}
.stock-panel .stock-form-item {
  display: flex;
  align-items: center;
  padding: 0 14px;
  background: #FFFFFF;
  border-radius: 3px;
  border: 1px solid #C1C4C8;
  height: 46px;
  margin-top: 10px;
}
.stock-panel .form-item-label {
  width: 120px;
  flex-shrink: 0;
}
.stock-panel .form-item-input {
  flex: 1;
  height: 30px;
  width: 100%;
}
.stock-panel .stock-form-item > input.disabled {
  color: #7C7C8D;
}
.stock-panel .form-item-attach {
  margin-right: -10px;
}
.stock-panel .form-item .shop-car {
  width: 34px;
  height: 34px;
}
.stock-panel .stock-car {
  margin-top: 15px;
}
.related-panel,
.purchase-panel {
  margin-top: 15px;
  background-color: #fff;
  padding: 0 18px 18px;
  border-radius: 4px;
  font-family: ArialMT;
}
.related-panel .panel-header,
.purchase-panel .panel-header {
  height: 63px;
  line-height: 62px;
  border-bottom: 1px solid #E5E5E5;
  margin-bottom: 10px;
}
.related-panel .panel-header-title h2,
.purchase-panel .panel-header-title h2 {
  font-size: 24px;
  font-weight: 700;
  font-family: ArialMT;
}
.related-panel .related-item {
  line-height: 32px;
  font-weight: 500;
}
.related-panel .related-item > span {
  color: #7C7C8D;
}
.purchase-panel .purchase-item .purchase-item-date {
  font-size: 13px;
  color: #7C7C8D;
  line-height: 20px;
}
.purchase-panel .purchase-item {
  margin-top: 10px;
  padding-bottom: 10px;
  border-bottom: 1px dashed #dddddd;
}
.purchase-panel .purchase-item:last-child {
  border-bottom: none;
}
.purchase-panel .purchase-item-title {
  font-weight: bold;
  font-size: 16px;
  color: #222E3B;
}
.purchase-panel .purchase-item-title a:hover {
  color: #1DCA66;
}
.purchase-panel .purchase-item-desc {
  padding-top: 5px;
  font-size: 14px;
  color: #7C7C8D;
  line-height: 20px;
}
@media screen and (max-width: 1200px) {
  .product-info {
    padding-right: 335px;
  }
  .product-info .product-introduce {
    padding: 20px;
  }
  .proximate-list {
    --col-num: 2;
  }
  .stock-info-wrapper {
    width: 320px;
  }
}
@media screen and (max-width: 1068px) {
  .product-info {
    padding-right: 0;
  }
  .stock-info {
    position: static;
    margin-left: 0;
    margin-top: 15px;
  }
  .stock-info .stock-info-wrapper {
    width: 100%;
  }
}
@media screen and (max-width: 768px) {
  .product-info .product-introduce {
    flex-direction: column;
  }
  .product-info .product-introduce-detail {
    margin-left: 0;
    margin-top: 30px;
  }
  .product-info .product-introduce-detail .product-fields .field-value .info_payment,
  .product-info .product-introduce-detail .product-fields .field-value .info_delivery{
    width: 100%;
  }
}
@media screen and (max-width: 660px) {
  .certification .cert-list {
    flex-wrap: wrap;
  }
}
@media screen and (max-width: 550px) {
  .proximate-list .proximate-item {
    flex-direction: column-reverse;
    padding: 10px;
  }
  .proximate-list .proximate-item .proximate-info .btn {
    align-self: center;
  }
  .proximate-list .proximate-item .proximate-desc,
  .proximate-list .proximate-item .proximate-title {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    text-align: center;
  }
  .proximate-list .proximate-item .proximate-imgs {
    align-items: center;
  }
  .proximate-list .proximate-item .proximate-imgs > img:last-child {
    display: none;
  }
  .spec-tabs{
    height: 50px;
  }
  .spec-tabs-item h2 {
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1.1;
    word-break: break-all;
    font-size: 14px;
    line-height: 50px;
  }
  .spec-content .spec-item-name,
  .spec-content .spec-item-value {
    font-size: 11px;
    width: 50%;
    display: flex;
    align-items: center;
  }
  .spec-tabs-item + .spec-tabs-item {
    margin-left: 10px;
  }
  .stock-info .stock-info-wrapper {
    width: 100%;
  }
  .product-comparison {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .product-comparison ul.comparison_list {
    padding: 10px 0;
    width: max-content;
    min-width: 100%;
  }
  
  .product-comparison ul li {
    min-width: 110px;
    width: auto;
  }
  
  .product-comparison ul li div {
    padding: 6px 8px;
    font-size: 11px;
    line-height: 18px;
    word-break: break-word;
  }
  
  .product-comparison ul li div span {
    max-width: none;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  
  .product-comparison ul li .img,
  .product-comparison ul li .img_h {
    height: 70px;
    padding: 5px;
  }
  
  .product-comparison ul li img {
    width: 45px;
    height: auto;
    object-fit: contain;
  }
  
  .product-comparison:after {
    content: "← Swipe left and right to see more →";
    display: block;
    text-align: center;
    color: #7C7C8D;
    font-size: 12px;
    padding: 8px 0;
  }
  
  .product-comparison::-webkit-scrollbar,
  .product-comparison ul.comparison_list::-webkit-scrollbar {
    height: 4px;
    background-color: #F5F6F8;
  }
  
  .product-comparison::-webkit-scrollbar-thumb,
  .product-comparison ul.comparison_list::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
  }
  
  .product-comparison::-webkit-scrollbar-thumb:hover,
  .product-comparison ul.comparison_list::-webkit-scrollbar-thumb:hover {
    background-color: rgba(0, 0, 0, 0.3);
  }
}

/* 添加超小屏幕设备（如iPhone 5/SE）的额外支持 */
@media screen and (max-width: 320px) {
  .product-comparison ul li {
    min-width: 100px;
  }
  
  .product-comparison ul li div {
    padding: 4px 6px;
    font-size: 10px;
    line-height: 16px;
  }
  
  .product-comparison ul li .img,
  .product-comparison ul li .img_h {
    height: 60px;
  }
  
  .product-comparison ul li img {
    width: 40px;
  }
  
  .product-comparison {
    margin-bottom: 5px;
  }
}

/* 添加对高DPI屏幕的支持 */
@media screen and (max-width: 550px) and (-webkit-min-device-pixel-ratio: 2), 
       screen and (max-width: 550px) and (min-resolution: 192dpi) {
  .product-comparison ul li div {
    font-size: 12px;
  }
  
  .product-comparison:after {
    font-size: 13px;
  }
}

/* 制造商信息样式 */
.manufacture-info {
  background: #FFFFFF;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.manufacture-info-img {
  width: 230px;
  height: unset;
  margin-bottom: 15px;
}

.manufacture-info-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 4px;
}

.manufacture-info-title {
  margin-bottom: 10px;
}

.manufacture-info-title a {
  font-size: 18px;
  font-weight: 700;
  color: #222E3B;
  text-decoration: none;
}

.manufacture-info-title a:hover {
  color: #1DCA66;
}

.manufacture-info-desc {
  line-height: 24px;
  color: #666;
  max-height: 170px; /* 最多显示7行 */
  overflow: hidden;
  transition: max-height 0.3s ease;
  position: relative;
  text-align: left;
}

.manufacture-info-desc.expanded {
  max-height: 1000px; /* 足够大的高度以显示全部内容 */
}

.manufacture-info-toggle {
  display: inline-block;
  margin-top: 0;
  color: #1DCA66;
  cursor: pointer;
  font-size: 14px;
  user-select: none;
  text-align: left;
  width: 100%;
}

.manufacture-info-toggle::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 5px;
  vertical-align: middle;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #1DCA66;
  transition: transform 0.3s;
}

/* 添加展开状态箭头向上样式 */
.manufacture-info-desc.expanded ~ .manufacture-info-toggle::after {
  transform: rotate(180deg);
}

.manufacture-info-toggle:hover {
  text-decoration: underline;
}

.manufacture-info-desc.no-overflow {
  max-height: none;
}

@media screen and (max-width: 768px) {
  .manufacture-info {
    padding: 15px;
  }
  
  .manufacture-info-title a {
    font-size: 16px;
  }
  
  .manufacture-info-desc {
    font-size: 13px;
  }
}

@media screen and (max-width: 550px) {
  .manufacture-info {
    padding: 10px;
  }
  
  .manufacture-info-desc {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

/* 产品对比部分 - 优化后的响应式设计 */
.product-comparison {
  width: 100%;
  overflow: hidden; /* 确保内容不会溢出容器 */
  border-radius: 4px;
  background-color: #fff;
  position: relative; /* 添加定位属性便于管理子元素 */
}

.product-comparison ul.comparison_list {
  width: 100%;
  max-width: 950px; /* 设置最大宽度而不是固定宽度 */
  padding: 10px 0;
  display: flex;
  max-height: 405px;
  overflow-y: auto;
  overflow-x: auto; /* 使用auto替代scroll */
  scrollbar-width: thin; /* 优化滚动条 */
  -webkit-overflow-scrolling: touch; /* 提高所有设备上的滚动体验 */
  scroll-behavior: smooth; /* 添加平滑滚动效果 */
}

.product-comparison ul li {
  width: 25%;
  min-width: 180px; /* 设置最小宽度防止内容挤压 */
  border-right: 1px solid #d4d4d4;
  border-top: 1px solid #d4d4d4;
  height: 100%;
  flex-shrink: 0; /* 确保缩小时不会压缩列宽 */
}

.product-comparison ul li div {
  border: 0;
  border-bottom: 1px solid #d4d4d4;
  color: #333;
  display: flex;
  flex-direction: column;
  font-size: 12px;
  line-height: 22px;
  padding: 7px 16px;
  text-align: center;
  height: auto; /* 改为自适应高度 */
  min-height: 22px; /* 设置最小高度 */
  overflow: hidden;
  min-width: 100px;
  transition: all 0.3s ease; /* 添加过渡效果 */
}

.product-comparison ul li div span {
  max-width: 250px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.product-comparison ul li .s_key {
  color: #6c6c6c;
  background-color: #F5F6F8;
  font-weight: 400;
}

.product-comparison ul li:first-child {
  border-left: 1px solid #d4d4d4;
}

.product-comparison ul li .img_h {
  align-items: center;
  height: 120px;
  justify-content: center;
}

.product-comparison ul li .img {
  align-items: center;
  height: 120px;
  justify-content: center;
  padding: 10px;
}

.product-comparison ul li img {
  width: 80px;
  max-width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

.product-comparison ul li img:hover {
  transform: scale(1.05);
}

.product-comparison ul li a {
  color: #222E3B;
  text-decoration-line: underline;
}

.product-comparison ul li a:hover {
  color: #1DCA66;
  text-decoration-line: underline;
}

/* 添加响应式设计媒体查询 */
@media screen and (max-width: 992px) {
  .product-comparison ul li {
    min-width: 150px;
  }
  
  .product-comparison ul li div {
    padding: 6px 12px;
    font-size: 11px;
  }
  
  .product-comparison ul li .img,
  .product-comparison ul li .img_h {
    height: 100px;
  }
  
  .product-comparison ul li img {
    width: 60px;
  }
}

@media screen and (max-width: 768px) {
  .product-comparison {
    overflow-x: auto; /* 使用auto替代scroll，让浏览器决定是否显示滚动条 */
  }
  
  .product-comparison ul.comparison_list {
    padding: 10px;
    width: max-content; /* 允许内容自然展开 */
    min-width: 100%; /* 确保至少占满容器宽度 */
    max-width: 320px;
  }
  
  .product-comparison ul li {
    min-width: 140px;
  }
  
  .product-comparison ul li div span {
    max-width: 120px;
  }

}