/*
=================================================================
  jnlmart.com 整站改版样式 — 追加到 style.css 末尾
  前缀 lm- 避免与主题现有 class 冲突
  版本：1.0  日期：2026-03-20
=================================================================
*/

/* ================================================================
   通用组件
   ================================================================ */

/* ── 认证标识条（侧边栏） ── */
.lm-cert-badges { padding: 16px; background: #F9FAFB; border-radius: 8px; }
.lm-cert-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 10px;
}
.lm-cert-grid img {
  width: 100%;
  height: 56px;
  object-fit: contain;
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 6px;
  padding: 6px;
}

/* ── CTA 底部条 ── */
.lm-cta { padding: 0; overflow: hidden; margin-top: 20px; }
.lm-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 32px;
  background: linear-gradient(135deg, #F97316 0%, #EA580C 100%);
  color: #fff;
  border-radius: 8px;
}
.lm-cta-text h3 { margin: 0 0 6px; font-size: 18px; color: #fff; }
.lm-cta-text p { margin: 0; font-size: 13px; color: rgba(255,255,255,0.9); }
.lm-cta-btns { display: flex; gap: 12px; flex-shrink: 0; }
.lm-btn-primary {
  display: inline-block; padding: 10px 24px;
  background: #fff; color: #F97316; font-weight: bold;
  border-radius: 6px; font-size: 14px; transition: all .3s;
}
.lm-btn-primary:hover { background: #002147; color: #fff; }
.lm-btn-outline {
  display: inline-block; padding: 10px 24px;
  border: 2px solid #fff; color: #fff; font-weight: bold;
  border-radius: 6px; font-size: 14px; transition: all .3s;
}
.lm-btn-outline:hover { background: #fff; color: #F97316; }

/* ── 侧边栏快速询价 ── */
.lm-inquiry-widget { background: #002147; color: #fff; padding: 20px; border-radius: 8px; }
.lm-inquiry-widget h3 { color: #fff; font-size: 16px; margin: 0 0 6px; }
.lm-inquiry-widget p { color: rgba(255,255,255,0.7); font-size: 13px; margin: 0 0 16px; }
.lm-inquiry-widget .lm-inq-phone {
  display: block; font-size: 20px; font-weight: bold; color: #F97316;
  margin-bottom: 12px; letter-spacing: 0.5px;
}
.lm-inquiry-widget .lm-inq-email {
  display: block; font-size: 14px; color: rgba(255,255,255,0.8); margin-bottom: 16px;
}
.lm-inquiry-widget .lm-inq-btn {
  display: block; text-align: center; padding: 10px;
  background: #F97316; color: #fff; border-radius: 6px;
  font-weight: bold; font-size: 14px; transition: all .3s;
}
.lm-inquiry-widget .lm-inq-btn:hover { background: #EA580C; }

/* ── 侧边栏相关联动 ── */
.lm-related-widget ul { list-style: none; padding: 0; margin: 0; }
.lm-related-widget li { border-bottom: 1px dashed #E5E7EB; }
.lm-related-widget li:last-child { border-bottom: none; }
.lm-related-widget li a {
  display: flex; align-items: center; gap: 10px; padding: 10px 0;
}
.lm-related-widget li a .lm-rel-thumb {
  width: 60px; height: 45px; border-radius: 4px; overflow: hidden; flex-shrink: 0;
}
.lm-related-widget li a .lm-rel-thumb img {
  width: 100%; height: 100%; object-fit: cover;
}
.lm-related-widget li a .lm-rel-title {
  font-size: 13px; color: #1F2937; line-height: 1.4;
}
.lm-related-widget li a:hover .lm-rel-title { color: #F97316; }


/* ================================================================
   产品详情页
   ================================================================ */

/* ── 产品标题区 ── */
.lm-product .article-title {
  border-bottom: 2px solid #002147;
  padding-bottom: 12px;
}

/* ── 产品主图 ── */
.lm-product-hero {
  display: flex; gap: 24px; margin-bottom: 24px;
}
.lm-product-hero .lm-hero-img {
  flex: 0 0 55%; max-width: 55%;
  background: #F9FAFB; border-radius: 8px; overflow: hidden;
}
.lm-product-hero .lm-hero-img img {
  width: 100%; height: auto; display: block; object-fit: contain;
}
.lm-product-hero .lm-hero-summary {
  flex: 1; display: flex; flex-direction: column; justify-content: center;
}
.lm-hero-summary .lm-summary-label {
  font-size: 12px; color: #9CA3AF; text-transform: uppercase;
  letter-spacing: 1px; margin-bottom: 8px;
}
.lm-hero-summary .lm-summary-desc {
  font-size: 14px; color: #4B5563; line-height: 1.8; margin-bottom: 20px;
}
.lm-hero-summary .lm-hero-btns { display: flex; gap: 10px; }
.lm-hero-summary .lm-hero-btns a {
  padding: 10px 20px; border-radius: 6px; font-size: 14px; font-weight: bold;
  transition: all .3s;
}
.lm-hero-btn-primary { background: #F97316; color: #fff; }
.lm-hero-btn-primary:hover { background: #EA580C; color: #fff; }
.lm-hero-btn-outline { border: 2px solid #002147; color: #002147; }
.lm-hero-btn-outline:hover { background: #002147; color: #fff; }

/* ── 产品正文增强 ── */
.lm-product .article-content { font-size: 15px; line-height: 1.8; color: #374151; }
.lm-product .article-content h2 {
  font-size: 18px; color: #002147; margin: 28px 0 12px;
  padding-left: 12px; border-left: 3px solid #F97316;
}
.lm-product .article-content h3 {
  font-size: 16px; color: #002147; margin: 20px 0 10px;
}
.lm-product .article-content table {
  width: 100%; border-collapse: collapse; margin: 16px 0;
  font-size: 14px;
}
.lm-product .article-content table th {
  background: #002147; color: #fff; padding: 10px 14px;
  text-align: left; font-weight: 600;
}
.lm-product .article-content table td {
  padding: 10px 14px; border-bottom: 1px solid #E5E7EB;
}
.lm-product .article-content table tr:hover td {
  background: #F9FAFB;
}

/* ── 产品导航 ── */
.lm-product .article-nav .article-nav-desc { font-size: 12px; color: #9CA3AF; }


/* ================================================================
   案例详情页
   ================================================================ */

/* ── 项目信息卡 ── */
.lm-project-card {
  background: linear-gradient(135deg, #002147 0%, #003366 100%);
  border-radius: 8px; padding: 24px 28px; margin-bottom: 24px;
  color: #fff;
}
.lm-project-card .lm-pc-title {
  font-size: 13px; color: rgba(255,255,255,0.5);
  text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 16px;
}
.lm-project-card .lm-pc-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
}
.lm-project-card .lm-pc-item label {
  display: block; font-size: 11px; color: rgba(255,255,255,0.5);
  margin-bottom: 4px; font-weight: normal;
}
.lm-project-card .lm-pc-item span {
  font-size: 15px; font-weight: 600; color: #fff;
}

/* ── 案例正文 ── */
.lm-case .article-content { font-size: 15px; line-height: 1.8; color: #374151; }
.lm-case .article-content h2 {
  font-size: 18px; color: #002147; margin: 28px 0 12px;
  padding-left: 12px; border-left: 3px solid #F97316;
}


/* ================================================================
   新闻详情页
   ================================================================ */

.lm-news .post-info {
  padding-bottom: 12px; border-bottom: 1px solid #E5E7EB;
  margin-bottom: 20px;
}


/* ================================================================
   FAQ 详情页
   ================================================================ */

.lm-faq .article-title {
  padding-left: 16px; border-left: 4px solid #F97316;
}
.lm-faq .article-content {
  font-size: 15px; line-height: 1.8; color: #374151;
  background: #F9FAFB; padding: 20px 24px; border-radius: 8px;
}


/* ================================================================
   荣誉资质列表页
   ================================================================ */

.lm-honor-section { margin-bottom: 32px; }
.lm-honor-section-title {
  font-size: 18px; color: #002147; font-weight: bold;
  padding-bottom: 10px; border-bottom: 2px solid #002147;
  margin-bottom: 16px;
}
.lm-honor-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px; list-style: none; padding: 0; margin: 0;
}
.lm-honor-item {
  background: #fff; border: 1px solid #E5E7EB; border-radius: 8px;
  overflow: hidden; transition: box-shadow .3s, transform .3s;
  text-align: center;
}
.lm-honor-item:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.1); transform: translateY(-2px);
}
.lm-honor-item a { display: block; }
.lm-honor-thumb {
  width: 100%; height: 180px; overflow: hidden; background: #F9FAFB;
}
.lm-honor-thumb img {
  width: 100%; height: 100%; object-fit: contain; padding: 10px;
  transition: transform .4s;
}
.lm-honor-item:hover .lm-honor-thumb img { transform: scale(1.05); }
.lm-honor-name {
  padding: 10px 12px; font-size: 13px; color: #1F2937;
  font-weight: 600; line-height: 1.4;
}
.lm-honor-meta {
  padding: 0 12px 10px; font-size: 11px; color: #9CA3AF;
}


/* ================================================================
   公司简介页（全宽布局）
   ================================================================ */

/* ── 全宽覆盖 ── */
.lm-about-full .tb-main { width: 100%; max-width: 100%; float: none; }
.lm-about-full .tb-sidebar { display: none; }

/* ── 统计数字条 ── */
.lm-stats-bar {
  display: flex; gap: 0; background: linear-gradient(135deg, #002147 0%, #003366 100%);
  border-radius: 8px; overflow: hidden; margin: 24px 0;
}
.lm-stat-item {
  flex: 1; padding: 24px 20px; color: #fff; text-align: center;
  border-right: 1px solid rgba(255,255,255,0.15);
}
.lm-stat-item:last-child { border-right: none; }
.lm-stat-num {
  display: block; font-size: 32px; font-weight: bold;
  color: #F97316; margin-bottom: 4px;
}
.lm-stat-label {
  display: block; font-size: 13px; color: rgba(255,255,255,0.6);
}

/* ── 使命·愿景·价值观 ── */
.lm-mvv {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; margin: 32px 0;
}
.lm-mvv-card {
  background: #F9FAFB; border-radius: 8px; padding: 24px;
  text-align: center; border-top: 3px solid #002147;
  transition: transform .3s;
}
.lm-mvv-card:hover { transform: translateY(-4px); }
.lm-mvv-card .lm-mvv-icon {
  font-size: 28px; margin-bottom: 12px; display: block;
}
.lm-mvv-card h4 {
  font-size: 16px; color: #002147; margin: 0 0 10px;
}
.lm-mvv-card p {
  font-size: 14px; color: #4B5563; line-height: 1.6; margin: 0;
}

/* ── 认证资质横条 ── */
.lm-cert-bar {
  display: flex; justify-content: center; gap: 24px;
  padding: 20px; background: #fff; border: 1px solid #E5E7EB;
  border-radius: 8px; margin: 32px 0;
}
.lm-cert-bar img {
  height: 48px; object-fit: contain; opacity: 0.7;
  transition: opacity .3s;
}
.lm-cert-bar img:hover { opacity: 1; }

/* ── 发展历程时间线 ── */
.lm-timeline { position: relative; padding: 20px 0; margin: 32px 0; }
.lm-timeline::before {
  content: ''; position: absolute; left: 50%;
  transform: translateX(-50%); top: 0; bottom: 0;
  width: 2px; background: #E5E7EB;
}
.lm-tl-item {
  position: relative; width: 45%; padding: 16px 20px;
  background: #F9FAFB; border-radius: 8px; margin-bottom: 20px;
}
.lm-tl-item:nth-child(odd) { margin-left: 5%; }
.lm-tl-item:nth-child(even) { margin-left: 50%; }
.lm-tl-item::before {
  content: ''; position: absolute; top: 20px;
  width: 12px; height: 12px; background: #F97316;
  border-radius: 50%; border: 2px solid #fff;
  box-shadow: 0 0 0 2px #E5E7EB;
}
.lm-tl-item:nth-child(odd)::before { right: -30px; }
.lm-tl-item:nth-child(even)::before { left: -30px; }
.lm-tl-year {
  font-size: 18px; font-weight: bold; color: #002147; margin-bottom: 4px;
}
.lm-tl-desc { font-size: 13px; color: #4B5563; line-height: 1.6; margin: 0; }


/* ================================================================
   联系我们页
   ================================================================ */

.lm-contact-full .tb-main { width: 100%; max-width: 100%; float: none; }
.lm-contact-full .tb-sidebar { display: none; }

.lm-contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin: 24px 0;
}
.lm-contact-info h3 { font-size: 18px; color: #002147; margin: 0 0 16px; }
.lm-contact-info .lm-ci-dept {
  margin-bottom: 20px; padding-bottom: 16px;
  border-bottom: 1px dashed #E5E7EB;
}
.lm-contact-info .lm-ci-dept:last-child { border-bottom: none; }
.lm-contact-info .lm-ci-dept h4 {
  font-size: 15px; color: #002147; margin: 0 0 8px;
}
.lm-contact-info .lm-ci-dept p {
  font-size: 14px; color: #4B5563; margin: 4px 0; line-height: 1.6;
}
.lm-contact-info .lm-ci-phone {
  font-size: 18px; font-weight: bold; color: #F97316;
}

.lm-contact-form {
  background: #F9FAFB; border-radius: 8px; padding: 24px;
}
.lm-contact-form h3 { font-size: 18px; color: #002147; margin: 0 0 16px; }
.lm-contact-form .lm-form-field {
  margin-bottom: 12px;
}
.lm-contact-form input[type="text"],
.lm-contact-form textarea {
  width: 100%; padding: 10px 14px; border: 1px solid #E5E7EB;
  border-radius: 6px; font-size: 14px; transition: border-color .3s;
  box-sizing: border-box;
}
.lm-contact-form input:focus,
.lm-contact-form textarea:focus {
  border-color: #F97316; outline: none;
}
.lm-contact-form textarea { height: 120px; resize: vertical; }
.lm-contact-form .lm-form-submit {
  display: inline-block; padding: 12px 32px;
  background: #F97316; color: #fff; border: none; border-radius: 6px;
  font-size: 15px; font-weight: bold; cursor: pointer;
  transition: background .3s;
}
.lm-contact-form .lm-form-submit:hover { background: #EA580C; }

.lm-factory-photos {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px; margin: 32px 0;
}
.lm-factory-photos img {
  width: 100%; height: 200px; object-fit: cover;
  border-radius: 8px; transition: transform .3s;
}
.lm-factory-photos img:hover { transform: scale(1.03); }


/* ================================================================
   Lightbox（通用 — 荣誉资质/厂容厂貌共用）
   ================================================================ */
.lm-lb-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  z-index: 99999; background: rgba(0,0,0,0.92);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; cursor: pointer;
}
.lm-lb-overlay img {
  max-width: 90vw; max-height: 85vh; object-fit: contain;
  border-radius: 4px; box-shadow: 0 8px 40px rgba(0,0,0,0.5);
}
.lm-lb-cap { margin-top: 16px; color: rgba(255,255,255,0.8); font-size: 15px; }
.lm-lb-close {
  position: absolute; top: 20px; right: 30px;
  font-size: 36px; color: #fff; cursor: pointer; line-height: 1;
}
.lm-lb-close:hover { color: #F97316; }


/* ================================================================
   响应式
   ================================================================ */

@media (max-width: 1024px) {
  .lm-product-hero { flex-direction: column; }
  .lm-product-hero .lm-hero-img { flex: none; max-width: 100%; }
  .lm-project-card .lm-pc-grid { grid-template-columns: repeat(2, 1fr); }
  .lm-stats-bar { flex-wrap: wrap; }
  .lm-stat-item { flex: 0 0 50%; border-bottom: 1px solid rgba(255,255,255,0.15); }
  .lm-mvv { grid-template-columns: 1fr; }
  .lm-cta-inner { flex-direction: column; text-align: center; gap: 16px; }
  .lm-contact-grid { grid-template-columns: 1fr; }
  .lm-timeline::before { left: 20px; }
  .lm-tl-item { width: calc(100% - 50px); margin-left: 50px !important; }
  .lm-tl-item::before { left: -38px !important; right: auto !important; }
}

@media (max-width: 768px) {
  .lm-honor-grid { grid-template-columns: repeat(2, 1fr); }
  .lm-honor-thumb { height: 140px; }
  .lm-stats-bar { flex-direction: column; }
  .lm-stat-item { flex: 1 1 100%; border-right: none; }
  .lm-cert-bar { flex-wrap: wrap; gap: 16px; }
  .lm-cert-bar img { height: 36px; }
  .lm-factory-photos { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .lm-honor-grid { grid-template-columns: 1fr; }
  .lm-honor-thumb { height: 200px; }
  .lm-cert-grid { grid-template-columns: 1fr; }
  .lm-cta-btns { flex-direction: column; width: 100%; }
  .lm-cta-btns a { text-align: center; }
  .lm-hero-summary .lm-hero-btns { flex-direction: column; }
  .lm-factory-photos { grid-template-columns: 1fr; }
}
