/**
 * zh.inflatablecn.com 中文版专属样式（仅 lang_code == 'zh' 时加载）
 * 目标：中文字体栈 + 中文排版优化（行高/字距/字重/对齐）
 * 说明：国内访客访问不到 Google Fonts，Poppins 对中文也无字形，
 *       统一走系统中文字体栈（苹方/微软雅黑等），数字与英文由前置西文字体渲染。
 */

/* ---------- 1. 全局中文字体栈 ---------- */
body,
h1, h2, h3, h4, h5, h6,
p, a, span, li, td, th, dt, dd, label, figcaption,
input, textarea, select, button,
.navbar, .dropdown-item, .form-control, .bton, .btn {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
               "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC",
               "Helvetica Neue", Arial, sans-serif !important;
}

/* FontAwesome / Ionicons 图标字体不能被覆盖，显式还原 */
.fa, [class^="icon-"], [class*=" icon-"],
[class^="flag-"], [class*=" flag-"] {
  font-family: FontAwesome !important;
}
.ion, [class^="ion-"], [class*=" ion-"] {
  font-family: "Ionicons" !important;
}

/* ---------- 2. 基础排版：中文更舒展 ---------- */
body {
  font-size: 15px;
  line-height: 1.75;
  letter-spacing: 0.015em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* 标题：中文粗体层次比拉丁字形重，用 600 代替 700/800，字距略收 */
h1, h2, h3, h4, h5, h6,
.section-title, .card-title {
  font-weight: 600 !important;
  letter-spacing: 0.02em;
  line-height: 1.45;
}

/* 长正文（产品详情/文章/单页）：两端对齐 + CJK 断行保护 */
.tab-caption, .tab-caption p,
.article-content, .article-content p,
.page-content, .page-content p,
.seo-intro, .seo-intro p {
  text-align: justify;
  line-height: 1.9;
  word-break: normal;
  overflow-wrap: break-word;
}
.tab-caption li {
  line-height: 1.9;
  margin-bottom: 4px;
}

/* 产品详情正文：真正的段落节奏（product.php 已把 br 拆成 <p>） */
.tab-caption p {
  margin: 0 0 0.95em;
  font-size: 15.5px;
  color: #333;
}
.tab-caption p:last-child {
  margin-bottom: 0;
}
/* 段首"多功能娱乐："等卖点标签（product.php 输出时加的 <strong>） */
.tab-caption p > strong:first-child {
  font-weight: 600;
  color: #078bb8;   /* 呼应站点主色蓝 */
  margin-right: 2px;
}
/* 开头引言段稍微突出 */
.tab-caption p:first-child {
  font-size: 16px;
  color: #222;
}

/* ---------- 3. 导航与页头 ---------- */
.navbar .nav-link {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.dropdown-menu-lang .dropdown-item,
.header_list a {
  letter-spacing: 0.02em;
}

/* ---------- 4. 产品卡片 ---------- */
.cart-name,
.cart-name a {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.55;
}

/* 首页专题瓷片中文覆盖条（index.dwt 内联样式的补充微调） */
.offer-banner span {
  letter-spacing: 0.08em;
  font-weight: 600 !important;
}

/* ---------- 5. 按钮与表单 ---------- */
.bton, .btn, button[type="submit"] {
  letter-spacing: 0.1em;   /* 中文按钮字距稍开更精神 */
  font-weight: 500;
}
.form-control::placeholder {
  letter-spacing: 0.03em;
}

/* ---------- 6. 客户评价轮播 ---------- */
.review-box p {
  line-height: 1.9;
  letter-spacing: 0.02em;
  text-align: justify;
}
.review-box span {
  letter-spacing: 0.05em;
}

/* ---------- 7. 面包屑 / 分页 ---------- */
.ur-here, .ur_here, .breadcrumb {
  letter-spacing: 0.03em;
}
.pagination a, .pagination span {
  letter-spacing: 0;   /* 页码是数字，不需要中文字距 */
}

/* ---------- 8. 表格（规格参数等） ---------- */
.table td, .table th {
  line-height: 1.8;
  letter-spacing: 0.02em;
}

/* ---------- 9. 移动端微调 ---------- */
@media (max-width: 767px) {
  body { font-size: 14.5px; }
  .navbar .nav-link { font-size: 15px; }
  .tab-caption, .tab-caption p,
  .article-content p, .page-content p { line-height: 1.85; }
}
