/* Product and service pages, based on the site's existing visual system. */
.product-overview { padding-block: clamp(48px,7vw,96px); }
.product-intro { max-width: 760px; margin: 0 auto 36px; text-align: center; }
.product-intro .eyebrow,.product-section-intro .eyebrow,.product-overview-index { color: var(--green); font-size: .78rem; font-weight: 800; letter-spacing: .15em; }
.product-intro h2,.product-section-intro h2 { margin: 9px 0 13px; font-size: clamp(1.7rem,3.2vw,2.7rem); }
.product-intro p,.product-section-intro p { color: var(--muted); }
.product-overview-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.product-overview-card { min-width: 0; overflow: hidden; border: 1px solid #ffffffa8; border-radius: 18px; background: #ffffffbd; box-shadow: 0 14px 40px #163b3330; backdrop-filter: blur(16px); transition: transform .3s,box-shadow .3s; }
.product-overview-card:hover,.product-overview-card:focus-within { transform: translateY(-7px); box-shadow: 0 20px 48px #163b3340; }
.product-overview-image { display: block; overflow: hidden; background: #e7efeb; }
.product-overview-image img { width: 100%; aspect-ratio: 1.32; object-fit: cover; transition: transform .6s; }
.product-overview-image-contain img { object-fit: contain; }
.product-overview-card:hover img,.product-overview-card:focus-within img { transform: scale(1.055); }
.product-overview-copy { padding: 24px 27px 28px; }
.product-overview-copy h3 { margin: 12px 0 10px; font-size: clamp(1.35rem,2vw,1.7rem); }
.product-overview-copy p { min-height: 3.4em; color: var(--muted); font-size: .94rem; }
.product-overview-link { display: inline-flex; align-items: center; gap: 12px; margin-top: 24px; padding-bottom: 3px; border-bottom: 1px solid var(--green); color: var(--green); font-weight: 700; }
.product-overview-link span { transition: transform .25s; }
.product-overview-link:hover span,.product-overview-link:focus-visible span { transform: translate(3px,-3px); }
.product-section-intro { margin: 30px 0 25px; padding-left: 22px; border-left: 4px solid var(--green); }
.product-section-intro h2 { margin-bottom: 6px; }
.product-list { gap: 25px; }
.product-list .catalog-item { position: relative; border: 1px solid #ffffffad; border-radius: 18px; background: #ffffffe0; box-shadow: 0 12px 38px #163b3322; backdrop-filter: blur(14px); transition: box-shadow .25s,transform .25s; scroll-margin-top: 110px; }
.product-list .catalog-item:hover { box-shadow: 0 18px 48px #163b3330; transform: translateY(-3px); }
.product-list .catalog-head { grid-template-columns: minmax(220px,.85fr) minmax(0,1.4fr); align-items: center; }
.product-list .catalog-image { display: block; overflow: hidden; border-radius: 12px; background: #f1f5f2; }
.product-list .catalog-image img { width: 100%; min-height: 230px; max-height: 380px; object-fit: contain; transition: transform .45s; }
.product-list .catalog-image:hover img,.product-list .catalog-image:focus-visible img { transform: scale(1.045); }
.product-list .catalog-copy { min-width: 0; }
.product-list .catalog-item h2 { margin-bottom: 20px; font-size: clamp(1.35rem,2.4vw,1.9rem); }
.product-list .parameters { gap: 9px; }
.product-list .parameters > div { background: #eff5f1; border: 1px solid #dce9e1; border-radius: 11px; }
.product-list .catalog-intro { margin: 0 0 16px; color: var(--muted, #5f7a70); font-size: .96rem; line-height: 1.75; }
.product-list .catalog-detail { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 23px; padding-top: 15px; border-top: 1px solid #dce9e1; color: var(--green, #0f6e56); font-weight: 700; }
.product-list .catalog-detail:hover { text-decoration: underline; }
.product-list .catalog-disclosure { margin-top: 23px; }
.product-list .catalog-disclosure summary { position: relative; display: inline-block; padding: 8px 35px 8px 0; list-style: none; border-bottom: 1px solid currentColor; }
.product-list .catalog-disclosure summary::-webkit-details-marker { display: none; }
.product-list .catalog-disclosure summary::after { content: '+'; position: absolute; right: 9px; top: 4px; font-size: 1.35rem; font-weight: 400; }
.product-list .catalog-disclosure[open] summary::after { content: '−'; }
.product-list .catalog-disclosure .rcicn-article-body { padding-top: 10px; }
.materials-list .catalog-head { align-items: start; }
.materials-list .catalog-image img { max-height: 340px; }
.service-list { grid-template-columns: repeat(3,minmax(0,1fr)); align-items: stretch; }
.service-list .service-detail { display: flex; flex-direction: column; padding: 28px; }
.service-detail-top { display: flex; align-items: center; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.service-list .service-detail h2 { flex: 1; margin: 0; font-size: clamp(1.2rem,2vw,1.6rem); }
.service-detail-symbol { display: grid; flex: none; place-items: center; width: 47px; height: 47px; border-radius: 50%; background: var(--green); color: #fff; }
.service-detail-symbol .site-icon { width: 23px; height: 23px; }
.service-detail-arrow { display: grid; place-items: center; width: 35px; height: 35px; border: 1px solid var(--line); border-radius: 50%; color: var(--green); transition: background .25s,color .25s; }
.service-detail-arrow:hover,.service-detail-arrow:focus-visible { background: var(--green); color: #fff; }
.service-list .rcicn-article-body { margin-top: 18px; }
.service-list .rcicn-article-body h2 { margin-top: 16px; font-size: 1.1rem; }

/* 脱酸服务：常显导语 + 服务速览要点，取代原来的全文 <details> 展开。
   三张卡等高，底部「查看服务详情」统一对齐。 */
.service-lead { margin: 18px 0 20px; color: var(--muted, #5f7a70); font-size: .94rem; line-height: 1.8; }
.service-facts { display: grid; gap: 9px; margin: 0 0 22px; }
.service-facts > div { padding: 10px 13px; border: 1px solid #dce9e1; border-radius: 11px; background: #eff5f1; }
.service-facts dt { margin: 0 0 4px; color: var(--green, #0f6e56); font-size: .78rem; font-weight: 800; letter-spacing: .03em; }
.service-facts dd { margin: 0; color: #40554f; font-size: .88rem; line-height: 1.65; }
.service-list .service-detail .catalog-detail { margin-top: auto; }
@media (max-width: 900px) { .product-overview-grid { gap: 13px; } .product-overview-copy { padding: 19px; } .service-list { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .product-overview-grid { grid-template-columns: 1fr; } .product-overview-image img { aspect-ratio: 1.75; } .product-overview-copy p { min-height: 0; } .product-list .catalog-head { grid-template-columns: 1fr; } .product-list .catalog-image img { min-height: 0; max-height: 280px; } .product-list .parameters { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 420px) { .product-list .parameters { grid-template-columns: 1fr; } .service-list .service-detail { padding: 20px; } }
@media (prefers-reduced-motion: reduce) { .product-overview-card,.product-overview-image img,.product-list .catalog-item,.product-list .catalog-image img,.service-detail-arrow { transition: none; } }

/* 脱酸液：同一产品、多种容量的单页版式。 */
.material-hero, .material-block, .material-cta { border: 1px solid #ffffffad; border-radius: 18px; background: #ffffffe0; box-shadow: 0 12px 38px #163b3322; backdrop-filter: blur(14px); }
.material-hero { display: grid; grid-template-columns: minmax(260px,.9fr) minmax(0,1.1fr); gap: clamp(24px,4vw,52px); align-items: center; padding: clamp(22px,3.5vw,44px); }
.material-hero-media { display: grid; place-items: center; min-height: 320px; padding: 18px; border-radius: 14px; background: #f1f5f2; }
.material-hero-media img { max-width: 100%; max-height: 380px; object-fit: contain; }
.material-hero-copy h2 { margin: 10px 0 6px; font-size: clamp(1.7rem,3vw,2.5rem); }
.material-hero-sub { margin: 0 0 22px; color: var(--muted); font-size: 1.02rem; }
.material-key-points { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.material-key-points li { padding: 12px 14px; border: 1px solid #dce9e1; border-radius: 11px; background: #eff5f1; }
.material-key-points strong { display: block; margin-bottom: 4px; color: var(--green); }
.material-key-points span { color: var(--muted); font-size: .87rem; line-height: 1.5; }
.material-spec-section { margin-top: clamp(34px,5vw,58px); }
.material-section-head { margin-bottom: 20px; padding-left: 22px; border-left: 4px solid var(--green); }
.material-section-head h2 { margin: 6px 0; font-size: clamp(1.5rem,2.6vw,2.1rem); }
.material-spec-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.material-spec { display: flex; flex-direction: column; align-items: center; gap: 8px; overflow: hidden; padding: 22px 18px; border: 1px solid #ffffffad; border-radius: 18px; background: #ffffffe0; box-shadow: 0 12px 38px #163b3322; backdrop-filter: blur(14px); text-align: center; }
.material-spec-image { display: grid; place-items: center; width: 100%; height: 180px; border-radius: 12px; background: #f1f5f2; }
.material-spec-image img { max-width: 100%; max-height: 160px; object-fit: contain; }
.material-spec-size { color: var(--green); font-size: 1.35rem; }
.material-spec-name { color: var(--muted); font-size: .88rem; }

.material-block { margin-top: clamp(30px,4vw,50px); padding: clamp(22px,3.5vw,42px); }
.material-block-head { margin-bottom: 24px; }
.material-block-head h2 { margin: 8px 0 10px; font-size: clamp(1.4rem,2.4vw,2rem); }
.material-lead { max-width: 78ch; color: var(--muted); line-height: 1.8; }
.material-facts { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; margin: 0; }
.material-fact { padding: 16px 18px; border: 1px solid #dce9e1; border-radius: 12px; background: #eff5f1; }
.material-fact dt { margin-bottom: 7px; color: var(--green); font-weight: 700; }
.material-fact dd { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.7; }
.material-origin { margin-top: 24px; padding: 18px 22px; border-left: 3px solid var(--green); border-radius: 0 12px 12px 0; background: #f1f7f3; }
.material-origin h3 { margin: 0 0 10px; color: var(--green); font-size: 1.02rem; }
.material-origin p { margin: 0 0 8px; color: var(--muted); font-size: .93rem; line-height: 1.85; }
.material-origin p:last-child { margin-bottom: 0; }
.material-evidence { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr); gap: 22px; }
.material-evidence h3 { margin: 0 0 12px; color: var(--green); font-size: 1.08rem; }
.material-scope p { color: var(--muted); line-height: 1.85; }
.material-results ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.material-results li { padding: 12px 15px; border-left: 3px solid var(--green); border-radius: 0 10px 10px 0; background: #eff5f1; font-size: .93rem; line-height: 1.6; }
.material-safety { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); }
.material-safety summary { color: var(--green); font-weight: 700; cursor: pointer; }
.material-safety ol { margin: 16px 0 0; padding-left: 1.4em; color: var(--muted); font-size: .92rem; line-height: 1.85; }
.material-safety li { margin-bottom: 10px; }

.material-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin: clamp(30px,4vw,50px) 0 10px; padding: clamp(22px,3vw,36px); }
.material-cta h2 { margin: 0 0 8px; font-size: clamp(1.25rem,2vw,1.6rem); }
.material-cta p { margin: 0; color: var(--muted); }
.material-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
/* 底部 CTA 按钮：与首页主按钮、导航当前栏目统一的橙色体系（主按钮实心 / 次要按钮描边） */
.material-btn { display: inline-block; padding: 11px 22px; border: 1px solid #e0781a; border-radius: 999px; background: #e0781a; color: #fff; font-size: .93rem; font-weight: 700; text-decoration: none; transition: background-color .18s ease, border-color .18s ease, color .18s ease; }
.material-btn.ghost { border-color: #e0781a; background: transparent; color: #e0781a; }
.material-btn:hover,
.material-btn:focus-visible { background: #b45a0c; border-color: #b45a0c; color: #fff; opacity: 1; outline-color: #b45a0c; }
.material-btn:active { background: #8a4307; border-color: #8a4307; color: #fff; }
@media (prefers-reduced-motion: reduce) {
  .material-btn { transition: none; }
}

/* 脱酸服务：单页完整介绍（与材料页同款版式），三类服务全部在本页展开，不再跳转下级详情页。 */
.service-jump { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; margin: 0 0 clamp(30px,4vw,50px); }
.service-jump a { display: flex; flex-direction: column; gap: 5px; padding: 16px 18px; border: 1px solid #dce9e1; border-radius: 14px; background: #eff5f1; text-decoration: none; transition: transform .2s,box-shadow .2s; }
.service-jump a:hover,.service-jump a:focus-visible { transform: translateY(-3px); box-shadow: 0 10px 26px #163b3320; }
.service-jump .site-icon { width: 23px; height: 23px; margin-bottom: 3px; color: var(--green); }
.service-jump strong { color: #2f4a42; font-size: 1.02rem; }
.service-jump span { color: var(--muted); font-size: .85rem; }
.service-block { scroll-margin-top: 100px; }
.service-methods { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.service-methods h3 { margin: 0 0 14px; color: var(--green); font-size: 1.08rem; }
.service-method-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.service-method { padding: 16px 18px; border: 1px solid #dce9e1; border-radius: 12px; background: #f7faf8; }
.service-method strong { display: block; margin-bottom: 8px; color: var(--green); }
.service-method p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.8; }
.service-note { margin-top: 22px; }

@media (max-width: 900px) {
  .material-hero { grid-template-columns: 1fr; }
  .material-hero-media { min-height: 0; }
  .material-spec-grid { gap: 12px; }
  .material-spec-image { height: 140px; }
  .material-evidence { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .service-jump, .service-method-grid { grid-template-columns: 1fr; }
  .material-key-points, .material-facts { grid-template-columns: 1fr; }
  .material-spec-grid { grid-template-columns: 1fr; }
  .material-spec-image { height: 150px; }
  .material-spec { padding: 16px; }
  .material-cta { flex-direction: column; align-items: flex-start; }
}

/* 「认识 Bookkeeper」标题：keeper 取产品图 logo 中相同位置的黄绿色 */
.brand-keeper { color: #677D32; }

/* PRODUCTS-SPACING: first inner-page section has its top padding reduced by site.css; */
/* keep the bottom padding equal so the products overview is vertically symmetric. */
main .page-heading + .product-overview { padding-block-end: clamp(24px,3vw,44px); }

/* PRODUCTS-LEAD: align the products-page column intro lead with the sub-category page-heading p. */
/* product.css only loads on typeid 78/79/80/81, and only 78 renders .page-heading-lead. */
.page-heading-text .page-heading-lead {
  max-width: 760px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: inherit;
  line-height: inherit;
}

/* PRODUCTS-HEADING-ALIGN: align product list-page heading offsets with cases/insights so switching pages does not jump. Loaded only on id 78-81. */
/* 1) Left column top-aligned: breadcrumb no longer drifts with vertical centering when the right column differs in height. */
main .page-heading .page-heading-text-main,
main .page-heading .page-heading-grid > div:first-child { align-self: start; }
/* 2) products right-hand column intro: same top offset (+14px) as cases/insights (their right box already sits at top 178). */
main .page-heading-text-grid .page-heading-text-aside { margin-top: 14px; }
/* 3) Sub-category top image: match the column-intro box position & size (PC only; keep mobile untouched). */
@media (min-width: 992px) {
  .page-heading-grid { grid-template-columns: minmax(0,1.12fr) minmax(0,.88fr); }
  .page-heading-grid .page-visual { margin-top: 14px; }
  .page-heading-grid .page-visual img { aspect-ratio: 496 / 266; height: auto; max-height: none; }
}
