
/* 1. 全局图片基础自适应 */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 2. 强制覆盖WP自带wp-caption外层固定width行内样式 */
.wp-caption {
    max-width: 100% !important;
    width: auto !important;
}
/* 容器内图片二次限制 */
.wp-caption img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
}
/* 图注文字适配居中 */
.wp-caption-text {
    margin-top: 8px;
    font-size: 14px;
    color: #666;
    text-align: center;
}

/* 3. 你正文区块专属美化 */
.catalog-content .wp-caption {
    margin: 20px auto;
}
.catalog-content img {
    border-radius: 8px;
}

/* 针对你正文区块额外居中美化，可选 */
.catalog-content img {
    margin: 20px auto;
    border-radius: 8px;
}

/* ======================
面包屑导航 修复宽度溢出问题
====================== */

.page-top-bar{
  width:100%;
  background:#f6f8fb;
  border-bottom:1px solid #e5e7eb;
  padding:0;
}

.page-top-inner{
  max-width:1400px;
  margin:0 auto;
  padding:14px 20px;
}

/* ✔ 关键修改：支持 ol/li */
.breadcrumb{
  font-size:13px;
  color:#555;
  display:flex;
  gap:8px;
  align-items:center;

  /* 新增 */
  list-style:none;
  margin:0;
  padding:0;
}

.breadcrumb a{
  color:#555;
  text-decoration:none;
}

.breadcrumb a:hover{
  color:#15234d;
}

/* ✔ 关键修改：替代你原来的 span 分隔 */
.breadcrumb li{
  display:flex;
  align-items:center;
  color:#555;
}

/* 自动分隔符（替代 / span 写法） */
.breadcrumb li + li:before{
  content:"/";
  margin:0 6px;
  color:#999;
}

/* 当前页样式 */
.breadcrumb li:last-child{
  color:#0f172a;
  font-weight:500;
}



.catalog-hero{
background:#f9fafb;
border-bottom:1px solid #eef2f7;
overflow:hidden;
}

/* layout */
.hero-container{
max-width:1400px;
margin:auto;
padding:56px 20px;
display:grid;
grid-template-columns:1.2fr 1fr;
gap:60px;
align-items:center;
}

/* heading */
.catalog-h1{
font-size:36px;
line-height:1.1;
font-weight:700;
color:#222;
margin:0 0 18px;
}

.catalog-h1 .highlight{
color:#2F855A;;
}

.catalog-subtitle{
font-size:16px;
line-height:1.75;
color:#555;
margin-bottom:30px;
max-width:620px;
}

/* list grid */
.hero-points{
display:grid;
grid-template-columns:repeat(2,1fr);
gap:14px;
padding:0;
margin:0 0 36px;
list-style:none;
}

/* card */
.hero-points li{
display:flex;
align-items:center;
gap:14px;
padding:16px;
background:#fff;
border:1px solid #eef2f7;
border-radius:14px;
box-shadow:0 1px 3px rgba(0,0,0,.04);
transition:all .25s ease;
position:relative;
}

/* hover upgrade */
.hero-points li:hover{
transform:translateY(-3px);
border-color:rgba(56,161,105,.35);
box-shadow:0 12px 28px rgba(0,0,0,.06);
}

/* check icon */
.point-icon{
width:42px;
height:42px;
background:#edf9f2;
border-radius:50%;
display:flex;
align-items:center;
justify-content:center;
flex-shrink:0;
font-size:16px;
font-weight:700;
color:#2F855A;;
}

/* text */
.point-title{
font-size:15px;
font-weight:600;
color:#222;
}

