/* ============================================================
   ChinaHomeLife SEO 改版样式 modern.css  v3（万小智同款调色）
   2026-09-06 | 加载于 bootstrap.css / style.css 之后
   配色参考万小智参考站：棕橙按钮 + 深橄榄绿页脚 + 白底 + Inter
   ============================================================ */

:root {
  --cl-primary: #c4813d;       /* 万小智主按钮 棕橙 rgb(196,129,61) */
  --cl-primary-dark: #b06f30;  /* hover */
  --cl-primary-soft: #f3e3d1;  /* 按钮浅底 */
  --cl-deep: #3d4a35;          /* 页脚/深色块 深橄榄绿 rgb(61,74,53) */
  --cl-deep-2: #2f3b2a;        /* hero 渐变深 */
  --cl-accent: #d5995a;        /* 强调/星标 暖金 */
  --cl-dark: #2c2c2c;          /* 标题 rgb(44,44,44) */
  --cl-grey: #f5f2ed;          /* 浅米灰背景 rgb(245,242,237) */
  --cl-text: #4a4a4a;          /* 正文 */
  --cl-radius: 8px;            /* 万小智按钮圆角 */
}

body.cl-body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, "PingFang SC", sans-serif;
  color: var(--cl-text);
  background: #ffffff;
  padding-top: 0 !important;
}

