@charset "utf-8";
:root{--brand:#8a5a34;--brand-dark:#3d2b1f;--ink:#1c1a17;--muted:#6f6a63;--bg:#ffffff;--bg-alt:#f6f4f1;--line:#e5e1db;--brand-tint:#efe8e3;--radius:10px;--container:1200px;--post-max:860px;--header-h:72px;--font-sans:-apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;--font-serif:Georgia, "Times New Roman", serif;--space-1:8px;--space-2:16px;--space-3:24px;--space-4:48px;--space-5:80px;--shadow-sm:0 1px 2px rgba(28, 26, 23, .05);--shadow-md:0 12px 28px rgba(28, 26, 23, .10);}/* custom: home */
/* ============================================================
   Hofull homepage stylesheet (built from the reviewed local demo).
   Tokens are namespaced --hf-* so the theme keeps its own --brand /
   --radius / --container for every other template.
   ============================================================ */
:root{
  --hf-navy:#102343;
  --hf-navy-2:#132849;
  --hf-navy-3:#193768;
  --hf-brand:#1479d0;
  --hf-brand-dark:#0e62ae;
  --hf-ink:#102343;
  --hf-body:#575e69;
  --hf-muted:#7b8592;
  --hf-off:#f5f7fa;
  --hf-line:#e4e9f0;
  --hf-white:#fff;
  --hf-radius:14px;
  --hf-shadow:0 18px 50px rgba(16,35,67,.13);
  --hf-container:1200px;
}
*{box-sizing:border-box}
.site-header,.utility,.footer{font-family:"Inter","Segoe UI","Helvetica Neue",Arial,sans-serif;font-size:16px;line-height:1.72;color:var(--hf-body)}
html{scroll-behavior:smooth;scroll-padding-top:92px}
body.home{
  margin:0;background:var(--hf-white);color:var(--hf-body);
  font-family:"Inter","Segoe UI","Helvetica Neue",Arial,sans-serif;
  font-size:16px;line-height:1.72;-webkit-font-smoothing:antialiased;
}
:where(body.home) img,:where(.site-header) img,:where(.utility) img,:where(.footer) img{max-width:100%;display:block}
:where(body.home) a,:where(.site-header) a,:where(.utility) a,:where(.footer) a{color:inherit}
:where(body.home) h1,:where(body.home) h2,:where(body.home) h3,:where(body.home) h4,.footer h1,.footer h2,.footer h3,.footer h4{margin:0;color:var(--hf-ink);font-weight:650;letter-spacing:-.025em;line-height:1.16}
:where(body.home) h1{font-size:clamp(40px,5vw,66px)}
:where(body.home) h2{font-size:clamp(30px,3.6vw,46px)}
:where(body.home) h3,.footer h3{font-size:20px}
:where(body.home) p,:where(.site-header) p,:where(.utility) p,:where(.footer) p{margin:0 0 16px}
:where(body.home) .container,:where(.site-header) .container,:where(.utility) .container,:where(.footer) .container{width:min(100% - 48px,var(--hf-container));margin-inline:auto}
:where(body.home) .section{padding:104px 0}
.section--tint{background:var(--hf-off)}
.eyebrow{
  display:block;margin:0 0 18px;font-size:12.5px;font-weight:700;
  letter-spacing:.16em;text-transform:uppercase;color:var(--hf-brand);
}
.eyebrow--light{color:#8fb6ee}
:where(body.home) .section-head{max-width:760px;margin-bottom:52px}
:where(body.home) .section-head p{font-size:17px;color:var(--hf-body);margin:18px 0 0}
.lead{font-size:18px;line-height:1.8}
.text-white{color:#fff}
:where(body.home) .btn,:where(.site-header) .btn{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  min-height:50px;padding:0 26px;border-radius:8px;border:1px solid transparent;
  font-size:14.5px;font-weight:700;letter-spacing:.01em;text-decoration:none;
  cursor:pointer;transition:transform .2s ease,background .2s ease,border-color .2s ease,box-shadow .2s ease;
}
:where(body.home) .btn:hover,:where(.site-header) .btn:hover{transform:translateY(-2px)}
.btn--primary{background:var(--hf-brand);color:#fff;box-shadow:0 10px 24px rgba(20,121,208,.24)}
.btn--primary:hover{background:var(--hf-brand-dark)}
.btn--outline{background:transparent;color:#fff;border-color:rgba(255,255,255,.45)}
.btn--outline:hover{border-color:#fff;background:rgba(255,255,255,.08)}
.btn--ghost{background:transparent;color:var(--hf-navy-3);border-color:#c9d5e5}
.btn--ghost:hover{border-color:var(--hf-brand);color:var(--hf-brand)}
.btn-row{display:flex;flex-wrap:wrap;gap:14px;margin-top:32px}
.text-link{
  display:inline-flex;align-items:center;gap:9px;color:var(--hf-brand);
  font-weight:700;font-size:15px;text-decoration:none;
}
.text-link:hover{gap:14px}

/* ---------- utility bar + header ---------- */
.utility{background:#0b1d3a;color:#afc2de;font-size:12.5px;letter-spacing:.02em}
.utility .container{display:flex;justify-content:space-between;gap:18px;flex-wrap:wrap;padding:9px 0}
.utility a{text-decoration:none;color:#d5e3f6}
.utility a:hover{color:#fff}
.utility span.dot{color:#55729c;margin:0 9px}
.utility .utility-tag{font-weight:700;letter-spacing:.14em;color:#8fb6ee;text-transform:uppercase}
.site-header{
  position:sticky;top:0;z-index:60;background:rgba(255,255,255,.97);
  backdrop-filter:blur(12px);border-bottom:1px solid var(--hf-line);
  transition:box-shadow .25s ease;
}
.site-header.is-scrolled{box-shadow:0 10px 30px rgba(16,35,67,.09)}
.header-inner{display:flex;align-items:center;gap:30px;height:80px}
.brand{flex:none}
.brand img{width:248px;height:auto}
.nav{display:flex;align-items:center;gap:30px;margin-left:auto}
.nav a{
  position:relative;font-size:14.5px;font-weight:600;color:var(--hf-ink);
  text-decoration:none;padding:8px 0;white-space:nowrap;
}
.nav a::after{
  content:"";position:absolute;left:0;bottom:2px;width:0;height:2px;
  background:var(--hf-brand);transition:width .22s ease;
}
.nav a:hover,.nav a.is-active{color:var(--hf-brand)}
.nav a:hover::after,.nav a.is-active::after{width:100%}
.header-cta{flex:none}
.menu-toggle{
  display:none;flex:none;width:44px;height:44px;border:1px solid var(--hf-line);
  background:#fff;border-radius:8px;cursor:pointer;padding:11px;
}
.menu-toggle span{display:block;height:2px;background:var(--hf-ink);margin:5px 0;border-radius:2px;transition:transform .2s,opacity .2s}

/* ---------- hero ---------- */
:where(body.home) .hero{position:relative;background:var(--hf-navy);color:#fff;overflow:hidden}
.hero__bg{position:absolute;inset:0;background:url("https://hoplastic.com/wp-content/uploads/2026/11/hofull-forming-parts.jpg") center/cover no-repeat;opacity:.3;filter:saturate(.75)}
.hero__bg::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(16,35,67,.45) -25%,#102343 94%),
             linear-gradient(90deg,#102343 4%,rgba(16,35,67,.22) 78%);
}
.hero__inner{
  position:relative;z-index:2;display:grid;grid-template-columns:1.06fr .94fr;
  gap:56px;align-items:center;min-height:590px;padding:88px 0 82px;
}
:where(body.home) .hero h1{color:#fff;margin-bottom:24px}
:where(body.home) .hero h1 em{font-style:normal;color:#8fb6ee}
.hero__sub{font-size:clamp(18px,2vw,22px);color:#d6e4f7;font-weight:550;max-width:520px;margin-bottom:16px;line-height:1.5}
.hero__lede{font-size:15.5px;color:#a9bcd8;max-width:520px;margin-bottom:0}
.hero__visual{position:relative;min-height:440px}
.hero-photo{
  position:absolute;top:0;right:0;width:76%;aspect-ratio:1;background:#fff;
  border:8px solid rgba(255,255,255,.14);border-radius:20px;overflow:hidden;
  box-shadow:0 28px 70px rgba(0,0,0,.32);
}
.hero-photo img{width:100%;height:100%;object-fit:contain;background:#fff}
.hero-photo--small{
  top:auto;bottom:2%;left:0;right:auto;width:36%;border:6px solid #fff;
  border-radius:14px;z-index:3;box-shadow:0 18px 40px rgba(0,0,0,.3);
}
.hero-badge{
  position:absolute;right:-6px;bottom:12%;z-index:4;background:#fff;color:var(--hf-ink);
  border-radius:12px;padding:15px 20px;box-shadow:var(--hf-shadow);min-width:210px;
}
.hero-badge strong{display:block;font-size:17px;letter-spacing:-.02em;color:var(--hf-navy-3)}
.hero-badge span{font-size:12.5px;color:var(--hf-body)}
.hero-stats{position:relative;z-index:2;border-top:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.035)}
:where(body.home) .hero-stats .container{display:grid;grid-template-columns:repeat(4,1fr)}
.stat{padding:28px 22px;border-right:1px solid rgba(255,255,255,.12)}
.stat:last-child{border-right:0}
.stat strong{display:block;font-size:clamp(20px,2.1vw,27px);color:#fff;font-weight:700;letter-spacing:-.03em;line-height:1.3}
.stat span{display:block;font-size:13px;color:#9db4d5;margin-top:4px}

/* ---------- intro / spec sheet ---------- */
.split{display:grid;grid-template-columns:1.06fr .94fr;gap:76px;align-items:center}
.check-list{list-style:none;margin:28px 0 0;padding:0}
.check-list li{position:relative;padding-left:30px;margin-bottom:13px;font-size:15.5px}
.check-list li::before{
  content:"";position:absolute;left:0;top:7px;width:17px;height:17px;border-radius:50%;
  background:rgba(20,121,208,.12);border:1px solid rgba(20,121,208,.3);
}
.check-list li::after{
  content:"";position:absolute;left:5px;top:12px;width:6px;height:3px;
  border-left:2px solid var(--hf-brand);border-bottom:2px solid var(--hf-brand);transform:rotate(-45deg);
}
.spec-card{background:#fff;border:1px solid var(--hf-line);border-radius:var(--hf-radius);box-shadow:var(--hf-shadow);overflow:hidden}
.spec-card__head{background:var(--hf-navy);color:#fff;padding:26px 30px}
.spec-card__head span{font-size:12px;letter-spacing:.15em;text-transform:uppercase;color:#8fb6ee;font-weight:700}
.spec-card__head h3{color:#fff;font-size:19px;margin-top:8px}
.spec-row{display:flex;gap:18px;padding:20px 30px;border-bottom:1px solid var(--hf-line);align-items:flex-start}
.spec-row:last-child{border-bottom:0}
.spec-row b{flex:none;width:130px;color:var(--hf-ink);font-size:14px}
.spec-row span{font-size:14.5px;color:var(--hf-body)}

/* ---------- capability two-column cards ---------- */
.compare-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.compare-card{border:1px solid var(--hf-line);border-radius:var(--hf-radius);overflow:hidden;background:#fff;transition:box-shadow .25s,transform .25s}
.compare-card:hover{box-shadow:var(--hf-shadow);transform:translateY(-3px)}
.compare-card h3{background:var(--hf-off);padding:22px 30px;font-size:19px;margin:0}
.compare-card ul{list-style:none;margin:0;padding:26px 30px 30px}
.compare-card li{position:relative;padding-left:26px;margin-bottom:18px;font-size:15px}
.compare-card li:last-child{margin-bottom:0}
.compare-card li::before{
  content:"";position:absolute;left:2px;top:10px;width:9px;height:9px;
  border-radius:50%;background:var(--hf-navy-3);
}
.compare-card li strong{color:var(--hf-ink);display:block;font-size:15.5px}
.chips{display:flex;flex-wrap:wrap;gap:10px;margin-top:34px;align-items:center}
.chips-label{font-size:12.5px;font-weight:700;letter-spacing:.13em;text-transform:uppercase;color:var(--hf-muted);margin-right:6px}
.chip{background:#fff;border:1px solid var(--hf-line);border-radius:999px;padding:7px 16px;font-size:13.5px;font-weight:650;color:var(--hf-navy-3)}

/* ---------- products dark band ---------- */
.products{position:relative;background:var(--hf-navy-2);color:#fff;padding:104px 0 140px}
:where(body.home) .products .section-head p{color:#b6c7e0}
.products h2{color:#fff}
.products-bar{
  display:flex;justify-content:space-between;align-items:center;gap:20px;
  border-bottom:1px solid rgba(255,255,255,.18);padding-bottom:18px;margin-bottom:34px;
  flex-wrap:wrap;
}
.products-bar h3{color:#fff;font-size:21px;font-weight:550}
.products-bar a{color:#8fb6ee;font-size:14px;font-weight:700;text-decoration:none}
.products-bar a:hover{color:#fff}
.product-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:26px}
.product-card{text-decoration:none;display:block}
.product-card__media{
  background:#fff;border-radius:12px;overflow:hidden;aspect-ratio:1.42;
  display:grid;place-items:center;box-shadow:0 12px 28px rgba(0,0,0,.16);
}
.product-card__media img{width:100%;height:100%;object-fit:contain;padding:12px;transition:transform .4s ease}
.product-card:hover .product-card__media img{transform:scale(1.07)}
.product-card__no{font-size:11.5px;font-weight:800;letter-spacing:.16em;color:#8fb6ee;margin-top:17px;display:block}
.product-card h3{color:#fff;font-size:17px;margin:2px 0 5px;transition:color .2s}
.product-card:hover h3{color:#8fb6ee}
.product-card p{font-size:13px;color:#a9bcd8;margin:0;line-height:1.55}
.wave{position:absolute;left:0;right:0;bottom:-1px;width:100%;height:78px;display:block;z-index:1;
  background:url("https://hoplastic.com/wp-content/uploads/2026/11/wave-white-scaled.png") center bottom/100% 100% no-repeat}

/* ---------- advantage ---------- */
.advantage-visual{
  position:relative;min-height:470px;border-radius:18px;overflow:hidden;
  background:var(--hf-navy);display:flex;align-items:flex-end;padding:36px;
}
.advantage-visual picture{position:absolute;inset:0;display:block}
.advantage-visual img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.55}
.advantage-visual::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(16,35,67,.12) 20%,rgba(16,35,67,.94) 96%);
}
.advantage-visual__caption{position:relative;z-index:2;color:#fff}
.advantage-visual__caption span{font-size:12px;letter-spacing:.15em;text-transform:uppercase;color:#8fb6ee;font-weight:700}
.advantage-visual__caption strong{display:block;font-size:27px;letter-spacing:-.03em;margin:8px 0 4px;color:#fff}
.advantage-visual__caption small{color:#c1d1e8;font-size:14px}
.feature-list{display:grid;gap:22px;margin:30px 0 32px}
.feature{display:flex;gap:18px;align-items:flex-start}
.feature-icon{width:24px;height:24px}
.feature__icon{
  flex:none;width:52px;height:52px;border-radius:12px;background:#eaf3fd;
  display:grid;place-items:center;color:var(--hf-brand);
}
.feature h3{font-size:17px;margin-bottom:5px}
.feature p{font-size:14.5px;margin:0}

/* ---------- process ---------- */
.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
.step{background:#fff;border:1px solid var(--hf-line);border-radius:var(--hf-radius);padding:30px 26px;position:relative}
.step::before{content:"";position:absolute;top:0;left:26px;right:26px;height:3px;background:var(--hf-brand);border-radius:0 0 3px 3px}
.step__no{font-size:13px;font-weight:800;letter-spacing:.14em;color:var(--hf-brand)}
.step h3{font-size:18px;margin:14px 0 10px}
.step p{font-size:14.5px;margin:0}

/* ---------- CTA banner ---------- */
.cta{position:relative;background:var(--hf-navy);color:#fff;text-align:center;padding:112px 0;overflow:hidden}
.cta__bg{position:absolute;inset:0;background:url("https://hoplastic.com/wp-content/uploads/2026/11/hofull-forming-parts.jpg") center/cover no-repeat;opacity:.32;filter:saturate(.8)}
.cta__bg::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(16,35,67,.92),rgba(19,40,73,.78))}
.cta__inner{position:relative;z-index:2;max-width:760px;margin-inline:auto}
.cta h2{color:#fff}
.cta p{color:#c9d9ee;font-size:17px;margin:20px 0 0}
.cta .btn-row{justify-content:center}
.cta__contact{margin-top:34px;font-size:13.5px;color:#9db4d5}
.cta__contact a{color:#d9e7f8;text-decoration:none}
.cta__contact a:hover{color:#fff}

/* ---------- footer ---------- */
.footer{background:#0b1d3a;color:#9db0cc;padding:74px 0 0;font-size:14px}
.footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1.25fr;gap:48px;padding-bottom:56px}
.footer .brand img{width:230px;background:#fff;border-radius:6px;padding:8px 10px;margin-bottom:20px}
.footer h4{color:#fff;font-size:14px;letter-spacing:.08em;text-transform:uppercase;margin:0 0 20px;font-weight:700}
.footer ul{list-style:none;margin:0;padding:0}
.footer li{margin-bottom:11px}
.footer a{text-decoration:none;color:#9db0cc}
.footer a:hover{color:#fff}
.footer address{font-style:normal;line-height:1.85;color:#9db0cc}
.footer-bottom{border-top:1px solid rgba(255,255,255,.12);padding:22px 0;display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;font-size:12.5px}
.footer-bottom a{color:#c9d9ee}

/* ---------- reveal animation ---------- */
.js .reveal{opacity:0;transform:translateY(20px);transition:opacity .6s ease,transform .6s ease}
.js .reveal.is-visible{opacity:1;transform:none}

/* ---------- responsive ---------- */
@media (max-width:1080px){
  .nav{gap:20px}
  .brand img{width:215px}
  .hero__inner{gap:34px;min-height:540px}
  .product-grid{grid-template-columns:repeat(3,1fr)}
  .footer-grid{grid-template-columns:1.4fr 1fr 1fr;gap:36px}
  .footer-grid > div:last-child{grid-column:1 / -1}
}
@media (max-width:900px){
  :where(body.home) .section{padding:78px 0}
  .header-inner{height:70px}
  .header-cta{display:none}
  .menu-toggle{display:block;order:3}
  .nav{
    display:none;position:absolute;top:100%;left:0;right:0;margin:0;
    background:#fff;border-bottom:1px solid var(--hf-line);box-shadow:0 18px 30px rgba(16,35,67,.1);
    flex-direction:column;align-items:stretch;gap:0;padding:10px 24px 20px;
  }
  .nav.is-open{display:flex}
  .nav a{padding:13px 0;border-bottom:1px solid var(--hf-line)}
  .nav a::after{display:none}
  .hero__inner{grid-template-columns:1fr;min-height:0;padding:70px 0 60px}
  .hero__visual{min-height:400px;max-width:560px;width:100%;margin-inline:auto}
  :where(body.home) .hero-stats .container{grid-template-columns:repeat(2,1fr)}
  .stat:nth-child(2){border-right:0}
  .stat:nth-child(-n+2){border-bottom:1px solid rgba(255,255,255,.12)}
  .split{grid-template-columns:1fr;gap:42px}
  .compare-grid{grid-template-columns:1fr}
  .product-grid{grid-template-columns:repeat(2,1fr)}
  .steps{grid-template-columns:repeat(2,1fr)}
  .advantage-visual{min-height:380px}
  .products{padding:78px 0 120px}
}
@media (max-width:600px){
  :where(body.home) .container,:where(.site-header) .container,:where(.utility) .container,:where(.footer) .container{width:min(100% - 32px,var(--hf-container))}
  :where(body.home) h1{font-size:38px}
  :where(body.home) .section{padding:64px 0}
  .utility .container{font-size:11.5px;gap:6px}
  .utility .utility-tag{display:none}
  .brand img{width:186px}
  .hero__inner{padding:58px 0 48px}
  .hero__visual{min-height:310px}
  .hero-badge{right:0;bottom:4%;padding:11px 14px;min-width:170px}
  .hero-badge strong{font-size:14px}
  .hero-photo{width:80%}
  .stat{padding:20px 14px}
  .stat strong{font-size:19px}
  .stat span{font-size:11.5px}
  .spec-row{flex-direction:column;gap:4px;padding:16px 22px}
  .spec-row b{width:auto}
  .compare-card h3{padding:18px 22px}
  .compare-card ul{padding:20px 22px 24px}
  .product-grid{gap:16px}
  .product-card h3{font-size:15px}
  .product-card p{font-size:12px}
  .steps{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr;gap:34px}
  .footer-grid > div:last-child{grid-column:auto}
  .cta{padding:78px 0}
  .wave{height:44px}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *{transition:none!important;animation:none!important}
  .js .reveal{opacity:1;transform:none}
}

/* ---------- spacing utilities (were inline style="" in the demo; kses drops style) ---------- */
.u-mt-16{margin-top:16px}
.u-mt-18{margin-top:18px}
.u-mt-20{margin-top:20px}
.u-mt-22{margin-top:22px}

/* <picture> 包裹层：.product-card__media 原本是 display:grid，img 的 height:100%
   被包进 <picture> 后相对的是"高度未知"的 grid item，于是回落成固有比例（600:600），
   把 1.42:1 的容器撑成正方形。grid 里这个问题有两个自洽解（容器被内容撑高后再
   反算回来），只能把布局从 grid 换成一维流：图片仍由 width/height:100% 填满，
   object-fit:contain 负责居中，视觉与 grid 版一致。 */
:where(body.home) .product-card__media { display: block; }
:where(body.home) .product-card__media picture {
  display: block; width: 100%; height: 100%;
}

/* ============================================================
   isolation.css — 主题穿透覆盖层
   ------------------------------------------------------------
   线上 CSS 的组装顺序是：WP 内置样式 → 主题 style.css → 设计 tokens
   → site.css → 本文件。主题有两条会击穿 demo 的路径：

   (1) demo 没声明的属性 → 主题的显式值直接生效。
       例：.container 的 24px 内边距、.section-head 的居中与 680px 限宽、
       .hero 的 140px 上下留白、h1–h4 的衬线字体、.site-header 的常驻阴影。
   (2) 主题选择器权重更高 → 靠加载顺序压不住。
       例：.hero p (0,1,1) > .hero__sub (0,1,0)；
           .hero h1 (0,1,1) > h1 (0,0,1)；
           .section-head h2::after 会凭空画出一条 56px 的短横线。

   写这条文件的规矩：
   · 只写 site.css 没有声明的属性（或主题权重压过 demo 的那几条），
     避免与 site.css 抢同一个声明；
   · 选择器一律加一级上下文（body.home / .site-header / .footer），
     保证无论 overlay 的 section 谁先谁后都能赢；
   · !important 只在必需时使用，且必须写明原因；
   · 值为 demo 的原值，不用 computed 的像素快照（响应式断点要跟着一起变）。
   ============================================================ */

/* ---------- 1. 版心：主题 .container 的 24px 内边距 + max-width ----------
   demo 的 .container 用 width:min(100% - 48px, 1200px) 自带 24px 外边距，
   主题再叠 24px 内边距 → 内容区从 1200 掉到 1152，整页横向偏移 24px。 */
body.home .container,
.site-header .container,
.footer .container {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}
/* .cta__inner 也是 .container，但它自己的 max-width:760px 是 demo 的版心，
   上面的通配重置会把它撑满 1200 —— 排除掉。 */
body.home .cta__inner {
  max-width: 760px;
}

/* ---------- 2. 主内容区：主题给 main 加 48px 下内边距和 50vh 最小高度 ----------
   那 48px 会在深色 CTA 与页脚之间留出一条白缝。 */
body.home .site-main {
  min-height: 0;
  padding-bottom: 0;
}

/* ---------- 3. 头部 ---------- */
/* 主题 .site-header 常驻一层浅阴影；demo 只在滚动后（.is-scrolled）才加。 */
.site-header {
  min-height: 0;
  box-shadow: none;
  padding-top: 0;
}
/* ≤1026px 时主题把头部折成两行（.header-inner{flex-wrap:wrap;padding-bottom:8px}），
   demo 的头部在任何宽度都是单行，靠 .menu-toggle 切换。 */
.site-header .header-inner {
  min-height: 0;
  flex-wrap: nowrap;
  padding-bottom: 0;
}
/* 主题 .header-cta 的 margin-left:16px 会破坏 demo 的 30px 栅格间距。 */
.site-header .header-cta {
  margin-left: 0;
}

/* ---------- 4. hero ----------
   主题 .hero{padding:140px 0;text-align:center} 是本文件里影响最大的一条：
   它把 hero 撑高 250px，并把整段左对齐文案变成居中。 */
body.home .hero {
  padding-top: 0;
  padding-bottom: 0;
  text-align: start;
}

/* .hero h1 (0,1,1) 压过 demo 的 h1：48px / 1.15 / -.5px / 800px 限宽 / 文字阴影 */
body.home .hero h1 {
  font-size: clamp(40px, 5vw, 66px);
  line-height: 1.16;
  letter-spacing: -.025em;
  max-width: none;
  text-shadow: none;
  margin: 0 0 24px;
}

/* .hero p (0,1,1) 压过 .hero__sub / .hero__lede (0,1,0)：
   主题把它们改成 19px / #ece5dc / 640px 限宽 / 48px 下边距。 */
body.home .hero .hero__sub {
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.5;
  color: #d6e4f7;
  max-width: 520px;
  margin: 0 0 16px;
}
body.home .hero .hero__lede {
  font-size: 15.5px;
  line-height: 1.72;
  color: #a9bcd8;
  max-width: 520px;
  margin: 0;
}

/* 主题 .hero .btn{margin:0 6px} 会把 .btn-row 的 14px gap 变成 26px。 */
body.home .hero .btn {
  margin: 0;
}

/* ---------- 5. 小节标题 ---------- */
/* 主题 .section-head{text-align:center;max-width:680px;margin:0 auto 48px} */
body.home .section-head {
  text-align: start;
  margin-left: 0;
  margin-right: 0;
}
/* 主题给 .section-head h2 补了 16px 下边距 */
body.home .section-head h2 {
  margin-bottom: 0;
}
/* 主题在 .section-head h1/h2 下方画一条 56px 的品牌短横线（demo 没有这个元素） */
body.home .section-head h1::after,
body.home .section-head h2::after {
  content: none;
}

/* ---------- 6. 标题字体 ----------
   主题 h1–h4 用 --font-serif（Georgia），demo 继承正文的无衬线栈。 */
:where(body.home) h1, :where(body.home) h2, :where(body.home) h3, :where(body.home) h4,
.footer h1, .footer h2, .footer h3, .footer h4 {
  font-family: inherit;
}

/* ---------- 7. 按钮 ----------
   主题 .btn 自带 --font-sans 与 line-height:1.2，demo 的按钮继承 body（1.72）。
   text-align 用 inherit：demo 没声明它，hero 里是 start、CTA 里继承 center。 */
:where(body.home) .btn, :where(.site-header) .btn {
  font-family: inherit;
  line-height: inherit;
  text-align: inherit;
}

/* ---------- 8. 页脚底条 ---------- */
/* 主题 .footer-bottom 显式写死 color:#a89f93，demo 是继承 .footer 的 #9db0cc。 */
.footer .footer-bottom {
  color: inherit;
}

/* ---------- 9. 纯图片链接的下划线 ----------
   主题 a{text-decoration:none}，demo 只有 a{color:inherit}，.brand 这个只包 <img>
   的锚点因此少了 underline。它不产生任何可见线条，写回来只为让 computed 对得上。 */
.brand {
  text-decoration: underline;
}

/* ---------- 10. 把 demo 自己的响应式覆盖接回来 ----------
   第 4 组里的 font-size 是 demo 的基准值，权重比 demo 的媒体查询高；
   demo 在 ≤600 又把 h1 压到 38px，这里必须照抄，否则窄屏会大 2px。 */
@media (max-width: 600px) {
  body.home .hero h1 {
    font-size: 38px;
  }
}

/* ---------- 11. 链接的颜色过渡 ----------
   主题 a{transition:color .18s} 让所有没写 transition 的链接在 hover 时渐变，
   demo 是瞬变。这里把过渡清掉（.btn / .product-card 等自带 transition 的规则
   权重更高，不受影响）。写 all 0s 而不是 none：demo 的 computed 是
   transition-property:all / duration:0s，none 会让 computed 停在 "none" 上。 */
:where(body.home) a, .footer a, .utility a {
  transition: all 0s;
}

/* ---------- 12. iOS 文字缩放 ----------
   主题 html{-webkit-text-size-adjust:100%}，demo 没有声明（即 auto）。
   这一条在桌面端不产生任何像素差异，只为让 computed 与 demo 对齐；
   若要保留主题的防膨胀行为，删掉这一条即可，其余样式不受影响。 */
html {
  -webkit-text-size-adjust: auto;
  text-size-adjust: auto;
}

/* ============================================================
   产品归档页（/products/ 与各系列页）左侧分类导航
   由页面自带的系列 chips 生成，分类增删自动跟随；原 chips 行收起。
   配色沿用主题的暖棕 token（--ink / --line / --brand / --brand-tint）。
   ============================================================ */

.arch-wrap {
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.arch-nav {
  position: sticky;
  top: 96px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 22px 10px 12px;
}

.arch-nav__head {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  background: none;
  border: 0;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: default;
}

.arch-nav__chev {
  display: none;
}

.arch-nav__title {
  display: block;
  margin: 0 0 10px;
  padding: 0 12px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

.arch-nav__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.arch-nav__list li + li {
  margin-top: 2px;
}

.arch-nav__list a {
  display: block;
  padding: 11px 12px;
  border-radius: calc(var(--radius) - 4px);
  font-size: 15px;
  line-height: 1.35;
  color: var(--ink);
  text-decoration: none;
  transition: background .15s ease, color .15s ease;
}

.arch-nav__list a:hover {
  background: var(--bg-alt);
  color: var(--brand);
}

.arch-nav__list a.is-active {
  background: var(--brand-tint);
  color: var(--brand);
  font-weight: 600;
}

@media (max-width: 1100px) {
  .arch-wrap {
    grid-template-columns: 216px minmax(0, 1fr);
    gap: 28px;
  }
}

/* ============================================================
   网格自持：`.grid-3` 的三列规则只写在主题样式表里。
   主题 CSS 一旦没命中（缓存旧版、被优化插件合并延迟、样式表
   加载失败），卡片会塌成全宽、图片被拉成方形大图 —— 整页看起来
   就是"排版乱了"。这里用自有类名把同一套列数重建一遍，
   让归档页不再依赖主题样式表也能排成 3 / 2 / 1 列。
   列数与间距取自实测：>900 三列、600–900 两列、<=600 一列，gap 恒 24px。
   ============================================================ */
.arch-main .grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.arch-main .grid-3 > .card {
  display: block;
  min-width: 0;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  color: inherit;
  text-decoration: none;
}

/* 图片锁成 1:1 并随列宽自适应，任何列宽下都不会被拉变形 */
.arch-main .grid-3 .card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

@media (max-width: 900px) {
  .arch-main .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .arch-main .grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* 窄屏：分类面板收起成一行标题，点开才展开；不再整列占屏 */
@media (max-width: 900px) {
  .arch-wrap {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .arch-nav {
    position: static;
    padding: 14px 14px 16px;
  }
  .arch-nav__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
  }
  .arch-nav__title {
    margin: 0;
    padding: 0;
  }
  .arch-nav__chev {
    display: block;
    flex: none;
    width: 9px;
    height: 9px;
    margin-right: 4px;
    border-right: 1.5px solid var(--muted);
    border-bottom: 1.5px solid var(--muted);
    transform: rotate(45deg);
    transition: transform .18s ease;
  }
  .arch-nav.is-open .arch-nav__chev {
    transform: rotate(-135deg);
  }
  .arch-nav__list {
    display: none;
    margin-top: 14px;
    flex-wrap: wrap;
    gap: 8px;
  }
  .arch-nav.is-open .arch-nav__list {
    display: flex;
  }
  .arch-nav__list li + li {
    margin-top: 0;
  }
  .arch-nav__list a {
    padding: 9px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 14px;
  }
}

/* ============================================================
   Products 下拉（.nav 内，作用域限定站点页头）
   主题的 .hdr-nav .fly-menu 只作用于主题自带导航；本站页头是自定义
   .nav 部件，所以第一级面板也要一并定义，并沿用同一套
   opacity + visibility + transform 显隐机制（不用 display 切换）。
   ============================================================ */

:where(.site-header) .nav .nav-item {
  display: flex;
  align-items: center;
}

:where(.site-header) .nav .has-mega {
  position: relative;
}

/* 悬停间隙桥：面板与链接之间留 10px 视觉空隙，用透明伪元素把 hover 连起来，
   否则鼠标下移穿过空隙时面板会闪掉 */
:where(.site-header) .nav .has-mega::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 12px;
}

:where(.site-header) .nav .fly-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translate(-50%, 8px);
  min-width: 268px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--hf-line);
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(16, 35, 67, .14);
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  z-index: 70;
}

:where(.site-header) .nav .has-mega:hover > .fly-menu,
:where(.site-header) .nav .has-mega:focus-within > .fly-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

:where(.site-header) .nav .fly-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* 下拉项必须盖掉 .nav a 的导航样式（字号、下划线动效） */
:where(.site-header) .nav .fly-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.35;
  color: var(--hf-ink);
  white-space: nowrap;
  transition: background .15s ease, color .15s ease;
}

:where(.site-header) .nav .fly-menu a::after {
  display: none;
}

:where(.site-header) .nav .fly-menu a:hover,
:where(.site-header) .nav .fly-menu a:focus-visible {
  background: #f2f6fb;
  color: var(--hf-brand);
}

/* 窄屏走抽屉菜单，下拉不参与；避免上滑出屏幕或与抽屉叠加 */
@media (max-width: 1024px) {
  :where(.site-header) .nav .fly-menu {
    display: none !important;
  }
  :where(.site-header) .nav .has-mega::after {
    display: none;
  }
}

/* 页脚署名行：颜色按指定值 #777777 承载在这里（HTML 里写 style 会被
   wp_kses 剥掉，只能靠 class） */
.footer .footer-support a {
  color: #777777;
  text-decoration: none;
}

.footer .footer-support a:hover,
.footer .footer-support a:focus-visible {
  color: #a9b4c2;
  text-decoration: underline;
}

/* 页头 Request a Quote 的 hover 阴影。
   demo 的 .btn:hover 只做 translateY(-2px)，投影始终是主色的
   `0 10px 24px rgba(20,121,208,.24)`；线上主题在 hover 时把投影换成了
   通用阴影 `rgba(28,26,23,.1) 0 12px 28px`，静态态一致、一动鼠标就不同。
   这里只在页头还原成 demo 的值，站内其它主色按钮的 hover 不受影响。 */
.site-header .btn--primary:hover,
.site-header .btn--primary:focus-visible {
  box-shadow: 0 10px 24px rgba(20, 121, 208, .24);
}

/* ============================================================
   主题 token 去暖棕化（p2_theme_tokens.css）

   主题自带的 --brand 系是暖棕：
     --brand       #8a5a34  主色（链接、按钮、下划线、hover）
     --brand-dark  #3d2b1f  深色（标题、按钮 hover、深色链接）
     --brand-tint  #efe8e3  浅棕底（表头、侧栏激活项、badge hover）
     --ink         #1c1a17  暖黑正文/卡片标题
     --muted       #6f6a63  暖灰次要文字
     --bg-alt      #f6f4f1  暖米白（图片底、section-alt、hover 底）
     --line        #e5e1db  暖灰边框
     --shadow-*    rgba(28,26,23,…) 暖黑阴影

   产品列表页、产品详情页、新闻/独立页的标题、链接、表头、侧栏
   激活态、卡片边框与阴影都引用这套 token。这里整体对齐到站点
   主色 #1479d0 及其相关色；文字、边框、背景、阴影换成冷调中性色。
   自有 --hf-* 命名空间不受影响。
   ============================================================ */

:root {
  --brand: #1479d0;
  --brand-dark: #0e62ae;
  --brand-tint: #e8f2fb;
  --ink: #1d2733;
  --muted: #575e69;
  --bg-alt: #f5f7fa;
  --line: #e4e9f0;
  --shadow-sm: 0 1px 2px rgba(16, 35, 67, .05);
  --shadow-md: 0 12px 28px rgba(16, 35, 67, .10);
}

/* ============================================================
   全站悬浮 WhatsApp 按钮（p2_wa_float.css）
   右下角固定定位，链接到 wa.me 国际号码。图标为媒体库 PNG，
   不内联 SVG。弹窗 z-index 9999，本按钮 900，不会压住弹窗。
   ============================================================ */

.wa-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(16, 35, 67, .28);
  z-index: 900;
  display: block;
  transition: transform .18s ease, box-shadow .18s ease;
}

.wa-float img {
  width: 100%;
  height: 100%;
  display: block;
}

.wa-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(16, 35, 67, .34);
}

@media (max-width: 600px) {
  .wa-float { right: 16px; bottom: 16px; width: 50px; height: 50px; }
}

/* 报价弹窗外观 —— 逐条对应本地 demo index.html 的 quote modal（第 273–295 行）。
   色值与排版取 demo 的字面值，不用主题 token：主题 --brand 是暖棕 #8a5a34、行高 1.5、
   字号 17.6px，demo 是蓝 #1479d0、行高 1.72、字号 16px，套 token 会整体跑偏。
   面板基础样式是平台注入在 <body> 里的内联 <style>，加载顺序晚于我们的样式表，
   所以覆盖它必须把选择器提到两个类（0,2,0）。 */

/* demo: .modal{position:fixed;inset:0;display:grid;place-items:center;padding:20px;z-index:100}
   容器定位与层级必须由这里提供：平台的内联 <style> 只随产品页模板输出，
   首页那份自建弹窗没有它，缺了这段就会落在文档流里而不是浮层。
   产品页因平台内联更晚加载、同权重，仍以平台值为准，不受影响。 */
.wpb-quote-modal {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wpb-quote-modal[hidden] {
  display: none;
}

/* 同理：遮罩的定位也得自己给（我们只覆盖颜色与模糊） */
.wpb-quote-modal .wpb-quote-modal__backdrop {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(8, 20, 42, .72);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}

/* demo: .modal{padding:20px} */
.wpb-quote-modal:not([hidden]) {
  padding: 20px;
}

/* demo: .modal__panel{width:min(94vw,560px);max-height:90vh;overflow:auto;
     background:#fff;border-radius:18px;padding:36px;box-shadow:0 30px 80px rgba(0,0,0,.35)}
   demo 的 body 是 16px/1.72，这里把面板的排版基准也设成同一组值，
   内部的 label、输入框、按钮都由它继承，才能逐属性对上。 */
.wpb-quote-modal .wpb-quote-modal__panel {
  position: relative;
  z-index: 2;
  width: min(94vw, 560px);
  max-width: none;
  max-height: 90vh;
  overflow: auto;
  padding: 36px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
  color: #575e69;
  font-size: 16px;
  line-height: 1.72;
}

/* demo: .modal__close{top:16px;right:16px;width:36px;height:36px;border:1px solid var(--line);
     background:#fff;border-radius:8px;font-size:20px;line-height:1;color:var(--ink)}
   内距沿用浏览器默认（demo 也没写 padding）。 */
.wpb-quote-modal .wpb-quote-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: 1px solid #e4e9f0;
  border-radius: 8px;
  background: #fff;
  color: #102343;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

/* demo: .modal h2{font-size:27px;margin-bottom:8px}
   行高 1.16、字重 650 对齐 demo 实测值（31.32px 高）。 */
.wpb-quote-modal .wpb-quote-modal__title {
  margin: 0 0 8px;
  font-size: 27px;
  font-weight: 650;
  line-height: 1.16;
  color: #102343;
}

/* demo: .modal__sub{font-size:14px;color:var(--body);margin-bottom:24px}
   平台 HTML 里没有这一行，用伪元素补上同样的文案与规格。 */
.wpb-quote-modal .wpb-quote-modal__title::after {
  content: "Tell us what you need and our export team will get back to you.";
  display: block;
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.72;
  color: #575e69;
}

/* demo: .field-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}
   表单整体做两列网格，Name 与 Company 并排、Email 及以下整行 */
.wpb-quote-modal .wpb-contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 14px;
  margin-top: 24px;
}

/* demo: .field{margin-bottom:16px} */
.wpb-quote-modal .wpb-contact > p {
  grid-column: 1 / -1;
  margin: 0 0 16px;
}

/* demo 里 name 与 company 同一行、email 单独整行；
   平台把 email 夹在中间，用 order 还原 demo 的视觉顺序。
   字段类的类名由 p3_modal.js 打上 —— 不用 :has()，因为 :has() 在 Firefox 121
   之前的版本默认不匹配，那边整组规则失效就变成一列到底。 */
.wpb-quote-modal .wpb-contact > .wpb-f-wpb_name {
  grid-column: 1;
  order: 1;
}
.wpb-quote-modal .wpb-contact > .wpb-f-wpb_company {
  grid-column: 2;
  order: 2;
}
.wpb-quote-modal .wpb-contact > .wpb-f-wpb_email {
  order: 3;
}
.wpb-quote-modal .wpb-contact > .wpb-f-wpb_product {
  order: 4;
}
.wpb-quote-modal .wpb-contact > .wpb-f-wpb_message {
  order: 5;
}
.wpb-quote-modal .wpb-contact > .wpb-f-wpb_gdpr {
  order: 6;
}
.wpb-quote-modal .wpb-contact > .wpb-f-submit {
  order: 7;
}
.wpb-quote-modal .wpb-contact > .wpb-note {
  order: 8;
}

/* demo: .field label{display:block;font-size:13px;font-weight:700;color:var(--ink);margin-bottom:7px}
   行高不写，继承面板的 1.72（demo 实测 label 高 22.36px）。 */
.wpb-quote-modal .wpb-contact label {
  display: block;
  margin: 0 0 7px;
  font-size: 13px;
  font-weight: 700;
  color: #102343;
}

/* 输入框被脚本移出 label 后，label 里剩下的 <br> 会多顶一行，隐掉 */
.wpb-quote-modal .wpb-contact label br {
  display: none;
}

/* demo: .field input/.field select/.field textarea{width:100%;padding:11px 13px;
     border:1px solid #d7dfea;border-radius:8px;font:inherit;font-size:14px;
     color:var(--ink);background:#fff}
   行高继承 1.72 → 24.08px，配合 padding/border 得 48.08px 高，与 demo 一致。 */
.wpb-quote-modal .wpb-contact input[type="text"],
.wpb-quote-modal .wpb-contact input[type="email"],
.wpb-quote-modal .wpb-contact select,
.wpb-quote-modal .wpb-contact textarea {
  display: block;
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: 11px 13px;
  border: 1px solid #d7dfea;
  border-radius: 8px;
  background: #fff;
  color: #102343;
  font: inherit;
  font-size: 14px;
  font-weight: 400;
}

/* demo: .field textarea{min-height:90px;resize:vertical}
   平台写死了 rows=5（约 144px），这里直接定高到 90。 */
.wpb-quote-modal .wpb-contact textarea {
  height: 90px;
  min-height: 90px;
  resize: vertical;
}

/* demo: .field input:focus{outline:2px solid rgba(20,121,208,.35);border-color:var(--brand)} */
.wpb-quote-modal .wpb-contact input[type="text"]:focus,
.wpb-quote-modal .wpb-contact input[type="email"]:focus,
.wpb-quote-modal .wpb-contact select:focus,
.wpb-quote-modal .wpb-contact textarea:focus {
  outline: 2px solid rgba(20, 121, 208, .35);
  border-color: #1479d0;
}

/* demo: .modal__note{font-size:12px;color:var(--muted);margin:14px 0 0;text-align:center}
   行高不设，继承面板的 1.72 → 20.64px，与 demo 一致 */
.wpb-quote-modal .wpb-contact > .wpb-note {
  margin: 14px 0 0;
  min-height: 0;
  font-size: 12px;
  color: #7b8592;
  text-align: center;
}

/* demo 没有同意条款这一行；按 demo 的小字规格给（13px、--body #575e69） */
.wpb-quote-modal .wpb-contact > .wpb-f-wpb_gdpr label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.6;
  color: #575e69;
}

.wpb-quote-modal .wpb-contact input[type="checkbox"] {
  flex: none;
  width: 17px;
  height: 17px;
  margin: 2px 0 0;
  accent-color: #1479d0;
}

/* demo: .btn{display:inline-flex;min-height:50px;padding:0 26px;border-radius:8px;
     font-size:14.5px;font-weight:700} + .btn--primary{background:var(--brand)…}
     + .modal .btn{width:100%;margin-top:6px} */
.wpb-quote-modal .wpb-contact button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-sizing: border-box;
  width: 100%;
  min-height: 50px;
  margin-top: 6px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: #1479d0;
  color: #fff;
  font: inherit;
  font-size: 14.5px;
  font-weight: 700;
  line-height: normal;
  letter-spacing: .01em;
  box-shadow: 0 10px 24px rgba(20, 121, 208, .24);
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.wpb-quote-modal .wpb-contact button[type="submit"]:hover {
  background: #0e62ae;
  transform: translateY(-2px);
}

/* demo: .modal__success{background:#eef7ff;border:1px solid #c9e2fa;border-radius:10px;
     padding:18px;font-size:14.5px;color:var(--navy-3)} */
.wpb-quote-modal .wpb-contact-notice {
  margin-top: 16px;
  padding: 18px;
  border-radius: 10px;
  font-size: 14.5px;
  line-height: 1.5;
}

.wpb-quote-modal .wpb-contact-notice[data-wpb-notice="sent"] {
  background: #eef7ff;
  border: 1px solid #c9e2fa;
  color: #193768;
}

.wpb-quote-modal .wpb-contact-notice[data-wpb-notice="error"] {
  background: #fdeeee;
  border: 1px solid #f5c9c9;
  color: #9c2b2b;
}

/* demo: @media … .modal__panel{padding:26px 20px}
   demo 没给窄屏单列，这里补上，否则塞两列输入框会挤 */
@media (max-width: 600px) {
  .wpb-quote-modal .wpb-quote-modal__panel {
    padding: 26px 20px;
  }
  .wpb-quote-modal .wpb-contact {
    grid-template-columns: 1fr;
  }
  .wpb-quote-modal .wpb-contact > .wpb-f-wpb_name,
  .wpb-quote-modal .wpb-contact > .wpb-f-wpb_company {
    grid-column: 1 / -1;
  }
}

/* 产品详情页：图片右侧信息列里的报价按钮。
   按钮本身沿用主题 .btn + data-wpb-quote，与产品说明里的那颗完全同源，
   这里负责间距、配色。 */

.product-hero .product-hero__cta {
  margin: 18px 0 0;
}

.product-hero .product-hero__cta .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* 产品页正文两颗 Request a Quote（右侧信息列 + 说明段落里的那颗）改成品牌蓝。
   主题原本给的是暖棕 #8a5a34，与页头那颗 #1479d0 不是一套。
   :not(.header-cta) 是必须的 —— 页头那颗同样带 data-wpb-quote，
   漏掉这个排除条件会把页头一起染深，破坏它和 demo 的一致性。 */
body.single-product .btn[data-wpb-quote]:not(.header-cta) {
  background-color: #0e62ae;
  border-color: #0e62ae;
  color: #fff;
  box-shadow: 0 10px 24px rgba(14, 98, 174, .24);
}

body.single-product .btn[data-wpb-quote]:not(.header-cta):hover,
body.single-product .btn[data-wpb-quote]:not(.header-cta):focus-visible {
  background-color: #0b4f8b;
  border-color: #0b4f8b;
  box-shadow: 0 10px 24px rgba(14, 98, 174, .3);
}