/* CTA按钮区域 */
.hero-cta {
    margin-top: 24px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn-quote,
.btn-whatsapp{
padding:14px 28px;
border-radius:10px;
font-size:15px;
font-weight:600;
text-decoration:none;
transition:.2s ease;
}

/* primary */
.btn-quote{
background:#2F855A;;
color:#fff;
box-shadow:0 6px 16px rgba(56,161,105,.25);
}

.btn-quote:hover{
background:#1C4532;
transform:translateY(-1px);
}



.btn-whatsapp {
    background: transparent;
    border:1px solid #222;
    color:#222;
    padding:14px 24px;
    border-radius:6px;
    text-decoration:none;
    transition:0.25s;
}
.btn-whatsapp:hover{
    border-color:#2F855A;
    color:#2F855A;
}




.hero-buttons {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}




/* image area */
.hero-img-wrap{
position:relative;
display:flex;
justify-content:center;
padding:18px;
}

/* soft background glow */
.hero-img-wrap:before{
content:"";
position:absolute;
inset:0;
border-radius:28px;
background:radial-gradient(circle at center,#e8f5ee 0%,transparent 70%);
}

/* image */
.hero-img-wrap img{
position:relative;
z-index:2;
width:100%;
max-width:520px;
border-radius:20px;
box-shadow:0 24px 60px rgba(0,0,0,.08);
}

/* responsive */
@media(max-width:1024px){

.hero-container{
grid-template-columns:1fr;
gap:40px;
}

.catalog-h1{
font-size:32px;
}

.hero-points{
grid-template-columns:1fr 1fr;
}

.hero-img-wrap img{
max-width:460px;
}
}

@media(max-width:640px){

.catalog-h1{
font-size:32px;
}

 .hero-cta {
        justify-content: center;
    }

.hero-points{
grid-template-columns:1fr;
}



.hero-img-wrap img{
max-width:100%;
border-radius:14px;
}
}


/* ====================== Anchor Nav ====================== */

.anchor-nav-wrap{
    padding:18px 0 34px;
}

.anchor-nav{

    display:flex;

    justify-content:center;

    gap:12px;

    max-width:760px;

    margin:auto;

}

.anchor-nav .nav-item{

    display:flex;

    align-items:center;

    justify-content:center;

    padding:12px 26px;

    min-width:160px;

    height:48px;

    border-radius:999px;

    background:#fff;

   border:1px solid #334155;

    color:#334155;

    font-size:14px;

    font-weight:600;

    text-decoration:none;

    transition:.18s ease;

}

.anchor-nav .nav-item:hover{

    border-color:#2F855A;

    color:#2F855A;

    transform:translateY(-1px);

}

.anchor-nav .nav-item:active{

    transform:none;

}

/* 不要点击后变蓝 */
.anchor-nav .nav-item:focus,
.anchor-nav .nav-item:visited{

    color:#334155;

}

/* 移动端 */

@media(max-width:900px){

.anchor-nav{

flex-wrap:wrap;

gap:10px;

}

.anchor-nav .nav-item{

min-width:unset;

flex:1;

padding:12px 18px;

}

}

@media(max-width:520px){

.anchor-nav{

flex-direction:column;

max-width:none;

}

.anchor-nav .nav-item{

width:100%;

}

}

/* ======================
PRODUCT SECTION
====================== */

.product-section{

padding:28px 0 72px;

}

.catalog-container{

max-width:1200px;

margin:0 auto;

padding:0 24px;

}


/* ---------- 标题 ---------- */

.product-head{

display:flex;

justify-content:space-between;

align-items:flex-end;

margin-bottom:26px;

}

.product-head h2{

font-size:30px;

font-weight:700;

line-height:1.2;

color:#111827;

margin:0;

}

.view-all-link{

font-size:14px;

font-weight:600;

text-decoration:none;

color:#2F855A;

}

.view-all-link:hover{

opacity:.75;

}


/* ---------- GRID ---------- */

.product-grid{

display:grid;

grid-template-columns:

repeat(4,minmax(0,1fr));

gap:22px;

}


/* ---------- CARD ---------- */

.product-card{

background:#fff;

border:1px solid #edf2f7;

border-radius:16px;

overflow:hidden;

transition:.18s ease;

}

.product-card:hover{

border-color:#d7e6de;

transform:translateY(-2px);

}


.product-card a{

display:block;

text-decoration:none;

}


/* ---------- IMAGE ---------- */

.product-card img{

width:100%;

aspect-ratio:1/1;

object-fit:cover;

display:block;

background:#f8fafc;

}


/* ---------- CONTENT ---------- */

.prod-info{

padding:18px 18px 20px;

}

.prod-info h3{

font-size:15px;

font-weight:600;

line-height:1.5;

color:#111827;

margin:0;

display:-webkit-box;

-webkit-line-clamp:2;

-webkit-box-orient:vertical;

overflow:hidden;

}

.prod-size{

margin-top:8px;

font-size:13px;

color:#64748b;

}


/* ---------- MOBILE ---------- */

@media(max-width:1024px){

.product-grid{

grid-template-columns:

repeat(3,1fr);

}

}

@media(max-width:768px){

.product-grid{

grid-template-columns:

repeat(2,1fr);

gap:16px;

}

.product-head{

margin-bottom:20px;

}

.product-head h2{

font-size:24px;

}

}

@media(max-width:520px){

.product-grid{

grid-template-columns:1fr;

}

.product-head{

display:block;

}

.view-all-link{

display:none;

}

}

/* ---------- catalog-guide ---------- */
.catalog-guide{
    padding: 90px 0;
    background: #f8fafc;
}
.guide-wrap{
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 40% 60%;
    gap: 64px;
    align-items: center;
}
/* 左侧工厂图 */
.guide-left img{
    width: 100%;
    display: block;
    border-radius: 18px;
    object-fit: cover;
}
/* 右侧标题+绿色短分割线 */
.guide-title{
    font-size: 32px;
    line-height: 1.2;
    margin: 0 0 20px;
    color: #222;
    position: relative;
    padding-bottom: 16px;
}
.guide-title::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background: #2F855A;
    border-radius: 2px;
}
/* 描述文本 */
.guide-subtitle{
    font-size: 18px;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 32px;
}
/* 两列勾选列表 */
.guide-list{
    padding: 0;
    margin: 0 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 20px;
}
.guide-list li{
    list-style: none;
    padding-left: 32px;
    position: relative;
    font-size: 16px;
    color: #1f2937;
    margin-bottom: 0;
}
/* 绿色对勾替代圆点 */
.guide-list li:before{
    content: "✓";
    width: 22px;
    height: 22px;
    background: transparent;
    color: #2F855A;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
    font-size: 20px;
    line-height: 22px;
}
/* 底部绿色按钮 */
.guide-btn{
    display: inline-flex;
    align-items: center;
    padding: 14px 32px;
    background: #2F855A;
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 16px;
    transition: .2s ease;
}
.guide-btn:hover{
    background: #1C4532;
    transform: translateY(-2px);
}
/* 平板/手机响应式 */
@media(max-width: 900px){
    .guide-wrap{
        grid-template-columns: 1fr;
        gap: 36px;
        padding: 0 20px;
    }
    .guide-title{
        font-size: 32px;
    }
    /* 手机列表改为单列 */
    .guide-list{
        grid-template-columns: 1fr;
    }
}
@media(max-width: 600px){
    .catalog-guide{
        padding: 60px 0;
    }
    .guide-title{
        font-size: 28px;
    }
    .guide-subtitle{
        font-size: 16px;
    }
}


/* ====================== FAQ 两栏折叠区块 动态适配样式 ====================== */
.faq-wrap {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 3rem 1rem;
    background: #f7f7f7;
}
/* 左右两栏布局 */
.faq-grid {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 3rem;
    align-items: start;
}
/* 左侧标题栏 */
.faq-left h2 {
    font-size: 36px;
    margin: 0 0 0.4rem;
    color: #222;
}
.faq-left p {
    color: #555;
    font-size: 16px;
}
/* FAQ 单项容器 */
.faq-item {
    background: #fff;
    border: 1px solid #e0eed8;
    margin-bottom: 0.6rem;
    border-radius: 4px;
    transition: border-color 0.2s ease;
}
/* 展开后边框变色 */
.faq-item[open] {
    border-color: #2F855A;
}
/* 问题标题summary 基础布局 */
.faq-item summary {
    list-style: none;
    cursor: pointer;
    position: relative;
    padding: 16px 18px;
    padding-right: 40px;
    font-size: 17px;
    color: #333;
    transition: color 0.2s ease;
    font-weight: 600;
}
/* 展开后文字变品牌绿 */
.faq-item[open] summary {
    color: #2F855A;
}
/* 隐藏浏览器默认三角箭头 */
.faq-item summary::-webkit-details-marker {
    display: none;
}
/* 自定义下拉箭头SVG */
.faq-item summary::after {
    content: "";
    position: absolute;
    right: 18px;
    top: 50%;
    width: 14px;
    height: 8px;
    transform: translateY(-50%);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23111111' stroke-width='1.5' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    transition: transform 0.25s ease, stroke 0.2s;
}
/* 展开时箭头旋转+变绿色 */
.faq-item[open] summary::after {
    transform: translateY(-50%) rotate(180deg);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%2322c55e' stroke-width='1.5' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4'/%3E%3C/svg%3E");
}
/* 回答内容区域 */
.faq-content {
    padding: 0 18px 18px;
    color: #444;
    font-size: 15px;
    line-height: 1.6;
}
/* 移动端自动切换单栏、标题居中 */
@media (max-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .faq-left {
        text-align: center;
    }
    .faq-wrap {
        margin: 2rem auto;
        padding: 2rem 1rem;
    }
}




