/* 标准板块的结构样式（内核提供）。
   发布模板资源时，这个文件拼在模板自己的 assets/blocks.css 前面，合成 /t/{模板}/blocks.css，只在用到板块的页面加载。
   这里只管排版结构。颜色、字体、圆角、间距读下面这些变量，由模板在自己的 blocks.css 里赋值：
     --b-ink 文字          --b-muted 次要文字     --b-line 分隔线        --b-soft 浅底
     --b-bg 页面底色       --b-ph 图片占位底色    --b-accent 主题色      --b-on-accent 主题色上的文字
     --b-radius 圆角       --b-pill 标签圆角      --b-font-h 标题字体
     --b-wrap 内容最大宽度 --b-pad 左右留白       --b-gap 网格间距       --b-band 带底色的板块上下留白
   板块之间的间距（.b 的外边距）、标题的字号、带底色时的配色（.tone-soft / .tone-accent / .tone-contrast）由模板写。 */

.b{position:relative}
.b-in{width:100%;max-width:var(--b-wrap,1280px);margin:0 auto;padding-left:var(--b-pad,20px);padding-right:var(--b-pad,20px)}
.b ul,.b ol,.b dl,.b-chips,.b-linkcols,.b-points,.b-circles{margin:0;padding:0;list-style:none}
.b dd,.b figure,.b blockquote,.b h3{margin:0}
.b-sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.b-ph{position:relative;display:block;overflow:hidden;border-radius:var(--b-radius,0);background:var(--b-ph,#e4e4e4)}
.b-ph img{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover}
a.b-ph img,.b-banner img{transition:transform .5s ease}
a.b-ph:hover img,a.b-banner:hover img{transform:scale(1.03)}

/* 带底色的板块：block() 在外面包的那一层 */
.tone{padding:var(--b-band,56px) 0}
.tone-flush{padding:0}
.tone[hidden],.b[hidden]{display:none}

/* 标题行 */
.b-h{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:8px 24px;margin-bottom:var(--b-head,28px)}
.b-h-t{min-width:0;max-width:760px}
.b-h.is-center{justify-content:center;text-align:center}
.b-h.is-center .b-h-t{flex:1 1 100%;margin:0 auto}
.b-t{font-family:var(--b-font-h,inherit)}
.b-t a{color:inherit}
.b-st{margin-top:8px;color:var(--b-muted);font-size:16px;line-height:1.6}
.b-eyebrow{margin:0 0 10px;color:var(--b-muted);font-size:13px;line-height:20px;letter-spacing:.1em;text-transform:uppercase}
.b-more{display:inline-flex;align-items:center;min-height:40px;color:var(--b-accent);font-weight:500;text-decoration:underline;text-underline-offset:4px}
.b-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px 24px;margin-top:24px}

/* 通用：产品网格、横向滑动的一行、文字标签、分栏的链接列表、打勾的要点、圆形入口 */
.b-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--b-gap,24px)}
.b-scroll{display:flex;gap:var(--b-gap,24px);padding-bottom:12px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:thin;-webkit-overflow-scrolling:touch}
.b-scroll>*{flex:0 0 var(--b-item,min(72%,280px));min-width:0;scroll-snap-align:start}
.b-chips{display:flex;flex-wrap:wrap;gap:8px}
.b-chips a{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:4px 16px;border:1px solid var(--b-line);border-radius:var(--b-pill,20px);font-size:14px;line-height:20px}
.b-chips a:hover{border-color:var(--b-accent);color:var(--b-accent);text-decoration:none}
.b-chips small{color:var(--b-muted);font-size:12px}
.b-linkcols{columns:2 150px;column-gap:24px}
.b-linkcols li{break-inside:avoid}
.b-linkcols a{display:inline-flex;align-items:center;min-height:40px}
.b-points{display:flex;flex-direction:column;gap:8px;margin-top:18px}
.b-points li{position:relative;padding-left:28px;line-height:1.5}
.b-points li::before{content:"";position:absolute;top:.38em;left:3px;width:13px;height:7px;border-bottom:2px solid var(--b-accent);border-left:2px solid var(--b-accent);transform:rotate(-45deg)}
.b-circles{display:flex;gap:20px;padding-bottom:4px;overflow-x:auto;scrollbar-width:none}
.b-circles::-webkit-scrollbar{display:none}
.b-circle{display:flex;flex:0 0 auto;flex-direction:column;align-items:center;gap:10px;width:104px;font-size:14px;line-height:1.35;text-align:center}
.b-circle .b-ph{display:flex;align-items:center;justify-content:center;width:96px;height:96px;border-radius:50%;font-size:28px;font-weight:700}
.b-circle small{display:block;color:var(--b-muted);font-size:12px}

