
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: #f5f5f7;
  color: #333;
}
/* 模拟原本网页上半部分的内容（如网页大导航、系统图） */
.page-top-content {
  width: 100%;
  background-color: #ffffff;
  padding: 50px 20px;
  text-align: center;
  border-bottom: 1px solid #eaeaea;
}
.mock-diagram {
  max-width: 800px;
  height: 200px;
  background: #eef3f7;
  margin: 20px auto 0;
  border-radius: 8px;
}

/* ================= 核心：导航栏样式 ================= */
/* 这个占位包裹层用来防止导航栏变成 fixed 时页面产生瞬间的抖动 */
.Details{
	style="background: linear-gradient(180deg, #eef5ff 0%, #f7faff 100%);"
}

.nav-placeholder {
  width: 100%;
  min-height: 50px;
  /* 必须和内部导航条高度一致 */
  background-color: #f0f0f0;
}

.nav-wrapper {
  background-color: #f0f0f0;
  width: 100%;
/*  height: 50px;*/
  transition: box-shadow 0.3s;
}


/* 关键：通过 JS 动态赋予的强力吸顶类，脱离一切父级限制 */
.Details .nav-wrapper.is-sticky {
  position: fixed;
  top: var(--details-header-offset, 0px);
  left: 0;
  z-index: 20;
  /* 保证在全网页最上层 */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  padding: 0 10px;
}
.nav-btn {
  display: block;
  flex: 0 1 130px;
  width: 130px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 500;
  color: #ffffff;
  background-color: #333333;
  /* 未选中保持黑色 */
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
  margin: 0;
  min-height: 50px;
}
.nav-btn:hover {
  background-color: #222222;
}

/* 被选中的按钮背景从黑色变成红色高亮 */
.nav-btn.active {
  background-color: #e52e2e !important;
}

/* ================= 下方切换内容区域 ================= */
.content-wrapper {
/*  max-width: 1200px;*/
  margin: 30px auto;
  padding: 0 15px;
}

.tab-content {
  display: none;
  background-color: #ffffff;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.tab-content.active {
  display: block;
}

