/* ============================================================
   Yusheng Home 主站 · design.css V1
   依据 DESIGN.md（绿 #2a6f4e 唯一行动色；白卡/浅灰/大留白）
   ============================================================ */
:root{
  --yh-brand:#2a6f4e; --yh-brand-d:#1f5a40; --yh-brand-soft:#e7f2ec;
  --yh-on-brand:#ffffff; --yh-ink:#111111; --yh-ink-muted:#555555; --yh-ink-subtle:#8a8f98;
  --yh-canvas:#f5f6f7; --yh-surface:#ffffff; --yh-hairline:#e6e8eb;
  --yh-success:#1a7f37; --yh-error:#c62828;
  --yh-r-sm:6px; --yh-r-md:10px; --yh-r-lg:16px; --yh-r-xl:24px; --yh-r-pill:9999px;
  --yh-shadow-card:0 1px 3px rgba(0,0,0,.06),0 4px 16px rgba(0,0,0,.05);
  --yh-shadow-hover:0 2px 6px rgba(0,0,0,.08),0 10px 28px rgba(0,0,0,.09);
  --yh-font:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"PingFang SC","Microsoft YaHei",sans-serif;
}
body{background:var(--yh-canvas);color:var(--yh-ink);font-family:var(--yh-font)}
a{color:var(--yh-brand)}
/* 吸顶毛玻璃导航 */
.site-header{position:sticky;top:0;background:rgba(255,255,255,.92);backdrop-filter:saturate(180%) blur(10px);border-bottom:1px solid var(--yh-hairline);z-index:60}
.site-branding .site-title,.site-branding .site-title a{color:var(--yh-ink);font-weight:800;letter-spacing:-.3px}
.main-navigation ul.menu > li > a{color:var(--yh-ink-muted);font-weight:600}
.main-navigation ul.menu > li > a:hover{color:var(--yh-brand)}
/* 按钮统一 pill + brand */
.button,.wp-block-button__link,button[type="submit"],input[type="submit"],.wc-block-grid__product-add-to-cart .wp-block-button__link,.added_to_cart,
a.yh-btn,.yh-btn{
  background:var(--yh-brand);color:var(--yh-on-brand);border-radius:var(--yh-r-pill);
  padding:12px 26px;font-weight:700;text-decoration:none;border:0;cursor:pointer;line-height:1.2;display:inline-block;transition:background .15s ease,transform .05s ease;
}
.button:hover,.wp-block-button__link:hover,button[type="submit"]:hover,input[type="submit"]:hover,.added_to_cart:hover,a.yh-btn:hover,.yh-btn:hover{background:var(--yh-brand-d);color:#fff}
.yh-btn:active,.button:active{transform:scale(.98)}
/* 次级按钮 */
.yh-btn-ghost,.button.ghost{background:var(--yh-surface);color:var(--yh-ink);border:1px solid var(--yh-hairline);border-radius:var(--yh-r-pill);padding:11px 24px;font-weight:700;text-decoration:none;display:inline-block}
.yh-btn-ghost:hover{border-color:var(--yh-brand);color:var(--yh-brand)}
/* 商品卡 */
ul.products li.product{background:var(--yh-surface);border:1px solid var(--yh-hairline);border-radius:var(--yh-r-lg);padding:12px;box-shadow:var(--yh-shadow-card);transition:box-shadow .18s ease,transform .18s ease;display:flex;flex-direction:column}
ul.products li.product:hover{box-shadow:var(--yh-shadow-hover);transform:translateY(-3px)}
ul.products li.product .woocommerce-loop-product__title{font-size:15px;font-weight:700;color:var(--yh-ink);padding:.5em 0 0}
ul.products li.product .price{color:var(--yh-brand-d);font-weight:700}
ul.products li.product .button{width:100%;text-align:center;padding:10px 12px;font-size:14px}
/* 首页去掉冗余 "Home" 标题，让 Hero 为真 H1 */
body.home .entry-header{display:none}
/* 询盘/转化区块 */
.yh-band{background:var(--yh-surface);border:1px solid var(--yh-hairline);border-radius:var(--yh-r-xl);padding:32px 24px;margin:40px 0;box-shadow:var(--yh-shadow-card)}
.yh-band h2{margin:0 0 8px;font-size:26px;font-weight:800;letter-spacing:-.3px}
.yh-band p{color:var(--yh-ink-muted);margin:0 0 18px}
.yh-trust{display:flex;flex-wrap:wrap;gap:10px 18px;margin:18px 0 0;padding:0;list-style:none;font-size:13px;color:var(--yh-ink-muted)}
.yh-trust li::before{content:"✓ ";color:var(--yh-brand);font-weight:800}
.yh-card-step{background:var(--yh-canvas);border:1px solid var(--yh-hairline);border-radius:var(--yh-r-md);padding:16px 18px;margin:10px 0}
.yh-card-step b{color:var(--yh-ink)}
/* 页脚深色 */
.site-footer{background:var(--yh-ink);color:#d7d7d7}
.site-footer a{color:#e8e8e8}
.site-footer h1,.site-footer h2,.site-footer .widget-title{color:#fff}
/* 输入框 */
input[type="text"],input[type="email"],input[type="tel"],textarea,select{border:1px solid #d1d5db;border-radius:var(--yh-r-md);padding:11px 13px;font-size:15px;font-family:inherit}
input:focus,textarea:focus{outline:2px solid var(--yh-brand);outline-offset:1px;border-color:var(--yh-brand)}
/* 移动端 */
@media (max-width:767px){
  .site-header{position:static}
  .yh-band{padding:24px 16px}
  ul.products li.product{padding:8px}
}


/* GEO direct-answer block (2026-09-12) */
.yh-quick-answer{max-width:860px;margin:18px 0 24px;padding:16px 18px;background:var(--yh-brand-soft);border:1px solid #cfe2d7;border-left:4px solid var(--yh-brand);border-radius:var(--yh-r-md)}
.yh-quick-answer h2{margin:0 0 7px;font-size:18px;line-height:1.35;color:var(--yh-ink)}
.yh-quick-answer p{margin:0;color:var(--yh-ink-muted);line-height:1.7}


/* Home hero + category entry points (2026-09-12) */
.yh-hero{max-width:1100px;margin:26px auto 18px;padding:64px 24px;border-radius:24px;
  background:radial-gradient(900px 420px at 80% 0%,rgba(91,189,139,.55) 0%,transparent 62%),linear-gradient(135deg,#1f5a40,#2a6f4e);
  color:#fff;text-align:center;box-shadow:var(--yh-shadow-card)}
.yh-hero .in{max-width:840px;margin:0 auto}
.yh-hero .eyebrow{font-size:13px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#c9f0da;margin-bottom:12px}
.yh-hero h1{font-size:clamp(30px,5vw,48px);line-height:1.12;margin:0 0 14px;color:#fff;letter-spacing:-.02em}
.yh-hero .lead{font-size:17px;line-height:1.7;color:rgba(255,255,255,.9);margin:0 auto 24px;max-width:700px}
.yh-hero .cta-row{display:flex;justify-content:center;gap:12px;flex-wrap:wrap}
.yh-hero .btn-w,.yh-hero .btn-o{display:inline-block;padding:13px 27px;border-radius:999px;font-weight:800;text-decoration:none;transition:transform .15s ease,background .15s ease}
.yh-hero .btn-w{background:#fff;color:#1f5a40}
.yh-hero .btn-w:hover{background:#eaf7ef;color:#1f5a40;transform:translateY(-1px)}
.yh-hero .btn-o{background:transparent;color:#fff;border:1px solid rgba(255,255,255,.55)}
.yh-hero .btn-o:hover{background:rgba(255,255,255,.1);color:#fff;transform:translateY(-1px)}
.yh-hero .chips{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;margin-top:22px}
.yh-hero .chips span{font-size:12.5px;color:#e9f8ef;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.18);border-radius:999px;padding:5px 10px}
.yh-cats{max-width:1100px;margin:0 auto 34px;padding:0 20px;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}
.yh-cats a{display:block;background:#fff;border:1px solid var(--yh-hairline);border-radius:14px;padding:14px 10px;text-align:center;text-decoration:none;box-shadow:var(--yh-shadow-card)}
.yh-cats .em{display:block;font-size:22px;margin-bottom:5px}.yh-cats b{display:block;color:var(--yh-ink);font-size:13px}.yh-cats small{display:block;color:var(--yh-ink-muted);font-size:11px;line-height:1.35;margin-top:2px}
@media(max-width:900px){.yh-cats{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:560px){.yh-hero{padding:42px 16px;border-radius:18px}.yh-hero .lead{font-size:15px}.yh-cats{grid-template-columns:repeat(2,minmax(0,1fr));padding:0 12px}}
