/* ==========================================================
   坤凝低温 — Kunning Cryo 补充样式
   说明：仅补充 style.css 中缺失的布局类，不改动原设计系统
   配色沿用：深色 #111/#1a1a1a，描边 #e8e8e8，浅底 #fafafa/#f8f8f8，强调 #d40000
   ========================================================== */

/* ===== 首页 Banner / Hero ===== */
.hero{background:linear-gradient(135deg,#f8f8f8 0%,#f0f0f0 100%);padding:96px 0 72px;text-align:center;border-bottom:1px solid #eee}
.hero h1{font-size:2.8rem;font-weight:700;line-height:1.25;color:#111;letter-spacing:-.5px;margin-bottom:18px}
.hero-sub{font-size:1.05rem;color:#555;max-width:720px;margin:0 auto 32px;line-height:1.8}
.hero-btns{display:flex;gap:14px;justify-content:center;flex-wrap:wrap}
.hero-btns .btn-primary,.hero-btns .btn-outline{padding:13px 32px;border-radius:8px;font-weight:600;font-size:.92rem;display:inline-block}

/* ===== 区块 ===== */
.content-section{padding:80px 0}
.content-section.alt{background:#fafafa}
.content-section h2{font-size:1.9rem;font-weight:700;color:#111;margin-bottom:12px;letter-spacing:-.3px}
.content-section .section-subtitle{color:#666;font-size:.95rem;margin-bottom:36px;line-height:1.8;max-width:820px}
.content-section h3{font-size:1.15rem;font-weight:600;color:#1a1a1a;margin:28px 0 12px}

/* ===== 四列产品卡网格 ===== */
.product-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.product-grid .product-card{padding:34px 22px;display:block}
.product-grid .product-card h3{font-size:1.05rem;margin-bottom:10px}
.product-grid .product-card p{font-size:.83rem;line-height:1.65}

/* ===== 特点网格 ===== */
.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.feature-card{background:#fff;border:1px solid #e8e8e8;border-radius:12px;padding:30px 26px;transition:all .4s cubic-bezier(.25,.46,.45,.94)}
.feature-card:hover{border-color:#1a1a1a;transform:translateY(-6px);box-shadow:0 16px 34px rgba(0,0,0,.08)}
.feature-card h3{font-size:1rem;font-weight:600;color:#393939;margin:0 0 10px}
.feature-card p{font-size:.85rem;line-height:1.7;color:#555}

/* ===== 应用行业网格 ===== */
.app-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.app-card{background:#fff;border:1px solid #e8e8e8;border-radius:12px;padding:30px 26px;transition:all .4s cubic-bezier(.25,.46,.45,.94)}
.app-card:hover{border-color:#1a1a1a;transform:translateY(-6px);box-shadow:0 16px 34px rgba(0,0,0,.08)}
.app-icon{font-size:1.9rem;display:block;margin-bottom:12px}
.app-card h3{font-size:1rem;font-weight:600;color:#393939;margin:0 0 8px}
.app-card p{font-size:.84rem;line-height:1.65;color:#555}

/* ===== 行动号召区 ===== */
.cta-section{background:linear-gradient(135deg,#f6f8fa 0%,#e8edf2 100%);color:#1a1a1a;padding:76px 0;text-align:center;border-top:1px solid #e4e8ed;border-bottom:1px solid #e4e8ed}
.cta-section h2{color:#111;font-size:1.8rem;font-weight:700;margin-bottom:14px}
.cta-section p{color:#5c6675;font-size:.95rem;margin-bottom:30px;max-width:700px;margin-left:auto;margin-right:auto;line-height:1.8}
.cta-section .btn-primary{background:#d40000;color:#fff;padding:13px 36px;border-radius:8px;font-weight:600;display:inline-block}
.cta-section .btn-primary:hover{background:#a80000}

/* ===== 面包屑 ===== */
.breadcrumb{background:#fafafa;border-bottom:1px solid #eee;font-size:.8rem;color:#888;padding:12px 0}
.breadcrumb .container{display:flex;align-items:center;gap:8px}
.breadcrumb a{color:#666}
.breadcrumb a:hover{color:#d40000}
.breadcrumb .bc-sep{color:#ccc}
.breadcrumb .bc-current{color:#111;font-weight:500}

/* ===== 正文内的 Markdown 表格（产品页参数表）===== */
.content-body table{width:100%;border-collapse:collapse;font-size:.85rem;margin:20px 0 28px;background:#fff}
.content-body thead th{background:#111;color:#fff;padding:12px 16px;text-align:left;font-weight:500;font-size:.78rem;letter-spacing:.5px}
.content-body thead th:first-child{border-radius:12px 0 0 0}
.content-body thead th:last-child{border-radius:0 12px 0 0}
.content-body tbody td{padding:10px 16px;border-bottom:1px solid #eee;color:#555;vertical-align:top}
.content-body tbody tr:nth-child(even){background:#fafafa}
.content-body tbody tr:last-child td:first-child{border-radius:0 0 0 12px}
.content-body tbody tr:last-child td:last-child{border-radius:0 0 12px 0}

/* ===== 正文排版 ===== */
.content-body h2{font-size:1.5rem;font-weight:700;color:#111;margin:40px 0 14px;padding-bottom:10px;border-bottom:2px solid #f0f0f0}
.content-body h2:first-child{margin-top:0}
.content-body h3{font-size:1.1rem;font-weight:600;color:#1a1a1a;margin:26px 0 10px}
.content-body p{margin-bottom:14px;color:#444;line-height:1.85}
.content-body ul{list-style:none;margin:12px 0 20px;padding:0}
.content-body ul li{position:relative;padding-left:20px;margin-bottom:9px;color:#444;font-size:.88rem;line-height:1.75}
.content-body ul li::before{content:"";position:absolute;left:2px;top:10px;width:6px;height:6px;background:#d40000;border-radius:50%}
.content-body ol{margin:12px 0 20px 22px}
.content-body ol li{margin-bottom:9px;color:#444;font-size:.88rem;line-height:1.75}
.content-body blockquote{border-left:3px solid #d40000;background:#fafafa;padding:14px 20px;margin:20px 0;color:#555;font-size:.85rem;border-radius:0 8px 8px 0}
.content-body strong{color:#111;font-weight:600}
.content-body hr{border:none;border-top:1px solid #eee;margin:36px 0}
.content-body a{color:#d40000;font-weight:500}
.content-body a:hover{text-decoration:underline}

/* ===== 产品主图与图库 ===== */
.product-hero{width:100%;border-radius:14px;margin:0 0 32px;box-shadow:0 12px 40px rgba(0,0,0,.10);display:block}
.product-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(255px,1fr));gap:16px;margin:24px 0 12px}
.product-gallery img{width:100%;height:100%;object-fit:cover;border-radius:10px;border:1px solid #e8e8e8;transition:all .35s cubic-bezier(.25,.46,.45,.94);display:block}
.product-gallery img:hover{transform:translateY(-4px);box-shadow:0 14px 30px rgba(0,0,0,.10);border-color:#1a1a1a}

/* 首页/列表产品卡配图 */
.product-card .card-img{width:100%;height:160px;object-fit:cover;border-radius:10px;margin-bottom:16px;display:block}
.product-card{padding:20px}

/* ===== 响应式 ===== */
@media(max-width:992px){
  .hero h1{font-size:2.1rem}
  .product-grid{grid-template-columns:repeat(2,1fr)}
  .feature-grid,.app-grid{grid-template-columns:repeat(2,1fr)}
  .content-section{padding:60px 0}
}
@media(max-width:768px){
  .hero{padding:64px 0 48px}
  .hero h1{font-size:1.7rem}
  .hero-sub{font-size:.92rem}
  .product-grid,.feature-grid,.app-grid{grid-template-columns:1fr}
  .content-body h2{font-size:1.25rem}
  .content-body table{font-size:.78rem}
  .content-body thead th,.content-body tbody td{padding:8px 10px}
}

/* ===== 客户评价区（数据源 data/reviews.json）===== */
.reviews-section .section-title{text-align:center;margin-bottom:8px}
.reviews-summary{display:flex;align-items:baseline;justify-content:center;gap:8px;margin-bottom:32px;flex-wrap:wrap}
.reviews-summary .rv-score{font-size:2.4rem;font-weight:700;color:#e87a30;line-height:1}
.reviews-summary .rv-out{font-size:1rem;color:#999}
.reviews-summary .rv-count{font-size:.9rem;color:#777;margin-left:8px}
.reviews-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:24px}
.review-card{margin:0;padding:24px 22px;background:#fff;border:1px solid #e8eaed;border-radius:12px;box-shadow:0 2px 14px rgba(0,0,0,.04);display:flex;flex-direction:column}
.review-card .rv-stars{color:#f5a623;font-size:1.05rem;letter-spacing:2px;margin-bottom:12px}
.review-card blockquote{margin:0 0 18px;padding:0;border:0;font-size:.92rem;line-height:1.85;color:#444;flex:1}
.review-card figcaption{display:flex;flex-direction:column;gap:3px;padding-top:14px;border-top:1px solid #f0f1f3}
.review-card figcaption strong{font-size:.88rem;color:#1a3a5c;font-weight:600}
.review-card figcaption span{font-size:.78rem;color:#8a8f96}

/* ===== 移动端适配（2026-09-12 体检修复）=====
   问题：顶栏 .topbar 为不换行 flex，内容约需 560px，
        在 375px 手机上溢出 164px（可左右拖动、内容被顶出屏幕）。
   处理：≤768px 时顶栏允许换行并缩小；≤560px 时隐藏邮箱项
        （邮箱在联系页与页脚都有，顶栏让位给语言切换）。 */
@media (max-width: 768px) {
  .topbar { font-size: .72rem; padding: 5px 0; }
  .topbar-inner { flex-wrap: wrap; justify-content: center; row-gap: 4px; gap: 8px; }
  .topbar-left { flex-wrap: wrap; justify-content: center; gap: 10px; }
  .topbar-lang { gap: 3px; }
  .topbar-lang a { padding: 2px 7px; }
  .container { padding-left: 16px; padding-right: 16px; }
}
@media (max-width: 560px) {
  .topbar-left span:nth-child(3) { display: none; }
  .topbar-lang a { padding: 2px 6px; font-size: .72rem; }
}
/* 长英文/泰文标题与表格在窄屏不撑破容器 */
@media (max-width: 768px) {
  .product-hero, .gallery-grid img, table { max-width: 100%; }
  .table-wrap, .spec-table { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  h1, h2, h3 { word-break: break-word; overflow-wrap: anywhere; }
     max-width 拦不住，必须让表格自身可横向滚动，否则整个页面被撑宽（实测 390px 视口溢出 35px） */
  .content-body table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .content-body table th, .content-body table td { white-space: nowrap; }
}
