/* HMBEAUTY2_V1 首页装修美化层 (2026-11-01)
 * 只覆盖「关于我们(经典 / 大气 / 视频)」「证书展示(三种旧版式)」「产品卡片(动态)(四种旧版式 + 新增四款)」的视觉;
 * 由 Home/Lib/Behavior/ZbCssBehavior 在首页含这些模块时注入(版本号取文件修改时间), 已保存的旧模块不用重新保存。
 * 选择器统一加 html body 前缀提高优先级, 压过 home-module.css 的 HM_BEAUTY_V1 与模块自带的 <style>。
 * ?hb2off=1 可临时关闭对比。主题色跟随 --primary-blue / --primary-dark / --primary-rgb。
 */
:root{--b2p:var(--primary-blue,#0056b3);--b2d:var(--primary-dark,var(--hover-blue,#004494));--b2rgb:var(--primary-rgb,0,86,179);
  --b2ink:#10243a;--b2tx:#4a5a68;--b2line:#e6ecf1}

/* ═══════════ 关于我们 · 经典(左图右文) ═══════════ */
html body section.hm-about[class]{padding:clamp(52px,6.5vw,104px) 0!important;
  background:linear-gradient(180deg,#fff 0%,rgba(var(--b2rgb),.045) 100%)!important;overflow:hidden}
html body section.hm-about[class] .hm-container{max-width:1480px;margin:0 auto;padding:0 20px}
html body section.hm-about[class] .hm-about-grid{display:grid;grid-template-columns:minmax(0,1.04fr) minmax(0,1fr);
  gap:clamp(36px,5.2vw,88px);align-items:center}
html body section.hm-about[class] .hm-about-image{position:relative;padding:0 0 30px 30px;margin:0}
html body section.hm-about[class] .hm-about-image::before{content:"";position:absolute;left:0;bottom:0;width:76%;height:80%;
  border-radius:26px;border:0;background:linear-gradient(135deg,rgba(var(--b2rgb),.20),rgba(var(--b2rgb),.04));z-index:0}
html body section.hm-about[class] .hm-about-image::after{content:"";position:absolute;right:-18px;top:-18px;width:120px;height:120px;
  background:radial-gradient(circle,rgba(var(--b2rgb),.28) 2px,transparent 2.5px) 0 0/16px 16px;z-index:0;opacity:.7}
html body section.hm-about[class] .hm-about-image img{position:relative;z-index:1;display:block;width:100%;aspect-ratio:4/3;
  object-fit:cover;border-radius:24px;box-shadow:0 34px 64px -22px rgba(16,36,58,.38);transition:transform .6s ease}
html body section.hm-about[class] .hm-about-image:hover img{transform:translateY(-4px)}
html body section.hm-about[class] .hm-about-image:empty{display:none}
html body section.hm-about[class] .hm-about-grid:has(.hm-about-image:empty){grid-template-columns:minmax(0,860px);justify-content:center;text-align:center}
html body section.hm-about[class] .hm-about-text h2{font-size:clamp(28px,3.1vw,44px);line-height:1.12;font-weight:800;letter-spacing:-.01em;
  color:var(--b2ink);margin:0 0 22px}
html body section.hm-about[class] .hm-about-text h2::after{content:"";display:block;width:64px;height:4px;border-radius:3px;margin:20px 0 0;
  background:linear-gradient(90deg,var(--b2p),rgba(var(--b2rgb),.35))}
html body section.hm-about[class] .hm-about-grid:has(.hm-about-image:empty) .hm-about-text h2::after{margin-left:auto;margin-right:auto}
html body section.hm-about[class] .hm-about-text .hm-rich{font-size:16.5px;line-height:1.88;color:var(--b2tx)}
html body section.hm-about[class] .hm-about-text .hm-rich p{margin:0 0 16px}
html body section.hm-about[class] .hm-about-text .hm-rich strong{color:var(--b2ink)}
html body section.hm-about[class] .hm-about-text .hm-rich ul{list-style:none;margin:0 0 18px;padding:0}
html body section.hm-about[class] .hm-about-text .hm-rich li{position:relative;margin:0 0 10px;padding-left:30px}
html body section.hm-about[class] .hm-about-text .hm-rich li::before{content:"";position:absolute;left:0;top:.42em;width:18px;height:18px;border-radius:50%;
  background:rgba(var(--b2rgb),.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 12.5l3.5 3.5 7.5-8' fill='none' stroke='%23666' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat}
html body section.hm-about[class] .hm-about-text .hm-btn{display:inline-flex;align-items:center;gap:10px;margin-top:14px;padding:15px 36px;border-radius:999px!important;
  font-weight:700;letter-spacing:.2px;box-shadow:0 14px 30px -8px rgba(var(--b2rgb),.55)}
html body section.hm-about[class] .hm-about-text .hm-btn::after{content:"\2192";font-size:1.1em;transition:transform .25s}
html body section.hm-about[class] .hm-about-text .hm-btn:hover::after{transform:translateX(4px)}
@media(max-width:900px){
  html body section.hm-about[class] .hm-about-grid{grid-template-columns:1fr;gap:34px}
  html body section.hm-about[class] .hm-about-image{padding:0 0 18px 18px}
}

/* ═══════════ 关于我们 · 大气(标题居中 + 图文卡) ═══════════ */
html body section.hm-about-grand[class]{padding:clamp(52px,6.5vw,104px) 0!important;
  background:radial-gradient(1200px 420px at 50% 0,rgba(var(--b2rgb),.10),transparent 70%),linear-gradient(180deg,#f7faf9 0%,#fff 100%)!important}
html body section.hm-about-grand[class] .abg-head{margin-bottom:clamp(30px,4vw,54px)}
html body section.hm-about-grand[class] .abg-eyebrow{display:inline-block;padding:6px 16px;border-radius:999px;font-size:12px;font-weight:800;letter-spacing:.22em;
  color:var(--b2p);background:rgba(var(--b2rgb),.10)}
html body section.hm-about-grand[class] .abg-title{font-size:clamp(30px,3.6vw,48px);font-weight:800;letter-spacing:-.01em;color:var(--b2ink);margin:18px 0 0}
html body section.hm-about-grand[class] .abg-bar{width:72px;height:4px;margin:22px auto 0;background:linear-gradient(90deg,var(--b2p),rgba(var(--b2rgb),.3))}
html body section.hm-about-grand[class] .abg-body{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:0;align-items:stretch;
  background:#fff;border-radius:30px;overflow:hidden;border:1px solid var(--b2line);box-shadow:0 40px 80px -30px rgba(16,36,58,.28)}
html body section.hm-about-grand[class] .abg-body:not(.has-img){display:block;max-width:960px;margin:0 auto}
html body section.hm-about-grand[class] .abg-media{position:relative;min-height:100%}
html body section.hm-about-grand[class] .abg-media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:0;box-shadow:none}
html body section.hm-about-grand[class] .abg-media::after{content:"";position:absolute;inset:0;background:linear-gradient(135deg,rgba(var(--b2rgb),.18),transparent 55%)}
html body section.hm-about-grand[class] .abg-text{padding:clamp(28px,4.4vw,64px);align-self:center;font-size:16.5px;line-height:1.88;color:var(--b2tx)}
html body section.hm-about-grand[class] .abg-text p{margin:0 0 16px}
html body section.hm-about-grand[class] .abg-text strong{color:var(--b2ink)}
html body section.hm-about-grand[class] .abg-text ul{list-style:none;margin:0 0 6px;padding:0}
html body section.hm-about-grand[class] .abg-text li{position:relative;margin:0 0 10px;padding-left:30px}
html body section.hm-about-grand[class] .abg-text li::before{content:"";position:absolute;left:0;top:.42em;width:18px;height:18px;border-radius:50%;
  background:rgba(var(--b2rgb),.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 12.5l3.5 3.5 7.5-8' fill='none' stroke='%23666' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat}
html body section.hm-about-grand[class] .abg-cta{margin-top:clamp(26px,3.4vw,44px)}
html body section.hm-about-grand[class] .abg-btn{display:inline-flex;align-items:center;gap:10px;padding:16px 42px;border-radius:999px!important;font-weight:700;
  background:linear-gradient(135deg,var(--b2p),var(--b2d))!important;box-shadow:0 16px 34px -10px rgba(var(--b2rgb),.6)!important}
html body section.hm-about-grand[class] .abg-btn::after{content:"\2192";transition:transform .25s}
html body section.hm-about-grand[class] .abg-btn:hover::after{transform:translateX(4px)}
@media(max-width:900px){
  html body section.hm-about-grand[class] .abg-body{grid-template-columns:1fr;border-radius:22px}
  html body section.hm-about-grand[class] .abg-media{min-height:0;aspect-ratio:16/10}
}

/* ═══════════ 关于我们 · 视频 ═══════════ */
html body section.hm-about-video[class]{padding:clamp(52px,6.5vw,104px) 0!important;position:relative;overflow:hidden;
  background:linear-gradient(180deg,#fff 0%,rgba(var(--b2rgb),.05) 100%)!important}
html body section.hm-about-video[class]::before{content:"";position:absolute;right:-160px;top:-160px;width:520px;height:520px;border-radius:50%;
  background:radial-gradient(circle,rgba(var(--b2rgb),.14),transparent 68%);pointer-events:none}
html body section.hm-about-video[class] .avd-inner{position:relative;gap:clamp(34px,5vw,80px)}
html body section.hm-about-video[class] .avd-eyebrow{display:inline-block;padding:6px 16px;border-radius:999px;font-size:12px;font-weight:800;letter-spacing:.22em;
  color:var(--b2p);background:rgba(var(--b2rgb),.10)}
html body section.hm-about-video[class] .avd-title{font-size:clamp(28px,3.2vw,44px);letter-spacing:-.01em;color:var(--b2ink);margin:18px 0 0}
html body section.hm-about-video[class] .avd-bar{width:64px;height:4px;margin:22px 0 24px;background:linear-gradient(90deg,var(--b2p),rgba(var(--b2rgb),.3))}
html body section.hm-about-video[class] .avd-rich{font-size:16.5px;line-height:1.88;color:var(--b2tx)}
html body section.hm-about-video[class] .avd-rich ul{list-style:none;padding:0}
html body section.hm-about-video[class] .avd-rich li{position:relative;padding-left:30px}
html body section.hm-about-video[class] .avd-rich li::before{content:"";position:absolute;left:0;top:.42em;width:18px;height:18px;border-radius:50%;
  background:rgba(var(--b2rgb),.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 12.5l3.5 3.5 7.5-8' fill='none' stroke='%23666' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat}
html body section.hm-about-video[class] .avd-btn{display:inline-flex;align-items:center;gap:10px;padding:15px 38px;border-radius:999px!important;font-weight:700;
  background:linear-gradient(135deg,var(--b2p),var(--b2d))!important;box-shadow:0 16px 34px -10px rgba(var(--b2rgb),.6)!important}
html body section.hm-about-video[class] .avd-btn::after{content:"\2192";transition:transform .25s}
html body section.hm-about-video[class] .avd-btn:hover::after{transform:translateX(4px)}
html body section.hm-about-video[class] .avd-media{position:relative}
html body section.hm-about-video[class] .avd-media::before{content:"";position:absolute;inset:18px -18px -18px 18px;border-radius:26px;
  background:linear-gradient(135deg,rgba(var(--b2rgb),.22),rgba(var(--b2rgb),.04));z-index:0}
html body section.hm-about-video[class] .avd-frame{position:relative;z-index:1;border-radius:24px;border:6px solid #fff;
  box-shadow:0 36px 70px -24px rgba(16,36,58,.45)}
html body section.hm-about-video[class] .avd-empty{background:linear-gradient(135deg,#eef3f6,#e2eaef);color:#7d8f9c}

/* ═══════════ 证书展示 · 三种旧版式 ═══════════ */
html body section.hm-cert[class]{padding:clamp(48px,6vw,96px) 0!important;position:relative;
  background:radial-gradient(900px 300px at 50% 0,rgba(var(--b2rgb),.08),transparent 70%),linear-gradient(180deg,#f8fbfc,#fff)!important}
html body section.hm-cert[class] .hm-sec-header{margin-bottom:clamp(28px,3.6vw,48px)!important;text-align:center}
html body section.hm-cert[class] .hm-sec-header h2{font-size:clamp(28px,3.2vw,42px);font-weight:800;letter-spacing:-.01em;color:var(--b2ink);margin:0}
html body section.hm-cert[class] .hm-sec-header h2::after{content:""!important;display:block!important;position:static!important;transform:none!important;left:auto!important;right:auto!important;bottom:auto!important;width:64px;height:4px;border-radius:3px;margin:18px auto 0;
  background:linear-gradient(90deg,var(--b2p),rgba(var(--b2rgb),.3))}
html body section.hm-cert[class] .ct-name{margin-top:14px;font-size:14px;font-weight:700;letter-spacing:.2px;color:var(--b2ink)}
html body section.hm-cert-grid[class] .ct-imgbox img{filter:drop-shadow(0 2px 3px rgba(16,24,40,.08)) drop-shadow(0 18px 24px rgba(16,24,40,.14))!important}
html body section.hm-cert-grid[class] .ct-card:hover .ct-imgbox img{transform:translateY(-8px) scale(1.02)}
html body section.hm-cert-grid[class] .ct-name{display:inline-block;align-self:center;padding:6px 16px;border-radius:999px;background:#fff;
  border:1px solid var(--b2line);box-shadow:0 6px 14px -8px rgba(16,36,58,.25);margin-top:18px}
html body section.hm-cert-boxed[class] .ct-card{border:1px solid var(--b2line);border-radius:20px;padding:22px 20px 20px;background:#fff!important;
  box-shadow:0 10px 30px -14px rgba(16,36,58,.18);transition:transform .3s,box-shadow .3s,border-color .3s;position:relative;overflow:hidden}
html body section.hm-cert-boxed[class] .ct-card::before{content:"";position:absolute;left:0;right:0;top:0;height:4px;
  background:linear-gradient(90deg,var(--b2p),rgba(var(--b2rgb),.25));opacity:.0;transition:opacity .3s}
html body section.hm-cert-boxed[class] .ct-card:hover{transform:translateY(-6px);border-color:rgba(var(--b2rgb),.35);box-shadow:0 26px 44px -18px rgba(var(--b2rgb),.35)}
html body section.hm-cert-boxed[class] .ct-card:hover::before{opacity:1}
html body section.hm-cert-boxed[class] .ct-imgbox{border-radius:14px;background:linear-gradient(180deg,#f6f9fb,#eef3f6)!important;padding:14px}
html body section.hm-cert-boxed[class] .ct-name{margin-top:16px;padding-top:14px;border-top:1px dashed var(--b2line)}
html body section.hm-cert-carousel[class] .ct-card{border-radius:20px}
html body section.hm-cert-carousel[class] .ct-imgbox{border:1px solid var(--b2line)!important;border-radius:18px!important;background:linear-gradient(180deg,#fff,#f1f6f8)!important;
  box-shadow:0 12px 30px -16px rgba(16,36,58,.25);transition:transform .3s,box-shadow .3s}
html body section.hm-cert-carousel[class] .ct-card:hover .ct-imgbox{transform:translateY(-5px);box-shadow:0 26px 44px -18px rgba(var(--b2rgb),.35)}
html body .hmct-ar{background:#fff;border:1px solid var(--b2line);box-shadow:0 10px 24px -8px rgba(16,36,58,.3);color:var(--b2ink)}
html body .hmct-ar:hover:not(:disabled){background:var(--b2p);color:#fff;border-color:var(--b2p)}

/* ═══════════ 产品卡片(动态) · 通用(只作用于本层负责的版式; showcase / framed / minimal 由 hmx.css 负责, 不动) ═══════════ */
html body .dyn-prod-wrap:is(.dynp-default,.dynp-list,.dynp-overlay,.dynp-compact,.dynp-hero,.dynp-dark,.dynp-tiles,.dynp-stacked) .dyn-head{text-align:center;margin:0 0 clamp(26px,3.4vw,44px)}
html body .dyn-prod-wrap:is(.dynp-default,.dynp-list,.dynp-overlay,.dynp-compact,.dynp-hero,.dynp-dark,.dynp-tiles,.dynp-stacked) .dyn-head h2{font-size:clamp(28px,3.2vw,42px);font-weight:800;letter-spacing:-.01em;color:var(--b2ink);margin:0}
html body .dyn-prod-wrap:is(.dynp-default,.dynp-list,.dynp-overlay,.dynp-compact,.dynp-hero,.dynp-dark,.dynp-tiles,.dynp-stacked) .dyn-head h2::after{content:"";display:block;width:64px;height:4px;border-radius:3px;margin:18px auto 0;
  background:linear-gradient(90deg,var(--b2p),rgba(var(--b2rgb),.3))}
html body .dyn-prod-wrap:is(.dynp-default,.dynp-list,.dynp-overlay,.dynp-compact,.dynp-hero,.dynp-dark,.dynp-tiles,.dynp-stacked) .dyn-head p{max-width:720px;margin:16px auto 0;font-size:16px;line-height:1.7;color:#64768a}
html body .dyn-prod-wrap:is(.dynp-default,.dynp-list,.dynp-overlay,.dynp-compact,.dynp-hero,.dynp-dark,.dynp-tiles,.dynp-stacked) .product-card{position:relative;transition:transform .35s cubic-bezier(.2,.7,.2,1),box-shadow .35s,border-color .35s;height:auto}
html body .dyn-prod-wrap:is(.dynp-default,.dynp-list,.dynp-overlay,.dynp-compact,.dynp-hero,.dynp-dark,.dynp-tiles,.dynp-stacked) .img-box{position:relative;overflow:hidden;padding:0!important}
html body .dyn-prod-wrap:is(.dynp-default,.dynp-list,.dynp-overlay,.dynp-compact,.dynp-hero,.dynp-dark,.dynp-tiles,.dynp-stacked) .img-box img{transition:transform .7s cubic-bezier(.2,.7,.2,1)}
html body .dyn-prod-wrap:is(.dynp-default,.dynp-list,.dynp-overlay,.dynp-compact,.dynp-hero,.dynp-dark,.dynp-tiles,.dynp-stacked) .product-card:hover .img-box img{transform:scale(1.06)}
html body .dyn-prod-wrap:is(.dynp-default,.dynp-list,.dynp-overlay,.dynp-compact,.dynp-hero,.dynp-dark,.dynp-tiles,.dynp-stacked) .p-name{margin:0!important;height:auto!important;font-weight:700;letter-spacing:-.005em;line-height:1.35}
html body .dyn-prod-wrap:is(.dynp-default,.dynp-list,.dynp-overlay,.dynp-compact,.dynp-hero,.dynp-dark,.dynp-tiles,.dynp-stacked) .p-name a{color:var(--b2ink);transition:color .2s}
html body .dyn-prod-wrap:is(.dynp-default,.dynp-list,.dynp-overlay,.dynp-compact,.dynp-hero,.dynp-dark,.dynp-tiles,.dynp-stacked) .product-card:hover .p-name a{color:var(--b2p)}
html body .dyn-prod-wrap:is(.dynp-default,.dynp-list,.dynp-overlay,.dynp-compact,.dynp-hero,.dynp-dark,.dynp-tiles,.dynp-stacked) .view-more-btn{display:inline-flex;align-items:center;gap:8px;font-weight:700;letter-spacing:.02em;color:var(--b2p);transition:gap .25s,color .2s,background .25s}
html body .dyn-prod-wrap:is(.dynp-default,.dynp-list,.dynp-overlay,.dynp-compact,.dynp-hero,.dynp-dark,.dynp-tiles,.dynp-stacked) .view-more-btn .icon-arrow{display:none}
html body .dyn-prod-wrap:is(.dynp-default,.dynp-list,.dynp-overlay,.dynp-compact,.dynp-hero,.dynp-dark,.dynp-tiles,.dynp-stacked) .view-more-btn::after{content:"\2192";font-size:1.15em}
html body .dyn-prod-wrap:is(.dynp-default,.dynp-list,.dynp-overlay,.dynp-compact,.dynp-hero,.dynp-dark,.dynp-tiles,.dynp-stacked) .product-card:hover .view-more-btn{gap:12px}

/* ── 默认网格 ── */
html body .dyn-prod-wrap.dynp-default .product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:clamp(18px,2vw,30px)}
html body .dyn-prod-wrap.dynp-default .product-card{background:#fff;border:1px solid var(--b2line);border-radius:20px;overflow:hidden;
  box-shadow:0 8px 26px -14px rgba(16,36,58,.18);display:flex;flex-direction:column;padding:0}
html body .dyn-prod-wrap.dynp-default .product-card:hover{transform:translateY(-8px);border-color:rgba(var(--b2rgb),.3);box-shadow:0 30px 50px -20px rgba(var(--b2rgb),.34)}
html body .dyn-prod-wrap.dynp-default .img-box{margin:0;aspect-ratio:1/1;background:linear-gradient(180deg,#fff,#f1f5f8);display:flex;align-items:center;justify-content:center;padding:18px!important}
html body .dyn-prod-wrap.dynp-default .img-box a{display:block;width:100%;height:100%}
html body .dyn-prod-wrap.dynp-default .img-box img{width:100%;height:100%;object-fit:contain}
html body .dyn-prod-wrap.dynp-default .info-box{padding:20px 22px 24px;display:flex;flex-direction:column;align-items:flex-start;gap:12px;flex:1;text-align:left}
html body .dyn-prod-wrap.dynp-default .p-name{margin:0!important;font-size:17px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.7em}
html body .dyn-prod-wrap.dynp-default .view-more-btn{margin-top:auto;align-self:flex-start;padding:0;border:0;background:none;border-radius:0;font-size:13px;text-transform:uppercase}

/* ── 横向列表 ── */
html body .dyn-prod-wrap.dynp-list .product-grid{display:flex;flex-direction:column;gap:20px}
html body .dyn-prod-wrap.dynp-list .product-card{height:auto;display:grid;grid-template-columns:clamp(180px,22vw,300px) minmax(0,1fr);align-items:stretch;gap:0;background:#fff;
  border:1px solid var(--b2line);border-radius:22px;overflow:hidden;box-shadow:0 8px 26px -14px rgba(16,36,58,.18);padding:0}
html body .dyn-prod-wrap.dynp-list .product-card:hover{transform:translateX(6px);border-color:rgba(var(--b2rgb),.3);box-shadow:0 26px 48px -20px rgba(var(--b2rgb),.34)}
html body .dyn-prod-wrap.dynp-list .img-box{flex:none;width:auto;margin:0;aspect-ratio:4/3;background:#eef3f6}
html body .dyn-prod-wrap.dynp-list .img-box a{display:block;width:100%;height:100%}
html body .dyn-prod-wrap.dynp-list .img-box img{width:100%;height:100%;object-fit:cover}
html body .dyn-prod-wrap.dynp-list .info-box{flex:none;display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:24px;padding:22px clamp(22px,3vw,44px)}
html body .dyn-prod-wrap.dynp-list .p-name{margin:0!important;min-height:0!important;font-size:clamp(18px,1.6vw,22px)}
html body .dyn-prod-wrap.dynp-list .view-more-btn{flex:none;margin:0!important;align-self:center;padding:12px 26px;border-radius:999px;border:1px solid rgba(var(--b2rgb),.35);background:rgba(var(--b2rgb),.06);font-size:13px;text-transform:uppercase}
html body .dyn-prod-wrap.dynp-list .product-card:hover .view-more-btn{background:var(--b2p);color:#fff;border-color:var(--b2p)}
@media(max-width:640px){
  html body .dyn-prod-wrap.dynp-list .product-card{grid-template-columns:1fr}
  html body .dyn-prod-wrap.dynp-list .img-box{aspect-ratio:16/10}
  html body .dyn-prod-wrap.dynp-list .info-box{flex-direction:column;align-items:flex-start;gap:14px}
}

/* ── 图上压字 ── */
html body .dyn-prod-wrap.dynp-overlay .product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:clamp(16px,1.8vw,26px)}
html body .dyn-prod-wrap.dynp-overlay .product-card{position:relative;border-radius:22px;overflow:hidden;background:#0c1b28;box-shadow:0 16px 36px -18px rgba(16,36,58,.5);padding:0}
html body .dyn-prod-wrap.dynp-overlay .product-card:hover{transform:translateY(-6px);box-shadow:0 34px 56px -22px rgba(16,36,58,.6)}
html body .dyn-prod-wrap.dynp-overlay .img-box{margin:0;aspect-ratio:4/5}
html body .dyn-prod-wrap.dynp-overlay .img-box a{display:block;width:100%;height:100%}
html body .dyn-prod-wrap.dynp-overlay .img-box img{width:100%;height:100%;object-fit:cover}
html body .dyn-prod-wrap.dynp-overlay .info-box{position:absolute;left:0;right:0;bottom:0;padding:64px 22px 22px;display:flex;flex-direction:column;align-items:flex-start;gap:10px;
  background:linear-gradient(to top,rgba(8,20,30,.94) 0%,rgba(8,20,30,.55) 55%,rgba(8,20,30,0) 100%)}
html body .dyn-prod-wrap.dynp-overlay .p-name{margin:0!important;min-height:0!important;font-size:18px}
html body .dyn-prod-wrap.dynp-overlay .p-name a{color:#fff}
html body .dyn-prod-wrap.dynp-overlay .view-more-btn{margin:0!important;align-self:flex-start;padding:8px 18px;border-radius:999px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.35);
  color:#fff;font-size:12px;text-transform:uppercase;backdrop-filter:blur(6px);opacity:.92}
html body .dyn-prod-wrap.dynp-overlay .product-card:hover .view-more-btn{background:var(--b2p);border-color:var(--b2p);opacity:1}
html body .dyn-prod-wrap.dynp-overlay .product-card:hover .p-name a{color:#fff}

/* ── 密集小卡 ── */
html body .dyn-prod-wrap.dynp-compact .product-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px}
@media(max-width:1200px){html body .dyn-prod-wrap.dynp-compact .product-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:760px){html body .dyn-prod-wrap.dynp-compact .product-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}}
@media(max-width:480px){html body .dyn-prod-wrap.dynp-compact .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
html body .dyn-prod-wrap.dynp-compact .product-card{background:#fff;border:1px solid var(--b2line);border-radius:16px;overflow:hidden;padding:0;
  box-shadow:0 6px 18px -12px rgba(16,36,58,.2)}
html body .dyn-prod-wrap.dynp-compact .product-card:hover{transform:translateY(-5px);border-color:rgba(var(--b2rgb),.3);box-shadow:0 20px 34px -16px rgba(var(--b2rgb),.35)}
html body .dyn-prod-wrap.dynp-compact .img-box{margin:0;aspect-ratio:1/1;background:#f1f5f8}
html body .dyn-prod-wrap.dynp-compact .img-box a{display:block;width:100%;height:100%}
html body .dyn-prod-wrap.dynp-compact .img-box img{width:100%;height:100%;object-fit:cover}
html body .dyn-prod-wrap.dynp-compact .info-box{padding:12px 12px 14px;display:flex;flex-direction:column;gap:6px;text-align:center;align-items:center}
html body .dyn-prod-wrap.dynp-compact .p-name{margin:0!important;min-height:0!important;font-size:13.5px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
html body .dyn-prod-wrap.dynp-compact .view-more-btn{padding:0;border:0;background:none;font-size:11.5px;text-transform:uppercase;margin:0!important;align-self:center}

/* ═══════════ 产品卡片(动态) · 新增四款 ═══════════ */
/* ── hero 首卡大图: 第 1 个产品占 2x2 大图压字, 其余是整洁小白卡 ── */
html body .dyn-prod-wrap.dynp-hero .product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(14px,1.6vw,24px);counter-reset:hp}
html body .dyn-prod-wrap.dynp-hero .product-card{background:#fff;border:1px solid var(--b2line);border-radius:20px;overflow:hidden;padding:0;display:flex;flex-direction:column;
  box-shadow:0 8px 26px -16px rgba(16,36,58,.2)}
html body .dyn-prod-wrap.dynp-hero .product-card:hover{transform:translateY(-6px);border-color:rgba(var(--b2rgb),.3);box-shadow:0 28px 46px -20px rgba(var(--b2rgb),.34)}
html body .dyn-prod-wrap.dynp-hero .img-box{margin:0;aspect-ratio:4/3;background:linear-gradient(180deg,#fff,#f1f5f8);padding:12px!important}
html body .dyn-prod-wrap.dynp-hero .img-box a{display:block;width:100%;height:100%}
html body .dyn-prod-wrap.dynp-hero .img-box img{width:100%;height:100%;object-fit:contain}
html body .dyn-prod-wrap.dynp-hero .info-box{padding:16px 18px 18px;display:flex;flex-direction:column;align-items:flex-start;gap:8px;text-align:left}
html body .dyn-prod-wrap.dynp-hero .p-name{font-size:16px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
html body .dyn-prod-wrap.dynp-hero .view-more-btn{margin:0!important;padding:0;border:0;background:none;font-size:12px;text-transform:uppercase;align-self:flex-start}
html body .dyn-prod-wrap.dynp-hero .product-card:first-child{grid-column:span 2;grid-row:span 2;position:relative;border:0;background:#0c1b28}
html body .dyn-prod-wrap.dynp-hero .product-card:first-child .img-box{position:absolute;inset:0;aspect-ratio:auto;padding:0!important;background:#0c1b28}
html body .dyn-prod-wrap.dynp-hero .product-card:first-child .img-box img{object-fit:cover}
html body .dyn-prod-wrap.dynp-hero .product-card:first-child::after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(8,20,30,.92) 0%,rgba(8,20,30,.35) 50%,rgba(8,20,30,0) 75%);pointer-events:none}
html body .dyn-prod-wrap.dynp-hero .product-card:first-child .info-box{position:absolute;left:0;right:0;bottom:0;z-index:2;padding:clamp(22px,3vw,40px);gap:14px}
html body .dyn-prod-wrap.dynp-hero .product-card:first-child .p-name{font-size:clamp(22px,2.4vw,32px);-webkit-line-clamp:3}
html body .dyn-prod-wrap.dynp-hero .product-card:first-child .p-name a{color:#fff}
html body .dyn-prod-wrap.dynp-hero .product-card:first-child .view-more-btn{padding:11px 24px;border-radius:999px;background:var(--b2p);color:#fff;font-size:12.5px;box-shadow:0 12px 26px -8px rgba(var(--b2rgb),.7)}
html body .dyn-prod-wrap.dynp-hero .product-card:first-child:hover .p-name a{color:#fff}
@media(max-width:1000px){html body .dyn-prod-wrap.dynp-hero .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  html body .dyn-prod-wrap.dynp-hero .product-card:first-child{grid-row:span 1;min-height:300px}}

/* ── dark 深色科技: 深色底板 + 发光描边卡 ── */
html body .dyn-prod-wrap.dynp-dark{position:relative;border-radius:30px;padding:clamp(28px,4.4vw,64px)!important;overflow:hidden;
  background:radial-gradient(900px 400px at 85% -10%,rgba(var(--b2rgb),.45),transparent 60%),linear-gradient(160deg,#0a1824,#10283a)}
html body .dyn-prod-wrap.dynp-dark .dyn-head h2{color:#fff}
html body .dyn-prod-wrap.dynp-dark .dyn-head p{color:rgba(255,255,255,.7)}
html body .dyn-prod-wrap.dynp-dark .dyn-head h2::after{background:linear-gradient(90deg,#fff,rgba(255,255,255,.2))}
html body .dyn-prod-wrap.dynp-dark .product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:clamp(16px,1.8vw,26px);margin-bottom:0!important}
html body .dyn-prod-wrap.dynp-dark .product-card{background:linear-gradient(180deg,rgba(255,255,255,.07),rgba(255,255,255,.03));border:1px solid rgba(255,255,255,.12);
  border-radius:20px;overflow:hidden;padding:0;display:flex;flex-direction:column;backdrop-filter:blur(6px)}
html body .dyn-prod-wrap.dynp-dark .product-card:hover{transform:translateY(-8px);border-color:rgba(var(--b2rgb),.9);box-shadow:0 0 0 1px rgba(var(--b2rgb),.6),0 30px 50px -20px rgba(var(--b2rgb),.7)}
html body .dyn-prod-wrap.dynp-dark .img-box{margin:0;aspect-ratio:1/1;background:radial-gradient(circle at 50% 40%,rgba(255,255,255,.95),rgba(235,242,247,.9));padding:16px!important}
html body .dyn-prod-wrap.dynp-dark .img-box a{display:block;width:100%;height:100%}
html body .dyn-prod-wrap.dynp-dark .img-box img{width:100%;height:100%;object-fit:contain}
html body .dyn-prod-wrap.dynp-dark .info-box{padding:18px 20px 22px;display:flex;flex-direction:column;gap:12px;align-items:flex-start;text-align:left}
html body .dyn-prod-wrap.dynp-dark .p-name{font-size:16.5px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
html body .dyn-prod-wrap.dynp-dark .p-name a,html body .dyn-prod-wrap.dynp-dark .product-card:hover .p-name a{color:#fff}
html body .dyn-prod-wrap.dynp-dark .view-more-btn{margin:0!important;padding:0;border:0;background:none;color:rgba(255,255,255,.78);font-size:12px;text-transform:uppercase;align-self:flex-start}
html body .dyn-prod-wrap.dynp-dark .product-card:hover .view-more-btn{color:#fff}

/* ── tiles 方块拼贴: 正方形大图, 名称条悬停上滑 ── */
html body .dyn-prod-wrap.dynp-tiles .product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(10px,1.2vw,18px)}
html body .dyn-prod-wrap.dynp-tiles .product-card{background:#0c1b28;border:0;border-radius:18px;overflow:hidden;padding:0;aspect-ratio:1/1;box-shadow:0 14px 30px -18px rgba(16,36,58,.55)}
html body .dyn-prod-wrap.dynp-tiles .product-card:hover{transform:translateY(-4px);box-shadow:0 30px 50px -22px rgba(16,36,58,.65)}
html body .dyn-prod-wrap.dynp-tiles .img-box{position:absolute;inset:0;margin:0;aspect-ratio:auto;background:#0c1b28}
html body .dyn-prod-wrap.dynp-tiles .img-box a{display:block;width:100%;height:100%}
html body .dyn-prod-wrap.dynp-tiles .img-box img{width:100%;height:100%;object-fit:cover}
html body .dyn-prod-wrap.dynp-tiles .info-box{position:absolute;left:0;right:0;bottom:0;padding:22px 20px 18px;display:flex;flex-direction:column;align-items:flex-start;gap:0;
  background:linear-gradient(to top,rgba(8,20,30,.9),rgba(8,20,30,0));transition:padding .35s,background .35s}
html body .dyn-prod-wrap.dynp-tiles .product-card:hover .info-box{padding-bottom:22px;background:linear-gradient(to top,rgba(var(--b2rgb),.92) 0%,rgba(8,20,30,.55) 70%,rgba(8,20,30,0) 100%)}
html body .dyn-prod-wrap.dynp-tiles .p-name{font-size:16px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
html body .dyn-prod-wrap.dynp-tiles .p-name a,html body .dyn-prod-wrap.dynp-tiles .product-card:hover .p-name a{color:#fff}
html body .dyn-prod-wrap.dynp-tiles .view-more-btn{margin:0!important;padding:0;border:0;background:none;color:#fff;font-size:12px;text-transform:uppercase;max-height:0;opacity:0;overflow:hidden;
  transition:max-height .35s,opacity .35s,margin .35s}
html body .dyn-prod-wrap.dynp-tiles .product-card:hover .view-more-btn,html body .dyn-prod-wrap.dynp-tiles .product-card:focus-within .view-more-btn{max-height:30px;opacity:1;margin-top:8px!important}
@media(hover:none){html body .dyn-prod-wrap.dynp-tiles .view-more-btn{max-height:30px;opacity:1;margin-top:8px!important}}
@media(max-width:1000px){html body .dyn-prod-wrap.dynp-tiles .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* ── stacked 序号悬浮卡: 左上序号角标 + 图片浮起 + 圆形箭头 ── */
html body .dyn-prod-wrap.dynp-stacked .product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:clamp(34px,3.6vw,52px) clamp(18px,2vw,30px);counter-reset:sk;padding-top:22px}
html body .dyn-prod-wrap.dynp-stacked .product-card{counter-increment:sk;background:#fff;border:1px solid var(--b2line);border-radius:22px;padding:0;display:flex;flex-direction:column;
  box-shadow:0 10px 30px -18px rgba(16,36,58,.22);overflow:visible}
html body .dyn-prod-wrap.dynp-stacked .product-card:hover{transform:translateY(-8px);border-color:rgba(var(--b2rgb),.3);box-shadow:0 34px 54px -24px rgba(var(--b2rgb),.35)}
html body .dyn-prod-wrap.dynp-stacked .product-card::before{content:counter(sk,decimal-leading-zero);position:absolute;right:20px;top:-18px;z-index:3;font-size:13px;font-weight:800;letter-spacing:.08em;
  color:#fff;background:linear-gradient(135deg,var(--b2p),var(--b2d));padding:8px 14px;border-radius:999px;box-shadow:0 10px 20px -8px rgba(var(--b2rgb),.7)}
html body .dyn-prod-wrap.dynp-stacked .img-box{width:auto!important;margin:14px 14px 0;aspect-ratio:4/3;border-radius:16px;background:linear-gradient(180deg,#f7fafc,#eaf0f4);padding:10px!important}
html body .dyn-prod-wrap.dynp-stacked .img-box a{display:block;width:100%;height:100%}
html body .dyn-prod-wrap.dynp-stacked .img-box img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 14px 14px rgba(16,36,58,.2))}
html body .dyn-prod-wrap.dynp-stacked .info-box{padding:16px 22px 22px;display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:12px;text-align:left}
html body .dyn-prod-wrap.dynp-stacked .p-name{font-size:17px;flex:1;min-width:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
html body .dyn-prod-wrap.dynp-stacked .view-more-btn{flex:none;margin:0!important;width:42px;height:42px;padding:0;justify-content:center;border:1px solid rgba(var(--b2rgb),.3);border-radius:50%;
  background:rgba(var(--b2rgb),.07);font-size:0}
html body .dyn-prod-wrap.dynp-stacked .view-more-btn::after{font-size:18px;line-height:1}
html body .dyn-prod-wrap.dynp-stacked .product-card:hover .view-more-btn{background:var(--b2p);color:#fff;border-color:var(--b2p)}
