/*
Theme Name: Zeroy Child
Template: zeroy
Version: 1.0
*/

/*
Theme Name: Zeroy Child
Template: zeroy
Version: 1.0
*/

/* ===== XINCHAO PRODUCT SYSTEM CSS START ===== */

/* ========================================
   01. 全局颜色变量
======================================== */
:root{
  --primary:#1E65A7;
  --accent:#F4581F;
  --accent-2:#FC9A20;
  --text:#2B2F36;
  --muted:#6B7280;
  --border:#E5E7EB;
  --bg:#F7F8FA;
  --dark:#153E66;
  --white:#FFFFFF;
}

/* ========================================
   02. 产品页最外层基础设置
======================================== */
.xc-product-page{
  font-family: Arial, Helvetica, sans-serif;
  color: #2B2F36;
  color: var(--text);
  line-height: 1.7;
  background: #fff;
}

/* ========================================
   03. 全局盒模型统一
======================================== */
.xc-product-page *{
  box-sizing: border-box;
}

/* ========================================
   04. 编辑器内容区域基础文字样式
======================================== */
.xc-editor-content{
  color: #2B2F36;
  color: var(--text);
  line-height: 1.7;
}

/* ========================================
   05. 内容最外层容器
   说明：这里已经改成最外围内边距为 0
======================================== */
.xc-editor-content .xc-container{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}

/* ========================================
   06. 每个内容区块
   说明：这里已经改成最外围内边距为 0
======================================== */
.xc-editor-content .xc-section{
  padding: 0;
}

/* ========================================
   07. 浅色背景区块
======================================== */
.xc-editor-content .xc-section-light{
  background: #F7F8FA;
  background: var(--bg);
}

/* ========================================
   08. 小标签 / 胶囊标题
======================================== */
.xc-badge{
  display: inline-block;
  padding: 0px 14px;
  border-radius: 999px;
  background: rgba(30,101,167,.08);
  color: #1E65A7;
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .3px;
  margin-bottom: 10px;
}

/* ========================================
   09. 通用网格布局
======================================== */
.xc-editor-content .xc-grid{
  display: grid;
  gap: 24px;
}

.xc-editor-content .xc-grid-2{
  grid-template-columns: repeat(2, minmax(0,1fr));
}

.xc-editor-content .xc-grid-3{
  grid-template-columns: repeat(3, minmax(0,1fr));
}

.xc-editor-content .xc-grid-4{
  grid-template-columns: repeat(4, minmax(0,1fr));
}

/* ========================================
   10. 通用卡片样式
======================================== */
.xc-editor-content .xc-card{
  background: #fff;
  border: 1px solid #E5E7EB;
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,.04);
}

.xc-editor-content .xc-card-body{
  padding: 22px;
}

/* ========================================
   11. 主标题、副标题
======================================== */
.xc-editor-content .xc-title{
  font-size: 40px;
  line-height: 1.2;
  margin: 0 0 16px;
  color: #1F2937;
}

.xc-editor-content .xc-subtitle{
  font-size: 18px;
  color: #6B7280;
  color: var(--muted);
  margin: 0 0 24px;
}

/* ========================================
   12. 列表样式
======================================== */
.xc-editor-content .xc-highlight-list,
.xc-editor-content .xc-check-list,
.xc-editor-content .xc-step-list{
  list-style: none;
  padding: 0;
  margin: 0;
}

.xc-editor-content .xc-highlight-list li,
.xc-editor-content .xc-check-list li{
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: #2B2F36;
  color: var(--text);
}

.xc-editor-content .xc-highlight-list li:before,
.xc-editor-content .xc-check-list li:before{
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: #F4581F;
  color: var(--accent);
  font-weight: 700;
}

/* ========================================
   13. 产品摘要信息区
======================================== */
.xc-editor-content .xc-meta{
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 12px;
  margin: 24px 0;
}

.xc-editor-content .xc-meta-item{
  background: #fff;
  border: 1px solid #E5E7EB;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px;
}

.xc-editor-content .xc-meta-item strong{
  display: block;
  font-size: 13px;
  color: #6B7280;
  color: var(--muted);
  margin-bottom: 4px;
}

/* ========================================
   14. CTA 按钮行
======================================== */
.xc-editor-content .xc-cta-row{
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

/* ========================================
   15. 通用按钮样式
======================================== */
.xc-editor-content .xc-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: .25s ease;
  border: 1px solid transparent;
}

.xc-editor-content .xc-btn-primary{
  background: #F4581F;
  background: var(--accent);
  color: #fff;
}

.xc-editor-content .xc-btn-primary:hover{
  background: #dc4815;
}

.xc-editor-content .xc-btn-outline{
  background: #fff;
  color: #1E65A7;
  color: var(--primary);
  border-color: #1E65A7;
  border-color: var(--primary);
}

.xc-editor-content .xc-btn-outline:hover{
  background: rgba(30,101,167,.06);
}

/* ========================================
   16. 二级标题 / 三级标题 / 引导文字
======================================== */
.xc-h2{
  font-size: 32px;
  line-height: 1.25;
  margin: 0 0 10px;
  color: #1F2937;
}

.xc-editor-content .xc-h3{
  font-size: 22px;
  line-height: 1.35;
  margin: 0 0 12px;
  color: #1F2937;
}

.xc-editor-content .xc-lead{
  max-width: 860px;
  color: #6B7280;
  color: var(--muted);
  margin: 0 0 26px;
}

/* ========================================
   17. 功能信息盒子
======================================== */
.xc-editor-content .xc-feature-box{
  background: #fff;
  border: 1px solid #E5E7EB;
  border: 1px solid var(--border);
  border-radius: 0 !important;
  padding: 24px;
  height: 100%;
}

