/* ============================================================
   ChinaHomeLife SEO 改版样式 modern.css
   2026-09-06 | 加载于 bootstrap.css / style.css 之后
   ============================================================ */

:root {
  --cl-primary: #0d6e4f;
  --cl-primary-dark: #095c41;
  --cl-accent: #f5a623;
  --cl-dark: #16262e;
  --cl-grey: #f5f7f6;
  --cl-text: #3c4a52;
  --cl-radius: 10px;
}

body.cl-body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, "PingFang SC", sans-serif;
  color: var(--cl-text);
  padding-top: 0 !important;
}

/* ---------- Header ---------- */
.cl-header { background: #fff; border-bottom: 1px solid #e8ecea; }
.cl-toprow { display: flex; align-items: center; padding: 14px 0; }
.cl-logo-link img.logo { max-height: 56px; width: auto; }
.cl-btn-header { margin-left: 12px; white-space: nowrap; }

/* 导航条重着色 */
.cl-header .navbar-default {
  background: var(--cl-primary);
  border: none;
  border-radius: 0;
  margin-bottom: 0;
}
.cl-header .navbar-default .navbar-nav > li > a {
  color: #eaf5ef;
  font-weight: 500;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: .5px;
}
.cl-header .navbar-default .navbar-nav > li > a:hover,
.cl-header .navbar-default .navbar-nav > li > a:focus {
  color: #fff;
  background: var(--cl-primary-dark);
}
.cl-header .navbar-default .navbar-brand { color: #fff; }
.cl-header .navbar-toggle { border-color: #9fd4bd; }
.cl-header .navbar-toggle .icon-bar { background: #fff; }
.cl-header .navbar-default .navbar-nav > .open > a,
.cl-header .navbar-default .navbar-nav > .open > a:hover,
.cl-header .navbar-default .navbar-nav > .open > a:focus {
  color: #fff;
  background: var(--cl-primary-dark);
}
.cl-header .dropdown-menu { border-top: 3px solid var(--cl-accent); }

/* ---------- Buttons ---------- */
.cl-btn {
  display: inline-block;
  padding: 10px 26px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none !important;
  transition: all .25s ease;
  border: 2px solid transparent;
  cursor: pointer;
  line-height: 1.5;
}
.cl-btn-primary {
  background: var(--cl-accent);
  color: #fff;
  border-color: var(--cl-accent);
}
.cl-btn-primary:hover { background: #e0901a; border-color: #e0901a; color: #fff; }
.cl-btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.7);
}
.cl-btn-ghost:hover { background: rgba(255,255,255,.15); color: #fff; }
.cl-btn-outline {
  background: transparent;
  color: var(--cl-primary);
  border-color: var(--cl-primary);
}
.cl-btn-outline:hover { background: var(--cl-primary); color: #fff; }
.cl-btn-lg { padding: 13px 38px; font-size: 16px; }

/* ---------- Hero ---------- */
.cl-hero {
  background: linear-gradient(120deg, #0d6e4f 0%, #128a63 55%, #1a9d74 100%);
  color: #fff;
  padding: 90px 0 100px;
  text-align: center;
}
.cl-hero h1 {
  font-size: 40px;
  font-weight: 700;
  margin: 0 0 18px;
  line-height: 1.25;
}
.cl-hero-sub { font-size: 18px; opacity: .92; margin-bottom: 32px; }
.cl-hero-btns { margin-bottom: 28px; }
.cl-hero-points {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
  opacity: .95;
}
.cl-hero-points li { display: inline-block; margin: 0 12px; }

/* ---------- Sections ---------- */
.cl-section { padding: 64px 0; }
.cl-section-grey { background: var(--cl-grey); }
.cl-section-dark { background: var(--cl-dark); color: #dfe7ea; }
.cl-section-title {
  font-size: 30px;
  font-weight: 700;
  color: var(--cl-dark);
  text-align: center;
  margin: 0 0 10px;
}
.cl-white { color: #fff !important; }
.cl-section-sub {
  text-align: center;
  color: #7b8a91;
  margin: 0 0 42px;
  font-size: 15px;
}
.cl-center { text-align: center; margin-top: 34px; }
.cl-left { text-align: left !important; }

/* ---------- Category cards ---------- */
.cl-cat-card {
  display: block;
  background: #fff;
  border-radius: var(--cl-radius);
  overflow: hidden;
  text-decoration: none !important;
  box-shadow: 0 2px 12px rgba(22,38,46,.08);
  transition: all .25s ease;
  margin-bottom: 24px;
  height: calc(100% - 24px);
}
.cl-cat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 26px rgba(13,110,79,.18);
}
.cl-cat-img {
  height: 120px;
  background: linear-gradient(135deg, #eef6f2, #dcebe3);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cl-cat-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.cl-cat-card:hover .cl-cat-img img { transform: scale(1.08); }
.cl-cat-placeholder { font-size: 44px; }
.cl-cat-card h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--cl-dark);
  text-align: center;
  margin: 14px 10px 4px;
  line-height: 1.35;
}
.cl-cat-more {
  display: block;
  text-align: center;
  color: var(--cl-primary);
  font-size: 12px;
  font-weight: 600;
  padding: 0 10px 16px;
}

/* ---------- Trust cards ---------- */
.cl-trust-card {
  background: #fff;
  border-radius: var(--cl-radius);
  padding: 30px 22px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(22,38,46,.06);
  margin-bottom: 24px;
  height: calc(100% - 24px);
}
.cl-trust-icon { font-size: 38px; margin-bottom: 14px; }
.cl-trust-card h3 { font-size: 17px; font-weight: 700; color: var(--cl-dark); margin: 0 0 10px; }
.cl-trust-card p { font-size: 13.5px; color: #7b8a91; margin: 0; line-height: 1.6; }

/* ---------- Product cards ---------- */
.cl-product-card {
  display: block;
  background: #fff;
  border-radius: var(--cl-radius);
  overflow: hidden;
  text-decoration: none !important;
  box-shadow: 0 2px 12px rgba(22,38,46,.08);
  transition: all .25s ease;
  margin-bottom: 26px;
}
.cl-product-card:hover { transform: translateY(-5px); box-shadow: 0 10px 26px rgba(13,110,79,.16); }
.cl-product-img {
  height: 190px;
  background: #f2f5f3;
  overflow: hidden;
}
.cl-product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.cl-product-card:hover .cl-product-img img { transform: scale(1.06); }
.cl-product-card h3 {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--cl-dark);
  margin: 14px 14px 8px;
  line-height: 1.4;
  min-height: 40px;
}
.cl-product-card p {
  font-size: 12.5px;
  color: #8a979e;
  margin: 0 14px 8px;
  line-height: 1.55;
  min-height: 56px;
}
.cl-product-more {
  display: block;
  color: var(--cl-primary);
  font-size: 12px;
  font-weight: 700;
  padding: 0 14px 16px;
}

/* ---------- About + stats ---------- */
.cl-about-text { font-size: 15px; line-height: 1.9; margin-bottom: 18px; }
.cl-stats { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 22px; }
.cl-stat {
  flex: 1 1 45%;
  background: #fff;
  border-radius: var(--cl-radius);
  text-align: center;
  padding: 26px 12px;
  box-shadow: 0 2px 12px rgba(22,38,46,.06);
}
.cl-stat-num {
  display: block;
  font-size: 34px;
  font-weight: 800;
  color: var(--cl-primary);
  line-height: 1.1;
}
.cl-stat-label { display: block; font-size: 13px; color: #7b8a91; margin-top: 6px; }

/* ---------- Testimonials ---------- */
.cl-testimonial {
  background: #fff;
  border-radius: var(--cl-radius);
  padding: 28px 26px;
  box-shadow: 0 2px 12px rgba(22,38,46,.07);
  margin-bottom: 24px;
  height: calc(100% - 24px);
  display: flex;
  flex-direction: column;
}
.cl-stars { color: var(--cl-accent); font-size: 16px; margin-bottom: 12px; }
.cl-testimonial p { font-size: 14px; line-height: 1.8; font-style: italic; color: #4c5a62; flex: 1; }
.cl-testimonial-author strong { display: block; color: var(--cl-dark); font-size: 14px; }
.cl-testimonial-author span { font-size: 12.5px; color: #8a979e; }

/* ---------- Inquiry form ---------- */
.cl-contact-lead { font-size: 15px; line-height: 1.8; margin-bottom: 20px; }
.cl-contact-list { list-style: none; padding: 0; font-size: 14.5px; line-height: 2.2; }
.cl-form {
  background: rgba(255,255,255,.06);
  border-radius: var(--cl-radius);
  padding: 28px 24px;
}
.cl-form label { color: #cfdce1; font-weight: 600; font-size: 13px; margin-bottom: 6px; }
.cl-form input, .cl-form textarea {
  width: 100%;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.92);
  padding: 10px 12px;
  font-size: 14px;
  color: #333;
}
.cl-form input:focus, .cl-form textarea:focus {
  border-color: var(--cl-accent);
  outline: none;
  box-shadow: 0 0 0 3px rgba(245,166,35,.2);
}
.cl-captcha { display: flex; gap: 10px; align-items: center; }
.cl-captcha input { max-width: 160px; }
.cl-captcha .codeimg { height: 38px; border-radius: 4px; cursor: pointer; }
.cl-form .row > div { margin-bottom: 16px; }

/* ---------- Footer ---------- */
.cl-footer { background: #10202a; color: #aab8bf; padding: 56px 0 0; }
.cl-footer-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin: 0 0 18px;
}
.cl-footer-about { font-size: 13.5px; line-height: 1.9; }
.cl-footer-links { list-style: none; padding: 0; margin: 0; }
.cl-footer-links li { margin-bottom: 9px; }
.cl-footer-links a { color: #aab8bf; font-size: 13.5px; text-decoration: none !important; }
.cl-footer-links a:hover { color: var(--cl-accent); }
.cl-footer-contact { list-style: none; padding: 0; margin: 0; font-size: 13.5px; }
.cl-footer-contact li { margin-bottom: 9px; }
.cl-footer-contact span { color: #e6edf0; font-weight: 600; }
.cl-footer-contact a { color: var(--cl-accent); }
.cl-copyright {
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: 46px;
  padding: 18px 0 26px;
  font-size: 12.5px;
  text-align: center;
}
.cl-copyright a { color: #8fa0a8; }

/* ---------- Mobile bottom nav (原有) ---------- */
.footer_nav { z-index: 99; }

/* ---------- Responsive ---------- */
@media (max-width: 767px) {
  .cl-hero { padding: 56px 0 64px; }
  .cl-hero h1 { font-size: 27px; }
  .cl-hero-sub { font-size: 15px; }
  .cl-section { padding: 44px 0; }
  .cl-section-title { font-size: 23px; }
  .cl-btn-header { padding: 8px 16px; font-size: 13px; }
  .cl-product-card h3 { min-height: 0; }
  .cl-product-card p { min-height: 0; }
  .cl-stat { flex: 1 1 44%; }
  .cl-hero-points li { display: block; margin: 4px 0; }
  body { padding-bottom: 56px; } /* 给底部固定导航留空间 */
}
