/* ————— 心缘甄琉璃 · 画廊白设计系统 ————— */
:root {
  --bg:        #FAF9F7;   /* 暖瓷白 */
  --bg-2:      #F3F1EC;   /* 浅沙 */
  --card:      #FFFFFF;
  --ink:       #17181A;   /* 墨 */
  --ink-2:     #55524C;   /* 次级 */
  --ink-3:     #8D897F;   /* 弱化 */
  --line:      #E9E5DE;   /* 发丝线 */
  --dark:      #141312;   /* 深色面板 */
  --dark-ink:  #F5F2EC;
  --teal:      #3FBFAC;
  --violet:    #9B72D8;
  --amber:     #F0A04B;
  --rose:      #E87A96;
  --err:       #C4523E;
  --ok:        #3C8C50;
  --sans: "Manrope", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --serif: "Noto Serif SC", "Songti SC", serif;
  --r-lg: 28px;
  --r-md: 20px;
  --r-sm: 14px;
  --shadow-1: 0 1px 2px rgba(23,24,26,.04), 0 8px 24px rgba(23,24,26,.05);
  --shadow-2: 0 2px 4px rgba(23,24,26,.05), 0 20px 48px rgba(23,24,26,.10);
  --ease: cubic-bezier(.22,.68,.32,1);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-width: none; }
html::-webkit-scrollbar, body::-webkit-scrollbar { width: 0; height: 0; display: none; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.75;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
::selection { background: rgba(63,191,172,.22); }
a { color: inherit; text-decoration: none; }
button { font-family: var(--sans); cursor: pointer; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 4px;
}
input, select, textarea {
  font-family: var(--sans); font-size: 14px; color: var(--ink);
  background: var(--card); border: 1px solid var(--line);
  border-radius: 12px; padding: 11px 16px; transition: border-color .25s, box-shadow .25s;
}
input:focus, select:focus, textarea:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px rgba(23,24,26,.06); }
input::placeholder, textarea::placeholder { color: #B4AFA5; }
main { flex: 1; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 56px); }

/* ————— 文字部件 ————— */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: .22em; text-indent: .22em;
  color: var(--ink-3); text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--teal), var(--violet)); }