/* ---------- Header ---------- */
.cl-header { background: #fff; border-bottom: 1px solid #e8ecea; position: relative; z-index: 1050; }
.cl-toprow { display: flex; align-items: center; padding: 14px 0; }
/* Logo：原图 254x81，之前 max-height:56px 压得过小。提至72px=近原图高度，明显放大且不失真（>81px 才会被放大模糊） */
.cl-logo-link img.logo { max-height: 72px; width: auto; }
.cl-btn-header { margin-left: 12px; white-space: nowrap; }

/* 顶栏右侧控件（搜索 + 语言 + 按钮）flex 右对齐 */
.cl-topbar-right { display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.cl-topbar-search { flex: 1 1 auto; max-width: 260px; }
.cl-topbar-search .input-group { margin-bottom: 0; }
@media (max-width: 767px) {
  .cl-toprow { flex-direction: column; align-items: flex-start; }
  .cl-topbar-right { width: 100%; justify-content: flex-start; margin-top: 12px; flex-wrap: wrap; }
}

/* 导航条重着色（深橄榄绿） */
.cl-header .navbar-default {
  background: var(--cl-deep);
  border: none;
  border-radius: 0;
  margin-bottom: 0;
}
.cl-header .navbar-default .navbar-nav > li > a {
  color: #e8ecdf;
  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-deep-2);
}
.cl-header .navbar-default .navbar-brand { color: #fff; }
.cl-header .navbar-toggle { border-color: #b9c4ab; }
.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-deep-2);
}
.cl-header .dropdown-menu { border-top: 3px solid var(--cl-primary); }

/* 顶栏语言切换下拉 */
.cl-lang-wrap { position: relative; display: inline-flex; align-items: center; margin-left: 14px; }
.cl-lang-btn {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid #dcd6cc; background: #fff; color: #2c2c2c;
  border-radius: 8px; padding: 8px 14px; font-size: 13.5px; font-weight: 500;
  cursor: pointer; transition: all .2s ease;
}
.cl-lang-btn:hover { border-color: var(--cl-primary); color: var(--cl-primary); }
.cl-lang-btn .caret { border-top-color: #8a8a8a; }
.cl-lang-menu {
  position: absolute; top: calc(100% + 8px); right: 0; min-width: 180px; z-index: 2000;
  background: #fff; border: 1px solid #eee; border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,.1);
  padding: 6px 0; display: none; list-style: none; margin: 0;
}
.cl-lang-wrap.open .cl-lang-menu { display: block; }
.cl-lang-menu li a {
  display: block; padding: 9px 16px; font-size: 14px; color: #333; text-decoration: none !important;
}
.cl-lang-menu li a:hover { background: var(--cl-grey); color: var(--cl-primary); }
.cl-lang-menu li a.cl-lang-active { color: var(--cl-primary); font-weight: 600; }

/* ---------- Buttons ---------- */
.cl-btn {
  display: inline-block;
  padding: 11px 24px;
  border-radius: var(--cl-radius);
  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-primary);
  color: #fff;
  border-color: var(--cl-primary);
}
.cl-btn-primary:hover { background: var(--cl-primary-dark); border-color: var(--cl-primary-dark); 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 32px; font-size: 16px; }

/* ---------- Hero ---------- */
.cl-hero {
  background: linear-gradient(120deg, #2f3b2a 0%, #3d4a35 60%, #55654b 100%);
  color: #fff;
  padding: 100px 0 110px;
  text-align: center;
}
.cl-hero h1 {
  font-size: 52px;
  font-weight: 700;
  margin: 0 0 20px;
  line-height: 1.2;
  color: #fff;
}
.cl-hero-sub { font-size: 18px; opacity: .92; margin-bottom: 34px; max-width: 640px; margin-left: auto; margin-right: auto; }
.cl-hero-btns { margin-bottom: 26px; }
.cl-hero-points {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
  opacity: .95;
  color: #e8ecdf;
}
.cl-hero-points li { display: inline-block; margin: 0 12px; }

/* ---------- Sections ---------- */
.cl-section { padding: 68px 0; }
.cl-section-grey { background: var(--cl-grey); }
.cl-section-dark { background: var(--cl-deep); color: #e8ecdf; }
.cl-section-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--cl-dark);
  text-align: center;
  margin: 0 0 12px;
}
.cl-section-title.cl-white { color: #fff; }
.cl-section-sub {
  text-align: center;
  color: #7b7b7b;
  margin: 0 0 46px;
  font-size: 16px;
}
.cl-section-dark .cl-section-sub { color: #d3d9c9; }
.cl-center { text-align: center; margin-top: 38px; }
.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(44,44,44,.06);
  transition: all .25s ease;
  margin-bottom: 24px;
  height: calc(100% - 24px);
  border: 1px solid #eee;
}
.cl-cat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(61,74,53,.16);
  border-color: var(--cl-primary);
}
.cl-cat-img {
  height: 240px;                 /* 与产品卡/现货区图高统一，整站协调 */
  background: var(--cl-grey);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cl-cat-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;           /* 完整显示，不裁切不变形 */
  object-position: center;
  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: 17px;
  font-weight: 700;
  color: var(--cl-dark);
  text-align: center;
  margin: 16px 14px 6px;
  line-height: 1.35;
}
.cl-cat-desc {
  display: block; text-align: center; color: #8a8a8a; font-size: 13px;
  line-height: 1.55; padding: 0 16px 16px;
}
.cl-cat-more {
  display: block;
  text-align: center;
  color: var(--cl-primary);
  font-size: 13px;
  font-weight: 600;
  padding: 0 14px 18px;
}

/* ---------- Trust cards ---------- */
.cl-trust-card {
  background: #fff;
  border-radius: var(--cl-radius);
  padding: 34px 24px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(44,44,44,.06);
  margin-bottom: 24px;
  height: calc(100% - 24px);
  border: 1px solid #eee;
}
.cl-trust-card:hover { border-color: var(--cl-primary); box-shadow: 0 12px 28px rgba(61,74,53,.14); }
.cl-trust-icon { font-size: 40px; margin-bottom: 16px; display: inline-block; width: 72px; height: 72px; line-height: 72px; border-radius: 50%; background: var(--cl-primary-soft); }
.cl-trust-card h3 { font-size: 18px; font-weight: 700; color: var(--cl-dark); margin: 0 0 12px; }
.cl-trust-card p { font-size: 14px; color: #7b7b7b; margin: 0; line-height: 1.7; }

/* ---------- 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(44,44,44,.06);
  transition: all .25s ease;
  margin-bottom: 26px;
  border: 1px solid #eee;
}
.cl-product-card:hover { transform: translateY(-5px); box-shadow: 0 12px 28px rgba(61,74,53,.16); border-color: var(--cl-primary); }
/* SEO: 面包屑导航（产品详情页/新闻页顶部） */
.cl-breadcrumb {
  padding: 10px 0;
  font-size: 13px;
  color: #8a857c;
}
.cl-breadcrumb a { color: var(--cl-primary); text-decoration: none; }
.cl-breadcrumb a:hover { text-decoration: underline; }
.cl-breadcrumb span { color: #5a564e; }

.cl-product-img {
  height: 240px;
  background: #f2f0ec;
  overflow: hidden;
}
.cl-product-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;      /* 完整显示，不裁切、不变形：任何比例图片都能全部展示 */
  object-position: center;
  transition: transform .35s ease;
}
.cl-product-card:hover .cl-product-img img { transform: scale(1.06); }
.cl-product-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--cl-dark);
  margin: 16px 16px 8px;
  line-height: 1.4;
  min-height: 42px;
}
.cl-product-card p {
  font-size: 13px;
  color: #8a8a8a;
  margin: 0 16px 8px;
  line-height: 1.6;
  min-height: 56px;
}
.cl-product-more {
  display: block;
  color: var(--cl-primary);
  font-size: 13px;
  font-weight: 700;
  padding: 0 16px 18px;
}

