/* Shared type, spacing and controls. Native theme navigation and form behavior are preserved. */
body.wh-edition {
  --wh-paper:#f5f5f7; --wh-text:#1d1d1f; --wh-secondary:#525259; --wh-rule:#d9dade;
  --wh-system:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",Arial,sans-serif;
  --blue:#232326; --ink:#1d1d1f; --muted:#525259; --surface:#f5f5f7;
  color:var(--wh-text); font-family:var(--wh-system);
}
.wh-edition main :is(h1,h2,h3),.wh-edition #primary .page-title {font-family:var(--wh-system);text-wrap:balance}
.wh-edition main :is(p,li,dt,dd){overflow-wrap:break-word}
.wh-edition main :is(h2,h3,section[id]){scroll-margin-top:100px}
.wh-edition main table{font-variant-numeric:tabular-nums}
.wh-edition :is(a,button,input,select,textarea,summary):focus-visible{outline:3px solid #1672cc;outline-offset:3px}
.wh-edition .whui-sections{display:flex;flex-wrap:wrap;gap:6px 18px;padding:12px 0;margin:0 0 24px;border-block:1px solid var(--wh-rule)}
.wh-edition .whui-sections a{display:inline-flex;align-items:center;min-height:40px;color:var(--wh-text);font:600 15px/1.4 var(--wh-system);text-underline-offset:4px}
.wh-edition :is(#wh-product-documents,#wh-product-field-guide,#wh-crimp-selection,#wh-cn-patent-grants){margin:clamp(30px,5vw,70px) 0!important;max-width:100%}
.wh-edition #wh-product-documents {padding:clamp(20px,3.5vw,46px);background:var(--wh-paper);border-radius:20px}
.wh-edition #wh-product-documents h2,.wh-edition #wh-product-field-guide h2{font-size:clamp(25px,3vw,40px);line-height:1.14;letter-spacing:-.035em}
.wh-edition #wh-product-documents a[download]{display:inline-block;padding-block:7px;color:#12558b!important;text-underline-offset:4px!important}
.wh-edition #wh-product-field-guide figure img{border:0!important;border-radius:12px;box-shadow:inset 0 0 0 1px #e6e6e8}
.wh-edition #wh-product-field-guide details{border:1px solid var(--wh-rule);border-radius:12px;padding:8px 16px;margin:.7em 0}
.wh-edition #wh-product-field-guide summary{cursor:pointer;padding:8px 0}
.wh-edition .entry-content p:empty,.wh-edition .price:empty{display:none}
.wh-edition main :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=submit]),select,textarea){border-radius:8px}
.wh-edition main :is(table,figure,img,video,iframe),.wh-edition .entry-content{max-width:100%}