h2.sec-title {
  font-size: clamp(28px, 3.6vw, 44px); font-weight: 800; letter-spacing: .01em;
  line-height: 1.3; margin: 14px 0 8px; text-wrap: balance;
}
.sec-sub { color: var(--ink-2); font-size: 15px; max-width: 38em; }
.grad-text {
  background: linear-gradient(100deg, var(--amber) 0%, var(--rose) 35%, var(--violet) 68%, var(--teal) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.price { font-family: var(--sans); font-weight: 800; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.price .cur { font-size: .68em; font-weight: 700; margin-right: 2px; color: var(--ink-2); }
.price.na { color: var(--ink-3); font-weight: 600; font-size: 13px; letter-spacing: .1em; }

/* ————— 按钮 ————— */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 14px; font-weight: 700; letter-spacing: .08em;
  padding: 14px 30px; border-radius: 999px; border: none;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s, color .3s, border-color .3s;
}
.btn-primary { color: #FFF; background: var(--ink); box-shadow: var(--shadow-1); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); background: #000; }
.btn-primary:disabled { opacity: .45; transform: none; cursor: not-allowed; }
.btn-ghost { color: var(--ink); background: transparent; border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-sm { padding: 9px 20px; font-size: 13px; }
.btn-light { color: var(--ink); background: #FFF; }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }

/* ————— 导航 ————— */
nav.top {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4);
  background: rgba(250,249,247,.8);
  border-bottom: 1px solid rgba(233,229,222,.7);
}
.nav-in {
  max-width: 1240px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 56px);
  height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.brand { display: flex; align-items: center; gap: 11px; flex: none; }
.brand-gem {
  width: 33px; height: 33px; display: block; flex: none;
  filter: drop-shadow(0 3px 7px rgba(63,191,172,.32));
  transition: transform .4s var(--ease);
}
.brand:hover .brand-gem { transform: rotate(-8deg) scale(1.06); }
.brand-name { font-size: 17px; font-weight: 800; letter-spacing: .14em; }
.brand-name em { font-style: normal; font-weight: 600; font-size: 11px; letter-spacing: .3em; color: var(--ink-3); margin-left: 8px; vertical-align: 2px; }
.nav-links { display: flex; gap: clamp(4px, 1vw, 10px); font-size: 14px; font-weight: 600; }
.nav-links a { color: var(--ink-2); padding: 7px 14px; border-radius: 999px; transition: color .25s, background .25s; }
.nav-links a:hover { color: var(--ink); background: var(--bg-2); }
.nav-links a.act { color: var(--ink); background: var(--bg-2); }
.nav-cart {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .04em;
  color: #FFF; background: var(--ink);
  padding: 9px 18px; border-radius: 999px; transition: transform .3s var(--ease), background .3s;
}
.nav-cart:hover { transform: translateY(-1px); background: #000; }
.cart-badge {
  min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px;
  background: linear-gradient(120deg, var(--teal), var(--violet));
  color: #FFF; font-size: 11px; font-weight: 800;
  display: grid; place-items: center;
}
.cart-badge.empty { display: none; }
@media (max-width: 820px) { .nav-links { display: none; } }

/* ————— 首页轮播（通栏铺满首屏） ————— */
.carousel {
  position: relative; overflow: hidden; background: var(--bg-2);
}
.slides { position: relative; height: calc(100svh - 52px); min-height: 480px; }
.slide { position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity .9s var(--ease); }
.slide.act { opacity: 1; pointer-events: auto; }
.slide img { width: 100%; height: 100%; object-fit: cover; display: block; user-select: none; -webkit-user-drag: none; }
.slide-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(92deg, rgba(250,249,247,.94) 0%, rgba(250,249,247,.72) 26%, rgba(250,249,247,.28) 48%, transparent 64%);
}
.slide-copy {
  position: absolute; left: clamp(24px, 7vw, 130px); top: 50%; transform: translateY(-50%);
  max-width: min(54%, 700px);
}
.slide-copy .eyebrow { margin-bottom: 16px; }
.slide-copy h2 {
  font-size: clamp(26px, 4vw, 58px); font-weight: 900; letter-spacing: .02em;
  line-height: 1.28; text-wrap: balance;
}
.slide-copy p { margin-top: 16px; color: var(--ink-2); font-size: clamp(13px, 1.2vw, 17px); max-width: 26em; }
.slide-copy .btn { margin-top: 26px; }
.slide-copy > * { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.slide.act .slide-copy > * { opacity: 1; transform: none; }
.slide.act .slide-copy > :nth-child(1) { transition-delay: .15s; }
.slide.act .slide-copy > :nth-child(2) { transition-delay: .25s; }
.slide.act .slide-copy > :nth-child(3) { transition-delay: .35s; }
.slide.act .slide-copy > :nth-child(4) { transition-delay: .45s; }
.car-dots {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 2;
}
.car-dots button {
  width: 8px; height: 8px; border-radius: 999px; border: none; padding: 0;
  background: rgba(23,24,26,.25); transition: all .35s var(--ease);
}
.car-dots button.act { width: 26px; background: var(--ink); }
@media (max-width: 760px) {
  .slides { height: calc(100svh - 52px); min-height: 420px; }
  .slide-scrim { background: linear-gradient(180deg, transparent 30%, rgba(250,249,247,.9) 72%, rgba(250,249,247,.98) 100%); }
  .slide-copy { left: 24px; right: 24px; top: auto; bottom: 60px; transform: none; max-width: none; }
}

/* ————— 轮播下数据带 ————— */
.stats-band { background: #FFF; border-bottom: 1px solid var(--line); }
.stats-band .in {
  max-width: 1240px; margin: 0 auto; padding: 30px clamp(20px, 4vw, 56px);
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.stats-band .intro { color: var(--ink-2); font-size: 14.5px; max-width: 44em; }
.stats-band .intro b { color: var(--ink); font-weight: 700; }

/* ————— 首页 hero ————— */
.hero { position: relative; overflow: hidden; }
.hero-aura {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(480px 380px at 82% 18%, rgba(63,191,172,.13), transparent 68%),
    radial-gradient(420px 360px at 92% 78%, rgba(155,114,216,.11), transparent 68%),
    radial-gradient(380px 320px at 68% 96%, rgba(240,160,75,.1), transparent 68%);
}
.hero-in {
  position: relative; z-index: 1;
  max-width: 1240px; margin: 0 auto;
  padding: clamp(64px, 9vw, 120px) clamp(20px, 4vw, 56px) clamp(56px, 7vw, 96px);
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 70px); align-items: center;
}
.hero-pill {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .16em; color: var(--ink-2);
  background: #FFF; border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 18px; margin-bottom: 30px; box-shadow: var(--shadow-1);
}
.hero-pill i { width: 7px; height: 7px; border-radius: 999px; font-style: normal;
  background: linear-gradient(120deg, var(--teal), var(--violet)); }
h1.hero-title {
  font-size: clamp(38px, 5.4vw, 72px); font-weight: 900; letter-spacing: .015em;
  line-height: 1.22; text-wrap: balance;
}
.hero-sub { margin-top: 24px; color: var(--ink-2); font-size: clamp(15px, 1.3vw, 17px); max-width: 30em; }
.hero-sub b { color: var(--ink); font-weight: 700; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero-meta { display: flex; gap: 28px; margin-top: 44px; flex-wrap: wrap; }
.hero-meta .m b { display: block; font-size: 24px; font-weight: 800; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.hero-meta .m b i { font-style: normal; font-size: 13px; font-weight: 600; color: var(--ink-3); margin-left: 2px; }
.hero-meta .m span { font-size: 12.5px; color: var(--ink-3); font-weight: 600; letter-spacing: .06em; }
.hero-meta .m + .m { border-left: 1px solid var(--line); padding-left: 28px; }

/* hero 玻璃组合 */
.hero-stage { position: relative; min-height: clamp(340px, 36vw, 520px); }
.hg { position: absolute; border-radius: 50%; }
.hg-main {
  left: 8%; top: 6%; width: 62%; aspect-ratio: 1;
  border-radius: 46% 46% 46% 46% / 52% 52% 42% 42%;
  background:
    radial-gradient(circle at 34% 26%, rgba(255,255,255,.85), transparent 40%),
    radial-gradient(circle at 66% 80%, rgba(91,58,160,.55), transparent 60%),
    linear-gradient(140deg, #A8E8DC 0%, #3FBFAC 42%, #5B3AA0 100%);
  box-shadow: 0 40px 90px rgba(63,191,172,.35), inset 0 -24px 48px rgba(91,58,160,.3);
  animation: float1 9s ease-in-out infinite;
}
.hg-amber {
  right: 4%; top: 0; width: 30%; aspect-ratio: 1;
  background:
    radial-gradient(circle at 32% 28%, rgba(255,255,255,.85), transparent 42%),
    linear-gradient(140deg, #FFD9A0, #F0A04B 55%, #B05A1A);
  box-shadow: 0 26px 60px rgba(240,160,75,.4);
  animation: float2 11s ease-in-out infinite;
}
.hg-rose {
  right: 16%; bottom: 4%; width: 22%; aspect-ratio: 1;
  border-radius: 42%;
  background:
    radial-gradient(circle at 32% 28%, rgba(255,255,255,.8), transparent 42%),
    linear-gradient(140deg, #FFC2CE, #E87A96 55%, #A63B5C);
  box-shadow: 0 22px 50px rgba(232,122,150,.4);
  animation: float3 8s ease-in-out infinite;
}
.hg-dot {
  left: 0; bottom: 16%; width: 12%; aspect-ratio: 1;
  background:
    radial-gradient(circle at 32% 28%, rgba(255,255,255,.9), transparent 45%),
    linear-gradient(140deg, #A9D3F5, #4E93D9 60%, #1F5A96);
  box-shadow: 0 16px 36px rgba(78,147,217,.4);
  animation: float2 7s ease-in-out infinite reverse;
}
@keyframes float1 { 50% { transform: translateY(-16px) rotate(-2deg); } }
@keyframes float2 { 50% { transform: translateY(-12px); } }
@keyframes float3 { 50% { transform: translateY(-9px) rotate(3deg); } }
@media (max-width: 880px) {
  .hero-in { grid-template-columns: 1fr; }
  .hero-stage { min-height: 300px; order: -1; }
}

/* ————— 跑马灯 ————— */
.marq { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 16px 0; background: #FFF; }
.marq-track { display: flex; width: max-content; animation: slide 44s linear infinite; }
.marq span { font-size: 12.5px; font-weight: 700; letter-spacing: .3em; color: var(--ink-3); white-space: nowrap; }
.marq em { font-style: normal; padding: 0 22px; background: linear-gradient(100deg, var(--teal), var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ————— 区块 ————— */
section.blk { padding: clamp(70px, 9vw, 130px) 0; }
.blk-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 44px; }

/* ————— 品类卡 ————— */
.cats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cat {
  display: flex; flex-direction: column; gap: 4px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 24px 24px 20px; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.cat:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: transparent; }
.cat-ico { width: 44px; height: 44px; margin-bottom: 12px; border-radius: 14px; display: grid; place-items: center; background: var(--tint, var(--bg-2)); }
.cat-ico svg { width: 30px; height: 30px; }
.cat h3 { font-size: 16.5px; font-weight: 800; letter-spacing: .04em; }
.cat .en { font-size: 11px; font-weight: 700; letter-spacing: .18em; color: var(--ink-3); text-transform: uppercase; }
.cat p { margin-top: 8px; font-size: 12.8px; color: var(--ink-2); line-height: 1.7; flex: 1; }
.cat .cnt { margin-top: 12px; font-size: 13px; font-weight: 800; font-variant-numeric: tabular-nums; }
.cat .cnt small { font-weight: 600; color: var(--ink-3); margin-left: 4px; font-size: 11.5px; }
@media (max-width: 980px) { .cats-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .cats-grid { grid-template-columns: 1fr; } }

/* ————— 分类大卡片（首页产品中心） ————— */
.ccard-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ccard {
  display: flex; flex-direction: column;
  background: #FFF; border: 1px solid var(--line); border-radius: var(--r-sm);
  overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.ccard:hover { transform: translateY(-5px); box-shadow: var(--shadow-2); border-color: transparent; }
.ccard-img {
  position: relative; aspect-ratio: 4 / 3.1; overflow: hidden;
  background: var(--tile, var(--bg-2)); display: grid; place-items: center;
}
.ccard-img .p-img { transition: transform .7s var(--ease); }
.ccard:hover .ccard-img .p-img { transform: scale(1.06); }
.ccard-img svg { width: 42%; height: auto; }
.ccard-bar {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  padding: 16px 20px 17px; border-top: 1px solid var(--line);
}
.ccard-bar .nm { font-size: 16.5px; font-weight: 800; letter-spacing: .04em; }
.ccard-bar .nm small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .16em; color: var(--ink-3); text-transform: uppercase; margin-top: 2px; }
.ccard-bar .n { font-size: 13px; font-weight: 700; color: var(--ink-3); white-space: nowrap; font-variant-numeric: tabular-nums; }
.ccard-bar .n b { color: var(--ink); font-size: 15px; }
@media (max-width: 980px) { .ccard-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .ccard-grid { grid-template-columns: 1fr; } }

/* ————— 产品中心：侧栏分类 + 图片网格 ————— */
.pc-layout { display: grid; grid-template-columns: 225px 1fr; gap: clamp(20px, 3vw, 44px); align-items: start; }
.side-nav { position: sticky; top: 72px; display: flex; flex-direction: column; gap: 24px; }
.side-group { display: flex; flex-direction: column; gap: 2px; }
.side-group h4 {
  font-size: 11.5px; font-weight: 800; letter-spacing: .2em; color: var(--ink-3);
  text-transform: uppercase; padding: 0 14px 10px; border-bottom: 1px solid var(--line); margin-bottom: 8px;
}
.side-item {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 8px 14px; border-radius: 10px; border: none; background: none; text-align: left;
  font-family: var(--sans); font-size: 14px; font-weight: 600; color: var(--ink-2);
  transition: background .25s, color .25s; cursor: pointer;
}
.side-item:hover { background: var(--bg-2); color: var(--ink); }
.side-item.act { background: var(--ink); color: #FFF; }
.side-item .n { font-size: 12px; font-weight: 700; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.side-item.act .n { color: rgba(255,255,255,.6); }
@media (max-width: 900px) {
  .pc-layout { grid-template-columns: 1fr; }
  .side-nav { position: static; flex-direction: column; gap: 10px; }
  .side-group { flex-direction: row; flex-wrap: wrap; gap: 8px; }
  .side-group h4 { flex-basis: 100%; border: none; padding: 0 0 2px; margin: 0; }
  .side-item { border: 1px solid var(--line); padding: 7px 14px; }
}

/* 图片型商品卡 */
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(205px, 1fr)); gap: 14px; }
.pcard {
  display: flex; flex-direction: column;
  background: #FFF; border: 1px solid var(--line); border-radius: var(--r-sm);
  overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: transparent; }
.pcard-img {
  position: relative; aspect-ratio: 1 / 1; overflow: hidden;
  background: var(--tile, var(--bg-2)); display: grid; place-items: center;
}
.pcard-img .p-img { transition: transform .6s var(--ease); }
.pcard:hover .pcard-img .p-img { transform: scale(1.06); }
.pcard-img svg { width: 55%; height: auto; }
.pcard-info { padding: 13px 14px 15px; text-align: center; }
.pcard-info h3 {
  font-size: 14px; font-weight: 700; line-height: 1.5;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pcard-info .price { font-size: 16.5px; margin-top: 4px; display: inline-block; }
.pc-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.pc-head .ttl { font-size: 19px; font-weight: 800; letter-spacing: .04em; }
.pc-head .cnt { font-size: 13px; font-weight: 600; color: var(--ink-3); }
.pc-head .spacer { flex: 1; }

/* ————— 商品卡 ————— */
.gal-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card {
  display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md);
  overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-2); border-color: transparent; }
.card-art {
  position: relative; aspect-ratio: 1 / .92; display: grid; place-items: center;
  background: var(--tile, var(--bg-2));
  border-radius: var(--r-md) var(--r-md) 0 0;
}
.card-art svg { width: 58%; height: auto; transition: transform .5s var(--ease); }
.p-img {
  position: absolute; inset: 0; z-index: 2;
  width: 100%; height: 100%; object-fit: cover; border-radius: inherit;
}
.card-art .p-img { border-radius: var(--r-md) var(--r-md) 0 0; }
.card-art { position: relative; }
.card-art .card-tag { z-index: 3; }
.card:hover .card-art svg { transform: translateY(-5px) scale(1.04); }
.card-tag {
  position: absolute; top: 14px; left: 14px;
  font-size: 11px; font-weight: 700; letter-spacing: .1em; color: var(--ink-2);
  background: rgba(255,255,255,.8); backdrop-filter: blur(6px);
  padding: 4px 12px; border-radius: 999px;
}
.card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { font-size: 15px; font-weight: 700; letter-spacing: .02em; line-height: 1.55; }
.card-body .ds { margin: 6px 0 14px; font-size: 12.5px; color: var(--ink-3); line-height: 1.7; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-foot { display: flex; align-items: baseline; justify-content: space-between; }
.card-foot .price { font-size: 19px; }
.card-foot .sku { font-size: 11px; font-weight: 600; letter-spacing: .1em; color: #B4AFA5; }
@media (max-width: 1080px) { .gal-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px)  { .gal-grid { grid-template-columns: 1fr; } }

/* ————— 工艺 · 脱蜡六法时间轴 ————— */
.craft-flow { list-style: none; position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 0 30px; }
.craft-flow::before { content: ""; position: absolute; top: 5px; left: 0; right: 0; height: 1px; background: var(--line); }
.cf-step { position: relative; padding-top: 32px; }
.cf-step::before {
  content: ""; position: absolute; top: 0; left: 0; width: 11px; height: 11px; border-radius: 999px;
  box-sizing: border-box; background: var(--card); border: 2px solid var(--ink);
}
.cf-step .no { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: .16em; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.cf-step .no em { font-style: normal; font-size: 11px; font-weight: 800; letter-spacing: .04em; color: #B0742E; background: rgba(240,160,75,.16); border-radius: 999px; padding: 2px 9px; }
.cf-step h3 { margin-top: 12px; font-size: 16.5px; font-weight: 800; letter-spacing: .04em; }
.cf-step p { margin-top: 7px; font-size: 13px; color: var(--ink-2); line-height: 1.75; }
.cf-step.hot::before { border-color: var(--amber); box-shadow: 0 0 0 4px rgba(240,160,75,.16); }
@media (max-width: 1080px) {
  .craft-flow { grid-template-columns: 1fr; gap: 30px; max-width: 620px; }
  .craft-flow::before { top: 2px; bottom: 2px; left: 5px; right: auto; width: 1px; height: auto; }
  .cf-step { padding: 0 0 0 34px; }
  .cf-step::before { top: 3px; }
}

/* ————— 引言 ————— */
.quote-blk { text-align: center; max-width: 760px; margin: 0 auto; }
.quote-blk blockquote { font-family: var(--serif); font-size: clamp(20px, 2.4vw, 28px); font-weight: 600; letter-spacing: .1em; line-height: 1.9; }
.quote-blk cite { display: block; margin-top: 14px; font-style: normal; font-size: 12.5px; font-weight: 600; letter-spacing: .2em; color: var(--ink-3); }

/* ————— 列表页 ————— */
.page-head { padding: clamp(44px, 6vw, 72px) 0 0; }
.page-head h2.sec-title { margin-bottom: 4px; }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 30px 0 22px; }
.chip {
  font-size: 13px; font-weight: 700; letter-spacing: .04em; color: var(--ink-2);
  background: var(--card); border: 1px solid var(--line);
  padding: 8px 18px; border-radius: 999px; transition: all .25s;
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.act { background: var(--ink); border-color: var(--ink); color: #FFF; }
.toolbar .spacer { flex: 1; }
.search-box { display: flex; gap: 8px; }
.search-box input { width: clamp(150px, 20vw, 220px); border-radius: 999px; }
.search-box .btn { padding: 9px 20px; }
select { border-radius: 999px; }
.result-meta { font-size: 13px; color: var(--ink-3); font-weight: 600; margin-bottom: 18px; }
.result-meta b { color: var(--ink); font-weight: 800; }

.pager { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 46px; flex-wrap: wrap; }
.pager button {
  min-width: 40px; height: 40px; padding: 0 12px;
  font-family: var(--sans); font-size: 14px; font-weight: 700; color: var(--ink-2);
  background: var(--card); border: 1px solid var(--line); border-radius: 999px; transition: all .25s;
}
.pager button:hover:not(:disabled) { border-color: var(--ink); color: var(--ink); }
.pager button.act { background: var(--ink); border-color: var(--ink); color: #FFF; }
.pager button:disabled { opacity: .35; cursor: default; }
.pager .ell { color: var(--ink-3); }

/* ————— 详情页 ————— */
.detail { padding: clamp(40px, 5vw, 64px) 0; }
.crumbs { font-size: 12.5px; font-weight: 600; color: var(--ink-3); margin-bottom: 28px; }
.crumbs a:hover { color: var(--ink); }
.crumbs i { font-style: normal; margin: 0 8px; color: #C9C4BA; }
.detail-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 4vw, 60px); align-items: start; }
.detail-art {
  position: relative; aspect-ratio: 1/1; display: grid; place-items: center;
  border-radius: var(--r-lg); background: var(--tile, var(--bg-2));
}
.detail-art svg { width: 55%; height: auto; }
.detail-art .note { position: absolute; bottom: 18px; z-index: 3; font-size: 11px; font-weight: 600; letter-spacing: .14em; color: rgba(23,24,26,.35); }
.detail-info h1 { font-size: clamp(26px, 3vw, 38px); font-weight: 800; letter-spacing: .02em; line-height: 1.35; text-wrap: balance; }
.cat-line { margin-top: 10px; font-size: 12.5px; font-weight: 600; letter-spacing: .06em; color: var(--ink-3); }
.cat-line a { color: var(--ink-2); border-bottom: 1px solid var(--line); }
.cat-line a:hover { color: var(--ink); border-color: var(--ink); }
.detail-price { margin: 24px 0 8px; display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.detail-price .price { font-size: 38px; }
.detail-price .per { font-size: 12.5px; font-weight: 600; color: var(--ink-3); }
.spec-table { margin: 20px 0; }
.spec-row { display: grid; grid-template-columns: 92px 1fr; gap: 16px; padding: 13px 0; border-top: 1px solid var(--line); font-size: 13.5px; }
.spec-row dt { color: var(--ink-3); font-weight: 600; }
.spec-row dd { color: var(--ink-2); line-height: 1.75; }
.buy-row { display: flex; gap: 12px; align-items: stretch; margin-top: 26px; flex-wrap: wrap; }
.qty { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; background: var(--card); }
.qty button { width: 42px; height: 46px; background: transparent; border: none; color: var(--ink-2); font-size: 18px; transition: color .25s; }
.qty button:hover { color: var(--ink); }
.qty input { width: 48px; height: 46px; text-align: center; border: none; border-radius: 0; font-weight: 800; font-size: 15px; padding: 0; background: transparent; }
.detail-desc { margin-top: clamp(48px, 6vw, 72px); }
.detail-desc h2 { font-size: 18px; font-weight: 800; letter-spacing: .12em; margin-bottom: 18px; display: flex; align-items: center; gap: 16px; }
.detail-desc h2::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.detail-desc > p { color: var(--ink-2); font-size: 14.5px; max-width: 72ch; white-space: pre-line; }

/* ————— 购物袋 / 表单 ————— */
.cart-page { padding: clamp(40px, 5vw, 64px) 0; }
.cart-table { display: flex; flex-direction: column; gap: 12px; margin-top: 30px; }
.cart-line {
  display: grid; grid-template-columns: 76px 1fr auto auto auto; gap: 20px; align-items: center;
  padding: 16px 20px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-sm);
}
.cart-thumb { position: relative; overflow: hidden; width: 76px; height: 76px; display: grid; place-items: center; border-radius: 12px; background: var(--tile, var(--bg-2)); }
.cart-thumb svg { width: 72%; }
.cart-line .nm { font-size: 14.5px; font-weight: 700; }
.cart-line .nm small { display: block; color: var(--ink-3); font-size: 11px; font-weight: 600; letter-spacing: .1em; margin-top: 2px; }
.cart-line .qty button { height: 38px; width: 36px; }
.cart-line .qty input { height: 38px; width: 40px; font-size: 14px; }
.cart-line .price { font-size: 17px; }
.cart-line .rm { background: none; border: none; color: var(--ink-3); font-size: 12.5px; font-weight: 600; transition: color .25s; }
.cart-line .rm:hover { color: var(--err); }
.cart-sum { margin-top: 28px; display: flex; justify-content: flex-end; align-items: center; gap: 22px; flex-wrap: wrap; }
.cart-sum .lbl { font-size: 13px; font-weight: 700; letter-spacing: .14em; color: var(--ink-3); }
.cart-sum .price { font-size: 30px; }
.empty-state { text-align: center; padding: 90px 20px; color: var(--ink-3); font-weight: 600; }
.empty-state .big {
  width: 74px; height: 74px; margin: 0 auto 22px; border-radius: 24px; display: grid; place-items: center;
  font-size: 30px; font-weight: 800; color: #FFF;
  background: linear-gradient(135deg, #A8E8DC, #3FBFAC 50%, #5B3AA0);
}

.form { max-width: 560px; }
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; color: var(--ink-2); margin-bottom: 7px; }
.form-row input, .form-row textarea { width: 100%; }
.form-row textarea { min-height: 88px; resize: vertical; }
.form-err { color: var(--err); font-size: 13px; font-weight: 600; margin-top: 12px; min-height: 1.4em; }

.order-done { text-align: center; padding: clamp(70px, 10vw, 120px) 20px; }
.order-done .gem {
  width: 86px; height: 86px; margin: 0 auto 28px; border-radius: 28px;
  background:
    radial-gradient(circle at 32% 26%, rgba(255,255,255,.8), transparent 44%),
    linear-gradient(135deg, #A8E8DC, #3FBFAC 45%, #5B3AA0);
  box-shadow: 0 24px 56px rgba(63,191,172,.4);
  animation: float2 5s ease-in-out infinite;
}
.order-done h1 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; letter-spacing: .06em; }
.order-done .no { margin: 16px 0 4px; font-size: 21px; font-weight: 800; letter-spacing: .08em;
  background: linear-gradient(100deg, var(--teal), var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.order-done p { color: var(--ink-2); font-size: 14px; }
.order-done .acts { margin-top: 34px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.order-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: 28px 30px; max-width: 680px; box-shadow: var(--shadow-1); }
.order-card .head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; border-bottom: 1px solid var(--line); padding-bottom: 16px; margin-bottom: 14px; }
.order-card .head b { font-size: 17px; font-weight: 800; letter-spacing: .05em; }
.order-card .head span { font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--ok); background: rgba(60,140,80,.1); padding: 5px 14px; border-radius: 999px; }
.order-card .ln { display: flex; justify-content: space-between; gap: 14px; padding: 8px 0; font-size: 14px; color: var(--ink-2); }
.order-card .ln .q { color: var(--ink-3); font-weight: 700; }
.order-card .tot { border-top: 1px solid var(--line); margin-top: 12px; padding-top: 16px; display: flex; justify-content: flex-end; align-items: baseline; gap: 14px; }
.order-card .tot .price { font-size: 24px; }

/* ————— 提示 ————— */
#toast {
  position: fixed; bottom: 32px; left: 50%; transform: translateX(-50%) translateY(16px);
  z-index: 100; pointer-events: none; opacity: 0;
  background: var(--ink); color: #FFF;
  border-radius: 999px; padding: 13px 28px;
  font-size: 13.5px; font-weight: 700; letter-spacing: .04em;
  box-shadow: var(--shadow-2);
  transition: opacity .35s, transform .35s var(--ease);
}
#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
#toast.err { background: var(--err); }

/* ————— 页脚 ————— */
footer { border-top: 1px solid var(--line); background: #FFF; margin-top: auto; }
.foot-in { max-width: 1240px; margin: 0 auto; padding: 56px clamp(20px,4vw,56px) 32px; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; }
.foot-brand p { margin-top: 14px; color: var(--ink-3); font-size: 13px; font-weight: 500; line-height: 1.9; }
.foot-col h4 { font-size: 12px; font-weight: 800; letter-spacing: .2em; color: var(--ink-3); text-transform: uppercase; margin-bottom: 14px; }
.foot-col a { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink-2); padding: 4px 0; transition: color .25s; }
.foot-col a:hover { color: var(--ink); }
.foot-base {
  border-top: 1px solid var(--line);
  max-width: 1240px; margin: 0 auto; padding: 20px clamp(20px,4vw,56px);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 12px; font-weight: 600; color: var(--ink-3);
}
.foot-base .lt { letter-spacing: .1em; }
@media (max-width: 860px) { .foot-in { grid-template-columns: 1fr 1fr; } }

/* ————— 动效 ————— */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rv.on { opacity: 1; transform: none; }
.fade-in { animation: fadein .45s ease both; }
@keyframes fadein { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.loading { text-align: center; padding: 80px 0; color: var(--ink-3); font-size: 13px; font-weight: 700; letter-spacing: .4em; }

@media (prefers-reduced-motion: reduce) {
  .rv, .fade-in { animation: none; transition: none; opacity: 1; transform: none; }
  .marq-track, .hg, .order-done .gem { animation: none; }
  html { scroll-behavior: auto; }
}