/* ================= 手机端自适应 ================= */
@media (max-width: 768px) {
  .nav-placeholder, .nav-wrapper {
    min-height: 42px;
  }

  /* Keep the flow element sticky on phones so the section nav stays visible
     below the fixed site header for the full length of the details section. */
  .Details .nav-placeholder {
    position: -webkit-sticky;
    position: sticky;
    top: var(--details-header-offset, 0px);
    z-index: 999;
  }

  /* Product detail pages only: keep the section nav below the fixed black header. */
  .Details .nav-wrapper,
  .Details .nav-wrapper.is-sticky {
    position: static;
    top: auto;
    left: auto;
    right: auto;
    width: 100% !important;
    z-index: auto;
  }
	
   .nav-container {
    width: 100%;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 3px;
    padding: 8px 16px;
  }
  .nav-btn {
    width: auto;
    min-width: 0;
    max-width: none;
    flex: 1 1 0;
    padding: clamp(10px, 1.8vw, 14px) clamp(3px, 1.2vw, 12px);
    min-height: clamp(44px, 7vw, 52px);
    font-size: clamp(11px, 2vw, 15px);
    line-height: 1.2;
    white-space: nowrap;
  }
 .tab-content {
    padding: 0px;
  }

  /* Specifications: preserve the desktop table, use a readable mobile presentation. */
  .Details #specifications.tab-content {
    padding: 24px 12px 28px;
  }

  #specifications > table,
  #specifications > div > table,
  #specifications .specification-table {
    display: none !important;
  }

  #specifications .spec-mobile {
    display: block;
    width: 100%;
    margin: 0;
  }

  #specifications .spec-mobile__title {
    margin: 0 0 24px;
    color: #222;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    letter-spacing: 0;
  }

  #specifications .spec-mobile__title::after {
    content: "";
    display: block;
    width: 54px;
    height: 3px;
    margin: 13px auto 0;
    background: #ef2b2d;
  }
	
	#specifications .spec-mobile__section {
    overflow: hidden;
    margin: 0 0 14px;
    border: 1px solid #e8edf4;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(20, 35, 60, 0.07);
  }

  #specifications .spec-mobile__section-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 13px 15px;
    color: #172033;
    background: #f2f6fc;
    border-bottom: 1px solid #e9edf3;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0;
  }

  #specifications .spec-mobile__row {
    display: grid;

    grid-template-columns: minmax(112px, 0.9fr) minmax(0, 1.1fr);
    gap: 14px;
    align-items: center;
    min-height: 58px;
    padding: 13px 15px;
    border-top: 1px solid #edf0f4;
    background: #fff;
  }

  #specifications .spec-mobile__section-body .spec-mobile__row:first-child,
  #specifications .spec-mobile__section--summary .spec-mobile__row {
    border-top: 0;
  }
	
	#specifications .spec-mobile__row--summary {
    grid-template-columns: 34px minmax(105px, 0.9fr) minmax(0, 1.1fr);
    gap: 11px;
  }

  #specifications .spec-mobile__icon {
    display: inline-grid;
    place-items: center;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    border-radius: 6px;
    background: #ef2b2d;
  }

  #specifications .spec-mobile__icon img {
    display: block;
    width: 17px;
    height: 17px;
    object-fit: contain;
  }

  #specifications .spec-mobile__label,
  #specifications .spec-mobile__value {
    min-width: 0;
    color: #20242b;
    font-size: 14px;
    line-height: 1.5;
    overflow-wrap: break-word;
    word-break: normal;
    text-wrap: pretty;
  }

  #specifications .spec-mobile__label {
    font-weight: 500;
  }

  #specifications .spec-mobile__value {
    color: #171a20;
  }
}

@media (min-width: 769px) {
  #specifications .spec-mobile {
    display: none;
  }
}

/* Product detail Message tab */
.Details #message .contact_message {
  width: 100%;
  float: none;
  margin: 0;
  padding: 0;
  background: transparent;
}

.Details #message .contact_message h2 {
  display: none;
}

.Details #message .nessage_form .row {
  margin-left: -8px;
  margin-right: -8px;
}

.Details #message .nessage_form [class*="col-"] {
  padding-left: 8px;
  padding-right: 8px;
}

.Details #message .nessage_form textarea,
.Details #message .nessage_form input {
  box-sizing: border-box;
  width: 100%;
  margin-bottom: 20px;
}

.spec-pdf-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: clamp(8px, 2vw, 16px);
  margin: 0 0 24px;
}

.details_100 .details-spec-download {
  margin: 20px 0 0;
}



@media (min-width: 1201px) {
  .details_100 .details-spec-download {
    position: absolute;
    margin: 630px 0px 0;
  }
}

.spec-pdf-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: clamp(160px, 34vw, 220px);
  max-width: 100%;
  min-height: clamp(42px, 7vw, 52px);
  border: 0;
  border-radius: 2px;
  padding: 0 clamp(12px, 3vw, 22px);
  background: #ef2b2d;
  color: #fff;
  font-size: clamp(13px, 2.4vw, 16px);
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}

.spec-pdf-button:hover,
.spec-pdf-button:focus-visible {
  background: #c91f25;
  color: #fff;
  transform: translateY(-1px);
}

.spec-pdf-button.is-loading {
  cursor: wait;
  opacity: .75;
  transform: none;
}

/* html2pdf export canvas: keep the source table dense and continuous on A4. */
.spec-pdf-export-root {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2147483647;
  width: 190mm;
  padding: 0;
  opacity: 1;
  background: #fff;
  color: #111;
  font-family: Arial, Helvetica, sans-serif;
  pointer-events: none;
}