/* ---------- About + stats ---------- */
.cl-about-text { font-size: 15.5px; line-height: 2; margin-bottom: 20px; color: #4a4a4a; }
.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: 28px 12px;
  box-shadow: 0 2px 12px rgba(44,44,44,.06);
  border: 1px solid #eee;
}
.cl-stat-num {
  display: block;
  font-size: 36px;
  font-weight: 800;
  color: var(--cl-primary);
  line-height: 1.1;
}
.cl-stat-label { display: block; font-size: 13px; color: #7b7b7b; margin-top: 6px; }

/* ---------- Testimonials ---------- */
.cl-testimonial {
  background: #fff;
  border-radius: var(--cl-radius);
  padding: 30px 28px;
  box-shadow: 0 2px 12px rgba(44,44,44,.06);
  margin-bottom: 24px;
  height: calc(100% - 24px);
  display: flex;
  flex-direction: column;
  border: 1px solid #eee;
}
.cl-stars { color: var(--cl-accent); font-size: 16px; margin-bottom: 12px; }
.cl-testimonial p { font-size: 14.5px; line-height: 1.85; font-style: italic; color: #4a4a4a; flex: 1; }
.cl-testimonial-author strong { display: block; color: var(--cl-dark); font-size: 14px; }
.cl-testimonial-author span { font-size: 12.5px; color: #8a8a8a; }

/* ---------- Get in Touch (询盘区块) ---------- */
.cl-cta { background: var(--cl-grey); }
.cl-cta-left { padding-top: 20px; }
.cl-cta-title {
  font-size: 34px;
  font-weight: 700;
  color: var(--cl-dark);
  margin: 0 0 16px;
}
.cl-cta-lead {
  font-size: 16px;
  line-height: 1.8;
  color: #7b7b7b;
  margin: 0 0 26px;
}
.cl-cta-points {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 16px;
  color: var(--cl-dark);
}
.cl-cta-points li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 16px;
  line-height: 1.6;
}
.cl-cta-points li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #5a7e3d;   /* 参考站绿色圆点 */
}
/* ---------- Inquiry form (白色卡片) ---------- */
.cl-form {
  background: #fff;
  border-radius: 10px;
  padding: 32px 30px;
  box-shadow: 0 6px 28px rgba(44,44,44,.08);
  border: 1px solid #eee;
}
.cl-form label { color: var(--cl-dark); font-weight: 600; font-size: 13px; margin-bottom: 6px; }
.cl-form input, .cl-form textarea {
  width: 100%;
  border-radius: 6px;
  border: 1px solid #d9d4ca;
  background: #fcfbf9;
  padding: 11px 12px;
  font-size: 14px;
  color: #333;
}
.cl-form input:focus, .cl-form textarea:focus {
  border-color: var(--cl-primary);
  outline: none;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(196,129,61,.15);
}
.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; }
@media (max-width: 991px) {
  .cl-cta-left { padding-top: 0; }
}

