/* One typeface across navigation, brand lockups, model tools and entrance text. */
:root{--site-font:"Microsoft YaHei","微软雅黑",sans-serif}
html,body,body *{font-family:var(--site-font)!important}
.brand-name{font-weight:700;letter-spacing:0!important}.brand-company{font-weight:400;letter-spacing:0!important}
sanheng-model{display:block;position:relative;width:100%;background:#f5f6f7;border:1px solid #d7dbe0;border-radius:6px;overflow:hidden;color:#191c1f}
.model-top{position:absolute;inset:14px 14px auto;z-index:1;display:flex;justify-content:space-between;pointer-events:none;font-size:10px;letter-spacing:.08em;color:#5c6269}
.model-status{letter-spacing:0}
model-viewer{display:block;width:100%;height:280px;background:#f5f6f7;--poster-color:#f5f6f7;--progress-bar-color:#f3b43f;outline-offset:-4px}
sanheng-model[expanded] model-viewer{height:440px;min-height:280px}
.model-controls{display:flex;align-items:center;justify-content:space-between;gap:4px;padding:6px 10px;border-top:1px solid #e0e3e6;font-size:10px;color:#5c6269}
.model-controls>div{display:flex;gap:2px}.model-controls button,.model-views button{display:inline-flex;align-items:center;justify-content:center;min-width:40px;min-height:40px;padding:5px 8px;border:0;border-radius:6px;background:transparent;color:#191c1f;font-size:17px;cursor:pointer}
.model-controls button:hover,.model-views button:hover{background:#e1e4e8}.model-views{display:flex;gap:8px;padding:10px;border-top:1px solid #e0e3e6}.model-views button{font-size:12px;min-width:70px}.model-views button[aria-pressed=true]{background:#191c1f;color:#f5f6f7}
.model-error{position:absolute;inset:50px 12px 65px;display:flex;align-items:center;justify-content:center;gap:14px;flex-direction:column;background:#f5f6f7e8;font-size:14px}.model-error[hidden]{display:none}.model-error button{border:1px solid #9299a1;background:none;padding:10px;border-radius:6px;cursor:pointer}
.model-progress{position:absolute;bottom:0;left:0;width:100%;height:2px;background:#e8eaed}.model-progress span{display:block;width:0;height:100%;background:#bc8222;transition:width .2s} sanheng-model[data-loaded=true] .model-progress{display:none}
body:has(.product-portal[open]){overflow:hidden}
.product-portal{position:fixed;inset:0;width:100%;height:100%;max-width:none;max-height:none;padding:0;margin:0;border:0;border-radius:0;background:transparent;overflow:hidden;outline:none;color:#191c1f}
.product-portal::backdrop{background:transparent}
.portal-surface{position:absolute;inset:0;background:#e8eaed;will-change:clip-path;overflow:hidden}
.portal-shell{height:100%;opacity:0;display:flex;flex-direction:column;transform:translateY(12px)}
.portal-bar{height:72px;min-height:72px;display:flex;align-items:center;gap:20px;justify-content:space-between;border-bottom:1px solid #c4c9cf;padding:0 40px;background:#e8eaed}
.portal-bar h2{font-size:22px;font-weight:600;margin:0;letter-spacing:0}.portal-bar small{font-size:12px;color:#5c6269;margin-left:16px;font-weight:400}
.portal-close{display:flex;align-items:center;gap:18px;background:none;border:1px solid #9299a1;border-radius:6px;min-height:42px;padding:8px 16px;color:#191c1f;cursor:pointer;font-size:13px}.portal-close:hover{background:#191c1f;color:#f5f6f7}
.portal-frame{display:block;width:100%;flex:1;min-height:0;border:0;background:#e8eaed}
.portal-word{position:absolute;left:0;top:0;margin:0;line-height:1;pointer-events:none;white-space:nowrap;font-size:16px;font-weight:500;color:#191c1f}
.portal-loading{position:absolute;inset:72px 0 0;display:grid;place-items:center;color:#5c6269;pointer-events:none;font-size:14px}.portal-loading[hidden]{display:none}
.catalog-embedded .masthead,.catalog-embedded .contact-band,.catalog-embedded .site-footer,.catalog-embedded .skip{display:none}
.catalog-embedded .page-intro{padding:46px 0 32px}.catalog-embedded .breadcrumb{display:none}.catalog-embedded .page-intro h1{font-size:clamp(28px,3vw,40px)}.catalog-embedded #products{padding-top:22px}
@media(max-width:767px){model-viewer{height:280px}.model-controls{font-size:10px}.model-controls button{min-width:40px;min-height:44px} sanheng-model[expanded] model-viewer{height:340px}.portal-bar{padding:0 18px;height:66px;min-height:66px;gap:10px}.portal-bar small{display:none}.portal-bar h2{font-size:20px}.portal-close{padding:6px 12px;min-height:44px}.catalog-embedded .page-intro{padding:28px 0 20px}.catalog-embedded .page-intro h1{font-size:27px}.portal-loading{top:66px}}
@media(max-width:1000px){.product-grid,.catalog-content .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.model-controls>span{white-space:nowrap}.model-controls{flex-wrap:wrap}}
@media(max-width:600px){.product-grid,.catalog-content .product-grid{grid-template-columns:1fr;gap:32px}.catalog-content .product-title{font-size:18px}.model-controls{flex-wrap:nowrap}.model-controls>div{flex-shrink:0}}
@media(prefers-reduced-motion:reduce){.model-progress span{transition:none}}