body.spec-pdf-exporting > * {
  visibility: hidden !important;
}

body.spec-pdf-exporting > .spec-pdf-export-root {
  visibility: visible !important;
}

body.spec-pdf-exporting > .html2pdf__container {
  visibility: visible !important;
}

body.spec-pdf-exporting > .html2pdf__overlay {
  visibility: visible !important;
}

.spec-pdf-export-root table {
  width: 100% !important;
  margin: 0 !important;
  border-collapse: collapse !important;
  border-spacing: 0 !important;
  table-layout: auto !important;
  font-size: 8.5pt !important;
  line-height: 1.25 !important;
}

.spec-pdf-export-root caption {
  padding: 5px 6px !important;
  background: #000 !important;
  color: #fff !important;
  font-size: 12pt !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  text-align: center !important;
}

.spec-pdf-export-root td,
.spec-pdf-export-root th {
  box-sizing: border-box;
  padding: 4px 5px !important;
  border: 1px solid #333 !important;
  vertical-align: middle !important;
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
}

.spec-pdf-export-root p {
  margin: 0 0 2px !important;
}

.spec-pdf-export-root tr {
  break-inside: avoid;
  page-break-inside: avoid;
}

.Details #message .messge_bott {
  display: grid;
  grid-template-columns: 250px minmax(280px, 460px) 130px;
  gap: 24px;
  align-items: center;
  justify-content: start;
  width: 100%;
  margin-top: 4px;
}

.Details #message .messge_bott > [class*="col-"] {
  float: none;
  width: auto;
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

.Details #message .messge_bott img {
  display: block;
  max-width: 250px;
  width: 100%;
  height: 50px;
  object-fit: cover;
}

.Details #message .messge_bott input {
  margin-bottom: 0;
}

.Details #message .messge_btn {
  width: 130px;
  min-width: 130px;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .Details .content-wrapper {
    margin: 0 auto 30px;
    width: 100%;
    max-width: none;
    padding-left: clamp(8px, 2vw, 15px);
    padding-right: clamp(8px, 2vw, 15px);
  }

  .Details #specifications.tab-content {
    padding: clamp(20px, 4vw, 30px) clamp(10px, 2.5vw, 24px) clamp(24px, 4vw, 32px);
  }

  #specifications .spec-mobile__title {
    font-size: clamp(26px, 4.8vw, 32px);
  }

  #specifications .spec-mobile__row {
    min-height: clamp(58px, 9vw, 72px);
    padding: clamp(13px, 2.2vw, 18px) clamp(15px, 2.8vw, 22px);
  }

  #specifications .spec-mobile__label,
  #specifications .spec-mobile__value {
    font-size: clamp(14px, 2.6vw, 17px);
  }

  .Details #message.tab-content {
    border-radius: 0;
    box-shadow: none;
    padding: 12px 0 26px;
  }

  .Details #message .nessage_form .row {
    margin-left: -8px;
    margin-right: -8px;
  }

  .Details #message .nessage_form textarea,
  .Details #message .nessage_form input {
    padding-left: 20px;
  }

  .Details #message .nessage_form textarea {
    height: 220px;
  }

  .Details #message .messge_bott {
    grid-template-columns: minmax(120px, 1fr) minmax(128px, 145px);
    gap: 0 16px;
    align-items: start;
  }

  .Details #message .messge_bott .col-xs-12 {
    grid-column: 1 / -1;
  }

  .Details #message .messge_bott img {
    width: min(100%, 250px);
    max-width: 250px;
    height: 50px;
    margin-bottom: 0;
  }

  .Details #message .messge_bott input {
    height: 50px;
    margin-bottom: 0;
  }

  .Details #message .messge_btn {
    width: 100%;
    min-width: 0;
    height: 50px;
  }
}