/* Global Astra site. The photographed machine and an actual grip detail are the hero artwork. */
body.wh-edition.wp-theme-astra{--ast-global-color-0:#242426;--ast-global-color-1:#444448;--ast-global-color-2:#1d1d1f;--weiheng-gradient:linear-gradient(110deg,#121214,#252528)}
.wh-edition.weiheng-astra-studio #masthead :is(.ast-primary-header-bar,.ast-mobile-header-wrap .ast-primary-header-bar){background:#171719;border-bottom:1px solid #303033}
.wh-edition .whr3-surface .studio-hero{background:#f5f5f7;color:#1d1d1f}
.wh-edition .whr3-surface .studio-layout{max-width:1240px;grid-template-columns:1fr 1fr;gap:clamp(16px,4vw,70px);align-items:center;padding-block:clamp(40px,5.5vw,90px);min-height:0}
.wh-edition .whr3-surface .studio-copy h1{color:var(--wh-text);font:650 clamp(48px,5.6vw,86px)/1.01 var(--wh-system);letter-spacing:-.06em;max-width:12.5ch;margin:0 0 25px}
.wh-edition .whr3-surface .studio-copy p{color:var(--wh-secondary);font:400 clamp(17px,1.35vw,21px)/1.55 var(--wh-system);max-width:37ch}
.wh-edition .whr3-surface .studio-scene{width:100%;aspect-ratio:1.2;background:linear-gradient(145deg,#fff 5%,#ebebee 96%);border-radius:28px;overflow:hidden}
.wh-edition .whr3-surface :is(.studio-disc,.studio-platform,.sec__no){display:none}
.wh-edition .whr3-surface .studio-machine{height:105%;bottom:0;left:19%;filter:none}
.wh-edition .whr3-surface .studio-caption{color:var(--wh-text);right:5%;top:7%;font-family:var(--wh-system)}
.wh-edition .whr3-surface .studio-caption span{color:var(--wh-secondary);font-family:var(--wh-system)}
.wh-edition .whr3-surface .studio-caption::before{border-color:#707075}
.wh-edition .whr3-surface .studio-detail{left:5%;bottom:6%;transform:none;border:1px solid #d6d6da;box-shadow:none;border-radius:12px}
.wh-edition .whr3-surface .studio-detail span{font-family:var(--wh-system)}
.wh-edition .whr3-surface .studio-quote{color:var(--wh-text);text-underline-offset:5px}
.wh-edition .whr3-surface :is(.studio-actions .btn--primary,.btn--primary),
.wh-edition.weiheng-astra-studio.woocommerce .whr3-product-quote .button,
.wh-edition.wp-theme-weiheng .button.primary{background:#202022;color:white;border:1px solid #202022;border-radius:999px;text-transform:none;letter-spacing:0;font:600 15px/1.2 var(--wh-system);padding:14px 22px;min-height:46px}
.wh-edition .whr3-surface .cta-band .btn--primary{background:white;color:#1d1d1f;border-color:white}
.wh-edition .whr3-surface .studio-actions{align-items:center;gap:20px}
.wh-edition .whr3-surface .studio-actions .studio-quote,.wh-edition .whr3-surface .studio-scene .studio-caption{color:#252528!important}
.wh-edition.wp-theme-weiheng .hero .hero-actions .button.primary,.wh-edition.weiheng-astra-studio.woocommerce .whr3-product-quote .button{color:white!important;background:#202022!important}
.wh-edition.wp-theme-weiheng .language-switch a[hreflang="en-NZ"]:not([aria-current]){display:none}
.wh-edition .whr3-surface .studio-categories{background:white;border-bottom:1px solid var(--wh-rule)}
.wh-edition .whr3-surface .sec{padding-block:clamp(44px,6vw,84px)}
.wh-edition .whr3-surface .sec h2,.wh-edition .page-head h1{letter-spacing:-.045em;line-height:1.09}
.wh-edition .whr3-surface :is(.card__link,.frame){border-radius:16px;overflow:hidden}
.wh-edition .whr3-surface :is(.page-body,.prose) p{line-height:1.65}
.wh-edition.woocommerce #primary{margin-top:clamp(24px,4vw,56px)}
.wh-edition.woocommerce .ast-woocommerce-container{background:white;border-radius:20px;padding:clamp(16px,3vw,42px)}
.wh-edition.woocommerce div.product .woocommerce-product-gallery{opacity:1!important;background:var(--wh-paper);border-radius:16px}
.wh-edition.woocommerce div.product .woocommerce-product-gallery__image img:not(.zoomImg){width:100%;height:clamp(260px,36vw,490px);object-fit:contain;mix-blend-mode:multiply}
.wh-edition.woocommerce div.product .summary{padding-top:clamp(4px,2vw,28px)}
.wh-edition.woocommerce div.product .summary h1{font:640 clamp(35px,4vw,62px)/1.06 var(--wh-system);letter-spacing:-.048em}
.wh-edition.woocommerce .summary .woocommerce-product-details__short-description{max-width:54ch;font-size:17px;line-height:1.6;color:var(--wh-secondary)}
.wh-edition.woocommerce div.product .summary .product_meta,.wh-edition.woocommerce ul.products .ast-on-card-button{display:none}
.wh-edition.woocommerce ul.products li.product{background:#fff;border:1px solid #e4e4e8;border-radius:16px;overflow:hidden;padding-bottom:16px}
.wh-edition.woocommerce ul.products li.product .astra-shop-summary-wrap{padding-inline:16px}
.wh-edition.woocommerce ul.products li.product .woocommerce-loop-product__title{font:600 clamp(17px,1.65vw,23px)/1.23 var(--wh-system)}
.wh-edition.woocommerce .woocommerce-tabs{padding-top:28px}
.wh-edition.woocommerce .woocommerce-Tabs-panel{max-width:980px;margin-inline:auto}
.wh-edition.wp-theme-astra :is(.ast-archive-description h1,.res-hero h1,.work-mast h1,.co-intro h1){letter-spacing:-.05em}
.wh-edition.wp-theme-astra :is(.single-layout-1 .entry-content,.ast-single-post .prose){font-size:17px;line-height:1.7}
.wh-edition.wp-theme-astra.single-post .entry-content{max-width:76ch;margin-inline:auto}
.wh-edition.wp-theme-astra :is(.post-content,.single-layout-1) .entry-meta {display:none}
.wh-edition.wp-theme-astra .ast-article-post{border-radius:16px}
.wh-edition.wp-theme-astra .ast-article-post .entry-title{font-size:clamp(23px,2.6vw,36px);letter-spacing:-.035em}
.wh-edition.wp-theme-astra :is(.quote-form,.conditions,.service-content,.res-row,.library-entry) {border-radius:16px}
.wh-edition.wp-theme-astra .quote-form fieldset{margin-block-end:20px;min-width:0}
.wh-edition.wp-theme-astra .wha-tool :is(.res-row,.service-content,.conditions){border-color:var(--wh-rule)}
.wh-edition.wp-theme-astra .ast-article-single .entry-content :is(.res-library,.method-desk,.service-workspace,.selector-desk){padding-block:clamp(32px,5vw,68px)}

/* Chinese site, including its existing editorial, company and contact layouts. */
.wh-edition.wp-theme-weiheng .site-header{background:rgba(255,255,255,.97);border-bottom:1px solid var(--wh-rule)}
.wh-edition.wp-theme-weiheng .hero{display:grid;grid-template-columns:1fr 1.06fr;gap:clamp(18px,4vw,62px);align-items:center;background:var(--wh-paper);height:auto;min-height:0;max-height:none;padding:clamp(36px,5vw,74px) max(5%,calc((100% - 1260px)/2))}
.wh-edition.wp-theme-weiheng .hero .hero-image{position:static;grid-column:2;grid-row:1;width:100%;height:auto;aspect-ratio:1.22;object-fit:contain;border-radius:22px;background:white}
.wh-edition.wp-theme-weiheng .hero .hero-content{grid-column:1;grid-row:1;position:static;padding:0;max-width:100%;width:100%}
.wh-edition.wp-theme-weiheng .hero :is(.hero-shade,.hero-caption,.hero-bottom){display:none}
.wh-edition.wp-theme-weiheng .hero .hero-content h1{font:650 clamp(40px,4.8vw,76px)/1.11 var(--wh-system);letter-spacing:-.045em;color:var(--wh-text);max-width:100%}
.wh-edition.wp-theme-weiheng .hero .hero-content>p{font:400 clamp(16px,1.25vw,19px)/1.65 var(--wh-system);color:var(--wh-secondary);max-width:32em;margin-top:18px}
.wh-edition.wp-theme-weiheng .hero .hero-kicker{color:#55555a;letter-spacing:0}
.wh-edition.wp-theme-weiheng .product-card,.wh-edition.wp-theme-weiheng .insight-card{background:white;border:1px solid #e1e1e5;border-radius:16px;overflow:hidden;box-shadow:none}
.wh-edition.wp-theme-weiheng .product-card .product-image{background:var(--wh-paper);border:0}
.wh-edition.wp-theme-weiheng .product-card .product-image img{object-fit:contain;mix-blend-mode:multiply}
.home.wh-edition.wp-theme-weiheng #products .product-card .product-image{background:#fff}
.home.wh-edition.wp-theme-weiheng #products .product-card .product-image img.whui-home-photo{display:block;padding:0;object-fit:contain;object-position:center bottom;mix-blend-mode:normal;transform:none}
.wh-edition.wp-theme-weiheng .product-card :is(.image-index,.product-type){display:none}
.wh-edition.wp-theme-weiheng .product-copy h3{font-size:clamp(18px,1.55vw,24px);letter-spacing:-.035em}
.wh-edition.wp-theme-weiheng .product-copy p:empty,.wh-edition.wp-theme-weiheng .product-specs:empty{display:none}
.wh-edition.wp-theme-weiheng .product-detail-media{background:var(--wh-paper);border:0;border-radius:18px;overflow:hidden}
.wh-edition.wp-theme-weiheng .product-detail-media img{object-fit:contain;max-height:520px}
.wh-edition.wp-theme-weiheng :is(.page-hero,.product-detail,.about-opening){background:var(--wh-paper)}
.wh-edition.wp-theme-weiheng :is(.page-hero,.product-detail-summary,.about-opening) h1{font-weight:620;letter-spacing:-.04em}
.wh-edition.wp-theme-weiheng .rich-text{font-size:16px;line-height:1.8}
.wh-edition.wp-theme-weiheng .inquiry-panel{background:var(--wh-paper);border:1px solid var(--wh-rule);border-radius:18px;padding:clamp(18px,3vw,40px);color:var(--wh-text)}
.wh-edition.wp-theme-weiheng .inquiry-panel :is(label,legend,h2,h3,p){color:var(--wh-text)}
.wh-edition.wp-theme-weiheng .product-body .content-heading{border-color:var(--wh-rule)}
@media(max-width:767px){
  .wh-edition .whr3-surface .studio-layout,.wh-edition.wp-theme-weiheng .hero{grid-template-columns:minmax(0,1fr);padding-block:28px;gap:22px}
  .wh-edition .whr3-surface .studio-copy h1{font-size:clamp(38px,9.6vw,55px);margin-bottom:13px}
  .wh-edition .whr3-surface .studio-scene{max-width:490px;aspect-ratio:1.48;margin-top:0}
  .wh-edition .whr3-surface .studio-actions{flex-wrap:wrap;row-gap:10px}
  .wh-edition.wp-theme-weiheng .hero .hero-content{grid-row:1}
  .wh-edition.wp-theme-weiheng .hero .hero-image{grid-column:1;grid-row:2;aspect-ratio:1.75;max-height:320px}
  .wh-edition.wp-theme-weiheng .hero .hero-actions{margin-top:18px}
  .wh-edition.woocommerce div.product.type-product{display:flex;flex-direction:column}
  .wh-edition.woocommerce div.product.type-product>.summary{order:-1}
  .wh-edition.woocommerce div.product.type-product>:is(.summary,.images,.woocommerce-tabs){float:none;width:100%;min-width:0}
  .wh-edition.woocommerce div.product .summary h1{font-size:clamp(32px,8vw,45px)}
  .wh-edition.woocommerce div.product .woocommerce-product-gallery__image img:not(.zoomImg){height:300px}
  .wh-edition.woocommerce .ast-woocommerce-container{padding:16px;border-radius:12px}
  .wh-edition.woocommerce div.product .summary{margin-bottom:18px}
  .wh-edition.woocommerce .woocommerce-tabs{padding-top:18px}
  .wh-edition main :is(input,textarea,select){font-size:16px}
  .wh-edition main :is(.res-filters,.archive-filters,.studio-actions,.whui-sections){flex-wrap:wrap}
}
@media(prefers-reduced-motion:reduce){
  html:has(body.wh-edition){scroll-behavior:auto}
  .wh-edition :is(.studio-detail,.product-card,.card__link,.woocommerce-loop-product__link){transition:none;animation:none}
}

.wh-edition .whui-guide-links{clear:both;box-sizing:border-box;width:min(100%,1120px);margin:36px auto;padding:clamp(18px,3vw,34px);background:#f5f5f7;border-radius:14px;color:#151518}
.wh-edition .whui-guide-links h2,.wh-edition .whui-guide h2{margin:0 0 .6em;font-size:clamp(1.3rem,2.4vw,1.8rem);line-height:1.2}
.wh-edition .whui-guide-links ul{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr));gap:18px 28px;margin:0;padding:0;list-style:none}
.wh-edition .whui-guide-links li{margin:0;padding:0;line-height:1.5}
.wh-edition .whui-guide-links li a{font-weight:650;text-underline-offset:3px;color:#19191c}
.wh-edition .whui-guide-links li span{display:block;font-size:.94em;color:#47474e}
.wh-edition .whui-guide{max-width:920px;margin:0 auto 36px;color:#19191c}
.wh-edition .whui-guide-intro{display:grid;grid-template-columns:1.15fr 1fr;gap:clamp(20px,4vw,48px);align-items:center;margin:0 0 32px}
.wh-edition .whui-guide-intro p:first-child{font-size:1.12rem;line-height:1.6}
.wh-edition .whui-guide figure{margin:0}
.wh-edition .whui-guide figure img{display:block;width:100%;max-height:300px;object-fit:contain}
.wh-edition .whui-guide figcaption{font-size:.875rem;line-height:1.45;color:#48484d}
.wh-edition .whui-guide h2{margin-top:1.3em}
.wh-edition a.whui-quote-link{display:inline-block;color:#fff;background:#19191c;padding:12px 19px;border-radius:5px;text-decoration:none;font-weight:600}
.wh-edition .whui-guide a:focus-visible,.wh-edition .whui-guide-links a:focus-visible{outline:3px solid #2471ba;outline-offset:3px}
@media(max-width:700px){.wh-edition .whui-guide-intro{grid-template-columns:1fr;gap:14px}.wh-edition .whui-guide figure img{max-height:220px}}
