/* 全站小幅覆盖：产品详情页排版 + 询盘弹窗尺寸（不影响设计稿其它页面）。 */

/* ========== 产品详情页（设计稿整页型产品） ========== */

/* 标签：字号收小，尽量单行；标签本身可点击 */
.sg-full-design .tagline {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 7px;
}
.sg-full-design .tagline .tag,
.sg-full-design .pd-tags .tag {
  font-size: 12px !important;
  line-height: 1.5;
  padding: 4px 9px;
  white-space: nowrap;
  text-decoration: none;
  display: inline-block;
}
.sg-full-design a.tag { text-decoration: none; }
.sg-full-design a.tag:hover { border-color: var(--gold-500); color: var(--navy-700); }

/* 规格表：字号、行高与内边距收小，减少每行高度 */
.sg-full-design .spec__row { grid-template-columns: 160px 1fr; }
.sg-full-design .spec__key,
.sg-full-design .spec__val {
  font-size: 13px !important;
  line-height: 1.5;
  padding: 8px 14px;
}
.sg-full-design .pd-table th,
.sg-full-design .pd-table td {
  font-size: 13px !important;
  line-height: 1.5;
  padding: 8px 12px;
}

/* ========== 首屏 IP 授权提示 ========== */
.hero__notice {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  max-width: 820px;
  margin: 0 0 24px;
  padding: 10px 14px;
  border: 1px solid rgba(232, 190, 79, .45);
  border-left: 4px solid #E8BE4F;
  border-radius: 10px;
  background: rgba(232, 190, 79, .12);
  color: rgba(255, 255, 255, .90);
  font-size: 13.5px;
  line-height: 1.6;
}
.hero__notice svg { flex: 0 0 auto; margin-top: 3px; color: #E8BE4F; }
@media (max-width: 640px) {
  .hero__notice { font-size: 12.5px; padding: 9px 12px; margin-bottom: 18px; }
}

/* ========== 首屏统计：去掉 MANUFACTURING 后 3 项时铺满一行 ========== */
@media (min-width: 1081px) {
  .hero__stats:has(> div:nth-child(3):last-child) {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ========== 询盘弹窗（只作用于 #inquiryModal，视频弹窗不受影响） ========== */

#inquiryModal .modal__dialog {
  max-width: 900px !important;
  padding: 20px 24px 22px !important;
  max-height: 92vh;
}
#inquiryModal .modal__title { font-size: 19px !important; margin-bottom: 4px; }
#inquiryModal .modal__sub {
  font-size: 13px !important;
  line-height: 1.5;
  margin-bottom: 12px !important;
}
#inquiryModal .form { gap: 8px; }
#inquiryModal .form__row { gap: 14px; }
#inquiryModal .field { gap: 4px; margin-bottom: 6px; }
#inquiryModal .field label { font-size: 12.5px; }
#inquiryModal .field input,
#inquiryModal .field select,
#inquiryModal .field textarea {
  font-size: 13px !important;
  padding: 8px 11px;
}
#inquiryModal .field textarea { min-height: 64px; }
#inquiryModal .field__hint { font-size: 12px; line-height: 1.45; }
#inquiryModal .modal__foot { margin-top: 2px; gap: 10px; }
#inquiryModal .modal__foot .btn { font-size: 13px; padding: 9px 16px; }
#inquiryModal .modal__ok h3 { font-size: 18px; }
#inquiryModal .modal__ok p { font-size: 13px; }

@media (max-width: 640px) {
  #inquiryModal .modal__dialog {
    max-width: 100% !important;
    padding: 16px 14px 18px !important;
    max-height: 94vh;
  }
  #inquiryModal .form__row { grid-template-columns: 1fr; }
}

/* ========== 博客分类页：SEO 附加内容折叠 ========== */
.sg-seo-more {
  margin: 36px 0 0;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
  overflow: hidden;
}
.sg-seo-more > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 22px;
  font-weight: 700;
  font-size: 17px;
  color: var(--navy-800);
}
.sg-seo-more > summary::-webkit-details-marker { display: none; }
.sg-seo-more > summary:hover { background: var(--bg-soft); }
.sg-seo-more > summary::after {
  content: "+";
  font-size: 21px;
  line-height: 1;
  color: #E8BE4F;
}
.sg-seo-more[open] > summary { border-bottom: 1px solid var(--line); }
.sg-seo-more[open] > summary::after { content: "\2212"; }
.sg-seo-body { padding: 22px 22px 26px; }
.sg-seo-body h2 { font-size: 20px !important; margin: 22px 0 10px !important; }
.sg-seo-body h2:first-child { margin-top: 0 !important; }
.sg-seo-body h3 { font-size: 17px !important; margin: 18px 0 8px !important; }
.sg-seo-body p { font-size: 16px; line-height: 1.8; }
.sg-seo-body figure { margin: 16px 0; }
.sg-seo-body img { border-radius: 12px; max-width: 100%; height: auto; }
@media (max-width: 640px) {
  .sg-seo-more > summary { padding: 15px 16px; font-size: 16px; }
  .sg-seo-body { padding: 18px 16px 20px; }
}