.xc-editor-content .xc-feature-box h3{
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 20px;
  color: #1F2937;
}

.xc-editor-content .xc-feature-box p{
  margin: 0;
  color: #6B7280;
  color: var(--muted);
}

/* ========================================
   18. 图片模块
======================================== */
.xc-editor-content .xc-image{
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #E5E7EB;
  border: 1px solid var(--border);
  background: #fff;
}

.xc-editor-content .xc-image img{
  width: 100%;
  display: block;
  height: auto;
  margin: 0;
  border-radius: 0;
}

.xc-editor-content .xc-caption{
  font-size: 14px;
  color: #6B7280;
  color: var(--muted);
  margin-top: 10px;
  text-align: center;
}

/* ========================================
   19. 表格模块
======================================== */
.xc-editor-content .xc-table-wrap{
  overflow-x: auto;
  border: 1px solid #E5E7EB;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fff;
}

.xc-editor-content .xc-table{
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
  margin: 0;
}

.xc-editor-content .xc-table th,
.xc-editor-content .xc-table td{
  padding: 16px 18px;
  border-bottom: 1px solid #E5E7EB;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.xc-editor-content .xc-table th{
  width: 240px;
  background: #fafafa;
  color: #1F2937;
}

.xc-editor-content .xc-table tr:last-child th,
.xc-editor-content .xc-table tr:last-child td{
  border-bottom: none;
}

/* ========================================
   20. 步骤流程模块
======================================== */
.xc-editor-content .xc-step{
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #fff;
  border: 1px solid #E5E7EB;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px;
  height: 100%;
}

.xc-editor-content .xc-step-num{
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #F4581F;
  background: var(--accent);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
  margin-bottom: 0;
  margin-top: 2px;
}

.xc-editor-content .xc-step-content{
  flex: 1;
}

.xc-editor-content .xc-step-content .xc-h3{
  margin: 0 0 8px;
}

.xc-editor-content .xc-step-content p{
  margin: 0;
  color: #6B7280;
  color: var(--muted);
  line-height: 1.7;
}

/* ========================================
   21. FAQ 模块
======================================== */
.xc-editor-content .xc-faq{
  display: grid;
  gap: 14px;
}

.xc-editor-content .xc-faq-item{
  border: 1px solid #E5E7EB;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  background: #fff;
}

.xc-editor-content .xc-faq-item h3{
  margin: 0 0 8px;
  font-size: 18px;
  color: #1F2937;
}

.xc-editor-content .xc-faq-item p{
  margin: 0;
  color: #6B7280;
  color: var(--muted);
}

/* ========================================
   22. CTA 横幅模块
======================================== */
.xc-editor-content .xc-cta-banner{
  background: linear-gradient(135deg, #153E66, #1E65A7);
  background: linear-gradient(135deg, var(--dark), var(--primary));
  color: #fff;
  border-radius: 24px;
  padding: 36px;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 24px;
  align-items: center;
}

.xc-editor-content .xc-cta-banner h2{
  color: #fff;
  margin: 0 0 12px;
}

.xc-editor-content .xc-cta-banner p{
  margin: 0;
  color: rgba(255,255,255,.88);
}

.xc-editor-content .xc-cta-banner .xc-btn-outline{
  border-color: #fff;
  color: #fff;
  background: transparent;
}

.xc-editor-content .xc-cta-banner .xc-btn-outline:hover{
  background: rgba(255,255,255,.08);
}

/* ========================================
   23. 说明备注文字
======================================== */
.xc-editor-content .xc-note{
  margin-top: 16px;
  color: #6B7280;
  color: var(--muted);
  font-size: 14px;
}

/* ========================================
   24. Summary Meta 优化版
======================================== */
.xc-summary-meta .xc-meta{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin: 20px 0 10px;
}

.xc-summary-meta .xc-meta-item{
  padding: 14px 16px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #E5E7EB;
  border: 1px solid var(--border);
  box-shadow: 0 6px 18px rgba(0,0,0,.04);
  transition: all 0.2s ease;
}

.xc-summary-meta .xc-meta-item:hover{
  transform: translateY(-2px);
  border-color: #1E65A7;
  border-color: var(--primary);
}

.xc-summary-meta .xc-meta-item strong{
  display: block;
  font-size: 12px;
  color: #6B7280;
  color: var(--muted);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: .3px;
}

/* ========================================
   25. 平板端响应式优化
   说明：最外围内边距继续保持 0
======================================== */
@media (max-width: 1024px){
  .xc-editor-content .xc-container{
    padding: 0;
  }

  .xc-editor-content .xc-grid-4{
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  .xc-editor-content .xc-steps{
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  .xc-editor-content .xc-cta-banner{
    grid-template-columns: 1fr;
  }

  .xc-editor-content .xc-title{
    font-size: 34px;
  }
}

/* ========================================
   26. 手机端响应式优化
   说明：最外围内边距继续保持 0
======================================== */
@media (max-width: 767px){
  .xc-editor-content .xc-container{
    padding: 0;
  }

  .xc-editor-content .xc-grid-2,
  .xc-editor-content .xc-grid-3,
  .xc-editor-content .xc-grid-4,
  .xc-editor-content .xc-steps,
  .xc-editor-content .xc-meta{
    grid-template-columns: 1fr;
  }

  .xc-editor-content .xc-title{
    font-size: 28px;
  }

  .xc-editor-content .xc-h2{
    font-size: 26px;
  }

  .xc-editor-content .xc-section{
    padding: 0;
  }

  .xc-editor-content .xc-cta-banner{
    padding: 26px;
  }
}

/* ===== XINCHAO PRODUCT SYSTEM CSS END ===== */
