/* ============================================================================
   永大不锈钢站点样式 —— 整体重做（2026-12-01 第五轮）
   参考站点：http://www.fsytxz.com/（亚特祥科技，国产化工/机械 B2B 官网范式）
   核心变化：深炭黑极简风 → 深蓝 B2B 工业风；产品区改侧边分类+网格缩略图；
   优势区改"图片+超大编号"交替排版；新闻区左右对称卡片；页脚多栏+二维码位。
   整份文件一次性写完，不是分批打补丁。
   ============================================================================ */

:root {
    color-scheme: light;
    scroll-padding-top: 92px;
    --yd-ink: #1b2a3d;
    --yd-text: #4a5566;
    --yd-muted: #78828f;
    --yd-blue: #1a4e96;
    --yd-blue-deep: #123a73;
    --yd-navy: #0d2550;
    --yd-light: #eef2f8;
    --yd-line: #dfe4ec;
    --yd-paper: #f5f7fa;
    --yd-gold: #d9a441;
    --yd-gutter: clamp(18px,3.15vw,68px);
    --yd-max: 1560px;
    --yd-radius-sm: 4px;
    --yd-radius: 8px;
    --yd-radius-lg: 14px;
    --yd-shadow-sm: 0 2px 10px -4px #0d255033;
    --yd-shadow: 0 14px 30px -16px #0d255040;
    --yd-shadow-lg: 0 26px 52px -22px #0d25504d;
    --yd-space-xs: clamp(6px,.6vw,10px);
    --yd-space-sm: clamp(10px,1.1vw,16px);
    --yd-space-md: clamp(18px,2vw,28px);
    --yd-space-lg: clamp(30px,3.6vw,52px);
    --yd-space-xl: clamp(48px,6vw,88px);
    font-family: "Microsoft YaHei","PingFang SC","Noto Sans CJK SC",system-ui,sans-serif;
    line-height: 1.7;
    color: var(--yd-ink);
}
*,*::before,*::after { box-sizing: border-box; }
body { margin: 0; background: #fff; }
img { display: block; max-width: 100%; height: auto; }
figure,h1,h2,h3,p,dl,dd { margin: 0; }
a { color: inherit; text-decoration: none; }
button,input,textarea,select { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
::selection { background: var(--yd-blue); color: #fff; }
:focus-visible { outline: 3px solid var(--yd-blue); outline-offset: 3px; }
h1,h2,h3 { line-height: 1.26; font-weight: 740; text-wrap: balance; color: var(--yd-ink); letter-spacing: -.01em; }
h2 { font-size: clamp(1.5rem,2.4vw,2.1rem); }
h3 { font-size: clamp(1.08rem,1.45vw,1.3rem); }
p { color: var(--yd-text); }
.yd-wrap { width: min(var(--yd-max),calc(100% - 2 * var(--yd-gutter))); margin-inline: auto; }
.yd-section { padding-block: clamp(36px,5vw,76px); }
.yd-skip { position: fixed; z-index: 10; top: 8px; left: 8px; transform: translateY(-150%); padding: 10px 16px; background: #fff; }
.yd-skip:focus { transform: none; }
.yd-visually-hidden { position: absolute; overflow: hidden; width: 1px; height: 1px; clip-path: inset(50%); white-space: nowrap; }
.yd-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 9px 12px; }

/* ---- 按钮：实色蓝底，直角到小圆角，符合国产工业官网常见风格 ---- */
.yd-button { display: inline-flex; min-height: 46px; max-width: 100%; justify-content: center; align-items: center; padding: 9px clamp(16px,1.8vw,26px); border: 1px solid transparent; border-radius: var(--yd-radius-sm); background: #fff; color: var(--yd-blue-deep); font-weight: 650; font-size: .95rem; text-align: center; line-height: 1.35; transition: background-color .18s,color .18s,border-color .18s,transform .15s; }
.yd-button-primary { color: #fff; background: var(--yd-blue); border-color: var(--yd-blue); }
.yd-button-primary:hover { background: var(--yd-blue-deep); border-color: var(--yd-blue-deep); }
.yd-button-outline { border-color: #a9bcd6; background: #fff; }
.yd-button-outline:hover,.yd-button:not(.yd-button-primary):hover { background: var(--yd-light); border-color: var(--yd-blue); color: var(--yd-blue); }
.yd-text-link { display: inline-flex; min-height: 40px; align-items: center; color: var(--yd-blue); font-weight: 640; }
.yd-text-link::after { content: "\00bb"; margin-left: 4px; }
.yd-text-link:hover { color: var(--yd-blue-deep); text-decoration: underline; text-underline-offset: 4px; }

/* ---- 栏目标题：居中，两侧带菱形小图标的虚线，呼应参考站的"◆ 标题 ◆"排法；
   本站栏目标题原本是左对齐，这里保留左对齐但加蓝色小方块前缀，取舍兼顾原有信息架构 ---- */
.yd-section-head { display: flex; justify-content: space-between; align-items: end; gap: 9px 28px; margin-bottom: clamp(20px,3vw,38px); }
.yd-section-head p { max-width: 42em; margin-top: 8px; }
.yd-section-head > a { flex: none; }
.yd-section-head h2,.yd-advantage-band h2 { position: relative; padding-left: 16px; }
.yd-section-head h2::before,.yd-advantage-band h2::before {
    content: ""; position: absolute; left: 0; top: .14em; bottom: .14em; width: 4px;
    background: var(--yd-blue);
}
.yd-products-head { align-items: end; }
.yd-product-search { display: flex; flex: 0 1 380px; align-self: end; width: 100%; overflow: hidden; border: 1px solid var(--yd-blue); border-radius: var(--yd-radius-sm); background: #fff; }
.yd-product-search input { width: 100%; min-width: 0; min-height: 46px; border: 0; padding-inline: 13px; color: var(--yd-ink); background: transparent; }
.yd-product-search button { flex: none; border: 0; padding-inline: 18px; color: #fff; background: var(--yd-blue); font-weight: 650; }
.yd-product-search :focus-visible { outline-offset: -3px; }
.yd-product-search button:hover { background: var(--yd-blue-deep); }

/* ---- 头部：白底，蓝色下划线式导航 ---- */
.yd-header { position: sticky; z-index: 3; top: 0; border-bottom: 1px solid var(--yd-line); background: #fff; box-shadow: 0 2px 10px #0d25500f; }
.yd-masthead { display: grid; min-height: 80px; grid-template-columns: auto minmax(0,1fr) auto; grid-template-areas: "brand menu phone"; align-items: stretch; column-gap: clamp(14px,2.15vw,35px); }
.yd-brand { grid-area: brand; display: inline-flex; width: fit-content; min-width: 0; min-height: 44px; align-items: center; align-self: center; gap: clamp(9px,1vw,15px); padding-block: 8px; }
.yd-mark { position: relative; display: block; width: clamp(48px,4.8vw,71px); aspect-ratio: 1.76; overflow: hidden; flex: none; }
.yd-mark img { width: 100%; height: 100%; object-fit: contain; }
.yd-mark-word img { position: absolute; top: 50%; left: 50%; width: 142%; height: auto; max-width: none; transform: translate(-50%,-50%); }
.yd-lockup { display: grid; gap: 4px; min-width: 0; line-height: 1.2; }
.yd-lockup strong { color: var(--yd-navy); font-size: clamp(1.23rem,1.75vw,1.58rem); letter-spacing: .02em; font-weight: 740; }
.yd-lockup :is(span,small) { color: var(--yd-muted); font-size: .8rem; letter-spacing: .02em; overflow-wrap: anywhere; }
.yd-nav { grid-area: menu; display: flex; justify-content: center; align-items: center; gap: clamp(2px,.5vw,6px); min-width: 0; min-height: 46px; }
.yd-nav a {
    position: relative; display: flex; min-width: 0; align-items: center; justify-content: center;
    padding: 9px clamp(14px,1.5vw,22px); margin-block: 7px;
    min-height: 44px; border-radius: 5px;
    color: var(--yd-ink); font-size: clamp(.875rem,1.04vw,1rem); font-weight: 600; line-height: 1.28;
    text-align: center; text-wrap: balance;
    transition: color .2s,background-color .2s;
}
.yd-nav a + a::before {
    content: ""; position: absolute; left: -3px; top: 50%; width: 1px; height: 14px;
    background: var(--yd-line); transform: translateY(-50%);
}
.yd-nav a:is(:hover,:focus-visible) { color: var(--yd-blue); background: var(--yd-light); }
.yd-nav a.is-current { color: var(--yd-blue-deep); background: linear-gradient(180deg,#f2f6fc,#e5edf9); font-weight: 720; }
.yd-nav a.is-current::after {
    content: ""; position: absolute; inset: auto 12px 0; height: 2px;
    border-radius: 2px 2px 0 0; background: var(--yd-blue);
}
.yd-nav a.is-current:hover { background: #dce8f7; }
.yd-nav a:focus-visible,.yd-hotline:focus-visible { z-index: 1; outline-offset: -3px; }
.yd-hotline { grid-area: phone; align-self: center; display: grid; align-content: center; gap: 4px; min-height: 46px; padding: 6px 0 6px clamp(14px,1.8vw,26px); border-inline-start: 1px solid var(--yd-line); color: var(--yd-blue-deep); line-height: 1.12; white-space: nowrap; }
.yd-hotline span { color: var(--yd-muted); font-size: .8rem; font-weight: 600; }
.yd-hotline strong { font-size: clamp(1.1rem,1.5vw,1.4rem); font-variant-numeric: tabular-nums; letter-spacing: .02em; color: var(--yd-blue); }
.yd-hotline:hover strong { text-decoration: underline; text-underline-offset: 4px; }

/* ---- 首页大图：深蓝渐变蒙版沉浸式背景 + 左文右留白；同原设计但统一为蓝色体系 ---- */
.yd-hero { position: relative; isolation: isolate; display: grid; grid-template-rows: 1fr auto; min-height: clamp(405px,36vw,585px); overflow: hidden; background: var(--yd-navy); color: #fff; }
.yd-hero:not(.yd-has-media) { min-height: 355px; }
.yd-wrap.yd-hero-inner { z-index: 1; display: grid; grid-template-columns: minmax(0,1.26fr) minmax(0,1fr); align-items: center; padding-block: clamp(62px,7vw,112px) clamp(46px,6vw,96px); }
.yd-hero-copy { grid-column: 2; min-width: 0; padding-inline-start: clamp(0px,2.2vw,34px); }
.yd-hero:not(.yd-has-media) .yd-hero-copy { grid-column: 1 / -1; padding-inline-start: 0; }
.yd-hero.yd-has-directory { background: linear-gradient(118deg,var(--yd-navy),var(--yd-blue-deep)); border-bottom: 3px solid var(--yd-gold); }
.yd-has-directory .yd-hero-inner { grid-template-columns: minmax(0,1.34fr) minmax(252px,.66fr); gap: 24px clamp(25px,6vw,105px); padding-block: clamp(38px,5.8vw,83px); }
.yd-hero.yd-has-directory .yd-hero-copy { grid-column: 1; }
.yd-hero-directory { padding: 6px 0 2px clamp(15px,3.4vw,45px); border-inline-start: 1px solid #ffffff30; }
.yd-hero-directory h2 { margin-bottom: 10px; color: #cfe0f5; font-size: .94rem; font-weight: 630; }
.yd-hero-directory a { display: flex; min-height: 53px; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 7px 8px 0; border-top: 1px solid #ffffff26; font-size: clamp(1.04rem,1.7vw,1.43rem); font-weight: 660; transition: color .2s,background .2s; }
.yd-hero-directory a:last-child { border-bottom: 1px solid #ffffff26; }
.yd-hero-directory a small { color: #cfe0f5; font-variant-numeric: tabular-nums; font-size: .86rem; font-weight: 500; white-space: nowrap; }
.yd-hero-directory a:hover { color: var(--yd-gold); background: #ffffff10; }
.yd-hero-subtitle { display: flex; align-items: center; gap: 11px; margin-block-end: clamp(11px,1.4vw,21px); color: #d6b06c; font-size: clamp(.9rem,1.12vw,1.07rem); font-weight: 660; letter-spacing: .09em; }
.yd-hero-subtitle::before { flex: 0 0 25px; height: 1px; background: var(--yd-gold); content: ""; }
.yd-hero h1 { font-size: clamp(2.13rem,4.25vw,4.55rem); line-height: 1.12; font-weight: 800; letter-spacing: -.03em; color: #fff; }
.yd-hero-intro { max-width: 29em; margin-block: clamp(15px,1.9vw,31px); color: #dbe6f3; font-size: clamp(1rem,1.28vw,1.16rem); line-height: 1.8; text-wrap: pretty; }
.yd-hero .yd-actions { gap: 10px; }
.yd-hero .yd-button { min-height: 48px; }
.yd-hero .yd-button-primary { color: #fff; background: var(--yd-blue); border-color: var(--yd-blue); }
.yd-hero .yd-button-primary:hover { background: #2a63b5; border-color: #2a63b5; }
.yd-hero .yd-button-outline { color: #fff; background: #ffffff14; border-color: #ffffff60; }
.yd-hero .yd-button-outline:hover { color: #fff; background: #ffffff26; }
.yd-hero :focus-visible,.yd-advantage-band :focus-visible { outline-color: var(--yd-gold); }
.yd-hero-media { position: absolute; z-index: -2; inset: 0; min-width: 0; overflow: hidden; background: var(--yd-navy); }
.yd-slide,.yd-slide picture { position: absolute; inset: 0; display: block; }
.yd-slide picture { width: 73%; }
.yd-slide-wide picture { width: 100%; }
.yd-slide img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.yd-slide::after { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg,transparent 26%,#0d255014 39%,#0d2550ed 64%,#0a1d3f 93%),linear-gradient(0deg,#0a1d3fd1,transparent 24%); content: ""; }
.yd-slide-wide::after { background: linear-gradient(90deg,transparent 30%,#0d255037 54%,#0a1d3fad 100%),linear-gradient(0deg,#0a1d3fd1,transparent 23%); }
.yd-hero::after { position: absolute; z-index: -1; inset: 0; pointer-events: none; opacity: .55; background: radial-gradient(ellipse 380px 220px at var(--yd-glint-x,75%) var(--yd-glint-y,36%),#4d7fc02d,transparent); content: ""; }
.yd-wrap.yd-hero-foot { z-index: 1; padding-bottom: clamp(18px,2.65vw,38px); }
.yd-hero-tools { position: relative; display: flex; width: fit-content; max-width: 100%; align-items: center; gap: 7px 18px; padding: 2px 5px 2px 13px; border: 1px solid #ffffff30; border-radius: var(--yd-radius-sm); background: #0a1d3fec; }
.yd-hero-tools p { color: #eef3fb; font-size: .875rem; line-height: 1.35; }
.yd-hero-controls { display: flex; align-items: center; }
.yd-hero-controls button { display: grid; min-width: 40px; min-height: 42px; place-items: center; padding: 0; border: 0; border-radius: 3px; background: transparent; color: #fff; font-size: 1.35rem; line-height: 1; }
.yd-hero-controls button:hover { background: #ffffff20; }
.yd-hero-controls button:focus-visible { outline-offset: -3px; }
.yd-hero-controls .yd-slide-position { min-width: 48px; padding-inline: 7px; color: #eef3fb; font-size: .84rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.yd-hero-progress { position: absolute; inset: auto 0 0; height: 2px; transform: scaleX(0); transform-origin: left; background: var(--yd-gold); pointer-events: none; }

/* 横幅左侧展示产品，右侧容纳 CMS 文案。轮播信息沿图片下方排列。 */
.yd-cover {
    width: min(var(--yd-max),calc(100% - 2 * var(--yd-gutter)));
    margin: clamp(14px,2vw,28px) auto 0;
    grid-template: minmax(clamp(285px,30vw,477px),1fr) auto / minmax(0,1.6fr) minmax(0,1fr);
    min-height: 0; border: 1px solid #cfdae8; border-radius: var(--yd-radius);
    color: var(--yd-ink); background: #eff4fa;
    box-shadow: 0 18px 40px -28px #112d5847;
}
.yd-cover::after { content: none; }
.yd-cover .yd-hero-media { position: relative; inset: auto; grid-area: 1 / 1; height: 100%; z-index: 0; background: #cbd6e3; }
.yd-cover .yd-slide picture { width: 100%; }
.yd-cover .yd-slide::after { content: none; }
.yd-cover .yd-slide-wide img { object-position: 18% center; }
.yd-cover .yd-hero-inner {
    display: grid; grid-area: 1 / 2 / span 2; grid-template-columns: minmax(0,1fr);
    width: 100%; padding: clamp(24px,3.5vw,56px);
    border-inline-start: 1px solid #cfdae8;
    background: radial-gradient(ellipse at 84% 6%,#fff,transparent 62%),linear-gradient(140deg,#f8fafd,#e6eef8);
}
.yd-cover .yd-hero-copy { grid-column: 1; padding: 0; }
.yd-cover .yd-hero-copy:not(:has(.yd-hero-subtitle))::before {
    display: block; width: 36px; height: 3px; margin-bottom: clamp(13px,1.35vw,20px);
    border-radius: 2px; background: var(--yd-blue); content: "";
}
.yd-cover .yd-hero-subtitle { color: var(--yd-blue-deep); letter-spacing: .04em; }
.yd-cover .yd-hero-subtitle::before { background: var(--yd-blue); }
.yd-cover h1 { color: var(--yd-navy); font-size: clamp(2.1rem,3.6vw,3.85rem); }
.yd-cover .yd-hero-intro { margin-block: 16px 25px; color: var(--yd-text); font-size: clamp(.97rem,1.15vw,1.1rem); }
.yd-cover .yd-button-primary { box-shadow: 0 6px 14px -8px #123a7380; }
.yd-cover .yd-button-outline { border-color: #90a8ca; background: #ffffff81; color: var(--yd-blue-deep); }
.yd-cover .yd-button-outline:hover { border-color: var(--yd-blue); background: #fff; }
.yd-cover :focus-visible { outline-color: var(--yd-blue); }
.yd-cover .yd-hero-foot { grid-area: 2 / 1; width: 100%; min-height: 0; padding: 0; }
.yd-cover .yd-hero-tools {
    width: 100%; min-height: 46px; justify-content: space-between;
    padding-inline: clamp(12px,1.6vw,25px) 8px; border: 0; border-radius: 0;
    background: var(--yd-navy);
}
.yd-cover .yd-hero-tools > p { font-weight: 630; }
.yd-cover .yd-hero-tools button { min-width: 44px; min-height: 44px; }
.yd-cover .yd-hero-tools :focus-visible { outline-color: #dae8fd; }
.yd-cover .yd-hero-progress { background: #80b1ea; }

/* ---- 产品区：参考站"侧边分类 + 右侧网格缩略图"布局 ---- */
.yd-material-library .yd-products-head {
    padding-bottom: clamp(14px,1.55vw,22px); border-bottom: 1px solid var(--yd-line);
    margin-bottom: clamp(16px,1.85vw,26px);
}
.yd-shop-layout { display: grid; grid-template-columns: minmax(192px,.22fr) minmax(0,1fr); gap: clamp(16px,2vw,28px); align-items: start; }
.yd-shop-sidebar { display: flex; flex-direction: column; border: 1px solid var(--yd-line); border-radius: var(--yd-radius); overflow: hidden; background: #fff; }
.yd-shop-sidebar h3 { padding: 14px clamp(14px,1.65vw,20px); border-bottom: 1px solid var(--yd-line); background: #edf3fa; color: var(--yd-navy); font-size: 1.06rem; }
.yd-shop-sidebar nav { display: grid; }
.yd-shop-sidebar nav a { display: flex; justify-content: space-between; align-items: center; min-height: 48px; padding-inline: clamp(14px,1.8vw,22px); border-bottom: 1px solid var(--yd-line); color: var(--yd-text); font-size: .94rem; transition: background-color .18s,color .18s; }
.yd-shop-sidebar nav a:last-child { border-bottom: 0; }
.yd-shop-sidebar nav a span { color: var(--yd-muted); font-size: .85rem; font-variant-numeric: tabular-nums; }
.yd-shop-sidebar nav a:hover { background: var(--yd-light); color: var(--yd-blue); }
.yd-shop-procurement { display: flex; flex-direction: column; align-items: stretch; gap: 5px; padding: 14px clamp(14px,1.65vw,20px) 9px; border-top: 1px solid var(--yd-line); }
.yd-shop-procurement .yd-text-link { justify-content: center; font-size: .9rem; }
.yd-shop-drawing { display: grid; align-content: center; gap: 5px; padding: 12px clamp(14px,1.65vw,20px); border-top: 1px solid var(--yd-line); background: var(--yd-paper); }
.yd-shop-drawing strong { color: var(--yd-navy); font-size: .94rem; }
.yd-shop-drawing p { font-size: .875rem; line-height: 1.55; text-wrap: pretty; }
.yd-shop-sidebar:not(:has(.yd-shop-drawing)) .yd-shop-procurement { flex: 1; justify-content: center; }
.yd-shop-sidebar-hotline { padding: 13px clamp(14px,1.65vw,20px); background: var(--yd-navy); color: #fff; }
.yd-shop-sidebar-hotline span { display: block; margin-bottom: 4px; color: #c9d7ec; font-size: .82rem; }
.yd-shop-sidebar-hotline a { font-size: clamp(1.1rem,1.6vw,1.35rem); font-weight: 700; font-variant-numeric: tabular-nums; color: #fff; }
.yd-shop-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: clamp(14px,1.6vw,22px); }
.yd-shop-item { display: grid; grid-template-rows: auto 1fr; min-width: 0; border: 1px solid var(--yd-line); border-radius: var(--yd-radius-sm); overflow: hidden; background: #fff; box-shadow: var(--yd-shadow-sm); transition: box-shadow .2s,transform .2s,border-color .2s; }
.yd-shop-item figure { position: relative; aspect-ratio: 1.38; overflow: hidden; background: var(--yd-light); }
.yd-shop-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.yd-shop-item span { display: flex; min-height: 53px; align-items: center; gap: 8px; padding: 10px clamp(9px,1.25vw,18px); border-top: 1px solid #e5ebf3; background: linear-gradient(#fff,#f9fbfd); font-size: .92rem; line-height: 1.4; font-weight: 650; text-wrap: balance; color: var(--yd-ink); }
.yd-shop-item span::after { content: ""; margin-left: auto; width: 6px; height: 6px; flex: none; transform: rotate(45deg); border-top: 1px solid #5276a5; border-right: 1px solid #5276a5; }
.yd-shop-item:not(:has(figure)) { grid-template-rows: 1fr; }
.yd-shop-item:hover { border-color: var(--yd-blue); box-shadow: var(--yd-shadow); transform: translateY(-2px); }
.yd-shop-item:hover img { transform: scale(1.05); }
.yd-shop-item:hover span { color: var(--yd-blue); }
@media (min-width: 901px) {
    .yd-shop-layout:has(.yd-shop-item:nth-child(5)) { align-items: stretch; }
    .yd-shop-drawing { flex: 1; }
}

/* 首页的三大系列入口（卷板/焊管/平板）：保留作为补充信息条，样式简化为低调横栏 */
.yd-material-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(12px,1.5vw,20px); margin-bottom: var(--yd-space-md); }
.yd-material-entry { min-width: 0; display: flex; align-items: center; gap: 12px; padding: 14px clamp(14px,1.6vw,20px); border: 1px solid var(--yd-line); border-left: 3px solid var(--yd-blue); border-radius: var(--yd-radius-sm); background: var(--yd-paper); transition: background-color .2s,border-color .2s; }
.yd-material-entry figure { display: none; }
.yd-material-entry > div { flex: 1; min-width: 0; }
.yd-material-entry h3 { font-size: 1.02rem; }
.yd-material-entry p { margin-top: 3px; font-size: .86rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.yd-material-arrow { flex: none; display: grid; width: 26px; height: 26px; place-items: center; border-radius: 50%; background: var(--yd-light); color: var(--yd-blue); font-size: .95rem; transition: background-color .2s,color .2s; }
.yd-material-entry:hover { background: var(--yd-light); border-left-color: var(--yd-gold); }
.yd-material-entry:hover .yd-material-arrow { background: var(--yd-blue); color: #fff; }

/* ---- 询价规格提示区：浅蓝底卡片 + 圆点 ---- */
.yd-spec-rail { display: grid; grid-template-columns: minmax(132px,.25fr) minmax(0,1fr); align-items: start; gap: 16px 24px; margin-top: clamp(15px,2vw,28px); padding: clamp(18px,2.4vw,30px); border: 1px solid var(--yd-line); border-top-color: #c4d3e6; border-radius: var(--yd-radius); background: linear-gradient(110deg,#e9f0f9,#f5f8fc); }
.yd-spec-rail > h3 { position: relative; padding-left: 14px; font-size: clamp(1.05rem,1.55vw,1.3rem); }
.yd-spec-rail > h3::before { content: ""; position: absolute; left: 0; top: .1em; bottom: .1em; width: 3px; background: var(--yd-blue); }
.yd-spec-rail dl { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px 20px; }
.yd-spec-rail dl div { padding-inline-start: 14px; }
.yd-spec-rail dt { position: relative; color: var(--yd-ink); font-size: .94rem; font-weight: 700; line-height: 1.5; }
.yd-spec-rail dt::before { content: ""; position: absolute; inset-inline-start: -14px; top: .75em; width: 6px; height: 6px; transform: translateY(-50%); border-radius: 50%; background: var(--yd-blue); }
.yd-spec-rail dd { margin-top: 4px; color: var(--yd-text); font-size: .94rem; }

/* ---- 我们的优势：深蓝满版 + 图片/编号交替排版，呼应参考站"四大理由" ---- */
.yd-advantage-band { position: relative; isolation: isolate; background: radial-gradient(ellipse at 88% 0%,#244a80,transparent 72%),linear-gradient(155deg,#10284b,#173965); color: #fff; }
.yd-advantage-band::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .4; background-image: repeating-linear-gradient(115deg,#ffffff07 0 1px,transparent 1px 8px); }
.yd-advantage-band > .yd-wrap { position: relative; z-index: 1; }
.yd-advantage-band .yd-section-head h2 { color: #f6f9ff; }
.yd-advantage-band .yd-section-head h2::before { background: #9bc1f0; }
.yd-advantage-band .yd-section-head p { color: #c9d7ec; }
.yd-advantage-band .yd-text-link { color: #e8cf96; }
.yd-advantage-band .yd-text-link:hover { color: var(--yd-gold); }
.yd-reasons { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(16px,2.2vw,32px); }
.yd-reason { display: grid; grid-template-columns: minmax(0,.46fr) minmax(0,.54fr); align-items: center; gap: clamp(14px,1.8vw,24px); padding: clamp(14px,1.8vw,22px); border-radius: var(--yd-radius); background: #ffffff0d; border: 1px solid #ffffff1f; }
.yd-reason-rev { grid-template-columns: minmax(0,.54fr) minmax(0,.46fr); }
.yd-reason-rev figure { order: 2; }
.yd-reason figure { aspect-ratio: 1.3; overflow: hidden; border-radius: var(--yd-radius-sm); background: #ffffff10; }
.yd-reason img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.96) brightness(1.02); }
.yd-reason-copy { position: relative; min-width: 0; }
.yd-reason-num { display: block; margin-bottom: 4px; color: var(--yd-gold); font-size: clamp(1.7rem,2.6vw,2.3rem); font-weight: 780; letter-spacing: .02em; line-height: 1; font-variant-numeric: tabular-nums; }
.yd-reason h3 { color: #fff; margin-bottom: 6px; }
.yd-reason.yd-reason-no-media { grid-template-columns: minmax(0,1fr); }
.yd-reason p { color: #d4dfed; font-size: .94rem; }
@media (max-width: 900px) {
    .yd-reasons { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 680px) {
    .yd-reason,.yd-reason-rev { grid-template-columns: minmax(0,1fr); }
    .yd-reason-rev figure { order: 0; }
}

/* ---- 产品/案例卡片：白卡+浅阴影+悬停蓝框 ---- */
.yd-series { display: grid; grid-template-columns: minmax(0,1.06fr) minmax(0,1fr); gap: clamp(12px,1.5vw,24px); }
.yd-series-card { display: grid; min-width: 0; grid-template-rows: minmax(235px,1fr) auto; border: 1px solid var(--yd-line); border-radius: var(--yd-radius); overflow: hidden; background: #fff; box-shadow: var(--yd-shadow-sm); transition: box-shadow .2s,border-color .2s; }
.yd-series-card figure { position: relative; min-width: 0; overflow: hidden; background: var(--yd-light); }
.yd-series-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.yd-series-copy { display: grid; align-content: center; gap: 8px; padding: clamp(16px,2.1vw,30px); }
.yd-series-copy h3 { font-size: clamp(1.24rem,2.15vw,1.93rem); }
.yd-series-copy span { width: fit-content; margin-top: 4px; border-bottom: 1px solid var(--yd-blue); color: var(--yd-blue); font-size: .91rem; font-weight: 650; }
.yd-series-card:first-child > div { border-top: 3px solid var(--yd-blue); background: var(--yd-light); }
.yd-series-card:first-child .yd-series-copy h3 { font-size: clamp(1.4rem,2.55vw,2.29rem); }
.yd-series-card:has(figure):not(:first-child) { grid-template-columns: minmax(0,.43fr) minmax(0,.57fr); grid-template-rows: auto; min-height: clamp(165px,14.8vw,232px); }
.yd-series-card:not(:has(figure)) { grid-template: minmax(0,1fr) / minmax(0,1fr); }
.yd-series:has(> :nth-child(3)) .yd-series-card:first-child { grid-row: span 2; }
.yd-series:not(:has(figure)) { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0; border-block: 1px solid var(--yd-line); }
.yd-series:not(:has(figure)) .yd-series-card { min-height: 0; grid-template: minmax(0,1fr) / minmax(0,1fr); border: 0; border-radius: 0; box-shadow: none; }
.yd-series:not(:has(figure)) .yd-series-card + .yd-series-card { border-inline-start: 1px solid var(--yd-line); }
.yd-series:not(:has(figure)) .yd-series-card:first-child { grid-row: auto; border-top: 2px solid var(--yd-blue); }
.yd-series:not(:has(figure)) .yd-series-card:first-child > div { border-top: 0; }
.yd-series-card:is(:hover,:focus-visible) { border-color: var(--yd-blue); box-shadow: var(--yd-shadow); }
.yd-product-card:focus-within,.yd-case-card:focus-within { border-color: var(--yd-blue); }

.yd-case-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: clamp(12px,1.55vw,24px); }
.yd-case-card { display: flex; min-width: 0; border: 1px solid var(--yd-line); border-radius: var(--yd-radius); background: #fff; box-shadow: var(--yd-shadow-sm); transition: box-shadow .2s,transform .2s,border-color .2s; }
.yd-case-card > a { display: block; width: 100%; border-radius: inherit; }
.yd-case-card figure,.yd-product-card figure { position: relative; overflow: hidden; aspect-ratio: 1.7; border-radius: var(--yd-radius) var(--yd-radius) 0 0; background: var(--yd-light); }
.yd-case-card img,.yd-product-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.yd-case-card:hover img,.yd-product-card:hover img { transform: scale(1.04); }
.yd-case-content { padding: clamp(14px,1.6vw,22px); }
.yd-case-content h2 { font-size: clamp(1.1rem,1.65vw,1.5rem); }
.yd-case-content p { margin-block: 8px 10px; }
.yd-case-card a:hover h2,.yd-case-card a:hover h3 { color: var(--yd-blue); }
.yd-case-card:hover { border-color: var(--yd-blue); box-shadow: var(--yd-shadow); transform: translateY(-2px); }
.yd-case-grid:not(:has(figure)) { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 clamp(18px,3.5vw,50px); }
.yd-case-grid:not(:has(figure)) .yd-case-card { border: 0; border-top: 1px solid var(--yd-line); border-radius: 0; background: transparent; box-shadow: none; }
.yd-case-grid:not(:has(figure)) .yd-case-content { padding: 18px 0 20px; }
.yd-case-grid:not(:has(figure)) .yd-case-content p { max-width: 38em; }
.yd-case-grid:not(:has(figure)) .yd-case-card:hover { transform: none; box-shadow: none; }
.yd-case-grid:not(:has(figure)) a:hover :is(h2,h3) { text-decoration: underline; text-underline-offset: 5px; }

.yd-contact-end {
    position: relative; isolation: isolate; overflow: hidden;
    display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center;
    gap: var(--yd-space-md) var(--yd-space-xl);
    padding: var(--yd-space-lg); margin-block: var(--yd-space-xl);
    border: 0; border-radius: var(--yd-radius-lg);
    background: linear-gradient(135deg,var(--yd-navy),var(--yd-blue-deep));
    color: #fff; box-shadow: var(--yd-shadow-lg);
}
.yd-contact-end::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .4; background-image: repeating-linear-gradient(115deg,#ffffff07 0 1px,transparent 1px 8px); }
.yd-contact-end > div:first-child { position: relative; z-index: 1; padding-left: 16px; }
.yd-contact-end > div:first-child::before { content: ""; position: absolute; left: 0; top: .12em; bottom: .12em; width: 3px; background: var(--yd-gold); }
.yd-contact-end h2 { color: #fff; font-size: clamp(1.4rem,2.3vw,1.95rem); }
.yd-contact-end h2::before { display: none; }
.yd-contact-end p { position: relative; z-index: 1; color: #d4dfed; margin-top: 7px; }
.yd-contact-end .yd-actions { position: relative; z-index: 1; flex: none; }
.yd-contact-end .yd-button-primary { background: var(--yd-gold); color: var(--yd-navy); border-color: var(--yd-gold); }
.yd-contact-end .yd-button-primary:hover { background: #e4b35c; }
.yd-contact-end .yd-button-outline { background: #ffffff14; color: #fff; border-color: #ffffff66; }
.yd-contact-end .yd-button-outline:hover { background: #ffffff26; }
@media (max-width: 680px) {
    .yd-contact-end { grid-template-columns: minmax(0,1fr); }
}

/* ---- 新闻/指南板块：左右两栏统一卡片语言（同宽、同样式，不再有"头条"特殊处理） ---- */
.yd-guide-band { border-block: 1px solid var(--yd-line); background: linear-gradient(180deg,#edf3fa 0,#f5f8fc 260px,#f5f8fc); }
.yd-guide-band > .yd-section > .yd-section-head {
    align-items: center; padding-bottom: clamp(18px,2vw,28px);
    margin-bottom: clamp(27px,3vw,42px); border-bottom: 1px solid #cbd8e8;
}
.yd-guide-band > .yd-section > .yd-section-head .yd-text-link {
    padding-inline: 13px; border: 1px solid #c1d1e5; border-radius: var(--yd-radius-sm); background: #ffffffb3;
}
.yd-guide-band > .yd-section > .yd-section-head .yd-text-link:hover { border-color: #8faed6; background: white; }
.yd-editorial-split { display: grid; grid-template-columns: minmax(0,1fr); gap: clamp(20px,2.5vw,38px); align-items: start; }
.yd-editorial-split > section { min-width: 0; }
.yd-editorial-column-head { display: grid; align-content: start; gap: 4px; margin-bottom: 12px; }
.yd-editorial-head :is(h2,h3) { font-size: clamp(1.21rem,1.8vw,1.45rem); }
.yd-editorial-head { display: flex; flex-wrap: wrap; gap: 0 14px; align-items: center; justify-content: space-between; min-height: 40px; }
.yd-editorial-head .yd-text-link { font-size: .92rem; }
.yd-editorial-intro { color: var(--yd-text); font-size: .94rem; }
.yd-editorial-prep { margin-top: 14px; padding: 16px clamp(13px,1.6vw,23px) 6px; border: 1px solid #d2deec; border-radius: var(--yd-radius-sm); background: #edf3fa; }
.yd-editorial-prep :is(h3,h4) { margin: 0 0 6px; color: var(--yd-navy); font-size: 1.06rem; }
.yd-editorial-prep ul { margin: 0; padding: 0; list-style: none; }
.yd-editorial-prep li + li { border-top: 1px solid #d2deec; }
.yd-editorial-prep a { display: flex; min-height: 44px; align-items: center; justify-content: space-between; gap: 10px; padding-block: 5px; color: var(--yd-blue-deep); font-size: .93rem; }
.yd-editorial-prep a::after { content: "→"; flex: none; color: var(--yd-blue); }
.yd-editorial-prep a:hover { color: var(--yd-blue); text-decoration: underline; text-underline-offset: 4px; }
@media (min-width: 980px) {
    .yd-editorial-split:has(> section + section) { grid-template-columns: repeat(2,minmax(0,1fr)); row-gap: 14px; }
    .yd-editorial-split:has(> section + section) > section { display: grid; grid-row: span 2; grid-template-rows: subgrid; align-self: stretch; }
    .yd-editorial-split:has(> section + section) .yd-editorial-column-head { margin-bottom: 0; }
    .yd-guide-band .yd-editorial-news .yd-editorial-column-body:has(.yd-editorial-prep) { display: flex; flex-direction: column; }
    .yd-guide-band .yd-editorial-prep { display: flex; flex: 1; flex-direction: column; }
    .yd-guide-band .yd-editorial-prep ul { display: grid; flex: 1; grid-auto-rows: 1fr; }
    .yd-guide-band .yd-editorial-prep a { height: 100%; }
}
.yd-article-cards { display: grid; gap: 9px; }
.yd-article-card { min-width: 0; }
.yd-article-card > a { display: grid; grid-template-columns: minmax(0,1fr); height: 100%; overflow: hidden; border: 1px solid var(--yd-line); border-radius: var(--yd-radius-sm); background: #fff; transition: border-color .2s,background .2s; }
.yd-article-card > a:has(figure) { grid-template-columns: minmax(90px,.25fr) minmax(0,1fr); }
.yd-article-card > a:hover { border-color: var(--yd-blue); background: var(--yd-light); }
.yd-article-card figure { position: relative; min-height: 105px; overflow: hidden; background: var(--yd-light); }
.yd-article-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.yd-article-card a > div { padding: 12px clamp(11px,1.5vw,21px); }
.yd-article-card :is(h2,h3,h4) { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; margin: 0 0 5px; font-size: clamp(1rem,1.35vw,1.14rem); font-weight: 700; line-height: 1.38; text-wrap: pretty; }
.yd-article-card p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; color: var(--yd-text); font-size: .92rem; line-height: 1.55; }
.yd-article-card a > div { display: flex; flex-direction: column; height: 100%; }
.yd-article-card time,.yd-editorial-page-head time { display: inline-block; margin-top: 5px; color: var(--yd-muted); font-size: .85rem; white-space: nowrap; }
/* 首页版：左右两栏全部统一卡片，不再给第一条做深色头条处理 */
.yd-view-home .yd-editorial-news .yd-article-card:first-child > a { border-color: #c4d4e7; background: #f7faff; color: inherit; }
.yd-view-home .yd-editorial-news .yd-article-card:first-child :is(h3,h4) { color: var(--yd-ink); font-size: clamp(1rem,1.35vw,1.14rem); }
.yd-view-home .yd-editorial-news .yd-article-card:first-child :is(p,time) { color: var(--yd-text); }
/* 新闻中心独立页：保留头条强化样式（内容更多，主次关系有意义） */
.yd-editorial-news .yd-article-card:first-child > a:has(figure) { position: relative; display: grid; grid-template-columns: minmax(0,1fr); background: var(--yd-navy); color: #fff; }
.yd-view-news .yd-editorial-news .yd-article-card:first-child > a:has(figure) h3 { color: #f6f9ff; }
.yd-view-home .yd-editorial-news .yd-article-card:first-child > a:has(figure) { grid-template-columns: minmax(90px,.25fr) minmax(0,1fr); background: #f7faff; color: inherit; }
.yd-view-home .yd-editorial-news .yd-article-card:first-child > a:hover { border-color: var(--yd-blue); background: #edf4fd; }
.yd-editorial-news .yd-article-card:first-child figure { min-height: clamp(167px,19vw,285px); }
.yd-view-home .yd-editorial-news .yd-article-card:first-child figure { min-height: 105px; }
.yd-editorial-news .yd-article-card:first-child a > div { padding: 17px clamp(14px,2vw,29px); }
.yd-view-home .yd-editorial-news .yd-article-card:first-child a > div { padding: 12px clamp(11px,1.5vw,21px); }
.yd-editorial-news .yd-article-card:first-child :is(h3,h4) { font-size: clamp(1.15rem,1.9vw,1.56rem); }
.yd-editorial-news .yd-article-card:first-child :is(p,time) { color: #cfe0f5; }
.yd-editorial-news .yd-article-card:first-child a:not(:has(figure)) { border-top: 3px solid var(--yd-blue); background: #fff; }
.yd-editorial-news .yd-article-card:first-child a:not(:has(figure)) :is(p,time) { color: var(--yd-text); }
.yd-editorial-guides .yd-article-cards:not(:has(figure)) { gap: 0; }
.yd-editorial-guides .yd-article-card > a:not(:has(figure)) { border: 0; border-top: 1px solid var(--yd-line); border-radius: 0; background: transparent; }
.yd-editorial-guides .yd-article-card > a:not(:has(figure)) > div { padding-inline: 0; }
.yd-editorial-guides .yd-article-card > a:not(:has(figure)):hover :is(h3,h4) { color: var(--yd-blue); text-decoration: underline; text-underline-offset: 4px; }
.yd-guide-archive .yd-article-cards,.yd-catalog-reading .yd-article-cards { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px 17px; }
:is(.yd-guide-archive,.yd-catalog-reading) .yd-article-card :is(h2,h3) { display: block; overflow-wrap: anywhere; }
.yd-editorial-page-head h1 { max-width: 23em; }
.yd-article-byline { display: flex; flex-wrap: wrap; align-items: baseline; gap: 5px 14px; margin-top: 7px; color: var(--yd-muted); font-size: .9rem; }
.yd-article-byline time { margin: 0; }
.yd-view-article .yd-editorial-page-head { padding-block: clamp(24px,3.15vw,45px); }
.yd-view-article .yd-editorial-page-head h1 { max-width: 26em; font-size: clamp(1.93rem,3.35vw,3rem); }
.yd-view-article .yd-editorial-page-head p { max-width: 45em; text-wrap: pretty; }
.yd-guide-story.yd-story-grid { grid-template-columns: minmax(0,760px) minmax(200px,350px); justify-content: center; }
.yd-guide-story.yd-section { padding-top: clamp(26px,3.65vw,52px); }
.yd-guide-story article > figure { margin-block: 18px 24px; }
.yd-guide-story figure img { max-height: 345px; object-fit: cover; object-position: center; }
.yd-contents { min-width: 0; align-self: start; border-top: 2px solid var(--yd-blue); }
.yd-contents summary { cursor: pointer; min-height: 44px; padding: 10px 0; font-weight: 700; }
.yd-contents ol { margin: 0; padding: 0; list-style: none; }
.yd-contents a { display: block; padding: 8px 0; border-top: 1px solid var(--yd-line); color: var(--yd-text); font-size: .9rem; border-radius: 4px; transition: background-color .15s,color .15s; }
.yd-contents a:hover { color: var(--yd-blue); background: var(--yd-light); }
.yd-reading ol { padding-inline-start: 1.2em; }
.yd-reading li + li { margin-top: 6px; }
.yd-guide-related { display: grid; align-content: start; justify-items: start; gap: 12px; padding: clamp(14px,2vw,24px); border-top: 2px solid var(--yd-blue); background: var(--yd-light); }
.yd-guide-related h2,.yd-catalog-reading h2 { font-size: clamp(1.18rem,2vw,1.6rem); }
.yd-guide-related ul { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.yd-guide-related ul a { color: var(--yd-blue); text-decoration: underline; text-underline-offset: 3px; }
.yd-catalog-reading { padding-top: 0; }
.yd-search-guides { margin-top: clamp(25px,4.4vw,56px); padding-top: clamp(16px,2.7vw,34px); border-top: 1px solid var(--yd-line); }
.yd-plate-estimator { margin-block: 20px 24px; padding: clamp(15px,2.5vw,27px); border: 1px solid var(--yd-line); border-top: 2px solid var(--yd-blue); background: var(--yd-light); }
.yd-reading .yd-plate-estimator h2 { margin: 0; padding: 0; border: 0; }
.yd-plate-estimator p { margin-block: 7px 12px; }
.yd-estimator-fields { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 8px 12px; }
.yd-estimator-fields label { display: grid; gap: 4px; min-width: 0; font-size: .94rem; font-weight: 590; }
.yd-estimator-fields input { width: 100%; min-width: 0; min-height: 44px; padding: 6px 8px; border: 1px solid #b7c4d6; border-radius: 4px; background: #fff; color: var(--yd-ink); }
.yd-estimator-result { display: flex; flex-wrap: wrap; align-items: center; gap: 9px 14px; margin-top: 13px; }
.yd-estimator-result output { font-size: .95rem; font-weight: 620; }

/* ---- 正文（优势/隐私/采购指南与新闻文章）：编号圆标 + 编号列表 ---- */
.yd-reading { counter-reset: yd-h2; max-width: 46rem; color: var(--yd-text); font-size: 1.04rem; line-height: 1.83; }
.yd-reading > :is(p,ol) { max-width: 42rem; max-width: 39ic; }
.yd-reading > p:first-child { font-size: 1.1rem; }
.yd-reading h2 { counter-increment: yd-h2; position: relative; min-height: 34px; margin-top: 23px; padding: 0 0 0 46px; border-top: 0; font-size: clamp(1.2rem,2.2vw,1.6rem); color: var(--yd-ink); }
.yd-reading h2:first-child { margin-top: 0; }
.yd-reading h2::before {
    content: counter(yd-h2);
    position: absolute; left: 0; top: 50%; transform: translateY(-50%);
    display: inline-flex; width: 32px; height: 32px; align-items: center; justify-content: center;
    border-radius: 50%; background: var(--yd-blue); color: #fff; font-size: .9rem; font-weight: 700;
}
.yd-reading ol { display: grid; gap: 10px; margin: 14px 0 0; padding: 0; list-style: none; counter-reset: yd-li; }
.yd-reading ol li { position: relative; padding-left: 30px; }
.yd-reading ol li::before {
    counter-increment: yd-li; content: counter(yd-li);
    position: absolute; left: 0; top: .05em;
    display: inline-flex; width: 20px; height: 20px; align-items: center; justify-content: center;
    border: 1px solid var(--yd-blue); border-radius: 50%; background: #fff; color: var(--yd-blue);
    font-size: .72rem; font-weight: 700;
}
@media (min-width: 961px) {
    .yd-view-advantages .yd-reading > ol { margin: 0 0 30px 39%; padding-top: 0; }
    .yd-guide-related { position: sticky; top: 102px; }
    .yd-guide-story:has(.yd-contents) { grid-template-columns: minmax(145px,.75fr) minmax(0,2.7fr) minmax(176px,.86fr); gap: clamp(20px,3.4vw,64px); }
    .yd-contents { position: sticky; top: 102px; }
    .yd-view-advantages .yd-story-grid { grid-template-columns: minmax(0,1.7fr) minmax(0,.75fr); }
    .yd-view-advantages .yd-reading { max-width: none; }
    .yd-view-advantages .yd-reading > h2 { float: left; clear: left; width: 35%; padding-right: 18px; margin-top: 0; }
    .yd-view-advantages .yd-reading > :is(p,ul) { margin: 0 0 30px 39%; padding-top: 20px; }
}

/* ---- 页脚：深蓝多栏（呼应参考站深蓝footer） ---- */
.yd-footer { padding-block: 40px 16px; background: var(--yd-navy); color: #dbe6f3; }
.yd-footer-main { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 24px 40px; padding-bottom: 24px; border-bottom: 1px solid #ffffff22; }
.yd-footer-brand { display: grid; gap: 6px; font-weight: 680; max-width: 320px; }
.yd-footer-brand > a { font-size: 1.1rem; color: #fff; }
.yd-footer-brand address { color: #b7c7de; font-size: .92rem; font-style: normal; font-weight: 450; margin-top: 4px; }
.yd-footer-brand .yd-footer-tel { color: var(--yd-gold); font-weight: 650; margin-top: 6px; font-size: 1.05rem; }
.yd-footer nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.yd-footer nav a { display: inline-flex; min-height: 32px; align-items: center; white-space: nowrap; color: #c9d7ec; }
.yd-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.yd-footer a:focus-visible { outline-color: var(--yd-gold); }
.yd-footer-end { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 3px 14px; padding-top: 14px; color: #93a6c0; font-size: .86rem; }

/* ---- 分类/目录/规格表 ---- */
.yd-page-head { padding-block: clamp(23px,3.6vw,52px); background: linear-gradient(115deg,var(--yd-light),var(--yd-paper)); border-bottom: 1px solid var(--yd-line); }
.yd-page-head h1,.yd-detail h1 { margin-top: 7px; font-size: clamp(2.04rem,4.6vw,4rem); color: var(--yd-navy); }
.yd-page-head p { max-width: 42em; margin-top: 10px; font-size: 1.04rem; }
.breadcrumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 0 9px; color: var(--yd-muted); font-size: .9rem; }
.breadcrumbs a { display: inline-flex; min-height: 33px; align-items: center; }
.breadcrumbs span[aria-hidden="true"] { position: relative; display: inline-block; width: .55em; font-size: 0; vertical-align: middle; }
.breadcrumbs span[aria-hidden="true"]::after { content: "\203a"; display: inline-block; width: 100%; font-size: 1rem; line-height: 1; color: var(--yd-muted); text-align: center; }
.breadcrumbs a:hover { color: var(--yd-blue); text-decoration: underline; }
.yd-catalog-intro { display: grid; gap: 15px 52px; grid-template-columns: minmax(0,1fr) minmax(280px,.54fr); align-items: end; }
.yd-search { display: grid; min-width: 0; gap: 5px; padding: 14px; border: 1px solid var(--yd-line); border-radius: var(--yd-radius); background: #fff; box-shadow: var(--yd-shadow-sm); }
.yd-search label { font-weight: 670; }
.yd-search > div { display: flex; min-width: 0; gap: 6px; }
.yd-search input { width: 100%; min-width: 0; min-height: 45px; padding: 7px 10px; border: 1px solid #b7c4d6; border-radius: 4px; background: #fbfdff; color: var(--yd-ink); font-size: 1rem; }
.yd-search .yd-button { padding-inline: 13px; white-space: nowrap; }
.yd-catalog { padding-top: clamp(23px,3.2vw,46px); }
.yd-filters { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 8px; margin-bottom: clamp(18px,2.5vw,34px); }
.yd-filters a { display: flex; min-height: 46px; align-items: center; justify-content: center; padding: 7px; border: 1px solid var(--yd-line); border-radius: 4px; background: var(--yd-light); color: var(--yd-blue-deep); font-weight: 640; font-size: .92rem; text-align: center; text-wrap: balance; }
.yd-filters a[aria-current="page"] { color: #fff; border-color: var(--yd-blue); background: var(--yd-blue); }
.yd-filters a:not([aria-current]):hover { border-color: var(--yd-blue); }
.yd-buying-note { display: grid; gap: 5px; margin-bottom: 22px; padding: 15px 18px; border: 1px solid var(--yd-line); border-inline-start: 3px solid var(--yd-blue); border-radius: 4px; background: var(--yd-light); }
.yd-buying-note h2,.yd-checklist h2 { font-size: 1.15rem; }
.yd-buying-note:has(.yd-buying-note-copy) { grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 13px 24px; }
.yd-buying-note-copy p { margin-top: 5px; }
.yd-buying-note > a { justify-self: start; }
.yd-related-cases { margin-bottom: 16px; }
.yd-related-cases ul a { background: var(--yd-paper); }
.yd-product-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(13px,1.65vw,24px); }
.yd-product-card { min-width: 0; border: 1px solid var(--yd-line); border-radius: var(--yd-radius); background: #fff; box-shadow: var(--yd-shadow-sm); transition: box-shadow .2s,border-color .2s,transform .2s; }
.yd-product-card > a { display: grid; grid-template-rows: auto 1fr; height: 100%; border-radius: inherit; }
.yd-product-card a:hover h2 { color: var(--yd-blue); }
.yd-product-card:hover { border-color: var(--yd-blue); box-shadow: var(--yd-shadow); transform: translateY(-2px); }
.yd-product-card a > div { min-width: 0; padding: clamp(13px,1.65vw,23px); }
.yd-product-card h2 { margin-block: 4px 8px; font-size: clamp(1.05rem,1.75vw,1.43rem); }
.yd-product-card .yd-product-category { color: var(--yd-blue); font-size: .88rem; font-weight: 650; }
.yd-product-grid:not(:has(.yd-product-card:not(.yd-product-card-no-media))) { grid-template-columns: minmax(0,1fr); gap: 0; border-top: 1px solid var(--yd-line); }
.yd-product-card.yd-product-card-no-media { border: 0; border-bottom: 1px solid var(--yd-line); border-radius: 0; background: transparent; box-shadow: none; }
.yd-product-card-no-media > a { display: block; }
.yd-product-card-no-media > a > div { display: grid; grid-template-columns: minmax(86px,.2fr) minmax(180px,.57fr) minmax(0,1fr); align-items: baseline; gap: 8px clamp(14px,2.3vw,32px); padding: 16px 5px; }
.yd-product-card-no-media > a > div:not(:has(.yd-product-category)) { grid-template-columns: minmax(0,.42fr) minmax(0,1fr); }
.yd-product-card-no-media h2 { margin: 0; }
.yd-product-card-no-media > a:hover { background: var(--yd-light); }
.yd-product-card.yd-product-card-no-media:hover { transform: none; box-shadow: none; }
.yd-result-count { margin-bottom: 16px; }
.yd-result-count a,.yd-form-note a { margin-inline-start: 8px; color: var(--yd-blue); text-decoration: underline; text-underline-offset: 3px; }
.yd-empty { padding: clamp(19px,4vw,47px); border: 1px solid var(--yd-line); border-radius: var(--yd-radius); background: var(--yd-light); }
.yd-empty p { margin-block: 7px 15px; }

.yd-subpage-strip { padding-block: 8px; border-bottom: 1px solid var(--yd-line); background: var(--yd-light); }
.yd-detail { display: grid; grid-template-columns: minmax(0,1.12fr) minmax(0,.88fr); gap: clamp(18px,4vw,60px); align-items: center; padding-block: clamp(25px,4vw,68px); }
.yd-detail.yd-detail-no-media,.yd-case-detail:not(:has(figure)) { grid-template-columns: minmax(0,1fr); }
.yd-detail-media { overflow: hidden; border: 1px solid var(--yd-line); border-radius: var(--yd-radius); background: var(--yd-light); box-shadow: var(--yd-shadow-sm); }
.yd-detail-media img { width: 100%; aspect-ratio: 1.52; object-fit: contain; }
.yd-detail-media figcaption { padding: 8px 13px; border-top: 1px solid var(--yd-line); color: var(--yd-muted); background: var(--yd-light); font-size: .89rem; }
.yd-detail-copy p { margin-top: 12px; max-width: 34em; }
.yd-detail-copy .yd-actions { margin-top: 21px; }
.yd-detail-guide-link { margin-top: 7px; min-height: 44px; font-size: .93rem; }
.yd-detail-info { display: grid; grid-template-columns: minmax(0,1.17fr) minmax(0,.83fr); gap: clamp(18px,3.6vw,53px); align-items: start; padding-block: 0 clamp(33px,4vw,59px); }
.yd-detail-info article { padding-top: 15px; border-top: 2px solid var(--yd-blue); }
.yd-detail-info article p, .yd-reading p { margin-block: 11px 18px; }
.yd-detail-info h2,.yd-related h2 { font-size: clamp(1.23rem,2.15vw,1.75rem); }
.yd-checklist { padding: clamp(16px,2.3vw,30px); border: 1px solid var(--yd-line); border-radius: var(--yd-radius); background: var(--yd-light); }
.yd-checklist ul { margin: 9px 0 0; padding-inline-start: 1.2em; color: var(--yd-text); }
.yd-checklist li + li { margin-top: 8px; }
.yd-related { padding-top: 0; }
.yd-related ul { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,220px),1fr)); gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; }
.yd-related a { display: flex; min-height: 46px; align-items: center; padding: 8px 12px; border: 1px solid var(--yd-line); border-radius: 4px; color: var(--yd-blue-deep); background: var(--yd-light); }
.yd-related a:hover { border-color: var(--yd-blue); }
.yd-spec-facts { display: grid; gap: 8px; margin-block: 16px 0; }
.yd-spec-facts div { display: flex; flex-wrap: wrap; gap: 6px 14px; padding-block: 6px; border-bottom: 1px solid var(--yd-line); }
.yd-spec-facts dt { font-weight: 660; }
.yd-scroll-table { width: 100%; overflow-x: auto; }
.yd-scroll-table table { width: 100%; border-collapse: collapse; }
.yd-scroll-table caption { text-align: left; font-weight: 650; }
.yd-scroll-table :is(th,td) { padding: 8px 10px; border-bottom: 1px solid var(--yd-line); text-align: left; white-space: nowrap; }
.yd-scroll-table th { color: #fff; background: var(--yd-blue); }
.yd-scroll-table tr:nth-child(even) td { background: var(--yd-paper); }
.yd-story-grid,.yd-contact-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.72fr); gap: clamp(18px,5vw,65px); align-items: start; }
.yd-contact-grid { grid-template-columns: minmax(0,.73fr) minmax(0,1fr); }
.yd-view-contact .yd-page-head { background: var(--yd-light); }
.yd-contact-grid .yd-sales-card { padding: clamp(15px,2.5vw,33px) 0; border-block: 1px solid var(--yd-line); border-radius: 0; color: var(--yd-ink); background: transparent; }
.yd-contact-grid .yd-sales-card p,.yd-contact-grid .yd-contact-details { color: var(--yd-text); }
.yd-contact-grid .yd-sales-number { color: var(--yd-blue-deep); }
.yd-reading { max-width: 46rem; }
.yd-sales-card { display: grid; gap: 14px; justify-items: start; padding: clamp(19px,3.2vw,44px); border-radius: var(--yd-radius); background: linear-gradient(130deg,var(--yd-navy),var(--yd-blue-deep)); color: #fff; }
.yd-sales-card h2,.yd-inquiry h2 { font-size: clamp(1.3rem,2.3vw,1.9rem); }
.yd-sales-card p { color: #d4dfed; }
.yd-sales-number { display: grid; gap: 2px; padding-block: 5px; color: #fff; line-height: 1.1; }
.yd-sales-number span { font-size: .9rem; }
.yd-sales-number strong { font-size: clamp(1.68rem,3.6vw,2.95rem); font-variant-numeric: tabular-nums; }
.yd-sales-number:hover strong { text-decoration: underline; text-underline-offset: 4px; }
.yd-contact-details div { display: grid; grid-template-columns: 3em minmax(0,1fr); align-items: start; gap: 8px; overflow-wrap: anywhere; }
.yd-inquiry { display: grid; gap: 13px; min-width: 0; padding: clamp(16px,2.7vw,36px); border: 1px solid var(--yd-line); border-top: 3px solid var(--yd-blue); border-radius: var(--yd-radius); background: #fff; box-shadow: var(--yd-shadow-sm); scroll-margin-top: 15px; }
.yd-inquiry label { display: block; min-width: 0; font-weight: 660; }
.yd-inquiry label span { color: #c0392b; }
.yd-inquiry :is(input,textarea,select) { display: block; width: 100%; min-height: 45px; margin-top: 4px; padding: 7px 10px; }
.yd-inquiry textarea { resize: vertical; }
.yd-inquiry button { justify-self: start; }
.yd-search input,.yd-inquiry :is(input,textarea,select) { border: 1px solid #b7c4d6; border-radius: 4px; background: #fbfdff; color: var(--yd-ink); font-size: 1rem; }
.yd-form-pair { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.yd-form-note { font-size: .9rem; }
.yd-form-note a { margin-inline-start: 0; }
.yd-notice { padding: 9px 12px; border-inline-start: 3px solid var(--yd-blue); background: var(--yd-light); font-weight: 620; }
.yd-error { background: #fdecea; color: #c0392b; border-color: #e74c3c; }

@media (prefers-reduced-motion: no-preference) {
    .yd-slide.is-entering { animation: yd-slide-in .65s both cubic-bezier(.2,.65,.26,1); }
    .yd-slide.is-entering picture { animation: yd-slide-scale .8s both cubic-bezier(.2,.65,.26,1); }
    .yd-in-view > .yd-section-head { animation: yd-heading-in .55s both ease-out; }
    .yd-series-card,.yd-case-card,.yd-product-card,.yd-shop-item { transition: border-color .2s,box-shadow .2s,transform .2s; }
    @keyframes yd-slide-in { from { opacity: .5; } to { opacity: 1; } }
    @keyframes yd-slide-scale { from { transform: scale(1.035); } to { transform: scale(1); } }
    @keyframes yd-heading-in { from { opacity: .7; transform: translateY(10px); } to { opacity: 1; transform: none; } }
}

@media (max-width: 900px) {
    .yd-product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .yd-case-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .yd-shop-layout { grid-template-columns: minmax(0,1fr); }
    .yd-shop-sidebar nav { grid-template-columns: repeat(4,minmax(0,1fr)); }
    .yd-shop-sidebar nav a { border-bottom: 0; border-right: 1px solid var(--yd-line); }
    .yd-shop-procurement { display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 5px 12px; }
    .yd-shop-sidebar-hotline { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0 12px; }
    .yd-shop-sidebar-hotline span { margin: 0; }
    .yd-shop-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .yd-contact-end { align-items: start; flex-direction: column; }
    .yd-catalog-intro { grid-template-columns: minmax(0,1fr); }
    .yd-search { max-width: 525px; }
    .yd-spec-rail { grid-template-columns: minmax(0,1fr); }
    .yd-guide-story.yd-story-grid { grid-template-columns: minmax(0,1fr) minmax(180px,.4fr); }
}
@media (max-width: 960px) {
    :root { scroll-padding-top: 62px; }
    .yd-header { --yd-brand-row: 65px; }
    .yd-header.yd-sticky-contact { top: calc(-1 * var(--yd-brand-row)); }
    .yd-header.yd-sticky-contact:has(.yd-brand:focus-visible,.yd-nav a:focus-visible) { top: 0; }
    .yd-masthead { min-height: 0; grid-template-columns: minmax(0,1fr) auto; grid-template-areas: "brand brand" "menu phone"; }
    .yd-brand { min-height: var(--yd-brand-row); }
    .yd-nav { min-height: 49px; justify-content: start; border-top: 1px solid var(--yd-line); }
    .yd-hotline { min-height: 41px; }
    .yd-guide-story:has(.yd-contents) { grid-template-columns: minmax(0,1fr); }
    .yd-contents ol { display: flex; flex-wrap: wrap; gap: 0 18px; }
    .yd-contents a { min-height: 42px; }
}
@media (max-width: 680px) {
    :root { scroll-padding-top: 56px; }
    .yd-header { --yd-menu-row: 44px; }
    .yd-header.yd-sticky-contact { top: calc(-1 * (var(--yd-brand-row) + 2 * var(--yd-menu-row))); }
    .yd-masthead { grid-template-columns: minmax(0,1fr); grid-template-areas: "brand" "menu" "phone"; }
    .yd-mark { width: clamp(44px,12.8vw,60px); }
    .yd-lockup strong { font-size: clamp(1.17rem,4.8vw,1.41rem); }
    .yd-hotline { display: flex; justify-content: space-between; align-items: center; min-height: 44px; margin-inline: calc(-1 * var(--yd-gutter)); padding-inline: var(--yd-gutter); border: 0; background: var(--yd-navy); color: #fff; }
    .yd-hotline span { color: #c9d7ec; }
    .yd-hotline strong { font-size: 1.13rem; color: #fff; }
    .yd-nav { display: grid; gap: 0 5px; min-height: 0; grid-template-columns: repeat(3,minmax(0,1fr)); border-top: 0; }
    .yd-nav a { min-height: var(--yd-menu-row); margin: 0; padding-inline: 2px; border-radius: 0; border-top: 1px solid var(--yd-line); }
    .yd-nav a.is-current::after { inset-inline: 27%; }
    .yd-hero { --yd-picture-height: clamp(216px,64vw,350px); grid-template-rows: auto auto; min-height: 0; }
    .yd-hero:not(.yd-has-media) { min-height: 0; }
    .yd-wrap.yd-hero-inner { grid-column: 1; grid-row: 2; grid-template-columns: minmax(0,1fr); padding-block: 17px 26px; }
    .yd-hero-copy { grid-column: 1; padding-inline-start: 0; }
    .yd-hero h1 { font-size: clamp(2.13rem,8.8vw,3.27rem); }
    .yd-hero-subtitle { margin-block-end: 7px; letter-spacing: .06em; }
    .yd-hero-intro { margin-block: 10px 17px; }
    .yd-hero-media { inset: 0 0 auto; height: calc(var(--yd-picture-height) + 21px); }
    .yd-slide picture { width: 100%; }
    .yd-slide-wide img { object-position: 23% center; }
    .yd-has-directory .yd-hero-inner { grid-template-columns: minmax(0,1fr); gap: 23px; padding-block: 28px 26px; }
    .yd-hero-directory { padding: 0; border-inline-start: 0; }
    .yd-wrap.yd-hero-foot { grid-column: 1; grid-row: 1; display: flex; min-height: var(--yd-picture-height); align-items: end; padding-bottom: 0; }
    .yd-hero-tools { gap: 3px 5px; justify-content: space-between; width: 100%; padding-inline: 9px 2px; }
    .yd-hero-controls button { min-width: 36px; }
    .yd-detail,.yd-detail-info,.yd-story-grid,.yd-contact-grid,.yd-guide-story.yd-story-grid { grid-template-columns: minmax(0,1fr); }
    .yd-guide-archive .yd-article-cards,.yd-catalog-reading .yd-article-cards { grid-template-columns: minmax(0,1fr); }
    .yd-guide-story.yd-section { row-gap: 12px; }
    .yd-series,.yd-case-grid { grid-template-columns: minmax(0,1fr); }
    .yd-shop-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .yd-shop-sidebar nav { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .yd-shop-sidebar nav a:nth-child(-n+2) { border-bottom: 1px solid var(--yd-line); }
    .yd-material-list { grid-template-columns: minmax(0,1fr); }
    .yd-spec-rail dl { grid-template-columns: minmax(0,1fr); }
    .yd-spec-rail dl div + div { padding-top: 9px; border-top: 1px solid #d5e1ef; }
    .yd-case-card figure { aspect-ratio: 1.9; }
    .yd-section-head { align-items: start; flex-direction: column; gap: 1px; }
    .yd-products-head { gap: 14px; }
    .yd-product-search { flex: auto; }
    .yd-filters { grid-template-columns: repeat(2,minmax(0,1fr)); margin-bottom: 20px; }
    .yd-sheet-body,.yd-product-grid,.yd-view-cases .yd-case-grid,.yd-view-home .yd-case-grid { grid-template-columns: minmax(0,1fr); }
    .yd-case-content { padding: 12px; }
    .yd-case-grid { gap: 14px; }
    .yd-cover { grid-template: auto auto auto / minmax(0,1fr); }
    .yd-cover .yd-hero-inner { grid-area: 1 / 1; padding: clamp(16px,4.75vw,33px); border-inline-start: 0; }
    .yd-cover .yd-hero-intro { margin-block: 10px 16px; }
    .yd-cover .yd-hero-media { grid-area: 2 / 1; height: auto; aspect-ratio: 1.62; }
    .yd-cover .yd-hero-foot { grid-area: 3 / 1; display: block; min-height: 0; }
    .yd-guide-band > .yd-section > .yd-section-head { align-items: start; gap: 11px; }
}

/* ---- 产品详情页（数据表式排版，沿用原结构） ---- */
.yd-catalog-head { background: var(--yd-paper); border-bottom: 2px solid var(--yd-navy); }
.yd-catalog-results { min-width: 0; }
.yd-filters small { font-variant-numeric: tabular-nums; font-weight: 500; }
.yd-product-card p { font-size: .93rem; }
.yd-sheet-title { padding-block: 0 18px; border-bottom: 3px solid var(--yd-navy); }
.yd-sheet-title h1 { margin-block: 2px 10px; font-size: clamp(2.05rem,4.4vw,4.55rem); }
.yd-sheet-title p { max-width: 48em; }
.yd-sheet-body { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(18px,4vw,70px); align-items: center; padding-top: 20px; }
.yd-sheet-body:not(:has(figure)) { grid-template-columns: 1fr; }
.yd-sheet-body .yd-detail-media { box-shadow: none; border: 0; border-radius: 0; }
.yd-sheet-body .yd-detail-media img { aspect-ratio: 2.05; object-fit: cover; }
.yd-sheet-body .yd-spec-facts { margin: 0; gap: 0; }
.yd-sheet-body .yd-spec-facts div { display: grid; grid-template-columns: minmax(5em,.4fr) minmax(0,1fr); gap: 12px; padding: 12px 0; }
.yd-datasheet { padding-block: clamp(18px,2.6vw,40px) clamp(28px,4vw,60px); }
.yd-datasheet + .yd-detail-info { display: block; }
.yd-sheet-body .yd-checklist { padding: 0; border: 0; background: transparent; }
.yd-sheet-body .yd-checklist li { padding-block: 5px; border-bottom: 1px solid var(--yd-line); }
.yd-view-article .yd-page-head,.yd-view-news .yd-page-head,.yd-view-guides .yd-page-head { background: transparent; }
.yd-view-article .yd-page-head > div { max-width: 1000px; }
.yd-view-article .yd-page-head h1,.yd-view-news .yd-page-head h1,.yd-view-guides .yd-page-head h1 { line-height: 1.32; }
.yd-view-cases .yd-case-grid,.yd-view-home .yd-case-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
@media (max-width: 680px) {
    .yd-view-cases .yd-case-grid,.yd-view-home .yd-case-grid { grid-template-columns: minmax(0,1fr); }
}
.yd-case-card { border: 1px solid var(--yd-line); border-radius: var(--yd-radius); box-shadow: var(--yd-shadow-sm); background: #fff; }
.yd-view-contact .yd-sales-card { border: 0; padding: 0; }
.yd-view-contact .yd-sales-card h1 { font-size: clamp(2.6rem,5.6vw,5.4rem); line-height: 1.12; }
.yd-view-contact .yd-sales-card h2 { margin-top: 20px; padding-top: 18px; border-top: 1px solid #ffffff30; }
.yd-view-contact .yd-inquiry { border-radius: 0; box-shadow: none; }


/* ============================================================================
   动效层（2026-12-01 第六轮）：滚动渐入 + 卡片微倾斜 + 按钮光效扫过。
   全部遵循 prefers-reduced-motion；JS 未运行或该设置开启时内容始终可见
   （.yd-reveal-pending 只在 JS 主动加上后才会隐藏，没有 JS 兜底也不受影响）。
   ============================================================================ */
.yd-reveal-pending { opacity: 0; transform: translateY(16px); }
.yd-revealed {
    opacity: 1; transform: translateY(0);
    transition: opacity .55s ease-out var(--yd-reveal-delay,0ms), transform .55s cubic-bezier(.22,.65,.25,1) var(--yd-reveal-delay,0ms);
}
@media (prefers-reduced-motion: reduce) {
    .yd-reveal-pending { opacity: 1; transform: none; }
}
.yd-shop-item,.yd-case-card { will-change: transform; transition: box-shadow .22s,border-color .22s,transform .12s ease-out; }

/* 主按钮扫光：悬停时一道斜向高光从左到右划过，强化"可点击"的质感 */
.yd-button-primary { position: relative; overflow: hidden; isolation: isolate; }
.yd-button-primary::after {
    content: ""; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(115deg,transparent 30%,#ffffff3d 48%,#ffffff6b 52%,transparent 68%);
    transform: translateX(-120%);
}
@media (prefers-reduced-motion: no-preference) {
    .yd-button-primary:hover::after { transform: translateX(120%); transition: transform .62s ease-out; }
}

/* 产品分类侧边导航：当前项左侧出现蓝色竖条，呼应整体"强调条"语言 */
.yd-shop-sidebar nav a { position: relative; }
.yd-shop-sidebar nav a::before {
    content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--yd-blue);
    transform: scaleY(0); transition: transform .18s ease-out;
}
.yd-shop-sidebar nav a:hover::before { transform: scaleY(1); }

/* 优势区编号：悬停时数字轻微放大，增加互动反馈 */
@media (hover:hover) and (pointer:fine) {
    .yd-reason:hover .yd-reason-num { transform: scale(1.08); transition: transform .25s ease-out; }
}


