/* ============================================
   全创科技 - 二级/三级页面美化样式 v2
   使用 body 选择器提高特异性以覆盖EyouCMS默认样式
   ============================================ */

/* ========== 页面背景 ========== */
body .layout.bg-gray {
  background: #f4f6f9 !important;
  padding: 30px 0 50px !important;
}

/* ========== 关于我们、单页内容卡片 ========== */
body .article.bg-white {
  background: #ffffff !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
  border: 1px solid #e8ecf1 !important;
  margin-bottom: 30px !important;
}

body .article.bg-white .padding-large {
  padding: 35px !important;
}

body .article.bg-white .post h2 {
  font-size: 26px !important;
  font-weight: 700 !important;
  color: #0d1f3c !important;
  margin-bottom: 20px !important;
  border-bottom: 2px solid #e6a23c !important;
  padding-bottom: 15px !important;
}

body .article.bg-white .post h3 {
  font-size: 20px !important;
  font-weight: 600 !important;
  color: #1a365d !important;
  margin: 25px 0 15px !important;
  padding-left: 12px !important;
  border-left: 4px solid #e6a23c !important;
}

body .article.bg-white .post p {
  font-size: 15px !important;
  line-height: 1.9 !important;
  color: #333 !important;
  margin-bottom: 12px !important;
}

/* ========== 页面标题 ========== */
body .arclist h3,
body .lists_title {
  font-size: 28px !important;
  font-weight: 700 !important;
  color: #0d1f3c !important;
  text-align: center !important;
  margin-bottom: 10px !important;
  padding-bottom: 15px !important;
  position: relative !important;
}

body .arclist h3:after,
body .lists_title:after {
  content: '' !important;
  display: block !important;
  width: 60px !important;
  height: 3px !important;
  background: linear-gradient(90deg, #e6a23c, #f0c674) !important;
  margin: 10px auto 0 !important;
  border-radius: 2px !important;
}

/* ========== 面包屑导航 ========== */
body .bread-nav,
body .position {
  padding: 12px 0 !important;
  margin-bottom: 15px !important;
  font-size: 14px !important;
  color: #666 !important;
}

body .bread-nav a,
body .position a {
  color: #e6a23c !important;
  text-decoration: none !important;
}

body .bread-nav a:hover {
  color: #f0c674 !important;
}

/* ========== 新闻/文章列表 ========== */
body .list-news li,
body .news-list li,
body .list-article li {
  background: #ffffff !important;
  border-radius: 12px !important;
  padding: 25px !important;
  margin-bottom: 20px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
  border: 1px solid #e8ecf1 !important;
  transition: all 0.3s ease !important;
  list-style: none !important;
}

body .list-news li:hover,
body .news-list li:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15) !important;
  transform: translateY(-4px) !important;
  border-color: #e6a23c !important;
}

body .list-news li h3 a,
body .news-list li a {
  font-size: 18px !important;
  font-weight: 600 !important;
  color: #333 !important;
  text-decoration: none !important;
}

body .list-news li h3 a:hover,
body .news-list li a:hover {
  color: #e6a23c !important;
}

body .list-news li p {
  color: #666 !important;
  font-size: 14px !important;
  line-height: 1.8 !important;
}

/* ========== 产品/案例列表 ========== */
body .product-list li {
  background: #ffffff !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
  border: 1px solid #e8ecf1 !important;
  transition: all 0.3s ease !important;
  margin-bottom: 25px !important;
  list-style: none !important;
}

body .product-list li:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15) !important;
  transform: translateY(-5px) !important;
}

body .product-list li h2 {
  font-size: 16px !important;
  font-weight: 600 !important;
  padding: 15px 15px 5px !important;
  margin: 0 !important;
}

body .product-list li h2 a {
  color: #333 !important;
  text-decoration: none !important;
}

body .product-list li h2 a:hover {
  color: #e6a23c !important;
}

body .product-list li .price {
  color: #e4393c !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  padding: 0 15px 10px !important;
}

/* ========== 详情页面 ========== */
body .showpage,
body .detail-wrap {
  background: #ffffff !important;
  border-radius: 12px !important;
  padding: 30px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
  border: 1px solid #e8ecf1 !important;
  margin-bottom: 30px !important;
}

body .showpage h1,
body .detail-wrap h1 {
  font-size: 26px !important;
  font-weight: 700 !important;
  color: #0d1f3c !important;
  border-bottom: 2px solid #0d1f3c !important;
  padding-bottom: 15px !important;
  margin-bottom: 20px !important;
}