/* ---------- Footer ---------- */
.cl-footer { background: var(--cl-deep); color: #ced4bf; padding: 64px 0 0; }
.cl-footer-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  letter-spacing: .5px;
  margin: 0 0 18px;
}
.cl-footer-about { font-size: 13.5px; line-height: 1.95; color: #ced4bf; }
.cl-footer-links { list-style: none; padding: 0; margin: 0; }
.cl-footer-links li { margin-bottom: 9px; }
.cl-footer-links a { color: #ced4bf; 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; color: #ced4bf; }
.cl-footer-contact li { margin-bottom: 12px; line-height: 1.5; }
.cl-footer-contact li .cl-foot-icon {
  display: inline-block;
  width: 18px;
  color: var(--cl-accent);
  margin-right: 6px;
}
.cl-footer-contact span { color: #f0f2e9; font-weight: 600; }
.cl-footer-contact a { color: var(--cl-accent); }
.cl-copyright {
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: 48px;
  padding: 18px 0 26px;
  font-size: 12.5px;
  color: #a9b2a0;
  text-align: center;
}
.cl-copyright a { color: #a9b2a0; }

/* ---------- Mobile bottom nav (原有) ---------- */
.footer_nav { z-index: 99; }

/* ---------- Responsive ---------- */
@media (max-width: 767px) {
  .cl-hero { padding: 60px 0 68px; }
  .cl-hero h1 { font-size: 30px; }
  .cl-hero-sub { font-size: 15px; }
  .cl-section { padding: 46px 0; }
  .cl-section-title { font-size: 24px; }
  .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; }
  .cl-lang-wrap { margin-left: 8px; }
  .cl-product-img, .cl-ready-card .cl-product-img, .cl-cat-img { height: 190px; } /* 手机窄屏降低图高，配合 contain 完整显示 */
  body { padding-bottom: 56px; } /* 给底部固定导航留空间 */
}

/* ============================================================
   READY TO SHIP 现货专区（2026-09-07）
   面向亚马逊卖家 / 小B端（200件以内小单快返）
   深橄榄绿底，与白色浏览流强对比，突出"现货+小单友好"
   ============================================================ */
.cl-ready {
  background: linear-gradient(135deg, var(--cl-deep-2) 0%, var(--cl-deep) 62%, #55654b 100%);
  color: #e8ecdf;
}
.cl-ready-head { text-align: center; max-width: 760px; margin: 0 auto 26px; }
.cl-ready-badge {
  display: inline-block;
  background: #e04b3a;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: 999px;
  margin-bottom: 16px;
  box-shadow: 0 4px 14px rgba(224,75,58,.35);
}
.cl-ready-sub { color: #cfd7c5; font-size: 17px; margin: 0; }
/* 卖点标签行 */
.cl-ready-perks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin: 0 auto 38px;
  max-width: 860px;
}
.cl-ready-perk {
  display: flex;
  align-items: center;
  gap: 9px;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 14.5px;
  font-weight: 600;
  color: #f2f5ec;
}
.cl-ready-perk-ico { font-size: 18px; }
/* 现货产品卡：白底，右上角红色 IN STOCK 角标，强调态边框 */
.cl-ready-card { position: relative; }
.cl-ribbon {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  background: #e04b3a;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  box-shadow: 0 3px 10px rgba(0,0,0,.22);
}
.cl-ready-card .cl-product-img { height: 240px; }  /* 与 Featured 产品卡图高统一，整站协调 */
@media (max-width: 767px) {
  .cl-ready-badge { font-size: 12px; padding: 6px 14px; }
  .cl-ready-sub { font-size: 15px; }
  .cl-ribbon { font-size: 10px; padding: 3px 8px; }
}
