/*
Theme Name: Hello Elementor Child
Template: hello-elementor
Version: 1.2.3
Description: 站点功能与样式扩展。
Text Domain: hello-elementor-child
*/

/* ===== Kunhong custom build ===== */
/* ===== 全局字体与配色 ===== */
:root {
  --kunh-dark: #0B3D2C;
  --kunh-dark-2: #07271C;
  --kunh-green: #3E7C59;
  --kunh-green-light: #2A7D2E;
  --kunh-gray: #5A6660;
  --kunh-light: #F5F7F5;
  --kunh-radius: 14px;
}
body,
.elementor-widget-text-editor,
.elementor-widget-heading .elementor-heading-title {
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
}

/* ===== 区块间距与圆角 ===== */
.elementor-section .elementor-container { max-width: 1240px; }
.kunh-photo {
  width: 100%;
  min-height: 380px;
  border-radius: var(--kunh-radius);
  background:
    linear-gradient(135deg, rgba(62,124,89,.92), rgba(18,38,28,.92)),
    repeating-linear-gradient(45deg, #213F31 0 12px, #1A332A 12px 24px);
  box-shadow: 0 18px 40px rgba(18,38,28,.18);
}
.kunh-photo--about { min-height: 420px; }
.kunh-eyebrow {
  display: inline-block;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 700;
}

/* ===== 按钮 ===== */
.elementor-button {
  transition: all .25s ease;
  letter-spacing: .02em;
  border: 1px solid var(--kunh-dark);
}
.elementor-button:hover,
.elementor-button:focus {
  background-color: var(--kunh-green) !important;
  border-color: var(--kunh-green) !important;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(62,124,89,.28);
}

/* ===== 产品分类卡片（菲华伟业插件输出） ===== */
.cxb-b2b-product-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: center;
}
.cxb-b2b-columns-5 .cxb-b2b-category-card,
.cxb-b2b-product-categories .cxb-b2b-category-card {
  flex: 1 1 200px;
  max-width: 230px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--kunh-radius);
  overflow: hidden;
  transition: all .3s ease;
}
.cxb-b2b-category-card:hover {
  transform: translateY(-6px);
  border-color: var(--kunh-green-light);
  box-shadow: 0 16px 34px rgba(0,0,0,.35);
}
.cxb-b2b-category-card img { width: 100%; height: 170px; object-fit: cover; display: block; }
.cxb-b2b-category-card h3,
.cxb-b2b-category-card .cxb-b2b-category-name { color: #fff; font-weight: 700; font-size: 17px; }
.cxb-b2b-category-card .cxb-b2b-category-count { color: var(--kunh-green-light); font-size: 13px; }

/* ===== 数字统计 ===== */
.elementor-counter .elementor-counter-number-wrapper { font-size: 46px !important; line-height: 1.1; font-weight: 800; }
.elementor-counter .elementor-counter-title { color: var(--kunh-gray); font-weight: 500; }

/* ===== 图标列表 / 图标盒 ===== */
.elementor-icon-list-items .elementor-icon-list-text { font-weight: 500; }
.elementor-icon-box-title { margin-bottom: 8px; }
.elementor-icon-box-wrapper { border-radius: var(--kunh-radius); }

/* ===== 客户评价 ===== */
.elementor-testimonial-wrapper {
  background: #fff;
  border: 1px solid #E6EBE7;
  border-radius: var(--kunh-radius);
  padding: 26px 24px;
  height: 100%;
  box-shadow: 0 10px 26px rgba(18,38,28,.06);
}
.elementor-testimonial-content { font-style: normal; }
.elementor-testimonial-name { color: var(--kunh-dark); font-weight: 700; }
.elementor-testimonial-job { color: var(--kunh-green); font-size: 13px; }

/* ===== 页头 / 页脚 ===== */
.ehf-header .elementor-section,
.ehf-footer .elementor-section { width: 100%; }
.ehf-header .elementor-widget-nav-menu .elementor-nav-menu a { color: var(--kunh-dark); font-weight: 600; }
.ehf-header .elementor-widget-nav-menu .elementor-nav-menu a:hover { color: var(--kunh-green); }
.ehf-header .elementor-section { box-shadow: 0 2px 14px rgba(18,38,28,.08); }
.ehf-footer .elementor-icon-list-text,
.ehf-footer p { color: #B9C7BE; }
.ehf-footer .elementor-icon-list-icon { color: var(--kunh-green-light) !important; }

/* ===== 移动端 ===== */
@media (max-width: 767px) {
  .cxb-b2b-category-card { flex: 1 1 45%; max-width: 48%; }
  .kunh-photo { min-height: 240px; }
  .elementor-counter .elementor-counter-number-wrapper { font-size: 34px !important; }
}

/* ===== 1:1 replica (Montserrat/Roboto) ===== */
/* 字体：标题 Montserrat，正文 Roboto（与目标站一致） */
body, p, .elementor-widget-text-editor, .elementor-testimonial-content,
.elementor-icon-list-text, .cxb-b2b-category-title a, .cxb-b2b-product-card,
.cxb-b2b-category-card { font-family: "Roboto", Arial, sans-serif; }

h1, h2, h3, h4, h5, h6,
.elementor-heading-title,
.elementor-button,
.elementor-counter-number-wrapper,
.elementor-counter-title,
.elementor-testimonial-name,
.elementor-icon-box-title { font-family: "Montserrat", Arial, sans-serif; }

/* Hero 分类大卡片：图片在上、名称在下 */
.cxb-b2b-product-categories { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; align-items: stretch; }
.cxb-b2b-category-card {
  flex: 1 1 190px; max-width: 215px; min-width: 160px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 10px; overflow: hidden;
  display: flex; flex-direction: column; align-items: center;
  padding-bottom: 16px;
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}
.cxb-b2b-category-card:hover { transform: translateY(-6px); border-color: #2A7D2E; box-shadow: 0 16px 32px rgba(0,0,0,.38); }
.cxb-b2b-category-thumbnail img { width: 100%; height: 150px; object-fit: cover; display: block; }
.cxb-b2b-category-title { margin: 14px 10px 0; text-align: center; }
.cxb-b2b-category-title a { color: #fff; font-size: 16px; font-weight: 600; text-decoration: none; }
.cxb-b2b-category-title a:hover { color: #2A7D2E; }
.cxb-b2b-category-count, .cxb-b2b-category-description { color: #A9BEAE; font-size: 13px; text-align: center; }

/* 小标题（About Jinzhong / Our Strengths…） */
.elementor-widget-heading h4.elementor-heading-title { letter-spacing: .14em; text-transform: uppercase; }

/* 工厂区块内的图片 */
.elementor-widget-image img { border-radius: 8px; }

/* 页脚 */
.ehf-footer .elementor-widget-image img { max-width: 150px; }
.ehf-footer .elementor-counter-number-wrapper { color: #2A7D2E; }

@media (max-width: 767px) {
  .cxb-b2b-category-card { flex: 1 1 44%; max-width: 48%; }
  .cxb-b2b-category-thumbnail img { height: 120px; }
}

/* ===== language switcher boxed ===== */
.ehf-header .elementor-widget-shortcode .trp-shortcode-switcher__wrapper{background:#fff;border:1px solid #E3E7E4;border-radius:8px;padding:6px 10px;min-width:150px;box-shadow:none;}
.ehf-header .elementor-widget-shortcode .trp-shortcode-switcher__wrapper:hover{border-color:#0B3D2C;}
.ehf-header .elementor-widget-shortcode select{font-family:'Roboto',Arial,sans-serif;font-size:14px;color:#143852;background:transparent;border:0;outline:none;}
.ehf-header .elementor-widget-shortcode img.trp-flag-image{width:18px;height:14px;}

/* ===== header responsive stack ===== */
@media (max-width: 1024px){
  .ehf-header .elementor-col-20{width:40% !important;}
  .ehf-header .elementor-col-52{width:60% !important;}
  .ehf-header .elementor-col-14{width:50% !important;}
  .ehf-header .elementor-widget-shortcode .trp-shortcode-switcher__wrapper{margin:0 auto;}
}
@media (max-width: 767px){
  .ehf-header .elementor-col-20,
  .ehf-header .elementor-col-52,
  .ehf-header .elementor-col-14{width:100% !important;}
}

/* ===== header responsive stack v2 ===== */
@media (max-width: 1024px){
  .ehf-header .elementor-widget-shortcode{text-align:center;}
  .ehf-header .elementor-widget-shortcode .trp-shortcode-switcher__wrapper{display:inline-block;}
}

/* ===== 顶部信息条样式 ===== */
.k-topbar{background:#FCFAF7;}
.k-topbar__inner{display:flex;margin:0 68px;}
.k-topbar__left{flex:0 0 80%;background:#0B3D2C;border-radius:0 0 0 27.5px;padding:12px 20px 12px 50px;display:flex;align-items:center;}
.k-topbar__right{flex:0 0 20%;background:#0B3D2C;border-radius:0 0 27.5px 0;padding:12px 50px 12px 0;display:flex;align-items:center;justify-content:flex-end;}
.k-topbar__text{color:#FFFFFF;font-family:'Montserrat',Arial,sans-serif;font-size:15px;font-weight:400;line-height:1.4;margin:0;}
.k-topbar__right a{color:#FFFFFF;display:inline-flex;align-items:center;justify-content:center;margin:8px;}
.k-topbar__right a:hover{color:#2A7D2E;}
.k-topbar__right svg{width:16px;height:16px;fill:currentColor;}
@media(max-width:1024px){.k-topbar{display:none;}}
@media(max-width:1280px){.k-topbar__inner{margin:0 20px;} .k-topbar__left{padding-left:24px;} .k-topbar__right{padding-right:24px;}}