/* 表单：搜索条、邮件订阅 */
.b-form{display:flex;gap:8px;width:100%;max-width:520px}
.b-form input[type=search],.b-form input[type=email]{flex:1 1 auto;width:100%;min-width:0;height:52px;margin:0;padding:0 16px;border:1px solid var(--b-line);border-radius:var(--b-radius,0);background:var(--b-bg,#fff);color:var(--b-ink,inherit);font:inherit;font-size:16px;-webkit-appearance:none;appearance:none}
.b-form input::placeholder{color:var(--b-muted);opacity:1}
.b-form .btn{flex:none;min-height:52px}
.b-note{margin-top:10px;color:var(--b-muted);font-size:13px;line-height:1.5}

/* 轮播横幅 */
.b-slides-w{position:relative;overflow:hidden}
.b-slides-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.b-slides-track::-webkit-scrollbar{display:none}
.b-slide{position:relative;display:flex;flex:0 0 100%;min-width:0;min-height:clamp(380px,44vw,600px);background:var(--b-soft);scroll-snap-align:start;scroll-snap-stop:always}
.b-slide-img{position:absolute;top:0;right:0;bottom:0;left:0}
.b-slide-img img{width:100%;height:100%;object-fit:cover}
.b-slide-in{position:relative;display:flex;align-items:center}
.b-slide-t{display:flex;flex-direction:column;align-items:flex-start;max-width:600px;padding:48px 0 80px}
.b-slide-h{font-family:var(--b-font-h,inherit)}
.b-slide-p{margin-top:16px}
.b-slide .btn{margin-top:28px}
.is-cover .b-slide.has-img{color:#fff}
.is-cover .b-slide.has-img .b-slide-img::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(90deg,rgba(0,0,0,.62),rgba(0,0,0,.28) 55%,rgba(0,0,0,.08))}
.is-cover .b-slide.has-img .b-eyebrow{color:inherit}
.b-slides-nav{position:absolute;right:0;bottom:16px;left:0;display:flex;align-items:center;justify-content:center;gap:8px;color:var(--b-ink)}
.b-slides-nav[hidden]{display:none}
.b-slides-nav button{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;margin:0;padding:0;border:0;border-radius:50%;background:var(--b-bg,#fff);color:inherit;cursor:pointer}
.b-slides-nav button[hidden]{display:none}
.b-slides-nav button[aria-pressed=true]{opacity:.55}
.b-slides-dots{display:flex}
.b-slides-nav .b-slides-dots button{position:relative;width:24px;border-radius:0;background:transparent}
.b-slides-dots button::before{content:"";position:absolute;top:18px;right:5px;left:5px;height:4px;border-radius:2px;background:currentColor;opacity:.4}
.b-slides-dots button[aria-current=true]::before{opacity:1}
.b-slides.is-cover .b-slides-dots{color:#fff}

/* 图片广告位 */
.b-banners-g{display:grid;grid-template-columns:minmax(0,1fr);gap:var(--b-gap,24px)}
.b-banner{position:relative;display:block;aspect-ratio:4/3;overflow:hidden;border-radius:var(--b-radius,0);color:#fff}
.b-banner:hover{color:#fff;text-decoration:none}
.b-banner-img{position:absolute;top:0;right:0;bottom:0;left:0;border-radius:0}
.b-banner-t{position:absolute;right:0;bottom:0;left:0;display:flex;flex-direction:column;gap:4px;padding:48px 20px 20px;background:linear-gradient(0deg,rgba(0,0,0,.66),rgba(0,0,0,0))}
.b-banner-t strong{font-family:var(--b-font-h,inherit);font-size:22px;line-height:1.2;font-weight:700}
.b-banner-t span{font-size:15px;line-height:1.45}
.b-banner-t em{margin-top:6px;font-size:14px;font-style:normal;text-decoration:underline;text-underline-offset:4px}

/* 行动号召条 */
.b-cta{overflow:hidden}
.b-cta-in{position:relative;display:flex;flex-direction:column;align-items:center;text-align:center}
.b-cta-h{max-width:780px;font-family:var(--b-font-h,inherit)}
.b-cta-p{max-width:640px;margin-top:12px}
.b-cta .b-actions{justify-content:center}
.b-cta .b-eyebrow{color:inherit;opacity:.8}
.b-cta.has-img{padding:var(--b-band,56px) 0;color:#fff}
.b-cta-img{position:absolute;top:0;right:0;bottom:0;left:0}
.b-cta-img img{width:100%;height:100%;object-fit:cover}
.b-cta-img::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:rgba(0,0,0,.52)}

/* 限时倒计时 */
.b-count-in{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px 32px}
.b-count-t{flex:1 1 260px;min-width:0}
.b-count-h{font-family:var(--b-font-h,inherit)}
.b-count-t p{margin-top:6px;color:var(--b-muted)}
.b-count-c{display:flex;align-items:center;min-height:66px}
.b-count-e{font-weight:600}
.b-count-n{display:none;gap:8px}
.b-count-n span{display:flex;flex-direction:column;align-items:center;min-width:58px;padding:9px 6px;border:1px solid var(--b-line);border-radius:var(--b-radius,0);background:var(--b-bg,transparent)}
.b-count-n b{font-size:24px;line-height:28px;font-weight:700;font-variant-numeric:tabular-nums}
.b-count-n i{color:var(--b-muted);font-size:11px;line-height:16px;font-style:normal;letter-spacing:.06em;text-transform:uppercase}
.b-count.is-live .b-count-n{display:flex}
.b-count.is-live .b-count-e{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}

/* 滚动字幕 */
.b-marquee{overflow:hidden}
.b-marquee-w{display:flex;width:max-content;color:inherit;animation:b-marquee var(--b-dur,30s) linear infinite}
.b-marquee-w:hover{color:inherit;text-decoration:none;animation-play-state:paused}
.b-marquee-l{display:flex;flex:none}
.b-marquee-l li{position:relative;padding:0 28px;font-size:14px;line-height:44px;letter-spacing:.08em;text-transform:uppercase;white-space:nowrap}
.b-marquee-l li::after{content:"";position:absolute;top:50%;right:-3px;width:6px;height:6px;margin-top:-3px;border-radius:50%;background:currentColor;opacity:.5}
@keyframes b-marquee{to{transform:translateX(-50%)}}

/* 分组产品（标签切换） */
.b-tabs-w{position:relative}
.b-tabs-r{position:absolute;opacity:0;pointer-events:none}
.b-tabs-l{display:flex;gap:8px;margin-bottom:24px;overflow-x:auto;scrollbar-width:none}
.b-tabs-l::-webkit-scrollbar{display:none}
.b-tabs-l label{display:inline-flex;flex:none;align-items:center;min-height:40px;padding:4px 18px;border:1px solid var(--b-line);border-radius:var(--b-pill,20px);font-size:15px;line-height:20px;white-space:nowrap;cursor:pointer}
.b-tabs-panel{display:none}
.is-single>.b-tabs-p>.b-tabs-panel,
.b-tabs-r:nth-of-type(1):checked~.b-tabs-p>.b-tabs-panel:nth-child(1),
.b-tabs-r:nth-of-type(2):checked~.b-tabs-p>.b-tabs-panel:nth-child(2),
.b-tabs-r:nth-of-type(3):checked~.b-tabs-p>.b-tabs-panel:nth-child(3),
.b-tabs-r:nth-of-type(4):checked~.b-tabs-p>.b-tabs-panel:nth-child(4),
.b-tabs-r:nth-of-type(5):checked~.b-tabs-p>.b-tabs-panel:nth-child(5),
.b-tabs-r:nth-of-type(6):checked~.b-tabs-p>.b-tabs-panel:nth-child(6){display:block}
.b-tabs-r:nth-of-type(1):checked~.b-tabs-l>label:nth-child(1),
.b-tabs-r:nth-of-type(2):checked~.b-tabs-l>label:nth-child(2),
.b-tabs-r:nth-of-type(3):checked~.b-tabs-l>label:nth-child(3),
.b-tabs-r:nth-of-type(4):checked~.b-tabs-l>label:nth-child(4),
.b-tabs-r:nth-of-type(5):checked~.b-tabs-l>label:nth-child(5),
.b-tabs-r:nth-of-type(6):checked~.b-tabs-l>label:nth-child(6){border-color:var(--b-ink);background:var(--b-ink);color:var(--b-bg,#fff)}
.b-tabs-r:nth-of-type(1):focus-visible~.b-tabs-l>label:nth-child(1),
.b-tabs-r:nth-of-type(2):focus-visible~.b-tabs-l>label:nth-child(2),
.b-tabs-r:nth-of-type(3):focus-visible~.b-tabs-l>label:nth-child(3),
.b-tabs-r:nth-of-type(4):focus-visible~.b-tabs-l>label:nth-child(4),
.b-tabs-r:nth-of-type(5):focus-visible~.b-tabs-l>label:nth-child(5),
.b-tabs-r:nth-of-type(6):focus-visible~.b-tabs-l>label:nth-child(6){outline:2px solid var(--b-accent);outline-offset:2px}
.b-tabs-more{margin-top:20px;text-align:center}

/* 单品推荐 */
.b-feat-in{display:grid;grid-template-columns:minmax(0,1fr);gap:24px;align-items:center}
.b-feat-img{aspect-ratio:1/1}
.b-feat-t{display:flex;flex-direction:column;align-items:flex-start;min-width:0}
.b-feat-h{font-family:var(--b-font-h,inherit)}
.b-feat-h a{color:inherit}
.b-price{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 12px;margin-top:14px}
.b-price-now{font-size:26px;line-height:34px;font-weight:600}
.b-price s{color:var(--b-muted);font-size:17px}
.b-badge{display:inline-flex;align-items:center;height:24px;padding:0 9px;border-radius:12px;background:var(--b-accent);color:var(--b-on-accent,#fff);font-size:13px;font-weight:700}
.b-soldout{color:var(--b-muted);font-size:13px;letter-spacing:.08em;text-transform:uppercase}
.b-feat-p{max-width:520px;margin-top:16px;color:var(--b-muted);font-size:17px;line-height:1.65}
.b-feat .btn{margin-top:28px}

/* 分类专区 */
.b-floor-g{display:grid;grid-template-columns:minmax(0,1fr);gap:var(--b-gap,24px)}
.b-floor-side{display:flex;flex-direction:column;min-width:0;overflow:hidden;border-radius:var(--b-radius,0);background:var(--b-soft)}
.b-floor-img{aspect-ratio:16/9;border-radius:0}
.b-floor-t{display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:20px}
.b-floor-t p{color:var(--b-muted);font-size:15px;line-height:1.6}
.b-floor-m{min-width:0}
.b-floor-m .b-chips{margin-bottom:16px}

/* 卖点 / 服务保障 */
.b-features-g{display:grid;grid-template-columns:minmax(0,1fr);gap:20px 32px}
.b-feature{display:flex;align-items:flex-start;gap:14px;min-width:0}
.b-ico{display:inline-flex;flex:none;color:var(--b-accent)}
.b-feature-t{display:flex;flex-direction:column;gap:2px;min-width:0}
.b-feature-h{font-weight:600;line-height:1.4}
.b-feature-p{color:var(--b-muted);font-size:14px;line-height:1.5;overflow-wrap:anywhere}
.b-features.is-cards .b-feature{flex-direction:column;padding:24px;border:1px solid var(--b-line);border-radius:var(--b-radius,0)}
.b-features.is-list .b-features-g{gap:14px}

/* 客户评价 */
.b-quotes-g{display:grid;grid-template-columns:minmax(0,1fr);gap:var(--b-gap,24px)}
.b-quotes-g.b-scroll{display:flex}
.b-quote{display:flex;flex-direction:column;gap:12px;min-width:0;padding:24px;border:1px solid var(--b-line);border-radius:var(--b-radius,0)}
.b-quote figure{display:flex;flex:1 1 auto;flex-direction:column;gap:14px}
.b-stars{color:var(--b-accent);font-size:16px;line-height:1;letter-spacing:2px}
.b-stars span{opacity:.25}
.b-quote blockquote{flex:1 1 auto;font-size:16px;line-height:1.65}
.b-quote-by{display:flex;align-items:center;gap:12px}
.b-avatar{flex:none;width:44px;height:44px;border-radius:50%}
.b-quote-n{display:flex;flex-direction:column;font-size:14px;line-height:1.45}
.b-quote-n span{color:var(--b-muted)}
.b-quotes.is-carousel .b-quote{flex-basis:min(84%,380px)}
.b-quotes.is-single .b-quote{flex-basis:100%;align-items:center;padding:0 0 4px;border:0;text-align:center}
.b-quotes.is-single figure{align-items:center;max-width:780px;margin:0 auto}
.b-quotes.is-single blockquote{font-family:var(--b-font-h,inherit);font-size:clamp(20px,2.4vw,28px);line-height:1.45}

/* Logo 墙 */
.b-logos-g{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 24px;align-items:center}
.b-logos-g li{display:flex;align-items:center;justify-content:center;height:76px;padding:10px 16px}
.b-logos-g a{display:flex;align-items:center;justify-content:center;width:100%;height:100%}
.b-logos-g img{width:auto;max-width:100%;height:auto;max-height:100%;object-fit:contain}
.b-logos.is-strip .b-logos-g{display:flex}
.b-logos.is-strip .b-logos-g>*{flex:0 0 168px}

/* 数字亮点 */
.b-stats-g{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 24px;text-align:center}
.b-stat{display:flex;flex-direction:column-reverse;gap:6px;min-width:0}
.b-stat dd{color:var(--b-accent);font-family:var(--b-font-h,inherit);font-size:clamp(34px,4.4vw,52px);line-height:1.05;font-weight:700;font-variant-numeric:tabular-nums}
.b-stat dt{color:var(--b-muted);font-size:15px;line-height:1.4}

/* 步骤 / 流程 */
.b-steps-g{display:grid;grid-template-columns:minmax(0,1fr);gap:28px var(--b-gap,24px)}
.b-step{display:flex;flex-direction:column;align-items:flex-start;gap:12px;min-width:0}
.b-step-img{width:100%;aspect-ratio:4/3}
.b-step-n{display:inline-flex;align-items:center;justify-content:center;min-width:40px;height:40px;padding:0 12px;border-radius:20px;background:var(--b-accent);color:var(--b-on-accent,#fff);font-weight:700;font-variant-numeric:tabular-nums}
.b-step-t{min-width:0}
.b-step-h{font-size:19px;line-height:1.3}
.b-step p{margin-top:6px;color:var(--b-muted);font-size:15px;line-height:1.6}
.b-steps.is-timeline .b-steps-g{max-width:780px;gap:0}
.b-steps.is-timeline .b-step{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px 20px;padding-bottom:32px}
.b-steps.is-timeline .b-step::before{content:"";position:absolute;top:46px;bottom:6px;left:19px;width:2px;background:var(--b-line)}
.b-steps.is-timeline .b-step:last-child{padding-bottom:0}
.b-steps.is-timeline .b-step:last-child::before{display:none}
.b-steps.is-timeline .b-step-n{grid-column:1;grid-row:1}
.b-steps.is-timeline .b-step-t{grid-column:2;grid-row:1;padding-top:7px}
.b-steps.is-timeline .b-step-img{grid-column:2;grid-row:2;max-width:360px}
.b-steps.is-timeline .b-step-n.is-text{min-width:72px}
.b-steps.is-timeline .b-step:has(.is-text)::before{left:35px}

/* 邮件订阅、搜索条 */
.b-news-in{display:grid;grid-template-columns:minmax(0,1fr);gap:20px;align-items:center}
.b-news-f{min-width:0}
.b-search-in{display:flex;flex-direction:column;align-items:center;gap:14px;text-align:center}
.b-search .b-st{margin-top:0}
.b-search .b-chips{justify-content:center}

/* 联系方式 */
.b-contact-in{display:grid;grid-template-columns:minmax(0,1fr);gap:28px;align-items:center}
.b-contact-t{display:flex;flex-direction:column;align-items:flex-start;gap:16px;min-width:0}
.b-contact-t .b-st{margin-top:-6px}
.b-contact-l{display:flex;flex-direction:column;gap:10px;margin:0;font-style:normal}
.b-contact-l>*{display:flex;align-items:flex-start;gap:10px;line-height:1.5}
.b-contact-l .ico{flex:none;margin-top:2px;color:var(--b-accent)}
.b-contact-map{position:relative;aspect-ratio:4/3;overflow:hidden;border-radius:var(--b-radius,0);background:var(--b-ph,#e4e4e4)}
.b-contact-map iframe{position:absolute;top:0;left:0;width:100%;height:100%;border:0}
.b-contact.is-center .b-contact-t{align-items:center;text-align:center}
.b-contact.is-center .b-chips{justify-content:center}

/* 多列图文 */
.b-cols-g{display:grid;grid-template-columns:minmax(0,1fr);gap:32px var(--b-gap,24px)}
.b-col{display:flex;flex-direction:column;align-items:flex-start;min-width:0}
.b-col-img{width:100%;aspect-ratio:4/3;margin-bottom:16px}
.b-col-h{font-size:20px;line-height:1.3}
.b-col p{margin-top:8px;color:var(--b-muted);font-size:15px;line-height:1.6}
.b-col .b-more{margin-top:6px}
.b-h.is-center+.b-cols-g .b-col{align-items:center;text-align:center}

/* 图片墙 */
.b-gallery-g{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--b-gap-s,12px)}
.b-gallery-g li{aspect-ratio:1/1;min-width:0}
.b-gallery-g .b-ph{width:100%;height:100%}
/* 错落：分栏排，每张图的高矮按 3:4、1:1、4:5 轮换。分栏会自己把各栏排得一样高，不管几张图都不会留空洞 */
.b-gallery.is-masonry .b-gallery-g{display:block;columns:2;column-gap:var(--b-gap-s,12px)}
.b-gallery.is-masonry li{margin-bottom:var(--b-gap-s,12px);aspect-ratio:auto;break-inside:avoid}
.b-gallery.is-masonry .b-ph{height:auto;aspect-ratio:3/4}
.b-gallery.is-masonry li:nth-child(3n+2) .b-ph{aspect-ratio:1/1}
.b-gallery.is-masonry li:nth-child(3n) .b-ph{aspect-ratio:4/5}
.b-gallery.is-strip .b-gallery-g{display:flex}
.b-gallery.is-strip .b-gallery-g>*{flex:0 0 min(70%,300px)}

/* 视频、自定义代码 */
.b-video-in{display:grid;grid-template-columns:minmax(0,1fr);gap:24px}
.b-video-t{max-width:760px}
.b-video-f{position:relative;aspect-ratio:16/9;overflow:hidden;border-radius:var(--b-radius,0);background:#000}
.b-video-f>*{position:absolute;top:0;left:0;width:100%;height:100%;border:0}
.b-video-a img{width:100%;height:100%;object-fit:cover;opacity:.88}
.b-video-play{position:absolute;top:50%;left:50%;width:72px;height:72px;margin:-36px 0 0 -36px;border-radius:50%;background:var(--b-accent)}
.b-video-play::after{content:"";position:absolute;top:50%;left:50%;margin:-12px 0 0 -7px;border-color:transparent transparent transparent var(--b-on-accent,#fff);border-style:solid;border-width:12px 0 12px 20px}
.b-embed-c{overflow-x:auto}

/* 首页以外的位置。product_info 在购买按钮下面那一栏里，很窄：去掉板块自己的左右留白和外边距 */
.slot-product_info{align-self:stretch;margin-top:24px}
.slot-product_info .b,.slot-product_info .tone{margin:0}
.slot-product_info .b-in{max-width:none;padding:0}
.slot-product_info .tone{padding:16px;border-radius:var(--b-radius,0)}
.slot-product_info .b-h{margin-bottom:14px}

@media (min-width:560px){
.b-features-g{grid-template-columns:repeat(2,minmax(0,1fr))}
.b-features.is-list .b-features-g{grid-template-columns:minmax(0,1fr)}
.b-logos-g{grid-template-columns:repeat(3,minmax(0,1fr))}
.b-circles{flex-wrap:wrap;justify-content:center;gap:28px 32px;overflow:visible}
.b-circle{width:128px}
.b-circle .b-ph{width:116px;height:116px}
}
@media (min-width:640px){
.b-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.b-banners-g{grid-template-columns:repeat(2,minmax(0,1fr))}
.b-banners.n-1 .b-banners-g{grid-template-columns:minmax(0,1fr)}
.b-banners.n-1 .b-banner{aspect-ratio:21/9}
.b-cols-g{grid-template-columns:repeat(2,minmax(0,1fr))}
.b-linkcols{columns:4 170px}
}
@media (min-width:720px){
.b-quotes.is-grid .b-quotes-g{grid-template-columns:repeat(var(--b-cols,3),minmax(0,1fr))}
.b-stats-g{grid-template-columns:repeat(var(--b-cols,4),minmax(0,1fr))}
.b-steps.is-row .b-steps-g{grid-template-columns:repeat(var(--b-cols,3),minmax(0,1fr))}
.b-gallery-g{grid-template-columns:repeat(var(--b-cols,4),minmax(0,1fr))}
.b-gallery.is-masonry .b-gallery-g{columns:var(--b-cols,4)}
.b-feat-in{grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(32px,5vw,72px)}
.b-feat.is-right .b-feat-img{order:2}
}
@media (min-width:840px){
.b-banners.is-grid .b-banners-g{grid-template-columns:repeat(var(--b-cols,3),minmax(0,1fr))}
.b-banners.is-collage .b-banners-g{grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:minmax(190px,1fr)}
.b-banners.is-collage .b-banner{aspect-ratio:auto}
.b-banners.is-collage .b-banner:first-child{grid-column:span 2;grid-row:span 2}
.b-banners.is-collage.n-3 .b-banner:not(:first-child),.b-banners.is-collage.n-4 .b-banner:nth-child(2){grid-column:span 2}
.b-banners.is-collage.n-6 .b-banner:last-child{grid-column:1/-1}
.b-news-in{grid-template-columns:repeat(2,minmax(0,1fr));gap:48px}
.b-contact.has-map.is-split .b-contact-in{grid-template-columns:repeat(2,minmax(0,1fr));gap:48px}
.b-video.is-split .b-video-in{grid-template-columns:minmax(0,2fr) minmax(0,3fr);gap:48px;align-items:center}
.b-slides.is-split .b-slide{background:var(--b-soft)}
.b-slides.is-split .b-slide-img{position:relative;flex:0 0 50%;order:2}
.b-slides.is-split .b-slide-in{flex:1 1 50%}
}
@media (max-width:839.98px){
.b-slides.is-split .b-slide{flex-direction:column}
.b-slides.is-split .b-slide-img{position:relative;flex:none;aspect-ratio:16/10}
.b-slides.is-split .b-slide-t{padding:28px 0 76px}
}
@media (min-width:960px){
.b-grid{grid-template-columns:repeat(var(--b-cols,4),minmax(0,1fr))}
.b-features.is-bar .b-features-g,.b-features.is-cards .b-features-g{grid-template-columns:repeat(var(--b-cols,4),minmax(0,1fr))}
.b-cols-g{grid-template-columns:repeat(var(--b-cols,3),minmax(0,1fr))}
.b-logos.is-grid .b-logos-g{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}
.b-floor.is-side .b-floor-g{grid-template-columns:minmax(0,1fr) minmax(0,3fr)}
.b-floor.is-side .b-floor-img{flex:1 1 auto;min-height:220px;aspect-ratio:auto}
.b-floor.is-top .b-floor-side{flex-direction:row}
.b-floor.is-top .b-floor-img{flex:0 0 42%;min-height:220px;aspect-ratio:auto}
.b-floor.is-top .b-floor-t{flex:1 1 auto;justify-content:center;padding:32px}
}
@media (prefers-reduced-motion:reduce){
.b-marquee{overflow-x:auto;scrollbar-width:none}
.b-marquee::-webkit-scrollbar{display:none}
.b-marquee-w{animation:none}
.b-marquee-l[aria-hidden]{display:none}
a.b-ph img,.b-banner img{transition:none}
a.b-ph:hover img,a.b-banner:hover img{transform:none}
.b-slides-track{scroll-behavior:auto}
}

/* Noir · 板块样式。
   发布时内核的结构样式（app/Front/blocks/blocks.css）拼在这个文件前面，合成 /t/noir/blocks.css。
   这套模板是深色底、衬线标题、直角：标题默认居中，按钮是描边的，带底色的板块是通栏的色带。 */

/* 变量写在 :root 和 .tone 上：带底色的板块里 --ink 等会换成另一套，--b-* 要跟着重新取值 */
:root,.tone{--b-ink:var(--ink);--b-muted:var(--muted);--b-line:var(--line);--b-soft:var(--panel);--b-ph:var(--ph);--b-accent:var(--accent);--b-on-accent:var(--on-accent);--b-pad:var(--pad)}
:root{--accent-base:var(--accent);--on-accent-base:var(--on-accent);--b-bg:var(--bg);--b-radius:0px;--b-pill:0px;--b-wrap:1360px;--b-gap:24px;--b-band:72px;--b-head:28px;--b-font-h:var(--serif)}

/* 间距：和原有区块一致，区块之间用上外边距隔开 */
.b{margin-top:var(--gap)}
main>.b:first-child{margin-top:56px}
main>.b-slides:first-child{margin-top:0}
main>.b:last-child{margin-bottom:var(--gap)}
.hero+.b{margin-top:calc(var(--gap) - 16px)}

/* 标题：衬线、大字、默认居中（商家把 align 设成 left 才靠左） */
.b-t{font-size:clamp(34px,4.6vw,48px);line-height:1.17;font-weight:500}
.b-h:not(.is-left){justify-content:center;text-align:center}
.b-h:not(.is-left) .b-h-t{flex:1 1 100%;margin:0 auto}
.b-st{font-size:17px;line-height:28px;font-weight:300;color:var(--ink2)}
.b-more{min-height:40px;font-size:14px;line-height:20px;font-weight:400;letter-spacing:.12em;text-transform:uppercase;text-decoration-thickness:1px;text-underline-offset:5px}
.b-more:hover{color:var(--ink)}
.b-eyebrow{color:var(--accent);letter-spacing:.22em}
.b-chips{justify-content:center}
.b-chips a,.b-tabs-l label{border-color:var(--ctl);letter-spacing:.06em}
.b-tabs-l{justify-content:safe center}
.b-tabs-l label{font-size:13px;letter-spacing:.12em;text-transform:uppercase}
.b-grid{gap:32px 14px}
.b-scroll{--b-item:min(68%,300px)}
.b-form input[type=search],.b-form input[type=email]{border-color:var(--ctl);background:transparent;color:var(--ink)}
.b-form input:focus{border-color:var(--accent);outline:1px solid var(--accent);outline-offset:0}
.b-badge{border-radius:0;font-weight:500;letter-spacing:.06em}
.b-price-now{font-weight:400}
.b-slide{min-height:clamp(440px,46vw,660px)}
.b-slide-in{align-items:flex-end}
.b-slide-t{max-width:780px;padding:56px 0 96px}
.b-slide-h{font-size:clamp(44px,6.4vw,80px);line-height:1.05;letter-spacing:-.01em;font-weight:500}
.b-slide-p{max-width:520px;margin-top:20px;font-size:17px;line-height:28px;font-weight:300}
.b-slide .btn{margin-top:32px}
.b-cta-h,.b-feat-h{font-size:clamp(32px,4.4vw,48px);line-height:1.125;font-weight:500}
.b-cta-p,.b-feat-p{font-size:17px;line-height:28px;font-weight:300}
.b-cta-p{color:var(--ink2)}
.b-count-h{font-size:clamp(26px,3vw,32px);line-height:1.2;font-weight:500}
.b-count-n span{border-color:var(--ctl)}
.b-count-n b{font-family:var(--serif);font-weight:500}
.b-banner-t strong{font-size:26px;font-weight:500}
.b-marquee-l li{font-size:13px;letter-spacing:.18em}
.b-floor-t .b-t{font-size:30px;line-height:36px}
.b-feature-h{font-family:var(--serif);font-size:20px;line-height:26px;font-weight:500}
.b-feature-p{font-weight:300;color:var(--ink2)}
.b-quote blockquote{font-weight:300;color:var(--ink2)}
.b-quotes.is-single blockquote{font-weight:500;color:var(--ink)}
.b-stat dd{font-weight:500}
.b-step-n{border:1px solid var(--accent);background:transparent;color:var(--accent);font-family:var(--serif);font-size:20px;font-weight:500}
.b-step-h,.b-col-h{font-family:var(--serif);font-size:24px;line-height:30px;font-weight:500}
.b-step p,.b-col p,.b-floor-t p{font-weight:300;color:var(--ink2)}
.b-h.is-center+.b-steps-g .b-step,.b-h:not(.is-left)+.b-steps.is-row .b-step{align-items:center;text-align:center}
.b-steps.is-row .b-step{align-items:center;text-align:center}
.b-contact-l{font-weight:300;color:var(--ink2)}
.b-logos-g li{background:#F2EEE6}   /* Logo 多半是给浅色底做的：垫一块浅色的底，深色的 Logo 才看得见 */

/* 带底色的板块：通栏的色带。色带自己上下留白，里面的区块不再留外边距 */
.tone{margin-top:var(--gap)}
main>.tone:first-child{margin-top:0}
main>.tone:last-child,.ft>.slot>.tone:last-child{margin-bottom:0}
.tone+.tone{margin-top:0}
.hero+.tone{margin-top:0}
.tone>.b,.tone>.sec,.tone>.hero{margin-top:0;margin-bottom:0}
.tone>.statement{border:0}
.tone>.statement>.statement-in{padding-top:0;padding-bottom:0}
.tone-soft{background:var(--panel);--ph:#26262A;--ph2:#2B2B30}
.tone-accent{background:var(--accent-base);color:var(--on-accent-base);--ink:var(--on-accent-base);--ink2:var(--on-accent-base);--muted:var(--on-accent-base);--line:rgba(15,15,16,.22);--ctl:rgba(15,15,16,.5);--ph:rgba(15,15,16,.12);--ph2:rgba(15,15,16,.16);--panel:rgba(15,15,16,.08);--accent:var(--on-accent-base);--on-accent:var(--accent-base);--b-bg:var(--accent-base)}
.tone-contrast{background:#F2EEE6;color:#0F0F10;--ink:#0F0F10;--ink2:#2C2C30;--muted:#55524C;--line:#D9D4C9;--ctl:#8C877D;--ph:#E4DFD4;--ph2:#DDD7CB;--panel:#E9E4DA;--accent:#0F0F10;--on-accent:#F2EEE6;--b-bg:#F2EEE6}
.tone-accent a:hover,.tone-contrast a:hover{color:inherit}
.tone-accent .b-st,.tone-accent .sec-sub{opacity:.86}
/* 压在图片上的文字（整屏大图的横幅、轮播、带背景图的行动号召条）不跟着色带换颜色：图片总是压暗的，文字保持浅色 */
.tone .hero.has-cover,.tone .b-slide.has-img,.tone .b-cta.has-img{color:#F2EEE6;--ink:#F2EEE6;--ink2:#CFCAC0;--muted:#A8A39A;--ctl:#6A6A70;--accent:var(--accent-base);--on-accent:var(--on-accent-base)}
.tone:has(>.hero.has-cover){padding:0}

/* 首页以外的位置。主页最后一个区块下面没有留白（ft-home），其他页面的内容下面已经留了 */
.ft>.slot>.b:first-child,.ft>.slot>.tone:first-child{margin-top:0}
.ft-home>.slot>.b:first-child,.ft-home>.slot>.tone:first-child{margin-top:var(--gap)}
.ft>.slot>.b:last-child{margin-bottom:var(--gap)}
.slot-product_bottom>.b:first-child,.slot-product_bottom>.tone:first-child,.slot-category_bottom>.b:first-child,.slot-category_bottom>.tone:first-child{margin-top:0}
.slot-product_bottom>.b:last-child,.slot-category_bottom>.b:last-child{margin-bottom:var(--gap)}
.slot-product_info .b-h{justify-content:flex-start;text-align:left}
.slot-product_info .b-t{font-size:22px;line-height:28px}
.slot-product_info .b-feature-h{font-size:18px}

/* 原有区块：副标题、可选的列数 */
.sec-ht{min-width:0}
.sec-sub{max-width:640px;margin-top:10px;font-size:17px;line-height:28px;font-weight:300;color:var(--ink2)}
.sec-c .sec-sub{margin-right:auto;margin-left:auto}
.statement-narrow .prose{max-width:640px}
.statement-wide .prose{max-width:none}

/* 首屏横幅：左右分栏、居中 */
.hero-split{background:transparent}
.hero-split .hero-in{display:grid;grid-template-columns:minmax(0,1fr);gap:28px;align-items:center;justify-content:normal;min-height:0;padding-top:40px;padding-bottom:0}
.hero-split-img{aspect-ratio:16/15}
.hero-center .hero-in{align-items:center;justify-content:center;text-align:center}
.hero-center .hero-t{align-items:center}
.hero-center .hero-a{justify-content:center}
.hero-center .cover::after{background:rgba(15,15,16,.62)}

/* 文章列表：一大多小、纯列表 */
.posts-f{display:grid;grid-template-columns:minmax(0,1fr);gap:40px}
.posts-f-b{display:flex;flex-direction:column;gap:28px}
.post-list{max-width:860px;margin:0 auto;padding:0;border-top:1px solid var(--line);list-style:none}
.post-list li{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:4px 24px;padding:18px 0;border-bottom:1px solid var(--line)}
.post-list a{font-family:var(--serif);font-size:22px;line-height:28px;font-weight:500}
.post-list time{font-size:12px;letter-spacing:.16em;text-transform:uppercase;color:var(--muted)}

@media (min-width:640px){
.b-grid{gap:40px 24px}
/* 旁边的小卡片：左图右文。这套模板的文章卡片里图、日期、标题是并列的，所以用网格把图放在左边一栏 */
.posts-f-b .post{display:grid;grid-template-columns:180px minmax(0,1fr);column-gap:20px;align-content:start}
.posts-f-b .ph-post{grid-column:1;grid-row:1/span 3}
.posts-f-b .post-m,.posts-f-b .post-t{grid-column:2}
.posts-f-b .post-m{margin-top:0}
.posts-f-b .post-t{font-size:22px;line-height:28px}
}
@media (min-width:768px){
:root{--b-band:96px}
.hero-split .hero-in{grid-template-columns:repeat(2,minmax(0,1fr));gap:40px;padding-top:56px}
}
@media (min-width:900px){
.grid-n{grid-template-columns:repeat(var(--cols,4),minmax(0,1fr))}
.faq-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 56px;align-items:start;max-width:none}
.posts-f{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:56px;align-items:start}
}
@media (min-width:1024px){
:root{--b-head:40px}
.b-grid{gap:56px 32px}
.hero-split .hero-in{gap:72px}
}