body .showpage .info,
body .detail-wrap .info {
  color: #999 !important;
  font-size: 13px !important;
  margin-bottom: 25px !important;
  padding-bottom: 15px !important;
  border-bottom: 1px solid #e8ecf1 !important;
}

body .showpage p,
body .detail-wrap p {
  font-size: 15px !important;
  line-height: 1.9 !important;
  color: #333 !important;
  margin-bottom: 15px !important;
}

body .showpage img,
body .detail-wrap img {
  max-width: 100% !important;
  height: auto !important;
  border-radius: 8px !important;
  margin: 15px 0 !important;
}

/* ========== 分页 ========== */
body .pagination {
  margin: 30px 0 !important;
  text-align: center !important;
}

body .pagination li {
  display: inline-block !important;
  list-style: none !important;
}

body .pagination a,
body .pagination span {
  display: inline-block !important;
  padding: 8px 16px !important;
  margin: 0 3px !important;
  border: 1px solid #e8ecf1 !important;
  border-radius: 6px !important;
  color: #666 !important;
  text-decoration: none !important;
  font-size: 14px !important;
  background: #fff !important;
  transition: all 0.2s !important;
}

body .pagination a:hover {
  background: #e6a23c !important;
  color: #fff !important;
  border-color: #e6a23c !important;
}

body .pagination span.current {
  background: #0d1f3c !important;
  color: #fff !important;
  border-color: #0d1f3c !important;
}

/* ========== 产品排序/筛选栏 ========== */
body .sort-list {
  background: #ffffff !important;
  border-radius: 12px !important;
  padding: 20px !important;
  margin-bottom: 20px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
  border: 1px solid #e8ecf1 !important;
}

body .sort-list a {
  display: inline-block !important;
  padding: 6px 14px !important;
  margin: 3px !important;
  border: 1px solid #e8ecf1 !important;
  border-radius: 6px !important;
  color: #666 !important;
  text-decoration: none !important;
  font-size: 13px !important;
  transition: all 0.2s !important;
}

body .sort-list a:hover,
body .sort-list a.cur {
  background: #e6a23c !important;
  color: #fff !important;
  border-color: #e6a23c !important;
}

/* ========== 联系我们页面 ========== */
body .contact-info-box {
  background: #ffffff !important;
  border-radius: 12px !important;
  padding: 30px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
  border: 1px solid #e8ecf1 !important;
}

body .contact-info-box .item {
  display: flex !important;
  align-items: center !important;
  gap: 15px !important;
  padding: 12px 0 !important;
  border-bottom: 1px solid #e8ecf1 !important;
}

body .contact-info-box .item:last-child {
  border-bottom: none !important;
}

body .contact-info-box .item i {
  font-size: 24px !important;
  color: #e6a23c !important;
  width: 40px !important;
  text-align: center !important;
}

body .contact-info-box .item span {
  font-size: 15px !important;
  color: #333 !important;
}

/* ========== 留言表单 ========== */
body .guestbook-form,
body .form-box {
  background: #ffffff !important;
  border-radius: 12px !important;
  padding: 30px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
  border: 1px solid #e8ecf1 !important;
}

body .guestbook-form input[type="text"],
body .guestbook-form textarea,
body .form-box input[type="text"],
body .form-box textarea {
  border: 1px solid #e8ecf1 !important;
  border-radius: 8px !important;
  padding: 12px 15px !important;
  font-size: 14px !important;
  transition: border-color 0.3s !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

body .guestbook-form input[type="text"]:focus,
body .guestbook-form textarea:focus {
  border-color: #e6a23c !important;
  outline: none !important;
}

body .guestbook-form input[type="submit"] {
  background: linear-gradient(135deg, #e6a23c, #f0c674) !important;
  color: #fff !important;
  border: none !important;
  padding: 12px 30px !important;
  border-radius: 8px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.3s !important;
}

body .guestbook-form input[type="submit"]:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 15px rgba(230, 162, 60, 0.4) !important;
}

/* ========== 响应式 ========== */
@media (max-width: 768px) {
  body .article.bg-white .padding-large {
    padding: 15px !important;
  }
  body .arclist h3,
  body .lists_title {
    font-size: 22px !important;
  }
  body .showpage h1,
  body .detail-wrap h1 {
    font-size: 20px !important;
  }
}
