@charset "utf-8";
/* ============================================================
   TINA HAT · 辽宁省蒂娜制帽有限责任公司
   前台视觉系统 · 以“匠心制帽”为核心的中高端帽饰定制品牌
   ============================================================ */

:root {
    --ink: #14130f;
    --ink-soft: #3c3a33;
    --muted: #7b776c;
    --forest: #1b3a2e;
    --forest-deep: #12261e;
    --moss: #5f7a63;
    --cream: #f6f1e7;
    --cream-2: #fbf8f1;
    --sand: #e7ddcc;
    --copper: #b5763c;
    --copper-soft: #d8b08a;
    --white: #ffffff;
    --line: rgba(20, 19, 15, .12);
    --line-light: rgba(246, 241, 231, .18);
    --serif: Georgia, "Times New Roman", "Songti SC", "STSong", SimSun, serif;
    --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    --wrap: 1240px;
    --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--sans);
    font-size: 15px;
    line-height: 1.78;
    color: var(--ink-soft);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; border: 0; }
a { color: inherit; text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--copper); }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, h5, h6, p, ul, ol, dl, dt, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
em, b, i { font-style: normal; font-weight: inherit; }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; }

.container { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.site-main { display: block; overflow: hidden; }
.section { padding: 108px 0; }
.section--tight { padding: 72px 0; }
.section--cream2 { background: var(--cream-2); }
.section--forest { background: var(--forest); color: var(--cream); }
.section--dark { background: var(--forest-deep); color: var(--cream); }
.mb { margin-bottom: 0; }

.serif { font-family: var(--serif); }
.eyebrow {
    display: inline-flex; align-items: center; gap: 12px;
    font-family: var(--sans); font-size: 12px; font-weight: 600;
    letter-spacing: .26em; text-transform: uppercase; color: var(--copper);
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .7; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 54px; }
.section-head h2 {
    font-family: var(--serif); font-size: clamp(30px, 3.4vw, 46px);
    line-height: 1.2; font-weight: 400; color: var(--ink); letter-spacing: -.01em;
    margin-top: 18px;
}
.section-head p { max-width: 520px; margin-top: 14px; color: var(--muted); font-size: 14.5px; }
.section--forest .section-head h2, .section--dark .section-head h2 { color: var(--cream); }
.section--forest .section-head p, .section--dark .section-head p { color: rgba(246, 241, 231, .66); }
.section--forest .section-head .eyebrow, .section--dark .section-head .eyebrow { color: var(--copper-soft); }
.section--forest .section-head .link-more, .section--dark .section-head .link-more { color: var(--cream); border-color: rgba(246, 241, 231, .6); }
.section-head .link-more {
    flex: none; display: inline-flex; align-items: center; gap: 10px;
    font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
    color: var(--ink); border-bottom: 1px solid var(--ink); padding-bottom: 6px;
    white-space: nowrap;
}
.section-head .link-more i { transition: transform .3s var(--ease); }
.section-head .link-more:hover { color: var(--copper); border-color: var(--copper); }
.section-head .link-more:hover i { transform: translateX(5px); }

/* ---------- 按钮 ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 50px; padding: 0 30px; border: 1px solid transparent;
    font-size: 14px; font-weight: 600; letter-spacing: .06em; line-height: 1;
    background: transparent; transition: all .3s var(--ease); white-space: nowrap;
}
.btn i { font-size: 13px; }
.btn--primary { background: var(--forest); color: var(--cream); border-color: var(--forest); }
.btn--primary:hover { background: var(--forest-deep); border-color: var(--forest-deep); color: var(--cream); transform: translateY(-2px); }
.btn--copper { background: var(--copper); color: var(--white); border-color: var(--copper); }
.btn--copper:hover { background: #9d6230; border-color: #9d6230; color: var(--white); transform: translateY(-2px); }
.btn--light { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.btn--light:hover { background: var(--white); border-color: var(--white); color: var(--ink); transform: translateY(-2px); }
.btn--ghost { border-color: rgba(246, 241, 231, .55); color: var(--cream); }
.btn--ghost:hover { background: rgba(246, 241, 231, .1); border-color: var(--cream); color: var(--cream); }
.btn--outline { border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }

/* ---------- 头部 ---------- */
.topbar { background: var(--forest-deep); color: rgba(246, 241, 231, .78); font-size: 12px; letter-spacing: .06em; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; min-height: 38px; gap: 20px; }
.topbar .tb-left { display: flex; align-items: center; gap: 10px; }
.topbar .tb-left i { color: var(--copper-soft); font-size: 11px; }
.topbar .tb-right { display: flex; align-items: center; gap: 24px; }
.topbar .tb-right a:hover { color: var(--cream); }
.topbar .tb-right i { margin-right: 7px; color: var(--copper-soft); }

.site-header {
    position: sticky; top: 0; z-index: 1030;
    background: rgba(246, 241, 231, .94);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
    transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
.site-header.is-stuck { background: rgba(251, 248, 241, .98); box-shadow: 0 10px 34px rgba(18, 38, 30, .08); }
.header-inner { display: flex; align-items: center; gap: 38px; min-height: 84px; }
.brand { display: inline-flex; align-items: center; gap: 13px; flex: none; }
.brand-logo { display: block; height: 46px; width: auto; max-width: 220px; object-fit: contain; }
.brand-mark {
    width: 44px; height: 44px; display: grid; place-items: center;
    border: 1px solid var(--forest); color: var(--forest);
    font-family: var(--serif); font-size: 22px; line-height: 1;
    position: relative;
}
.brand-mark::after {
    content: ""; position: absolute; inset: 3px; border: 1px solid rgba(27, 58, 46, .28);
}
.brand-text strong {
    display: block; font-family: var(--serif); font-weight: 400;
    font-size: 21px; letter-spacing: .16em; line-height: 1.1; color: var(--ink);
}
.brand-text em { display: block; margin-top: 5px; font-size: 10.5px; letter-spacing: .12em; color: var(--muted); }

.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav > li { position: relative; }
.site-nav > li > a {
    display: inline-flex; align-items: center; gap: 7px; padding: 30px 15px;
    font-size: 13.5px; letter-spacing: .04em; color: var(--ink-soft);
}
.site-nav > li > a::after {
    content: ""; position: absolute; left: 15px; right: 15px; bottom: 22px;
    height: 1px; background: var(--copper); transform: scaleX(0); transform-origin: left;
    transition: transform .3s var(--ease);
}
.site-nav > li:hover > a::after, .site-nav > li.active > a::after { transform: scaleX(1); }
.site-nav > li.active > a { color: var(--copper); }
.site-nav .caret { font-size: 9px; color: var(--muted); transition: transform .3s; }
.site-nav > li.has-sub:hover .caret { transform: rotate(-180deg); }
.sub-nav {
    position: absolute; top: 100%; left: 8px; min-width: 180px;
    padding: 10px 0; background: var(--white);
    border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(18, 38, 30, .12);
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: all .28s var(--ease);
}
.site-nav > li.has-sub:hover .sub-nav, .site-nav > li.has-sub:focus-within .sub-nav { opacity: 1; visibility: visible; transform: none; }
.sub-nav a { display: block; padding: 9px 20px; font-size: 13px; color: var(--ink-soft); white-space: nowrap; }
.sub-nav a:hover { color: var(--copper); background: var(--cream); }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.icon-btn {
    width: 40px; height: 40px; display: inline-grid; place-items: center;
    border: 1px solid transparent; color: var(--ink-soft); background: transparent;
    font-size: 15px; transition: all .25s var(--ease);
}
.icon-btn:hover { color: var(--copper); border-color: var(--line); }
.msg-icon { position: relative; }
.msg-badge {
    position: absolute; top: 2px; right: 0; min-width: 17px; height: 17px;
    display: grid; place-items: center; padding: 0 4px;
    border-radius: 9px; background: var(--copper); color: var(--white);
    font-size: 9.5px; font-weight: 700; line-height: 1;
}
.header-cta { margin-left: 10px; min-height: 42px; padding: 0 22px; font-size: 13px; }
.nav-toggle { display: none; }

/* 搜索层 */
.search-panel {
    position: fixed; inset: 0; z-index: 1040; display: none;
    background: rgba(18, 38, 30, .96); color: var(--cream);
}
.search-panel.is-open { display: grid; place-items: center; }
.search-panel .sp-inner { width: min(720px, 86vw); }
.search-panel .sp-label { font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: var(--copper-soft); }
.search-panel form { display: flex; align-items: center; gap: 18px; margin-top: 24px; border-bottom: 1px solid rgba(246, 241, 231, .4); padding-bottom: 16px; }
.search-panel input {
    flex: 1; min-width: 0; background: transparent; border: 0; outline: 0;
    color: var(--cream); font-family: var(--serif); font-size: 30px;
}
.search-panel input::placeholder { color: rgba(246, 241, 231, .38); }
.search-panel button { background: transparent; border: 0; color: var(--cream); font-size: 22px; }
.search-close { position: absolute; top: 34px; right: 38px; background: transparent; border: 0; color: var(--cream); font-size: 26px; }

/* ---------- 首页 Hero ---------- */
.hero {
    position: relative; min-height: min(88vh, 760px); display: flex; align-items: flex-end;
    color: var(--cream); background: var(--forest-deep) url(../images/brand/hero.jpg) center 42% / cover no-repeat;
}
.hero::before {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(10, 22, 17, .9) 0%, rgba(10, 22, 17, .62) 46%, rgba(10, 22, 17, .18) 100%),
                linear-gradient(0deg, rgba(10, 22, 17, .55) 0%, transparent 46%);
}
.hero-inner { position: relative; width: 100%; padding: 76px 28px 66px; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 14px; font-size: 11.5px; letter-spacing: .32em; text-transform: uppercase; color: var(--copper-soft); }
.hero-eyebrow::before { content: ""; width: 46px; height: 1px; background: var(--copper-soft); }
.hero h1 {
    max-width: 820px; margin-top: 26px;
    font-family: var(--serif); font-weight: 400;
    font-size: clamp(42px, 6.2vw, 78px); line-height: 1.16; letter-spacing: -.01em;
}
.hero h1 em { color: var(--copper-soft); }
.hero-sub {
    max-width: 600px; margin-top: 24px;
    font-size: 15px; line-height: 1.9; color: rgba(246, 241, 231, .78);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero-meta {
    display: flex; flex-wrap: wrap; gap: 14px 42px; margin-top: 58px; padding-top: 24px;
    border-top: 1px solid rgba(246, 241, 231, .2);
}
.hero-meta span { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .12em; color: rgba(246, 241, 231, .72); }
.hero-meta i { color: var(--copper-soft); font-size: 12px; }
.hero-scroll { position: absolute; right: 40px; bottom: 44px; writing-mode: vertical-rl; font-size: 10.5px; letter-spacing: .3em; color: rgba(246, 241, 231, .5); }

/* 滚动字条 */
.marquee { overflow: hidden; background: var(--forest); color: var(--cream); border-top: 1px solid var(--line-light); }
.marquee-track { display: flex; width: max-content; animation: marquee 30s linear infinite; }
.marquee-track span {
    display: inline-flex; align-items: center; gap: 22px; padding: 15px 0;
    margin-right: 46px; font-size: 12px; letter-spacing: .22em; text-transform: uppercase;
    color: rgba(246, 241, 231, .8); white-space: nowrap;
}
.marquee-track span::after { content: "✦"; color: var(--copper-soft); font-size: 10px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 产品卡片 ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px 22px; }
.product-card { position: relative; display: block; }
.product-card .pc-media {
    position: relative; overflow: hidden; aspect-ratio: 4 / 5;
    background: linear-gradient(145deg, var(--sand), #f3ecdf);
}
.product-card .pc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.product-card:hover .pc-media img { transform: scale(1.055); }
.product-card .pc-tag {
    position: absolute; left: 14px; top: 14px; padding: 4px 10px;
    background: rgba(246, 241, 231, .92); color: var(--forest);
    font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase;
}
.product-card .pc-body { padding: 17px 2px 0; }
.product-card .pc-cat { font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--copper); }
.product-card .pc-name {
    margin-top: 7px; font-family: var(--serif); font-size: 19px; line-height: 1.45;
    color: var(--ink); transition: color .25s var(--ease);
}
.product-card:hover .pc-name { color: var(--copper); }
.product-card .pc-foot { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 9px; }
.product-card .pc-price { font-family: var(--serif); font-size: 17px; color: var(--ink); }
.product-card .pc-price small { font-size: 11px; color: var(--muted); }
.product-card .pc-arrow { font-size: 12px; color: var(--muted); transition: all .3s var(--ease); }
.product-card:hover .pc-arrow { color: var(--copper); transform: translateX(4px); }

/* ---------- 工艺 / 品牌故事 ---------- */
.story { display: grid; grid-template-columns: 1.02fr 1fr; gap: 80px; align-items: center; }
.story-media { position: relative; }
.story-media .sm-main { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.story-media .sm-badge {
    position: absolute; right: -26px; bottom: -26px; width: 152px; height: 152px;
    display: grid; place-items: center; text-align: center;
    background: var(--forest); color: var(--cream); padding: 18px;
}
.story-media .sm-badge b { display: block; font-family: var(--serif); font-size: 26px; line-height: 1.2; }
.story-media .sm-badge span { display: block; margin-top: 6px; font-size: 10px; letter-spacing: .18em; color: rgba(246, 241, 231, .72); }
.story-copy h2 {
    font-family: var(--serif); font-size: clamp(30px, 3.4vw, 44px);
    line-height: 1.32; font-weight: 400; color: var(--ink); margin-top: 20px;
}
.story-copy p { margin-top: 22px; color: var(--ink-soft); font-size: 15px; line-height: 1.95; }
.pillar-list { margin-top: 34px; border-top: 1px solid var(--line); }
.pillar { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.pillar b { font-family: var(--serif); font-size: 20px; color: var(--copper); font-weight: 400; }
.pillar h4 { font-size: 15px; color: var(--ink); font-weight: 600; letter-spacing: .02em; }
.pillar p { margin-top: 5px; font-size: 13.5px; line-height: 1.75; color: var(--muted); }

/* ---------- 定制流程 ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line-light); }
.process-step { position: relative; padding: 40px 30px 8px; border-right: 1px solid var(--line-light); }
.process-step:last-child { border-right: 0; padding-right: 0; }
.process-step .ps-no { font-family: var(--serif); font-size: 13px; color: var(--copper-soft); letter-spacing: .2em; }
.process-step h3 { margin-top: 20px; font-family: var(--serif); font-size: 23px; font-weight: 400; color: var(--cream); }
.process-step p { margin-top: 12px; font-size: 13.5px; line-height: 1.85; color: rgba(246, 241, 231, .66); padding-right: 26px; }
.process-step i { position: absolute; right: 26px; top: 40px; font-size: 17px; color: rgba(216, 176, 138, .5); }

/* ---------- 优势 ---------- */
.advantage-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.advantage {
    background: var(--cream-2); border: 1px solid var(--line); padding: 34px 28px 32px;
    transition: all .35s var(--ease);
}
.advantage:hover { border-color: var(--forest); background: var(--white); transform: translateY(-4px); }
.advantage i { font-size: 24px; color: var(--copper); }
.advantage h3 { margin-top: 24px; font-family: var(--serif); font-size: 21px; font-weight: 400; color: var(--ink); }
.advantage p { margin-top: 12px; font-size: 13.5px; line-height: 1.85; color: var(--muted); }

/* ---------- 实力展示 ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; }
.gallery-item { position: relative; overflow: hidden; background: var(--sand); cursor: zoom-in; }
.gallery-item:nth-child(1) { grid-column: span 7; aspect-ratio: 16 / 10; }
.gallery-item:nth-child(2) { grid-column: span 5; aspect-ratio: 16 / 10; }
.gallery-item:nth-child(3), .gallery-item:nth-child(4) { grid-column: span 6; aspect-ratio: 16 / 9; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item .gi-cap {
    position: absolute; inset: auto 0 0 0; padding: 32px 22px 18px;
    background: linear-gradient(0deg, rgba(10, 22, 17, .72), transparent);
    color: var(--cream); font-size: 13px; letter-spacing: .04em;
}
.gallery-grid--all { grid-template-columns: repeat(3, 1fr); }
.gallery-grid--all .gallery-item { grid-column: auto !important; aspect-ratio: 4 / 3 !important; }
.gallery-grid--all .gallery-item img { object-fit: cover; }

/* ---------- 新闻 ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.news-card .nc-media { overflow: hidden; aspect-ratio: 16 / 10; background: var(--sand); }
.news-card .nc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.news-card:hover .nc-media img { transform: scale(1.05); }
.news-card .nc-date { margin-top: 18px; font-size: 11px; letter-spacing: .18em; color: var(--copper); }
.news-card h3 { margin-top: 9px; font-family: var(--serif); font-size: 20px; line-height: 1.55; font-weight: 400; color: var(--ink); }
.news-card .nc-excerpt { margin-top: 10px; font-size: 13.5px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-card .nc-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
.news-card .nc-more i { transition: transform .3s var(--ease); }
.news-card:hover .nc-more { color: var(--copper); }
.news-card:hover .nc-more i { transform: translateX(4px); }

/* ---------- 首页 CTA ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--forest); color: var(--cream); }
.cta-band::before {
    content: ""; position: absolute; inset: 0;
    background: url(../images/brand/showroom.jpg) center / cover no-repeat;
    opacity: .22;
}
.cta-band .container { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 44px; padding-top: 78px; padding-bottom: 78px; }
.cta-band h2 { font-family: var(--serif); font-size: clamp(30px, 3.6vw, 48px); line-height: 1.3; font-weight: 400; max-width: 640px; }
.cta-band p { margin-top: 14px; font-size: 14px; color: rgba(246, 241, 231, .72); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; flex: none; }

/* ---------- 页头（内页） ---------- */
.page-hero {
    position: relative; padding: 96px 0 74px; background: var(--forest-deep); color: var(--cream); overflow: hidden;
}
.page-hero::before {
    content: ""; position: absolute; inset: 0;
    background: url(../images/brand/craft.jpg) center / cover no-repeat; opacity: .16;
}
.page-hero .container { position: relative; }
.breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; font-size: 11.5px; letter-spacing: .12em; color: rgba(246, 241, 231, .55); text-transform: uppercase; }
.breadcrumb a:hover { color: var(--copper-soft); }
.breadcrumb i { font-size: 8px; opacity: .7; }
.breadcrumb--dark { color: var(--muted); }
.breadcrumb--dark a { color: var(--muted); }
.breadcrumb--dark a:hover { color: var(--copper); }
.breadcrumb--dark span { color: var(--ink-soft); }
.page-hero h1 { margin-top: 24px; font-family: var(--serif); font-size: clamp(34px, 4.6vw, 58px); line-height: 1.22; font-weight: 400; }
.page-hero p { max-width: 640px; margin-top: 16px; font-size: 14.5px; line-height: 1.9; color: rgba(246, 241, 231, .72); }
.page-hero .eyebrow { margin-top: 22px; color: var(--copper-soft); }

/* ---------- 筛选栏 ---------- */
.filter-bar {
    display: flex; align-items: flex-start; justify-content: space-between; gap: 24px;
    padding: 20px 0; border-bottom: 1px solid var(--line); margin-bottom: 44px;
}
.filter-chips-wrap { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-chips a {
    padding: 9px 20px; border: 1px solid var(--line); font-size: 13px; color: var(--ink-soft);
    border-radius: 6px; background: var(--cream-2);
    transition: all .25s var(--ease);
}
.filter-chips a:hover { border-color: var(--forest); color: var(--forest); background: #fff; }
.filter-chips a.active { background: var(--forest); border-color: var(--forest); color: var(--cream); box-shadow: 0 2px 8px rgba(27,58,46,.18); }
.filter-chips--sub a {
    padding: 5px 14px; font-size: 12px; border-radius: 999px;
    background: transparent; border-color: rgba(27,58,46,.16); color: var(--muted);
}
.filter-chips--sub a:hover { border-color: var(--copper); color: var(--copper); background: transparent; }
.filter-chips--sub a.active { background: var(--forest); border-color: var(--forest); color: var(--cream); box-shadow: 0 2px 8px rgba(27,58,46,.18); }
.filter-count { font-size: 12px; letter-spacing: .1em; color: var(--muted); white-space: nowrap; }
.filter-search {
    display: flex; align-items: center; gap: 0;
    border: 1px solid var(--line); border-radius: 6px;
    min-width: 240px; flex-shrink: 0; background: var(--cream-2);
    padding: 0 4px 0 14px; transition: border-color .25s var(--ease);
}
.filter-search:focus-within { border-color: var(--forest); background: #fff; }
.filter-search input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 9px 0; font-size: 13px; outline: 0; }
.filter-search button { background: transparent; border: 0; color: var(--muted); padding: 8px 10px; border-radius: 4px; cursor: pointer; }
.filter-search button:hover { color: var(--copper); }

/* ---------- 产品列表 ---------- */
.product-grid--list { grid-template-columns: repeat(3, 1fr); gap: 34px 26px; }
.empty-state { padding: 90px 20px; text-align: center; color: var(--muted); border: 1px dashed var(--line); }
.empty-state i { font-size: 34px; color: var(--copper-soft); }
.empty-state p { margin-top: 14px; font-size: 15px; color: var(--ink-soft); }
.empty-state .sub { margin-top: 6px; font-size: 13px; color: var(--muted); }

/* 分页 */
.pager { display: flex; justify-content: center; margin-top: 62px; }
.pager ul { display: flex; flex-wrap: wrap; gap: 6px; }
.pager a {
    display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px;
    border: 1px solid var(--line); font-size: 13px; color: var(--ink-soft); background: var(--cream-2);
}
.pager a:hover { border-color: var(--forest); color: var(--forest); }
.pager li.active a { background: var(--forest); border-color: var(--forest); color: var(--cream); }

/* ---------- 产品详情 ---------- */
.pd-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; padding: 56px 0 96px; align-items: start; }
.pd-gallery { position: sticky; top: 112px; }
.pd-main {
    position: relative; width: 100%; aspect-ratio: 1 / 1; overflow: hidden;
    background: linear-gradient(145deg, var(--sand), #f4eee2); border: 1px solid var(--line);
}
.pd-main img { width: 100%; height: 100%; object-fit: contain; }
.pd-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; }
.pd-thumb {
    flex: 0 0 82px; width: 82px; height: 82px; padding: 0; border: 1px solid var(--line);
    background: var(--cream-2); overflow: hidden; opacity: .62; transition: all .25s var(--ease);
}
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumb:hover { opacity: 1; }
.pd-thumb.active { opacity: 1; border-color: var(--forest); }
.pd-info .pd-cat { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--copper); }
.pd-info h1 {
    margin-top: 12px; font-family: var(--serif); font-size: clamp(18px, 1.8vw, 24px);
    line-height: 1.4; font-weight: 400; color: var(--ink);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pd-price-row { display: flex; align-items: baseline; gap: 14px; margin-top: 22px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.pd-price-row span { font-size: 12px; letter-spacing: .1em; color: var(--muted); }
.pd-price-row em { font-family: var(--serif); font-size: 30px; color: var(--copper); line-height: 1; font-style: normal; }
.pd-brief { margin-top: 18px; font-size: 13.5px; line-height: 1.85; color: var(--ink-soft); white-space: pre-line; }
.pd-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.pd-badges span { padding: 5px 12px; border: 1px solid var(--line); font-size: 11.5px; letter-spacing: .06em; color: var(--forest); background: var(--cream-2); }
.pd-badges i { margin-right: 6px; font-size: 10px; color: var(--copper); }
.pd-attrs { margin-top: 26px; }
.attr-group { margin-bottom: 20px; }
.attr-group > label { display: block; margin-bottom: 10px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.attr-options { display: flex; flex-wrap: wrap; gap: 8px; }
.attr-options label { position: relative; cursor: pointer; }
.attr-options input { position: absolute; opacity: 0; pointer-events: none; }
.attr-options .ao-chip {
    display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 7px 15px;
    border: 1px solid var(--line); font-size: 13px; color: var(--ink-soft); background: var(--cream-2);
    transition: all .22s var(--ease);
}
.attr-options .ao-chip img { width: 24px; height: 24px; object-fit: cover; }
.attr-options input:checked + .ao-chip { border-color: var(--forest); background: var(--forest); color: var(--cream); }
.attr-options .ao-chip small { font-size: 11px; opacity: .7; }
.pd-qty { display: flex; align-items: center; gap: 18px; margin-top: 26px; flex-wrap: wrap; }
.pd-qty > span { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.pd-qty-tip { font-size: 11.5px; color: var(--muted); letter-spacing: .04em; }
.qty-box { display: flex; align-items: center; border: 1px solid var(--line); background: var(--cream-2); }
.qty-box button { width: 40px; height: 42px; border: 0; background: transparent; color: var(--ink-soft); font-size: 15px; }
.qty-box button:hover { color: var(--copper); }
.qty-box input { width: 52px; height: 42px; border: 0; background: transparent; text-align: center; font-size: 14px; outline: 0; }
.pd-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 30px; }
.pd-actions .btn { width: 100%; min-height: 56px; }
.pd-trust { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.pd-trust span { display: flex; align-items: flex-start; gap: 11px; font-size: 12.5px; color: var(--muted); }
.pd-trust i { color: var(--copper); font-size: 12px; margin-top: 3px; }

.pd-detail { border-top: 1px solid var(--line); padding: 74px 0 90px; }
.pd-detail-head { display: flex; align-items: baseline; gap: 20px; margin-bottom: 34px; }
.pd-detail-head h2 { font-family: var(--serif); font-size: 32px; font-weight: 400; color: var(--ink); }
.pd-detail-head span { font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--copper); }
.prose {
    font-size: 15px; line-height: 1.95; color: var(--ink-soft);
}
.prose p { margin: 0 0 18px; }
.prose img { max-width: 100%; height: auto; margin: 22px 0; }
.prose h1, .prose h2, .prose h3, .prose h4 { font-family: var(--serif); font-weight: 400; color: var(--ink); margin: 30px 0 14px; line-height: 1.45; }
.prose h1 { font-size: 30px; } .prose h2 { font-size: 26px; } .prose h3 { font-size: 22px; } .prose h4 { font-size: 19px; }
.prose ul, .prose ol { margin: 0 0 18px 22px; }
.prose ul { list-style: disc; } .prose ol { list-style: decimal; }
.prose li { margin-bottom: 8px; }
.prose table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 14px; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; }
.prose th { background: var(--cream-2); font-weight: 600; }
.prose a { color: var(--copper); text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote { margin: 22px 0; padding: 18px 24px; border-left: 3px solid var(--copper); background: var(--cream-2); color: var(--muted); }

.pd-related { padding: 0 0 100px; }

/* ---------- 通用内容页 ---------- */
.content-layout { display: grid; grid-template-columns: 1fr 320px; gap: 70px; padding: 78px 0 100px; align-items: start; }
.content-aside { position: sticky; top: 116px; }
.aside-card { background: var(--forest); color: var(--cream); padding: 34px 30px; }
.aside-card h3 { font-family: var(--serif); font-size: 22px; font-weight: 400; }
.aside-card p { margin-top: 12px; font-size: 13px; line-height: 1.85; color: rgba(246, 241, 231, .7); }
.aside-card .btn { margin-top: 22px; width: 100%; }
.aside-nav { margin-top: 26px; border-top: 1px solid var(--line); }
.aside-nav a { display: flex; align-items: center; justify-content: space-between; padding: 14px 2px; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.aside-nav a i { font-size: 10px; color: var(--muted); }
.aside-nav a:hover { color: var(--copper); }

.about-body { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; padding: 78px 0 100px; }
.about-body .about-img { position: sticky; top: 116px; aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.about-quote {
    margin: 34px 0; padding: 28px 30px; background: var(--cream-2); border-left: 3px solid var(--copper);
    font-family: var(--serif); font-size: 19px; line-height: 1.85; color: var(--ink);
}
.about-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: 38px; background: var(--line); border: 1px solid var(--line); }
.about-facts div { background: var(--cream-2); padding: 22px 24px; }
.about-facts b { display: block; font-family: var(--serif); font-size: 17px; font-weight: 400; color: var(--ink); }
.about-facts span { display: block; margin-top: 5px; font-size: 12px; color: var(--muted); letter-spacing: .05em; }

.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 46px; }
.contact-card { padding: 28px 26px; background: var(--cream-2); border: 1px solid var(--line); }
.contact-card i { font-size: 20px; color: var(--copper); }
.contact-card h3 { margin-top: 18px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.contact-card p { margin-top: 8px; font-family: var(--serif); font-size: 17px; line-height: 1.6; color: var(--ink); word-break: break-all; }

/* ---------- 文章列表 / 详情 ---------- */
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 28px; padding-bottom: 96px; }
.article-detail { max-width: 820px; margin: 0 auto; padding: 72px 0 96px; }
.article-detail .ad-meta { display: flex; align-items: center; gap: 14px; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--copper); }
.article-detail h1 { margin-top: 16px; font-family: var(--serif); font-size: clamp(28px, 3.6vw, 42px); line-height: 1.35; font-weight: 400; color: var(--ink); }
.article-detail .ad-cover { width: 100%; margin: 34px 0 38px; aspect-ratio: 16 / 9; object-fit: cover; }
.article-detail .ad-back { display: inline-flex; align-items: center; gap: 8px; margin-top: 46px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; border-bottom: 1px solid var(--ink); padding-bottom: 5px; }

/* ---------- 我的记录 ---------- */
.records-hero {
    background: var(--forest-deep) url(../images/brand/craft.jpg) center / cover no-repeat;
    color: var(--cream); padding: 88px 0 70px; position: relative;
}
.records-hero::before { content: ""; position: absolute; inset: 0; background: rgba(10, 22, 17, .78); }
.records-hero .container { position: relative; }
.records-crumb { display: flex; align-items: center; gap: 9px; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: rgba(246, 241, 231, .55); }
.records-crumb a:hover { color: var(--copper-soft); }
.records-hero h1 { margin-top: 20px; font-family: var(--serif); font-size: clamp(32px, 4vw, 52px); font-weight: 400; line-height: 1.25; }
.records-hero p { max-width: 680px; margin-top: 14px; font-size: 14px; line-height: 1.9; color: rgba(246, 241, 231, .72); }
.records-body { background: var(--cream); padding: 54px 0 96px; min-height: 420px; }
.record-card { background: var(--cream-2); border: 1px solid var(--line); padding: 26px 30px; margin-bottom: 22px; }
.record-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding-bottom: 16px; border-bottom: 1px dashed var(--line); }
.record-no { font-family: var(--serif); font-weight: 400; color: var(--forest); font-size: 17px; letter-spacing: .04em; }
.chip { font-size: 11px; padding: 2px 10px; line-height: 20px; letter-spacing: .06em; }
.chip-type { color: var(--forest); border: 1px solid var(--forest); background: transparent; }
.chip-wait { color: #b0573e; border: 1px solid #ddb4a5; background: #fdf1ec; }
.chip-done { color: #2f6b46; border: 1px solid #b6d6c0; background: #eef7f0; }
.record-date { margin-left: auto; font-size: 11.5px; letter-spacing: .08em; color: var(--muted); }
.record-product { margin-top: 18px; font-size: 15px; color: var(--ink); line-height: 1.7; }
.record-label { color: var(--copper); font-weight: 600; }
.record-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 6px; font-size: 12.5px; color: var(--muted); }
.record-meta i { color: var(--copper-soft); }
.record-chat {
    margin-top: 20px; padding: 18px; border: 1px solid var(--line); background: var(--cream);
    height: 460px; overflow-y: auto; display: flex; flex-direction: column; gap: 12px;
}
.record-chat::-webkit-scrollbar { width: 5px; }
.record-chat::-webkit-scrollbar-thumb { background: var(--sand); border-radius: 3px; }
.chat-row { display: flex; }
.chat-row.right { justify-content: flex-end; }
.chat-row.left { justify-content: flex-start; }
.chat-bubble { max-width: 80%; border-radius: 2px; padding: 11px 16px; font-size: 13.5px; line-height: 1.75; word-break: break-word; }
.chat-row.right .chat-bubble { background: var(--forest); color: var(--cream); }
.chat-row.left .chat-bubble { background: var(--cream-2); color: var(--ink-soft); border: 1px solid var(--line); }
.chat-name { font-size: 11px; letter-spacing: .08em; opacity: .7; margin-bottom: 3px; }
.chat-time { font-size: 10.5px; opacity: .55; margin-top: 5px; text-align: right; }
.chat-hold { background: var(--cream-2); border: 1px solid var(--line); color: var(--muted); font-size: 12.5px; padding: 8px 14px; }
.record-reply { margin-top: 14px; }
.record-reply-form { display: flex; gap: 10px; }
.record-reply-input {
    flex: 1; min-width: 0; border: 1px solid var(--line); background: var(--white);
    padding: 11px 16px; font-size: 13.5px; color: var(--ink); outline: 0;
}
.record-reply-input:focus { border-color: var(--forest); }
.record-reply-btn { border: 0; background: var(--forest); color: var(--cream); padding: 0 26px; font-size: 13px; letter-spacing: .08em; }
.record-reply-btn:hover { background: var(--forest-deep); }
.record-reply-btn:disabled { opacity: .55; cursor: default; }
.records-empty { background: var(--cream-2); border: 1px dashed var(--line); padding: 90px 20px; text-align: center; }
.records-empty i { font-size: 34px; color: var(--copper-soft); }
.records-empty p { margin-top: 16px; font-size: 16px; color: var(--ink); font-family: var(--serif); }
.records-empty .sub { margin-top: 6px; font-size: 13px; color: var(--muted); font-family: var(--sans); }
.records-empty .btn { margin-top: 24px; }

/* ---------- 弹窗 ---------- */
.modal {
    position: fixed; inset: 0; z-index: 1200; display: none;
    align-items: center; justify-content: center; padding: 24px;
}
.modal.is-open { display: flex; }
.modal-mask { position: absolute; inset: 0; background: rgba(10, 22, 17, .72); backdrop-filter: blur(3px); }
.modal-panel {
    position: relative; width: min(720px, 100%); max-height: calc(100vh - 48px); overflow-y: auto;
    background: var(--cream-2); box-shadow: 0 30px 80px rgba(0, 0, 0, .3);
    animation: modalIn .32s var(--ease);
}
@keyframes modalIn { from { opacity: 0; transform: translateY(18px); } }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 28px 32px 20px; border-bottom: 1px solid var(--line); }
.modal-head h3 { font-family: var(--serif); font-size: 26px; font-weight: 400; color: var(--ink); line-height: 1.3; }
.modal-head p { margin-top: 6px; font-size: 12px; letter-spacing: .08em; color: var(--muted); }
.modal-close { flex: none; width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line); background: transparent; color: var(--ink-soft); font-size: 15px; }
.modal-close:hover { border-color: var(--forest); color: var(--forest); }
.modal-body { padding: 26px 32px 32px; }
.modal-product { display: flex; gap: 16px; padding: 14px; background: var(--cream); border: 1px solid var(--line); }
.modal-product img { width: 74px; height: 74px; object-fit: cover; background: var(--sand); flex: none; }
.modal-product .mp-info { min-width: 0; }
.modal-product .mp-name { font-family: var(--serif); font-size: 17px; line-height: 1.45; color: var(--ink); }
.modal-product .mp-sub { margin-top: 4px; font-size: 11.5px; color: var(--muted); }
.modal-product .mp-price { margin-top: 5px; font-size: 13px; color: var(--copper); }
.modal-spec { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12.5px; color: var(--muted); }
.modal-spec b { color: var(--ink-soft); font-weight: 500; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; margin-top: 20px; }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.form-field label em { color: var(--copper); }
.form-field input, .form-field textarea, .form-field select {
    width: 100%; border: 1px solid var(--line); background: var(--white);
    padding: 12px 14px; font-size: 13.5px; color: var(--ink); outline: 0;
    transition: border-color .25s;
}
.form-field textarea { resize: vertical; min-height: 84px; }
.form-field input:focus, .form-field textarea:focus { border-color: var(--forest); }
.captcha-box { display: flex; gap: 10px; }
.captcha-box input { flex: 1; min-width: 0; }
.captcha-box img { width: 108px; height: 44px; object-fit: cover; border: 1px solid var(--line); cursor: pointer; background: var(--white); }
.qty-inline { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; }
.qty-inline > span { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.modal-submit { width: 100%; margin-top: 22px; min-height: 54px; }
.modal-tip { margin-top: 12px; font-size: 11.5px; line-height: 1.7; color: var(--muted); text-align: center; }
.modal-total { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; align-items: baseline; justify-content: space-between; }
.modal-total span { font-size: 12px; letter-spacing: .1em; color: var(--muted); }
.modal-total em { font-family: var(--serif); font-size: 28px; color: var(--copper); }
.success-view { padding: 16px 0 4px; text-align: center; }
.success-view .sv-check {
    width: 62px; height: 62px; margin: 0 auto; display: grid; place-items: center;
    border-radius: 50%; background: var(--forest); color: var(--cream); font-size: 22px;
}
.success-view h4 { margin-top: 22px; font-family: var(--serif); font-size: 24px; font-weight: 400; color: var(--ink); }
.success-view p { max-width: 460px; margin: 10px auto 0; font-size: 13px; line-height: 1.8; color: var(--muted); }
.order-number { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 24px; padding: 13px 18px; background: var(--cream); border: 1px solid var(--line); }
.order-number span { font-family: var(--serif); font-size: 18px; color: var(--forest); letter-spacing: .05em; }
.order-number button { border: 1px solid var(--line); background: transparent; padding: 4px 12px; font-size: 11.5px; color: var(--muted); }
.order-number button:hover { border-color: var(--forest); color: var(--forest); }
.copy-tip { margin-top: 8px; font-size: 11.5px; color: var(--moss); }
.success-actions { display: flex; gap: 10px; margin-top: 26px; }
.success-actions .btn { flex: 1; }
.success-actions a { text-decoration: none; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--forest-deep); color: rgba(246, 241, 231, .7); padding: 74px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.35fr .7fr .8fr 1.1fr; gap: 50px; padding-bottom: 58px; }
.footer-brand .brand { color: var(--cream); }
.footer-brand .brand-logo { height: 44px; filter: brightness(0) invert(1); }
.footer-brand .brand-mark { border-color: rgba(246, 241, 231, .5); color: var(--cream); }
.footer-brand .brand-mark::after { border-color: rgba(246, 241, 231, .18); }
.footer-brand .brand-text strong { color: var(--cream); }
.footer-brand .brand-text em { color: rgba(246, 241, 231, .55); }
.footer-brand p { max-width: 340px; margin-top: 22px; font-size: 13px; line-height: 1.9; color: rgba(246, 241, 231, .58); }
.footer-brand .footer-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 20px; }
.footer-brand .footer-tags span { padding: 3px 10px; border: 1px solid rgba(246, 241, 231, .2); font-size: 10.5px; letter-spacing: .1em; color: rgba(246, 241, 231, .55); }
.footer-col h4 { font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--cream); font-weight: 600; margin-bottom: 20px; }
.footer-col a, .footer-col p { display: block; margin-bottom: 11px; font-size: 13px; color: rgba(246, 241, 231, .62); }
.footer-col a:hover { color: var(--copper-soft); }
.footer-contact p { display: flex; align-items: flex-start; gap: 11px; }
.footer-contact i { color: var(--copper-soft); margin-top: 4px; font-size: 12px; }
.footer-bottom {
    border-top: 1px solid rgba(246, 241, 231, .12); padding: 22px 0;
    display: flex; align-items: center; justify-content: space-between; gap: 18px;
    font-size: 11.5px; letter-spacing: .05em; color: rgba(246, 241, 231, .42);
}
.footer-bottom a:hover { color: var(--copper-soft); }

/* ---------- 悬浮客服 ---------- */
.float-service { position: fixed; right: 22px; bottom: 26px; z-index: 1000; display: grid; gap: 8px; }
.fs-item { position: relative; width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid rgba(246, 241, 231, .2); background: var(--forest); color: var(--cream); font-size: 16px; transition: all .25s var(--ease); }
.fs-item:hover { background: var(--copper); color: var(--white); }
.fs-pop { position: absolute; right: 58px; bottom: 0; width:200px;display: none; padding: 14px; background: var(--cream-2); border: 1px solid var(--line); box-shadow: 0 16px 40px rgba(10, 22, 17, .18); text-align: center; }
.fs-item:hover .fs-pop { display: block; }
.fs-pop img { width: 180px; height: 180px; object-fit: contain; }
.fs-pop p { margin-top: 8px; font-size: 12px; color: var(--muted); white-space: nowrap; }
.fs-pop .fs-phone { font-family: var(--serif); font-size: 16px; color: var(--ink); white-space: nowrap; }

/* ---------- 图片灯箱 ---------- */
.lb-overlay {
    position: fixed; inset: 0; z-index: 1300; display: none;
    align-items: center; justify-content: center;
    background: rgba(8, 16, 12, .94); backdrop-filter: blur(4px);
}
.lb-overlay.is-open { display: flex; }
.lb-stage { max-width: 86vw; max-height: 80vh; }
.lb-stage img { max-width: 86vw; max-height: 80vh; object-fit: contain; }
.lb-btn, .lb-close {
    position: absolute; z-index: 2; display: grid; place-items: center;
    width: 48px; height: 48px; border: 1px solid rgba(246, 241, 231, .3);
    background: rgba(18, 38, 30, .6); color: var(--cream); font-size: 16px;
}
.lb-btn:hover, .lb-close:hover { background: var(--copper); border-color: var(--copper); color: var(--white); }
.lb-prev { left: 4vw; top: 50%; transform: translateY(-50%); }
.lb-next { right: 4vw; top: 50%; transform: translateY(-50%); }
.lb-close { top: 28px; right: 30px; }
.lb-count { position: absolute; top: 34px; left: 36px; font-size: 11.5px; letter-spacing: .18em; color: rgba(246, 241, 231, .6); }
.lb-caption { position: absolute; bottom: 30px; left: 0; right: 0; text-align: center; font-size: 12.5px; letter-spacing: .08em; color: rgba(246, 241, 231, .75); }
body.lb-open { overflow: hidden; }

/* ---------- 动效 ---------- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .1s; }
[data-reveal][data-delay="2"] { transition-delay: .2s; }
[data-reveal][data-delay="3"] { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    [data-reveal] { opacity: 1; transform: none; transition: none; }
    .marquee-track { animation: none; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1180px) {
    .site-nav > li > a { padding: 30px 11px; font-size: 13px; }
    .header-inner { gap: 24px; }
    .product-grid { grid-template-columns: repeat(3, 1fr); }
    .pd-layout { gap: 44px; }
    .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
    .footer-grid .footer-contact { grid-column: 2 / 4; }
}

@media (max-width: 992px) {
    .section { padding: 78px 0; }
    .topbar { display: none; }
    .site-nav {
        position: absolute; top: 100%; left: 0; right: 0; z-index: 1020; display: block;
        height: calc(100vh - 84px); height: calc(100dvh - 84px);
        background: var(--cream-2); padding: 18px 28px 40px; overflow-y: auto;
        transform: translateX(-100%); transition: transform .35s var(--ease);
    }
    .site-nav.is-open { transform: none; }
    .site-nav > li { border-bottom: 1px solid var(--line); }
    .site-nav > li > a { display: flex; justify-content: space-between; padding: 16px 2px; font-size: 15px; }
    .site-nav > li > a::after { display: none; }
    .sub-nav { position: static; display: none; padding: 0 0 10px 14px; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; background: transparent; }
    .site-nav > li.is-expanded .sub-nav { display: block; }
    .site-nav .caret { font-size: 12px; }
    .site-nav > li.is-expanded .caret { transform: rotate(-180deg); }
    .nav-toggle { display: inline-grid; }
    .header-cta { display: none; }
    .hero { min-height: 640px; }
    .hero h1 { font-size: clamp(38px, 8vw, 58px); }
    .story { grid-template-columns: 1fr; gap: 56px; }
    .story-media { max-width: 560px; }
    .story-media .sm-badge { right: 0; bottom: 0; width: 128px; height: 128px; }
    .process { grid-template-columns: repeat(2, 1fr); }
    .process-step:nth-child(2) { border-right: 0; }
    .process-step:nth-child(3), .process-step:nth-child(4) { border-top: 1px solid var(--line-light); }
    .advantage-grid { grid-template-columns: repeat(2, 1fr); }
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 30px 18px; }
    .pd-layout { grid-template-columns: 1fr; gap: 40px; padding-bottom: 70px; }
    .pd-gallery { position: static; }
    .pd-main { max-width: 640px; }
    .content-layout { grid-template-columns: 1fr; gap: 40px; }
    .content-aside { position: static; }
    .about-body { grid-template-columns: 1fr; gap: 40px; }
    .about-body .about-img { position: static; max-width: 620px; aspect-ratio: 4 / 3; }
    .article-grid { grid-template-columns: repeat(2, 1fr); }
    .news-grid { grid-template-columns: 1fr; gap: 36px; }
    .contact-cards { grid-template-columns: 1fr; }
    .gallery-grid--all { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid .footer-contact { grid-column: 1 / -1; }
    .cta-band .container { display: block; }
    .cta-actions { margin-top: 28px; }
    .hero-scroll { display: none; }
    .filter-bar { flex-wrap: wrap; }
    .filter-chips-wrap { width: 100%; }
    .filter-search { width: 100%; min-width: 0; }
}

@media (max-width: 768px) {
    .container { padding: 0 20px; }
    .section { padding: 62px 0; }
    .section-head { display: block; margin-bottom: 36px; }
    .section-head .link-more { margin-top: 18px; }
    .topbar .tb-left span { display: none; }
    .topbar .tb-left { font-size: 11px; }
    .header-inner { min-height: 72px; gap: 10px; }
    .brand-mark { width: 36px; height: 36px; font-size: 18px; }
    .brand-logo { height: 38px; max-width: 180px; }
    .brand-text strong { font-size: 16px; letter-spacing: .12em; }
    .brand-text em { display: none; }
    .header-actions { gap: 0; }
    .icon-btn { width: 38px; height: 38px; }
    .site-nav { height: calc(100vh - 72px); height: calc(100dvh - 72px); }
    .page-hero { padding: 66px 0 52px; }
    .hero { min-height: 84vh; }
    .hero-inner { padding: 56px 20px 46px; }
    .hero h1 { font-size: clamp(30px, 8.6vw, 42px); }
    .hero-sub { font-size: 14px; }
    .hero-meta { gap: 10px 20px; margin-top: 42px; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-actions .btn { width: 100%; }
    .gallery-grid { grid-template-columns: 1fr 1fr; }
    .gallery-item:nth-child(1), .gallery-item:nth-child(2),
    .gallery-item:nth-child(3), .gallery-item:nth-child(4) { grid-column: span 1; aspect-ratio: 4 / 3; }
    .pd-actions { grid-template-columns: 1fr; }
    .pd-info h1 { font-size: 20px; white-space: normal; }
    .form-grid { grid-template-columns: 1fr; }
    .modal { padding: 12px; }
    .modal-panel { max-height: calc(100vh - 24px); }
    .modal-head, .modal-body { padding-left: 20px; padding-right: 20px; }
    .modal-product img { width: 60px; height: 60px; }
    .success-actions { flex-direction: column; }
    .record-head { align-items: flex-start; }
    .record-date { margin-left: 0; width: 100%; }
    .record-card { padding: 20px; }
    .record-chat { height: 380px; }
    .chat-bubble { max-width: 88%; }
    .footer-grid { grid-template-columns: 1fr; gap: 34px; }
    .footer-grid .footer-contact { grid-column: auto; }
    .footer-bottom { display: block; line-height: 2; }
    .article-grid { grid-template-columns: 1fr; }
    .gallery-grid--all { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .product-grid { gap: 24px 14px; }
    .product-card .pc-name { font-size: 16px; }
    .product-card .pc-price { font-size: 15px; }
    .hero-actions .btn { width: 100%; flex: auto; }
    .pd-thumb { flex-basis: 66px; width: 66px; height: 66px; }
    .pd-price-row em { font-size: 28px; }
    .float-service { right: 12px; bottom: 16px; }
    .fs-item { width: 42px; height: 42px; }
    .record-reply-btn { padding: 0 16px; }
}

/* ============================================================
   多语言下拉
   ============================================================ */
.lang-select { position: relative; }
.lang-toggle {
    display: inline-flex; align-items: center; gap: 8px;
    height: 42px; padding: 0 14px;
    border: 1px solid var(--line); background: transparent;
    color: var(--ink-soft); font-size: 12.5px; letter-spacing: .04em;
    transition: all .25s var(--ease); white-space: nowrap;
}
.lang-toggle > i:first-child { font-size: 14px; color: var(--copper); }
.lang-toggle .lang-caret { font-size: 9px; color: var(--muted); transition: transform .25s var(--ease); }
.lang-toggle:hover, .lang-select.is-open .lang-toggle { color: var(--copper); border-color: var(--copper-soft); background: var(--cream); }
.lang-select.is-open .lang-caret { transform: rotate(-180deg); }
.lang-dropdown {
    position: absolute; top: calc(100% + 10px); right: 0; min-width: 148px;
    padding: 8px 0; background: var(--white);
    border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(8, 26, 61, .14);
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: all .25s var(--ease); z-index: 10;
}
.lang-select.is-open .lang-dropdown { opacity: 1; visibility: visible; transform: none; }
.lang-option {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 9px 16px; font-size: 13px; color: var(--ink-soft); white-space: nowrap;
}
.lang-option:hover { color: var(--copper); background: var(--cream); }
.lang-option.is-current { color: var(--copper); }
.lang-option .fa-check { font-size: 11px; }

@media (max-width: 991px) {
    .lang-toggle { height: 38px; padding: 0 12px; }
    .lang-toggle .lang-label { display: none; }
    .lang-toggle { gap: 0; }
}
@media (max-width: 480px) {
    .lang-dropdown { right: -6px; }
}

