/* ===== css/products.css
   产品中心共用样式：products.html（列表页网格与详情弹窗）
   + 12 个 product-*.html（页面底部「相关产品」卡片复用 equipment-card 系列）
   合并自 products-list.css 与 products-detail.css，两者内容原本 99% 重复。
   ===== */
.products-hero .inner-hero-shade{background:none}
.products-hero .inner-hero-image{object-position:center}
.products-hero-copy{max-width:820px}
.products-hero-copy>p:last-child{line-height:32px;margin-top:24px;color:#d9dedd}
.catalog-panel{padding-block:96px 104px}
.catalog-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:32px;margin-bottom:32px}
.catalog-heading h2{line-height:64px;margin:0 0 8px;font-weight:700}
.catalog-heading p{line-height:24px;color:#d9dedd}
.catalog-count{flex:none;white-space:nowrap;color:#b8bfc2!important}
.equipment-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:32px 24px}
.equipment-card{min-width:0;position:relative}
.equipment-card>a{display:block;position:relative;isolation:isolate;aspect-ratio:384/504;overflow:hidden;border-radius:8px;cursor:pointer}
.equipment-image,.equipment-photo{position:absolute;inset:0;overflow:hidden;border-radius:8px}
.equipment-photo{background:#a8a8a5;transition:scale 800ms var(--ease-button)}
.equipment-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;max-width:none}
.equipment-image::after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,#ffffff0d 0%,transparent 46%,#18202322 66%,#182023c9 100%);pointer-events:none}
.equipment-hover-fill{position:absolute;inset:0;opacity:0;scale:1.05;background:rgb(0 0 0 / 10%);transition:opacity 600ms var(--ease-button),scale 800ms var(--ease-button);pointer-events:none}
.equipment-copy{position:absolute;left:24px;right:88px;bottom:24px;z-index:1;min-height:40px;display:flex;align-items:center}
.equipment-copy h3{line-height:32px;font-weight:700;color:#fff;transition:color 600ms var(--ease-button)}
.equipment-notch{position:absolute;right:0;bottom:0;width:70px;height:70px;border-top-left-radius:16px;background:var(--color-surface);z-index:2}
.equipment-more{position:absolute;right:0;bottom:0;width:56px;height:56px;border-radius:8px;background:var(--color-brand);display:grid;place-items:center;overflow:hidden}
.equipment-more::before{content:'';position:absolute;inset:0;background:#e59b31;scale:0 1;transform-origin:left;transition:scale var(--motion-nav) var(--ease-nav)}
.equipment-more .button-arrow{position:relative;width:24px;height:24px;transition:rotate var(--motion-button) var(--ease-button),translate var(--motion-button) var(--ease-button),filter 600ms var(--ease-button)}
.equipment-card a:is(:hover,:focus-visible) .equipment-photo{scale:1.03}
.equipment-card a:is(:hover,:focus-visible) .equipment-hover-fill{opacity:1;scale:1}
.equipment-card a:is(:hover,:focus-visible) .equipment-more::before{scale:1 1}
.equipment-card a:is(:hover,:focus-visible) .button-arrow{rotate:45deg;translate:-3px 0;filter:brightness(0) invert(1)}
.equipment-card a:focus-visible{outline-offset:-4px}
@media(max-width:1439px){.catalog-heading h2{line-height:56px}.equipment-grid{gap:24px}.equipment-copy{left:20px;right:72px;bottom:20px}.equipment-copy h3{line-height:32px}.equipment-notch{width:64px;height:64px}.equipment-more{width:48px;height:48px}}
@media(max-width:1199px){.equipment-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.catalog-panel{padding-block:80px}}
@media(max-width:767px){.products-hero>.container{padding-top:192px;padding-bottom:64px;justify-content:flex-start;min-height:640px}.products-hero .inner-hero-image{object-position:58% bottom;opacity:1}.products-hero .inner-hero-shade{background:none}.products-hero-copy>p:last-child{margin-top:16px}.catalog-panel{padding-block:64px}.catalog-heading{display:block;margin-bottom:24px}.catalog-heading h2{line-height:48px}.catalog-heading p{line-height:32px}.catalog-heading .catalog-count{margin-top:16px;line-height:24px}.equipment-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 16px}.equipment-copy{left:12px;right:16px;bottom:64px}.equipment-copy h3{line-height:24px}.equipment-notch{width:56px;height:56px}.equipment-more{width:40px;height:40px}.equipment-more .button-arrow{width:24px;height:24px}}
@media(max-width:767px){.equipment-image::after{background:linear-gradient(180deg,#ffffff0d 0%,transparent 45%,#18202388 65%,#182023f2 100%)}.equipment-copy{left:12px;right:64px;bottom:12px;min-height:48px}.equipment-copy h3{text-wrap:balance}}

/* Preserve the exact supplied product pixels and framing; sharpen only at paint time. */
.products-page .products-hero .inner-hero-image{animation:none;transform:none;will-change:auto;filter:url(#products-edge-clarity)}
.product-clarity-defs{position:absolute;inline-size:0;block-size:0;overflow:hidden;pointer-events:none}

/* 产品卡片配图：每款产品固定的裁切偏移（原为内联 style） */
.equipment-card#product-agv .equipment-photo img{left:-0.38%;top:0.05%;width:100.52%;height:104.63%}
.equipment-card#product-arm .equipment-photo img{left:-18.03%;top:-2.56%;width:136.34%;height:136.34%}
.equipment-card#product-dispatch .equipment-photo img{left:-27.4%;top:-17.11%;width:142.56%;height:142.56%}
.equipment-card#product-forklift .equipment-photo img{left:-38.26%;top:-24%;width:168.87%;height:168.87%}
.equipment-card#product-joining .equipment-photo img{left:-8.99%;top:0.02%;width:113.65%;height:99.97%}
.equipment-card#product-lift .equipment-photo img{left:-26.41%;top:-17.65%;width:140.21%;height:140.21%}
.equipment-card#product-packaging .equipment-photo img{left:-16.17%;top:-8.65%;width:128.99%;height:128.99%}
.equipment-card#product-rgv .equipment-photo img{left:-18.56%;top:-13.79%;width:137.22%;height:137.22%}
.equipment-card#product-rolling .equipment-photo img{left:-1.46%;top:0.03%;width:102.79%;height:99.92%}
.equipment-card#product-stacker .equipment-photo img{left:-2.87%;top:0.01%;width:102.8%;height:106.55%}
