/* ==========================================================================
   产品列表 / 产品详情页样式
   与 style.min.css 并存，新增类统一 .ld- 前缀
   ========================================================================== */

/* ---------- 1. 产品列表九宫格 ---------- */
/* 3 列 × 3 行，卡片沿用 style.min.css 的 .product-item 样式，此处只统一图片比例 */
.product-list .product-item .pic img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.ld-pcard-quote {
  font-size: 13px;
  color: var(--primary-color, #2460f2);
}

/* ---------- 2. 产品详情：关键参数 ---------- */
.ld-pspec {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 30px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.ld-pspec li {
  display: flex;
  align-items: baseline;
  min-width: 0;
  font-size: 14px;
}
.ld-pspec li span {
  color: #999;
  margin-right: 8px;
}
.ld-pspec li em {
  font-style: normal;
  color: #333;
  font-weight: 600;
  min-width: 0;
  overflow-wrap: break-word;
  word-break: break-word;
}

/* ---------- 3. 详情页分区 ---------- */
.ld-psection {
  padding: 60px 0;
}
.ld-psection-gray {
  background: #f7f8fa;
}
.ld-ptitle {
  margin-bottom: 34px;
  text-align: center;
}
.ld-ptitle h3 {
  display: inline-block;
  position: relative;
  padding-bottom: 14px;
  font-size: 28px;
  font-weight: 700;
  color: #222;
}
.ld-ptitle h3::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 46px;
  height: 3px;
  margin-left: -23px;
  background: var(--primary-color, #2460f2);
  border-radius: 2px;
}
.ld-ptitle p {
  margin: 8px 0 0;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #aaa;
}
.ld-psection-body {
  font-size: 15px;
  line-height: 1.9;
  color: #555;
}
.ld-psection-body img {
  max-width: 100%;
  height: auto;
}
.ld-psection-body table {
  width: 100%;
}
/* 参数表统一观感 */
.ld-psection-body table td,
.ld-psection-body table th {
  padding: 12px 16px;
  border-color: #e8ebf0 !important;
  font-size: 14px;
}
.ld-psection-body table th,
.ld-psection-body table td:first-child {
  color: #333;
  font-weight: 600;
  background: #f7f8fa;
}

/* ---------- 4. 成品展示图集 ---------- */
.ld-pgallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}
.ld-pgallery-item {
  display: block;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
}
.ld-pgallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: 0.4s;
}
.ld-pgallery-item:hover img {
  transform: scale(1.06);
}
/* 多图字段混放视频：成品展示 / 工厂实拍 */
.ld-pgallery-item video {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #000;
}

/* 产品详情相册里的视频（主图 + 缩略图） */
.product-content-info .gallery-top .swiper-slide video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 10px;
  background: #000;
}
.product-content-info .gallery-thumbs .swiper-slide video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  background: #000;
  pointer-events: none;
}
.ld-thumb-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 28px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  pointer-events: none;
}

