/* 雪线主题的冷白、炭黑与雪服红统一映射到站点设计设置。 */
body.theme-snowline {
    --paper: var(--td-page_bg,#f5f5f2);
    --ink: var(--td-text,#191d24);
    --muted: var(--td-muted,#525b65);
    --accent: var(--td-primary,#be2334);
    --rule: color-mix(in srgb,var(--ink) 18%,var(--paper));
    --snow-surface: color-mix(in srgb,var(--ink) 6%,var(--paper));
    --snow-dark: var(--td-dark_bg,#151d29);
    --snow-on-dark: var(--td-dark_text,#f6f5f2);
    --snow-on-image: var(--td-hero_text,#fafafa);
    --snow-title-scale: calc(var(--td-heading_scale,100) / 100);
    background: var(--paper);
    color: var(--ink);
    font: var(--td-body_size,16px)/1.65 var(--td-font_family,"Segoe UI","Microsoft YaHei",Arial,sans-serif);
    overflow-wrap: anywhere;
}
.theme-snowline .wrap { width: min(1300px,calc(100% - 96px)); margin-inline: auto; }
.theme-snowline :is(h1,h2,h3) {
    margin: 0 0 .4em;
    color: inherit;
    font-weight: 790;
    line-height: 1.08;
    letter-spacing: -.045em;
}
.theme-snowline h1 { font-size: calc(clamp(34px,6vw,90px) * var(--snow-title-scale)); }
.theme-snowline h2 { font-size: calc(clamp(28px,4.2vw,64px) * var(--snow-title-scale)); }
.theme-snowline h3 { font-size: calc(clamp(21px,2.3vw,32px) * var(--snow-title-scale)); }
.theme-snowline p { color: var(--muted); margin: 0 0 16px; }
.theme-snowline .snow-overline { color: inherit; font-size: .75em; font-weight: 700; letter-spacing: .12em; margin-bottom: 14px; }
.theme-snowline :is(a,button,summary,input):focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

/* 公共触控菜单与独立页眉/页脚 logo 调整继承 CMS 行为。 */
.theme-snowline .snow-header {
    position: relative;
    z-index: 5;
    background: var(--td-header_bg,#f5f5f2);
    color: var(--td-header_text,#191d24);
    border-bottom: 1px solid var(--rule);
}
.theme-snowline .site-header { min-height: 73px; padding-block: 10px; }
.theme-snowline :is(.site-header,.snow-footer) .site-brand {
    font-size: clamp(21px,2.5vw,35px);
    font-weight: 900;
    line-height: 1.04;
    letter-spacing: -.06em;
}
.theme-snowline .site-logo { width: 54px; height: auto; }
.theme-snowline .desktop-navigation { gap: clamp(20px,2.6vw,39px); }
.theme-snowline .desktop-navigation > a { padding-block: 8px; font-size: .92em; font-weight: 650; }
.theme-snowline .desktop-navigation > a[aria-current], .theme-snowline .desktop-navigation > a:hover { box-shadow: inset 0 -2px var(--accent); text-decoration: none; }
.theme-snowline .mobile-navigation-links { --paper: var(--td-header_bg,#f5f5f2); }

/* 实心按钮使用站点配色的对比字色，描边按钮继承所在区域文字。 */
.theme-snowline .snow-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 46px;
    max-width: 100%;
    padding: 9px calc(24px * var(--td-button_padding,100) / 100);
    background: var(--accent);
    border: 1px solid var(--accent);
    border-radius: var(--td-button_radius,2px);
    color: var(--td-primary_ink,#fff);
    font: inherit;
    font-size: .93em;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}
.theme-snowline .snow-button-reverse { background: var(--snow-on-dark); border-color: var(--snow-on-dark); color: var(--snow-dark); }
.theme-snowline[data-td-button_style="filled"] .snow-button { background: var(--accent); border-color: var(--accent); color: var(--td-primary_ink,#fff); }
.theme-snowline[data-td-button_style="outline"] .snow-button { background: transparent; border-color: currentColor; color: inherit; }
.theme-snowline .snow-button:hover { text-decoration: none; box-shadow: inset 0 0 0 1px currentColor; }
.theme-snowline .snow-link { font-weight: 700; text-decoration: underline; text-underline-offset: .3em; }
.theme-snowline .snow-link span { display: inline-block; margin-inline-start: 5px; text-decoration: none; }

/* 桌面雪景铺到首屏底部，仍可用主题设计调节高度；长文案自然撑高画面。 */
.theme-snowline .snow-hero {
    --snow-image-direction: 90deg;
    position: relative;
    width: 100%;
    margin: 0;
    background: var(--snow-dark);
    color: var(--snow-on-image);
}
[dir="rtl"] .theme-snowline .snow-hero, [dir="rtl"] .theme-snowline .snow-masthead { --snow-image-direction: -90deg; }
.theme-snowline .snow-slide {
    position: relative;
    isolation: isolate;
    display: grid;
    align-items: center;
    min-height: calc(max(470px, 100svh - 74px) * var(--td-hero_scale,100) / 100);
    overflow: clip;
}
.theme-snowline .snow-slide[hidden], .theme-snowline .snow-slide-controls[hidden] { display: none; }
.theme-snowline .snow-slide > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% center; z-index: -2; }
.theme-snowline .snow-slide-captioned::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(var(--snow-image-direction),color-mix(in srgb,var(--snow-dark) 96%,transparent),color-mix(in srgb,var(--snow-dark) 82%,transparent) 24%,color-mix(in srgb,var(--snow-dark) 43%,transparent) 46%,transparent 75%),
        linear-gradient(to top,color-mix(in srgb,var(--snow-dark) 58%,transparent),transparent 24%);
    pointer-events: none;
}
.theme-snowline .snow-slide-inner { width: min(1300px,calc(100% - 96px)); margin-inline: auto; padding-block: 54px 88px; }
.theme-snowline .snow-slide-inner :is(h1,h2) {
    max-width: 13ch;
    font-size: calc(clamp(42px,6.6vw,103px) * var(--snow-title-scale));
    line-height: .99;
    letter-spacing: -.07em;
    white-space: pre-line;
    text-wrap: balance;
}
.theme-snowline .snow-slide-inner p { color: inherit; }
.theme-snowline .snow-hero-summary { max-width: 42ch; font-size: 1.06em; margin-block-end: 23px; }
.theme-snowline .snow-slide-inner > .snow-overline { display: flex; align-items: center; gap: 12px; }
.theme-snowline .snow-slide-inner > .snow-overline::before { content: ""; flex: 0 0 22px; height: 2px; background: var(--accent); }
.theme-snowline .snow-slide-controls { position: absolute; display: flex; inset-inline-start: max(40px,calc((100vw - 1316px) / 2)); bottom: 18px; z-index: 3; }
.theme-snowline .snow-slide-controls button { display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: transparent; color: inherit; cursor: pointer; }
.theme-snowline .snow-slide-controls span { width: 28px; height: 2px; background: currentColor; opacity: .46; }
.theme-snowline .snow-slide-controls [aria-current="true"] span { height: 3px; opacity: 1; }

/* 首页主推一张大图配两张横卡，内容不足时恢复普通目录网格。 */
.theme-snowline .snow-section { padding-block: clamp(44px,6vw,96px); }
.theme-snowline .snow-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.theme-snowline .snow-section-heading p:last-child { margin: 0; }
.theme-snowline .snow-collection-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    flex-shrink: 0;
    padding: 8px 14px;
    border: 1px solid var(--rule);
    border-radius: var(--td-button_radius,2px);
    font-weight: 700;
    text-decoration: none;
}
.theme-snowline .snow-collection-link:hover { border-color: currentColor; text-decoration: none; }
[dir="rtl"] .theme-snowline .snow-collection-link span { scale: -1 1; }
.theme-snowline .snow-feature-grid, .theme-snowline .snow-catalogue { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(15px,2.2vw,32px); }
.theme-snowline .snow-card { min-width: 0; }
.theme-snowline .snow-card-content { display: block; color: inherit; }
.theme-snowline :is(a.snow-card-content, a.snow-look-story):is(:hover,:focus-visible) { text-decoration: none; }
.theme-snowline .snow-card-media { background: var(--snow-surface); overflow: clip; }
.theme-snowline .snow-card-media img { display: block; width: 100%; height: auto; aspect-ratio: 4/3; object-fit: contain; }
.theme-snowline .snow-card-copy { padding-block: 16px 6px; }
.theme-snowline .snow-card-copy .snow-overline { margin-bottom: 7px; }
.theme-snowline .snow-card-summary { font-size: .93em; margin-block: 10px 0; }
.theme-snowline .snow-card-arrow {
    display: inline-grid;
    place-items: center;
    inline-size: 1.65em;
    block-size: 1.65em;
    margin-inline-start: .25em;
    border-radius: 50%;
    font-size: .7em;
    vertical-align: .1em;
    background: var(--snow-surface);
    color: var(--ink);
}
.theme-snowline a.snow-card-content:is(:hover,:focus-visible) .snow-card-arrow { background: var(--accent); color: var(--td-primary_ink,#fff); }
[dir="rtl"] .theme-snowline .snow-card-arrow { scale: -1 1; }
.theme-snowline .snow-feature-grid .snow-card-content { display: flex; flex-direction: column; height: 100%; background: var(--snow-surface); }
.theme-snowline .snow-feature-grid .snow-card-copy { padding: clamp(16px,1.8vw,26px); }
.theme-snowline .snow-feature-grid h3 { display: flex; align-items: center; justify-content: space-between; gap: .5em; text-wrap: balance; }
.theme-snowline .snow-feature-grid .snow-card-arrow {
    flex: none;
    margin-inline-start: 0;
    border: 1px solid var(--rule);
    background: transparent;
}
.theme-snowline .snow-feature-grid a.snow-card-content:is(:hover,:focus-visible) .snow-card-arrow { border-color: var(--accent); }

/* 三张卡片才使用拼版。右栏图片铺满自己的列，文案增高时仍与图片及卡片边缘对齐。 */
@media (min-width: 950px) {
    .theme-snowline .snow-feature-grid:has(> .snow-card:nth-child(3):last-child) {
        grid-template-columns: minmax(0,1.04fr) minmax(0,1fr);
        grid-auto-rows: 1fr;
    }
    .theme-snowline .snow-feature-grid:has(> .snow-card:nth-child(3):last-child) > .snow-card:first-child { grid-row: span 2; }
    .theme-snowline .snow-feature-grid:has(> .snow-card:nth-child(3):last-child) > .snow-card ~ .snow-card .snow-card-content:has(.snow-card-media) {
        display: grid;
        grid-template-columns: minmax(0,1.21fr) minmax(0,1fr);
        grid-template-rows: 1fr;
    }
    .theme-snowline .snow-feature-grid:has(> .snow-card:nth-child(3):last-child) > .snow-card ~ .snow-card .snow-card-media { position: relative; }
    .theme-snowline .snow-feature-grid:has(> .snow-card:nth-child(3):last-child) > .snow-card ~ .snow-card .snow-card-media::before {
        content: "";
        display: block;
        aspect-ratio: 4/3;
    }
    .theme-snowline .snow-feature-grid:has(> .snow-card:nth-child(3):last-child) > .snow-card ~ .snow-card .snow-card-media img {
        position: absolute;
        inset: 0;
        height: 100%;
        aspect-ratio: auto;
        object-fit: cover;
    }
    .theme-snowline .snow-feature-grid:has(> .snow-card:nth-child(3):last-child) > .snow-card ~ .snow-card .snow-card-content:has(.snow-card-media) .snow-card-copy {
        align-self: center;
        padding: clamp(13px,1.5vw,22px);
    }
    .theme-snowline .snow-feature-grid:has(> .snow-card:nth-child(3):last-child) > .snow-card ~ .snow-card h3 {
        font-size: calc(clamp(20px,2.1vw,23px) * var(--snow-title-scale));
    }
}

/* 雪场特辑通栏与手记分栏形成两处版面转换。 */
.theme-snowline .snow-look-story {
    display: grid;
    grid-template-columns: minmax(0,1.48fr) minmax(0,1fr);
    background: var(--snow-dark);
    color: var(--snow-on-dark);
}
.theme-snowline .snow-look-story:not(:has(.snow-look-media)) { grid-template-columns: minmax(0,1fr); }
.theme-snowline .snow-look-story:focus-visible { outline-offset: -5px; }
.theme-snowline .snow-look-media { position: relative; min-height: 380px; overflow: clip; }
.theme-snowline .snow-look-media img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
.theme-snowline .snow-look-copy { align-self: center; padding: clamp(28px,5vw,88px); }
.theme-snowline .snow-look-copy p { color: inherit; }
.theme-snowline .snow-story-grid { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,1fr); gap: clamp(22px,4vw,68px); align-items: stretch; }
.theme-snowline .snow-journal h2 { font-size: calc(clamp(28px,3.6vw,52px) * var(--snow-title-scale)); }
.theme-snowline .snow-journal .snow-card + .snow-card { margin-block-start: 24px; }
.theme-snowline .snow-journal .snow-card-media img { aspect-ratio: 2/1; object-fit: cover; }
.theme-snowline .snow-brand-note { display: grid; align-content: center; justify-items: start; background: var(--snow-surface); padding: clamp(25px,4vw,68px); }
.theme-snowline .snow-cta { background: var(--snow-dark); color: var(--snow-on-dark); }
.theme-snowline .snow-cta-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; padding-block: clamp(32px,4.2vw,70px); }
.theme-snowline .snow-cta h2 { font-size: calc(clamp(28px,3.5vw,52px) * var(--snow-title-scale)); }
.theme-snowline .snow-cta p { color: inherit; margin-bottom: 0; }

/* 栏目横幅、目录筛选、详情图库和询盘使用公共数据与交互。 */
.theme-snowline .snow-masthead { --snow-image-direction:90deg; background: var(--snow-surface); padding-block: 32px 42px; }
.theme-snowline .snow-masthead-photo { position: relative; display: grid; align-items: end; isolation: isolate; min-height: clamp(215px,23vw,340px); background: var(--snow-dark); color: var(--snow-on-image); }
.theme-snowline .snow-masthead-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 47%; z-index: -2; }
.theme-snowline .snow-masthead-photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(var(--snow-image-direction),var(--snow-dark),color-mix(in srgb,var(--snow-dark) 76%,transparent) 36%,transparent 89%); pointer-events: none; }
.theme-snowline .snow-masthead h1 { margin: 0; font-size: calc(clamp(36px,5vw,74px) * var(--snow-title-scale)); }
.theme-snowline .snow-masthead .breadcrumbs { color: inherit; margin-bottom: 8px; }
.theme-snowline .snow-filters { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--rule); padding-bottom: 16px; margin-bottom: 30px; }
.theme-snowline .snow-filters nav { display: flex; flex-wrap: wrap; gap: 8px; }
.theme-snowline .snow-filters nav a { padding: 8px 13px; min-height: 44px; border: 1px solid var(--rule); }
.theme-snowline .snow-filters nav a[aria-current] { border-color: currentColor; background: var(--snow-surface); }
.theme-snowline .snow-search { display: flex; gap: 8px; width: min(100%,360px); }
.theme-snowline :is(.snow-search input,.snow-inquiry input,.snow-inquiry select,.snow-inquiry textarea) { min-width: 0; width: 100%; border: 1px solid var(--rule); border-radius: 2px; padding-inline: 10px; color: var(--ink); background: var(--paper); font: inherit; }
.theme-snowline .snow-editorial-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 30px; }
.theme-snowline .snow-editorial-list .snow-card-media img { aspect-ratio: 3/2; object-fit: cover; }
.theme-snowline .snow-detail { padding-block: 32px clamp(44px,6vw,86px); }
.theme-snowline :is(.snow-product-detail,.snow-contact) { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(22px,4.8vw,66px); align-items: start; }
.theme-snowline .snow-product-detail:not(:has(.cms-product-gallery)) { grid-template-columns: minmax(0,800px); }
.theme-snowline .snow-detail h1 { font-size: calc(clamp(34px,4.2vw,63px) * var(--snow-title-scale)); }
.theme-snowline .snow-reading { width: min(100%,780px); margin-inline: auto; }
.theme-snowline .snow-look-cover { margin: 0 auto clamp(25px,4vw,62px); }
.theme-snowline .snow-look-cover img { display: block; width: 100%; height: auto; aspect-ratio: 2.4/1; object-fit: cover; }
.theme-snowline .snow-article-cover { margin: 24px auto; }
.theme-snowline .snow-article-cover img { display: block; width: 100%; height: auto; }
.theme-snowline .snow-lead { font-size: 1.14em; }
.theme-snowline .specs { margin-block: 22px; }
.theme-snowline .article-body { white-space: normal; margin-block: 22px; min-height: 0; }
.theme-snowline .article-body h2 { font-size: calc(24px * var(--snow-title-scale)); }
.theme-snowline .snow-enquiry { width: min(100%,800px); padding-block-start: 35px; margin-inline: auto; }
.theme-snowline .snow-enquiry h2 { font-size: calc(32px * var(--snow-title-scale)); }
.theme-snowline .snow-inquiry { background: var(--snow-surface); padding: clamp(18px,2.6vw,38px); }
.theme-snowline .snow-inquiry button { margin-top: 15px; }
.theme-snowline .snow-inquiry .honeypot { position: absolute; inset: auto; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; }
.theme-snowline .snow-company-details { margin-block: 18px 0; }
.theme-snowline .snow-company-details > div { margin-bottom: 8px; }
.theme-snowline .snow-company-details dt { color: inherit; opacity: .84; font-size: .86em; }
.theme-snowline .snow-company-details dd { margin: 0; }

/* 页脚的编辑、平台、备案行为来自共享模板。 */
.theme-snowline .snow-footer { background: var(--td-footer_bg,#171c25); color: var(--td-footer_text,#f5f5f2); padding-top: 36px; }
.theme-snowline .snow-footer :is(p,dl) { margin-block: 8px 0; color: inherit; }
.theme-snowline .snow-footer-grid,.theme-snowline .snow-footer-end { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; }
.theme-snowline .snow-footer-end { margin-top: 22px; padding-block: 15px; border-top: 1px solid color-mix(in srgb,currentColor 25%,transparent); font-size: .85em; }

/* 镜头缓慢推近，文字随后入场。移动端只动文字，滑动和文案高度仍由公共轮播处理。 */
@media (prefers-reduced-motion: no-preference) {
    .theme-snowline .snow-hero[data-snow-motion] .snow-slide:not([hidden]) .snow-slide-inner > * {
        animation: snowline-enter 620ms cubic-bezier(.19,.7,.28,1) backwards;
    }
    .theme-snowline .snow-slide-inner > :is(h1,h2) { animation-delay: 65ms; }
    .theme-snowline .snow-slide-inner > :is(.snow-hero-summary,.snow-button) { animation-delay: 130ms; }
    .theme-snowline [data-snow-entered] { animation: snowline-enter 680ms cubic-bezier(.19,.7,.28,1) var(--snow-enter-delay,0ms) backwards; }
    .theme-snowline .snow-feature-grid > :nth-child(2) { --snow-enter-delay: 70ms; }
    .theme-snowline .snow-feature-grid > :nth-child(3) { --snow-enter-delay: 135ms; }
    .theme-snowline :is(.snow-card-media,.snow-look-media) img { transition: scale 550ms cubic-bezier(.2,.7,.25,1); }
    html:not(.fe-editing) .theme-snowline :is(a.snow-card-content,a.snow-look-story):focus-visible img { scale: 1.045; }
}

@media (min-width: 721px) and (prefers-reduced-motion: no-preference) {
    .theme-snowline .snow-hero[data-snow-motion] .snow-slide:not([hidden]) > img { animation: snowline-scene 5200ms cubic-bezier(.18,.55,.3,1) both; }
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    html:not(.fe-editing) .theme-snowline :is(a.snow-card-content,a.snow-look-story):hover img { scale: 1.045; }
}

@keyframes snowline-scene {
    from { scale: 1; opacity: .74; }
    12% { opacity: 1; }
    to { scale: 1.045; opacity: 1; }
}

@keyframes snowline-enter {
    from { opacity: .36; translate: 0 18px; }
    to { opacity: 1; translate: none; }
}

/* 720px 及以下恢复单列和原图比例，避免遮住服装与缆车场景。 */
@media (max-width: 900px) { .theme-snowline .wrap,.theme-snowline .snow-slide-inner { width: calc(100% - 48px); } }
/* 已知两张主题原图的取景位置。只在手机竖屏放大这两张，替换图片后自动恢复完整原图。 */
@media (max-width: 720px) and (orientation: portrait) {
    body.theme-snowline .snow-hero .snow-slide > img:is([src$="/assets/snowline/hero.webp"], [src$="/assets/snowline/dusk.webp"]) {
        height: clamp(250px, 82vw, 440px);
        object-fit: cover;
        object-position: var(--snow-portrait-focus,92%) center;
    }
    .theme-snowline .snow-slide > img[src$="/assets/snowline/dusk.webp"] { --snow-portrait-focus: 98%; }
}
@media (max-width: 720px) {
    .theme-snowline .wrap { width: calc(100% - 36px); }
    .theme-snowline .site-header { min-height: 68px; }
    .theme-snowline .snow-slide-inner { width: 100%; padding: 0; }
    .theme-snowline .snow-slide-inner :is(h1,h2) { font-size: calc(clamp(35px,8.8vw,62px) * var(--snow-title-scale)); }
    .theme-snowline .snow-section-heading { flex-wrap: wrap; }
    .theme-snowline :is(.snow-feature-grid,.snow-catalogue,.snow-look-story,.snow-story-grid,.snow-editorial-list,.snow-product-detail,.snow-contact) { grid-template-columns: minmax(0,1fr); }
    .theme-snowline .snow-look-media { min-height: 0; }
    .theme-snowline .snow-look-media img { position: static; height: auto; }
    .theme-snowline .snow-look-cover img { aspect-ratio: auto; }
    .theme-snowline .snow-masthead-photo { padding: 0; min-height: 0; }
    .theme-snowline .snow-masthead-photo::after { display: none; }
    .theme-snowline .snow-masthead-photo img { position: static; height: auto; aspect-ratio: 2.45/1; }
    .theme-snowline .snow-masthead-photo > .wrap { padding-block: 16px 22px; }
    .theme-snowline .snow-inquiry .snow-button { width: 100%; }
}

