/* BUEN Machine theme override */
:root{--wc-orange:#0d6efd;--wc-dark:#0b2545;--buen-blue:#0d6efd;--buen-navy:#0b2545;--buen-accent:#ff6a00}
.quote-button,.hero-btn.primary,.error-btn.primary{background:#0d6efd!important;border-color:#0d6efd!important}
.quote-button:hover,.hero-btn.primary:hover{background:#0b5ed7!important;border-color:#0b5ed7!important}
a:hover{color:#0d6efd}
.hm-slide-btn.primary,.hero-btn.primary{background:#0d6efd!important}
.sh-kicker,.bm-kicker{color:#0d6efd!important}
.wc-cta,.hm-cta{background:#0b2545!important}

/* 产品图完整显示：不再被固定高度裁切（hero/CTA 场景背景保持 cover） */
img[src*="/images/PartsCatalog/"]:not(.hero-bg):not(.cta-bg),
img[src*="/images/PartDetails/"]:not(.hero-bg):not(.cta-bg),
img[src*="/images/RealProducts/"]:not(.hero-bg):not(.cta-bg),
img[src*="/images/Machine/"]:not(.hero-bg):not(.cta-bg),
img[src*="/images/ExtrusionMachines/"]:not(.hero-bg):not(.cta-bg),
img[src*="/images/InjectionMachines/"]:not(.hero-bg):not(.cta-bg){object-fit:contain!important;background:#f8fafc}

/* 产品卡片：去掉固定高度，按原始比例完整放大显示（图库/主图布局不动） */
.wc-feat-item > img[src*="/images/"]{height:auto!important;max-height:none!important;object-fit:contain!important;aspect-ratio:auto!important;background:#fff}

/* 总页 6 张分类卡片：统一固定高度 + 完整居中，避免不同比例图片大小参差 */
#part-categories .wc-feat-item > img{height:210px!important;max-height:210px!important;object-fit:contain!important;aspect-ratio:auto!important;background:#f8fafc!important;padding:10px;box-sizing:border-box}