/* Keep the nested choice content aligned with the full-width iPad tab panel. */
@media (min-width: 768px) and (max-width: 1024px) {
  .Details #choice.tab-content > .container,
  .Details #choice.tab-content .upsBuyGuide .container,
  .Details #choice.tab-content .upsWorkGuide {
    width: 100%;
    max-width: none;
  }
}

/* UPSG33 product gallery */
.details_100 .ri_box {
  background: #fff;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.details_100 .product-main-swiper {
  width: min(100%, 640px);
  max-width: 100%;
  background: #fff;
  border: 1px solid #d9dee7;
  padding: 10px;
  cursor: grab;
  overflow: hidden;
}

.details_100 .product-main-swiper:active {
  cursor: grabbing;
}

.details_100 .product-main-swiper .swiper-slide {
  width: 100% !important;
  height: clamp(300px, 38vw, 430px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.details_100 .product-main-swiper .swiper-slide img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  padding: 0 !important;
}

.details_100 .product-gallery-thumbs {
  width: min(100%, 460px);
  margin: 28px auto 0;
  padding: 0 2px;
}

.details_100 .product-gallery-thumbs .swiper-wrapper {
  justify-content: center;
}


.details_100 .product-gallery-thumbs .swiper-slide {
  width: 136px;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d9dee7;
  background: #fff;
  cursor: pointer;
  opacity: 0.72;
  transition: border-color 0.2s ease, opacity 0.2s ease;
}

.details_100 .product-gallery-thumbs .swiper-slide-thumb-active {
/*  border-color: #ee3231;*/
  border-color: #d9dee7;
  opacity: 1;
}

.details_100 .product-gallery-thumbs .swiper-slide img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  padding: 4px !important;
}

@media (max-width: 767px) {
  /* Product detail gallery: keep the image column visible when mobile WOW
     initialization leaves its animation target in the hidden state. */
  .details_100 .ri_box.wow {
    visibility: visible !important;
    opacity: 1 !important;
    animation-name: none !important;
    transform: none !important;
  }

  .details_100 .product-main-swiper {
    width: 100%;
  }

  .details_100 .product-main-swiper .swiper-slide {
    height: clamp(220px, 70vw, 340px);
  }

  .details_100 .product-gallery-thumbs {
    width: 100%;
    margin-top: 18px;
  }

  .details_100 .product-gallery-thumbs .swiper-wrapper {
    justify-content: flex-start;
  }

  .details_100 .product-gallery-thumbs .swiper-slide {
    width: calc((100% - 20px) / 3);
    height: 70px;
  }
}

.details_100 .le_box {
  align-items: center;
  justify-content: flex-start;
  text-align: left;
}

.details_100 .le_box .content1 {
  width: 100%;
  max-width: 48rem;
  text-align: left;
}

.details_100 .le_box .content1 .t1,
.details_100 .le_box .content1 .t2 {
  text-align: left;
  overflow-wrap: anywhere;
  word-break: normal;
}

.Details .tab-content {
  text-align: left;
}

.Details #specifications .spec-mobile__title,
.Details #specifications .spec-mobile__label,
.Details #specifications .spec-mobile__value,
.Details #specifications table caption,
.Details #specifications table td,
.Details #specifications table th {
  text-align: left;
}

.Details #specifications .spec-mobile__title::after {
  margin-left: 0;
  margin-right: 0;
}

@media (max-width: 767px) {
  .details_100 {
    padding: clamp(24px, 7vw, 48px) 0 clamp(28px, 8vw, 56px);
  }

  .details_100 .le_box {
    align-items: flex-start;
    padding-left: clamp(16px, 5vw, 32px);
    padding-right: clamp(16px, 5vw, 32px);
  }

  .details_100 .le_box .content1 .t1 {
    font-size: clamp(22px, 6vw, 34px);
    line-height: 1.25;
  }

  .details_100 .le_box .content1 .t2 {
    margin-top: 12px;
    font-size: clamp(14px, 3.7vw, 18px);
    line-height: 1.75;
  }
}