/* Tagoola pages CSS — bundle: base（2026-11-25 阶段 4 拆分） */

/* ==========================================================================
   3. 通用基础（.pg）—— 产品系列页 / Support / Brand 共用
   ========================================================================== */

/* ---------- 基础排版、Hero、Intro ---------- */
.pg{font-family:var(--tg-font-body);background:#fff;color:#111;margin:0;width:100%}
.pg *{box-sizing:border-box}
.pg p:empty{display:none}
.pg .w{max-width:1240px;margin:0 auto;padding:0 32px}
.pg .w-full,.inno .w-full,.ov .w-full{position:relative;z-index:1;width:100%}
.pg .hero{position:relative;min-height:560px;display:flex;align-items:center;background:#0d0d0d;overflow:hidden}
.pg .hero img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:brightness(0.85)}
.pg .hero .in{position:relative;z-index:1;padding:80px 32px;max-width:760px}
.pg .eyebrow{font-family:var(--tg-font-heading);font-size:16px;font-weight:600;letter-spacing:.22em;text-transform:uppercase;color:#fff;opacity:.85;margin:0}
.pg h1{font-family:var(--tg-font-heading);font-weight:700;font-size:clamp(38px,6.2vw,76px);line-height:.96;letter-spacing:-.01em;text-transform:uppercase;color:#fff;margin:12px 0 0;max-width:640px}
.pg .intro{}
.pg .lead{font-family:var(--tg-font-heading);font-weight:500;font-size:clamp(21px,3vw,34px);line-height:1.28;letter-spacing:-.01em;max-width:900px;margin:0 0 56px}
.pg .small{font-size:16px;line-height:1.7;color:#666;max-width:430px;margin:0}
.pg .link{font-family:var(--tg-font-heading);font-size:16px;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:inherit;text-decoration:none}
/* ---------- 其他 ---------- */
@media(min-width:900px){.inno .cards-2{grid-template-columns:1fr 1fr;gap:24px}.inno .cards-3{grid-template-columns:repeat(3,1fr);gap:28px}.inno .hero{min-height:720px}.inno .hero .inner{padding:0 0 96px 0}.inno .cta{padding:96px 0 64px}}
@media(min-width:900px){.pg .hero{min-height:680px}.pg .intro{}}
/* ==========================================================================
   2026-11-24 排版统一（阿正要求）
   1) 营销页模板全宽：去掉 WoodMart 容器左右留白
   2) 最小字号 16px（上面已全量替换）
   3) 区块标题 H2 统一 4rem / 64px
   ========================================================================== */
.tagoola-tpl{width:100%;max-width:100%;margin:0;padding:0;background:#fff}
.tagoola-tpl__body{width:100%;margin:0;padding:0}
.tagoola-tpl .entry-content{max-width:none;margin:0;padding:0}
.inno h2,.ov h2,.pg h2{font-size:4rem !important;line-height:1.1}
@media (max-width:1024px){
  .inno h2,.ov h2,.pg h2{font-size:2.75rem !important}
}
@media (max-width:600px){
  .inno h2,.ov h2,.pg h2{font-size:2rem !important}
}
/* 模板页：WoodMart 外层 main.container 的 15px 左右内边距清零（仅 template 页） */
.tagoola-tpl-page .wd-page-content .wd-content-layout.container,
.tagoola-tpl-page .wd-page-content .content-layout-wrapper.container{padding-left:0 !important;padding-right:0 !important;max-width:100% !important;width:100% !important}
.tagoola-tpl-page .wd-page-content .wd-content-area.site-content{padding:0 !important}
/* ==========================================================================
   2026-11-24 v1.15.0（阿正要求）
   1) Support 珊瑚色三栏标题降字号（其余 H2 保持 4rem）
   2) 桌面端居中标题区块上下 padding ≥150px
   ========================================================================== */
@media (min-width: 900px) {
  /* 1) Support 珊瑚带标题：64px -> 2rem，避免三列挤压 */
  .pg .sp-coral h2 { font-size: 2rem !important; line-height: 1.3; }

  /* 2) 居中标题区块：上下各 150px */
  .ov .ov-head {   }
  .pg .sec-head { padding-top: 150px; padding-bottom: 150px; margin-bottom: 0; }
  .pg .sp-topics {   }
  .pg .sp-dark {   }
  .pg .sp-service {   }
}
.pg .faq-item{max-width:900px;margin:0 auto 28px;border-bottom:1px solid #e6e1d8;padding-bottom:24px}
.pg .faq-item h3{font-family:var(--tg-font-heading);font-size:20px;font-weight:700;line-height:1.35;margin:0 0 10px;text-transform:none}
.pg .faq-item p{font-size:16px;line-height:1.75;color:#4a4a4a;margin:0}
.tagoola-page-h1-wrap{max-width:1240px;margin:0 auto;padding:40px 32px 0}
.tagoola-page-h1{font-family:var(--tg-font-heading);font-size:clamp(32px,4vw,56px);line-height:1.1;text-transform:uppercase;font-weight:700;margin:0 0 24px;padding:0 0 8px}
.pg .btn-ghost{display:inline-block;padding:14px 24px;border:1px solid rgba(255,255,255,.7);color:#fff;font-family:var(--tg-font-heading);font-size:16px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;text-decoration:none}
/* v1.22.1：系列页 Hero 也整屏（100vh / 100svh） */
@media (min-width:900px){
  .pg .hero{height:100vh;min-height:640px}
}
@supports (height:100svh){
  @media (min-width:900px){ .pg .hero{height:100svh} }
}
/* v1.22.2：Innovation / Brand / Support 的 Hero 也整屏 */
@media (min-width:900px){
  .inno .hero,.inno .pf-hero,.ov .ov-hero{height:100vh;min-height:640px}
}
@supports (height:100svh){
  @media (min-width:900px){ .inno .hero,.inno .pf-hero,.ov .ov-hero{height:100svh} }
}
/* v1.22.3：所有整屏 Hero 的文字统一在左下角（与 Innovation 技术页一致） */
@media (min-width:900px){
  .pg .hero,.inno .pf-hero,.ov .ov-hero{align-items:flex-end}
  .pg .hero .in,.ov .ov-hero .in,.inno .pf-hero .hin{padding:0 0 96px 0;text-align:left;max-width:760px}
  .hm-hero__in{padding:90px 32px 96px}
}
/* v1.22.4：Hero 容器宽度兜底（修复 Support 页 .w 被 flex 压缩导致文字居中） */
.pg .hero .w,.inno .hero .w,.inno .pf-hero .w,.ov .ov-hero .w{width:100%}
/* ==========================================================================
   v1.22.5 按钮/链接 hover 与 focus（WoodMart 全局 a:hover 会把按钮文字刷成黑色）
   ========================================================================== */
.hm-btn,.hm-btn--ghost,.pg .btn-ghost{transition:background-color .2s ease,color .2s ease,border-color .2s ease}
.hm-btn--ghost:hover,.hm-btn--ghost:focus-visible,.pg .btn-ghost:hover,.pg .btn-ghost:focus-visible{background:#fff !important;color:var(--tg-ink) !important;border-color:#fff !important}
.hm-btn:focus-visible,.hm-btn--ghost:focus-visible,.pg .btn-ghost:focus-visible{outline:2px solid var(--tg-coral);outline-offset:3px}
.hm-link:hover,.hm-link:focus-visible,.pg .link:hover,.pg .link:focus-visible,.hm-card h3 a:hover{color:var(--tg-coral) !important;border-color:var(--tg-coral) !important}
.hm-link--light:hover,.hm-link--light:focus-visible,.hm-support__links a:hover,.doc-cta a:hover{color:var(--tg-coral) !important;border-color:var(--tg-coral) !important}
.hm-link:focus-visible,.pg .link:focus-visible{outline:2px solid var(--tg-coral);outline-offset:2px}
.pg .pg-store-grid{padding-bottom:140px}
.pg .pg-store-grid .products{display:grid;grid-template-columns:1fr;gap:28px}
@media (min-width:900px){
  .pg .form-shell{}
  .pg .pg-store-grid .products{grid-template-columns:repeat(3,1fr)}
}
@supports (height:100svh){ @media (min-width:900px){ .pg-shop-hero{height:100svh} } }
/* v1.26.2：深色 Hero 内的 lead/eyebrow 可读性 */
.pg .hero .lead{color:#e2e2e2;font-size:18px;line-height:1.6;max-width:660px;margin:14px 0 0}
.pg .hero .eyebrow{color:var(--tg-coral);opacity:1}
/* v1.29.0：浅色（珊瑚粉）Hero，用于节日礼赠页 */
.pg .hero.hero--light{background:#f7cdd0}
.pg .hero.hero--light>img{filter:none;object-position:62% center}
.pg .hero.hero--light:before{content:'';position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,rgba(247,205,208,.94) 0%,rgba(247,205,208,.8) 36%,rgba(247,205,208,0) 64%);pointer-events:none}
.pg .hero.hero--light .in{position:relative;z-index:2}
.pg .hero.hero--light .eyebrow{color:#a8434a}
.pg .hero.hero--light h1{color:var(--tg-ink)}
.pg .hero.hero--light .lead{color:#2b2223}
@media (max-width:900px){
  .pg .hero.hero--light>img{object-position:50% 20%}
  .pg .hero.hero--light:before{background:linear-gradient(180deg,rgba(247,205,208,0) 0%,rgba(247,205,208,.35) 32%,rgba(247,205,208,.95) 50%,#f7cdd0 60%)}
}
/* v1.30.0：模板页隐藏 the_content 输出（仅供 Elementor 编辑器识别） */
.tagoola-tpl-src{display:none !important}
/* v1.30.4：页脚 15983 重建后的栅格 */
.tb-footer-block{padding:70px 0 40px}
.tb-fgrid{display:grid;grid-template-columns:1fr;gap:36px}
.tb-fbrand img{max-width:220px;height:auto;display:block;margin:0 0 18px}
.tb-fbrand p{color:#9a9a9a;font-size:16px;line-height:1.7;margin:0;max-width:300px}
@media (min-width:900px){ .tb-fgrid{grid-template-columns:1.4fr 1fr 1fr 1fr 0.8fr;gap:48px} }
/* v1.31.0：自定义页脚 */
.tg-footer{background:#0d0d0d;color:#fff;padding:80px 0 0}
.tg-footer__in{max-width:1240px;margin:0 auto;padding:0 32px}
.tg-footer a{text-decoration:none}
.tg-footer__brand img{max-width:150px;height:auto;display:block;margin:0 0 20px}
.tg-footer__brand p{color:#9a9a9a;font-size:16px;line-height:1.7;margin:0 0 14px;max-width:320px}
.tg-footer__social{color:var(--tg-coral);font-size:16px}
.tg-footer__social:hover{color:#fff}
.tg-footer__cols{display:grid;grid-template-columns:1fr 1fr;gap:36px;margin-top:44px}
.tg-footer__col h4{font-family:var(--tg-font-heading);font-size:16px;letter-spacing:.16em;text-transform:uppercase;color:#fff;margin:0 0 16px;font-weight:600}
.tg-footer__col ul{list-style:none;margin:0;padding:0}
.tg-footer__col li{margin:0 0 10px}
.tg-footer__col a{color:#bfbfbf;font-size:16px;line-height:1.5}
.tg-footer__col a:hover{color:var(--tg-coral)}
.tg-footer__bar{border-top:1px solid rgba(255,255,255,.12);margin-top:64px;padding:24px 0}
.tg-footer__bar p{margin:0;color:#8f8f8f;font-size:15px}
@media (min-width:900px){
  .tg-footer__in{display:flex;justify-content:space-between;gap:64px}
  .tg-footer__brand{flex:0 0 320px}
  .tg-footer__cols{flex:1;grid-template-columns:repeat(4,1fr);gap:40px;margin-top:0}
  .tg-footer__bar .tg-footer__in{display:block}
}
/* v1.33.0：相邻 hm-sec 只保留一段 150px 间距 */


/* v1.33.2：页脚社交图标尺寸与颜色（覆盖旧规则） */
.tg-footer .tg-footer__social{display:flex;gap:16px;margin-top:10px;color:#bfbfbf;font-size:0}
.tg-footer .tg-footer__social a{color:#bfbfbf !important;display:inline-flex;align-items:center;line-height:1}
.tg-footer .tg-footer__social a:hover{color:var(--tg-coral) !important}
.tg-footer .tg-footer__social svg{width:22px !important;height:22px !important;fill:currentColor !important;stroke:none;display:block}
/* v1.33.4：页脚品牌区只留 slogan；社交图标统一尺寸 */
.tg-footer__slogan{font-family:var(--tg-font-heading);font-size:16px;letter-spacing:.14em;text-transform:uppercase;color:#cfcfcf;margin:0 0 18px}
.tg-footer .tg-footer__social{gap:18px}
.tg-footer .tg-footer__social a{width:22px;height:22px;justify-content:center;align-items:center}
.tg-footer .tg-footer__social svg{width:22px;height:22px;display:block;fill:currentColor !important;stroke:none}
/* v1.33.5：图库图片 height:auto，避免移动端 caption 被图片覆盖 */
.hm-gallery img,.pg .community__grid img{height:auto}
/* v1.34.1：Brand 页视频块与内容块之间留 150px */
@media (max-width:900px){.bd-rows{}}
/* v1.37.1：商品分类描述排版 */
.term-description{max-width:900px;margin:40px auto 56px;padding:0 32px;font-size:16px;line-height:1.85;color:#555}
.term-description h2,.term-description h3{font-family:var(--tg-font-heading);text-transform:uppercase;color:var(--tg-ink);line-height:1.2;margin:36px 0 12px}
.term-description h2{font-size:24px}
.term-description h3{font-size:19px}
.term-description p{margin:0 0 16px}
.term-description ul,.term-description ol{margin:0 0 18px 22px;padding:0}
.term-description table{width:100%;border-collapse:collapse;margin:18px 0}
.term-description th,.term-description td{border:1px solid #e2e2e2;padding:10px 12px;font-size:15px}
@media (max-width:900px){ .term-description{margin:24px auto 40px;padding:0 16px} }
/* v1.45.2：分类页描述（迁移遗留）不展示，Hero 已给导语 */
body.tagoola-cat .term-description{display:none}
/* v1.45.3：分类页去掉重复标题/侧栏开关，卡片向品牌版靠拢 */
body.tagoola-cat .wd-page-title,body.tagoola-cat .woocommerce-products-header,body.tagoola-cat .page-title{display:none}
body.tagoola-cat .wd-sidebar-opener,body.tagoola-cat .sidebar-container,body.tagoola-cat .wd-sidebar{display:none}
body.tagoola-cat .wd-content-area .col-md-9,body.tagoola-cat .wd-content-area .col-lg-9{flex:0 0 100%;max-width:100%}
body.tagoola-cat .products .product .wd-product-cats{display:none}
body.tagoola-cat .products .product .wd-entities-title{font-family:var(--tg-font-heading);font-size:17px;line-height:1.25;text-transform:uppercase}
body.tagoola-cat .products .product .price{color:var(--tg-coral);font-family:var(--tg-font-heading)}
body.tagoola-cat .products .product .star-rating{display:none}