/* ---------- 5. 详情页底部联系区 ---------- */
.ld-pcta {
  padding: 44px 0;
  background: #1f232b;
  color: #fff;
}
.ld-pcta-text h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #fff;
}
.ld-pcta-text p {
  margin: 0;
  font-size: 14px;
  color: #9aa0aa;
}
.ld-pcta-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.ld-pcta-tel {
  display: inline-flex;
  align-items: center;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
}
.ld-pcta-tel i {
  margin-right: 8px;
  font-size: 18px;
  color: var(--primary-color, #2460f2);
}
.ld-pcta-tel:hover {
  color: var(--primary-color, #2460f2);
}
.ld-pcta-btn {
  display: inline-flex;
  align-items: center;
  height: 46px;
  padding: 0 30px;
  border-radius: 30px;
  background: var(--primary-color, #2460f2);
  color: #fff !important;
  font-size: 15px;
  font-weight: 600;
  transition: 0.3s;
}
.ld-pcta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(36, 96, 242, 0.4);
}

/* ---------- 6. 响应式 ---------- */
@media (max-width: 991px) {
  .ld-psection {
    padding: 40px 0;
  }
  .ld-ptitle {
    margin-bottom: 24px;
  }
  .ld-ptitle h3 {
    font-size: 22px;
  }
  .ld-pgallery {
    grid-template-columns: repeat(2, 1fr);
  }
  .ld-pcta {
    padding: 34px 0;
    text-align: center;
  }
  .ld-pcta-text h3 {
    font-size: 20px;
  }
  .ld-pcta-actions {
    justify-content: center;
    margin-top: 18px;
  }
}

/* ---------- 7. 案例 / 新闻详情侧栏 ---------- */
.ld-aside {
  position: sticky;
  top: 90px;
  margin-top: 20px;
}
.ld-aside-card {
  padding: 18px;
  margin-bottom: 20px;
  background: #fff;
  border: 1px solid #eef0f4;
  border-radius: 10px;
}
.ld-aside-title {
  position: relative;
  padding-left: 12px;
  margin-bottom: 14px;
  font-size: 17px;
  font-weight: 700;
  color: #222;
}
.ld-aside-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 3px;
  height: 15px;
  background: var(--primary-color, #2460f2);
  border-radius: 2px;
}
.ld-aside-products {
  margin: 0;
  padding: 0;
  list-style: none;
}
.ld-aside-products li {
  border-bottom: 1px dashed #eef0f4;
}
.ld-aside-products li:last-child {
  border-bottom: 0;
}
.ld-aside-products a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
}
.ld-aside-products img {
  flex: 0 0 76px;
  width: 76px;
  height: 76px;
  object-fit: cover;
  border-radius: 6px;
}
.ld-aside-products span {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.5;
  color: #333;
  transition: 0.2s;
}
.ld-aside-products a:hover span {
  color: var(--primary-color, #2460f2);
}
.ld-aside-contact p {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 13px;
  line-height: 1.6;
  color: #666;
  word-break: break-all;
}
.ld-aside-contact p i {
  margin-top: 3px;
  color: var(--primary-color, #2460f2);
}
.ld-aside-contact p a {
  color: #666;
}
.ld-aside-contact p a:hover {
  color: var(--primary-color, #2460f2);
}
.ld-aside-btn {
  display: block;
  height: 40px;
  margin-top: 14px;
  line-height: 40px;
  text-align: center;
  border-radius: 30px;
  background: var(--primary-color, #2460f2);
  color: #fff !important;
  font-size: 14px;
  font-weight: 600;
  transition: 0.3s;
}
.ld-aside-btn:hover {
  opacity: 0.9;
}
@media (max-width: 991px) {
  .ld-aside {
    position: static;
  }
}

/* ---------- 8. 常见问题折叠（发货运输页等） ---------- */
.ld-faq {
  padding: 60px 0;
  background: #f7f8fa;
}
.ld-faq-body {
  max-width: 900px;
  margin: 0 auto;
}
.ld-faq-item {
  margin-bottom: 12px;
  background: #fff;
  border: 1px solid #eef0f4;
  border-radius: 8px;
  overflow: hidden;
}
.ld-faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  font-size: 16px;
  font-weight: 600;
  color: #222;
  cursor: pointer;
  transition: 0.2s;
}
.ld-faq-q:hover {
  color: var(--primary-color, #2460f2);
}
.ld-faq-q::after {
  content: "\f107";
  font-family: FontAwesome;
  font-size: 16px;
  color: #bbb;
  transition: 0.3s;
}
.ld-faq-item.active .ld-faq-q {
  color: var(--primary-color, #2460f2);
}
.ld-faq-item.active .ld-faq-q::after {
  transform: rotate(180deg);
  color: var(--primary-color, #2460f2);
}
.ld-faq-a {
  display: none;
  padding: 0 22px 20px;
  font-size: 14px;
  line-height: 1.9;
  color: #666;
}
.ld-faq-a img {
  max-width: 100%;
  height: auto;
}
.ld-faq-item.active .ld-faq-a {
  display: block;
}
@media (max-width: 767px) {
  .ld-faq {
    padding: 40px 0;
  }
  .ld-faq-q {
    padding: 15px 16px;
    font-size: 15px;
  }
  .ld-faq-a {
    padding: 0 16px 16px;
  }
}

/* ---------- 9. 联系我们页：工厂照片背景 + 地图 ---------- */
.ld-contact-top-bg {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.ld-contact-top-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(12, 16, 24, 0.55);
}
.ld-contact-top-bg > .container {
  position: relative;
  z-index: 1;
}
.ld-contact-map {
  padding: 60px 0;
  background: #f7f8fa;
}
.ld-contact-map-body {
  overflow: hidden;
  line-height: 0;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}
.ld-contact-map-body iframe {
  width: 100%;
  height: 460px;
  border: 0;
}
@media (max-width: 991px) {
  .ld-contact-map {
    padding: 40px 0;
  }
  .ld-contact-map-body iframe {
    height: 320px;
  }
}

/* ---------- 10. 公司页（简介 / 统计 / 工厂实拍 / 证书） ---------- */
/* 首页公司简介左侧视频（站点信息 about_video，上传后替代轮播图） */
.about-wrapper .left-img {
  position: relative;
  overflow: hidden;
}
.about-wrapper .left-img video {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  height: 580px;
  object-fit: contain;
  background: #000;
}
@media (max-width: 991.98px) {
  .about-wrapper .left-img video {
    height: auto;
    max-height: 420px;
  }
}
.ld-about-intro {
  padding: 70px 0;
}
.ld-about-pic img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
}
/* 公司简介左侧视频（后台页面自定义字段 about_video，上传后优先于图片显示） */
.ld-about-pic video {
  display: block;
  width: 100%;
  height: auto;
  max-height: 560px;
  border-radius: 12px;
  background: #000;
  object-fit: contain;
}
.ld-about-text h2 {
  margin-bottom: 20px;
  font-size: 32px;
  font-weight: 700;
  color: #222;
}
.ld-about-desc {
  font-size: 15px;
  line-height: 2;
  color: #555;
}
.ld-about-desc img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.ld-stats {
  padding: 56px 0;
  background: #1f232b;
}
.ld-stats .count-wrapper {
  margin: 0;
}
.ld-stats .count-item {
  padding: 0 46px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}
.ld-stats .count-item:last-child {
  border-right: 0;
}
.ld-stats .count-text .number {
  font-size: 44px;
  font-weight: 700;
  color: #fff;
}
.ld-stats .count-text .unit {
  margin-left: 4px;
  font-size: 14px;
  color: var(--primary-color, #2460f2);
}
.ld-stats .count-item p {
  margin: 8px 0 0;
  font-size: 14px;
  color: #9aa0aa;
}

/* 证书图集：竖版、白色底、显示完整图 */
.ld-pgallery-cert .ld-pgallery-item img {
  aspect-ratio: 3 / 4;
  object-fit: contain;
  padding: 10px;
  background: #fff;
}

@media (max-width: 991px) {
  .ld-about-intro {
    padding: 40px 0;
  }
  .ld-about-pic {
    margin-bottom: 24px;
  }
  .ld-about-text h2 {
    font-size: 24px;
  }
  .ld-stats {
    padding: 36px 0;
  }
  .ld-stats .count-item {
    flex: 0 0 50%;
    max-width: 50%;
    margin-bottom: 22px;
    border-right: 0;
  }
  .ld-stats .count-text .number {
    font-size: 32px;
  }
}

/* ---------- 11. 全球客户 ---------- */
.ld-clients {
  padding: 60px 0;
  background: #f7f8fa;
}
.ld-clients-map {
  overflow: hidden;
  margin-bottom: 30px;
  line-height: 0;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}
.ld-clients-map iframe {
  width: 100%;
  height: 420px;
  border: 0;
}
.ld-countries {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.ld-country {
  padding: 8px 18px;
  background: #fff;
  border: 1px solid #e6eaf2;
  border-radius: 30px;
  font-size: 14px;
  color: #444;
  transition: 0.25s;
}
.ld-country:hover {
  border-color: var(--primary-color, #2460f2);
  color: var(--primary-color, #2460f2);
}
@media (max-width: 991px) {
  .ld-clients {
    padding: 40px 0;
  }
  .ld-clients-map iframe {
    height: 300px;
  }
}
