/* =====================================================================
   STELLAR WORLDWIDE · 全球奢品甄选
   设计语言：结构参考 popmart.com.cn（白色顶栏 / 全宽主视觉 / 居中大字版式 /
   充足留白），气质切换为奢侈品：象牙白 + 曜石黑 + 香槟金、衬线标题、细线分隔。
   ===================================================================== */

:root {
  --ink: #0e0e0f;
  --ink-2: #2b2b2e;
  --sub: #6f6f74;
  --muted: #9a9a9f;
  --line: #e7e2d9;
  --line-soft: #f1ede5;
  --bg: #faf8f4;
  --card: #ffffff;
  --gold: #b08d57;
  --gold-2: #d5b98a;
  --gold-soft: #f7f1e6;
  --noir: #131315;
  --radius: 2px;
  /* 图片圆角 */
  --r-img: 16px;      /* 商品主图 / 配图 */
  --r-img-sm: 10px;   /* 缩略图 / 购物袋小图 */
  --r-banner: 24px;   /* 主视觉横幅 */
  --ease: cubic-bezier(.22, .61, .36, 1);
  /* 全站字体：方案 05 —— 几何无衬线 Century Gothic，中文回退微软雅黑 */
  --face: "Century Gothic", "Microsoft YaHei", "PingFang SC", "Segoe UI", sans-serif;
  --serif: var(--face);   /* 标题与价格数字 */
  --sans: var(--face);    /* 正文与 UI */
  /* 站名字标字体（方案 04：几何无衬线 + 加粗） */
  --logo-font: "Century Gothic", "Segoe UI", "PingFang SC", sans-serif;
  --wrap: 1320px;
  --pad: clamp(20px, 5vw, 64px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 14px; line-height: 1.75;
  letter-spacing: .02em; -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; letter-spacing: inherit; }
input, select { font: inherit; color: inherit; letter-spacing: inherit; }
img { display: block; max-width: 100%; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-weight: 400; margin: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.row { display: flex; align-items: center; gap: 12px; }
.between { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.grow { flex: 1; }
.muted { color: var(--muted); }
.sub { color: var(--sub); }
.mt8 { margin-top: 8px; } .mt16 { margin-top: 16px; } .mt24 { margin-top: 24px; } .mt40 { margin-top: 40px; }
.hide { display: none !important; }
.center { text-align: center; }
.serif { font-family: var(--serif); }

/* 拉丁小标题 */
.eyebrow {
  font-family: var(--sans); font-size: 11px; letter-spacing: .42em;
  text-transform: uppercase; color: var(--gold); font-weight: 500;
}
.eyebrow.ink { color: var(--ink); }

/* ---------- 顶部公告 ---------- */
.announce {
  position: relative; z-index: 60;
  background: var(--noir); color: #cfc9bd; font-size: 11.5px; letter-spacing: .18em;
}
.announce .wrap { display: flex; align-items: center; justify-content: space-between; height: 36px; }
.announce a:hover { color: var(--gold-2); }
.announce .row { gap: 22px; }

/* 语言切换（点击展开，右侧白色面板，样式对齐奢侈品站惯例） */
.lang { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 7px; color: inherit;
  font-size: 11.5px; letter-spacing: .18em; transition: color .25s var(--ease);
}
.lang-btn:hover, .lang.open .lang-btn { color: var(--gold-2); }
.lang-btn svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.2; stroke-linecap: round; }
.lang-menu {
  position: absolute; top: calc(100% + 16px); right: 0; min-width: 176px; z-index: 70;
  background: #fff; border-radius: 16px; padding: 10px 0; display: none;
  box-shadow: 0 22px 60px rgba(10, 10, 12, .26);
}
.lang-menu::before {
  content: ""; position: absolute; top: -6px; right: 26px; width: 12px; height: 12px;
  background: #fff; transform: rotate(45deg); border-radius: 2px;
}
.lang.open .lang-menu { display: block; animation: langIn .22s var(--ease); }
@keyframes langIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.lang-menu button {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 22px;
  font-size: 13px; letter-spacing: .06em; color: #3a3a3c; text-align: left; transition: background .2s var(--ease);
}
.lang-menu button:hover { background: var(--gold-soft); }
.lang-menu button i { width: 13px; font-style: normal; color: var(--gold); font-size: 12px; }
.lang-menu button[aria-selected="true"] { color: var(--ink); font-weight: 600; }

/* ---------- 头部 ---------- */
.header {
  position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(12px); border-bottom: 1px solid var(--line-soft);
}
.header .bar {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: 76px; gap: 20px;
}
/* 拉丁语系导航标签更长：随视口缩放并收紧字距，避免与中间字标相撞 */
html:not([lang="zh-CN"]):not([lang="zh-Hant"]) .head-nav { gap: clamp(12px, 1.4vw, 20px); }
html:not([lang="zh-CN"]):not([lang="zh-Hant"]) .head-nav > a,
html:not([lang="zh-CN"]):not([lang="zh-Hant"]) .head-nav .has-menu > span {
  font-size: clamp(10px, .8vw, 11.5px); letter-spacing: .1em;
}
.head-nav { display: flex; gap: 26px; min-width: 0; }
.head-nav > a,
.head-nav .has-menu > span {
  display: inline-block; white-space: nowrap;
  position: relative; font-size: 12.5px; letter-spacing: .16em; color: var(--ink-2);
  padding: 6px 0; cursor: pointer; text-transform: uppercase;
}
.head-nav > a::after, .head-nav .has-menu > span::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px;
  background: var(--gold); transition: right .35s var(--ease);
}
.head-nav > a:hover::after, .head-nav .has-menu:hover > span::after { right: 0; }
.head-nav a.on { color: var(--gold); }

.logo {
  font-family: var(--logo-font);
  /* 加大加粗且锐利：用字体自带的真 Bold（700），不用描边/合成粗体——
     描边是"把笔画糊粗"，在 1x 屏与 Windows 125%/150% 缩放下会明显发虚。
     字号用整数 px，字距用整数 px（.3em @20px = 6px），避免半像素栅格化导致发糊。 */
  font-weight: 700;
  font-size: 20px; letter-spacing: 6px; text-indent: 6px;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
  text-align: center; white-space: nowrap;
}
.logo small {
  display: block; font-family: var(--logo-font); font-weight: 400;
  font-size: 10px; letter-spacing: 4px; text-indent: 4px; color: var(--muted); margin-top: 6px;
  -webkit-font-smoothing: antialiased;
}
.head-tools { display: flex; justify-content: flex-end; align-items: center; gap: 18px; }
.tool { position: relative; font-size: 12.5px; letter-spacing: .12em; color: var(--ink-2); display: flex; align-items: center; gap: 7px; }
.tool:hover { color: var(--gold); }
.tool svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 1.3; }
.badge {
  min-width: 17px; height: 17px; padding: 0 4px; border-radius: 50%; background: var(--gold); color: #fff;
  font-size: 10px; display: inline-grid; place-items: center; letter-spacing: 0;
}

/* 大型菜单 */
.has-menu { position: relative; }
.mega {
  position: absolute; top: 100%; left: -30px; min-width: 460px; background: #fff;
  border: 1px solid var(--line-soft); box-shadow: 0 26px 60px rgba(20, 18, 14, .1);
  padding: 26px 30px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 26px;
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .28s var(--ease);
}
.has-menu:hover .mega { opacity: 1; visibility: visible; transform: none; }
.mega a { font-size: 12.5px; color: var(--sub); padding: 5px 0; letter-spacing: .06em; }
.mega a:hover { color: var(--gold); }

/* ---------- 主视觉轮播（全宽） ---------- */
.hero {
  position: relative; height: clamp(320px, 49vh, 467px); overflow: hidden; background: var(--noir);
  width: calc(100% - 2 * var(--pad)); max-width: calc(var(--wrap) - 2 * var(--pad));
  margin: 0 auto; border-radius: var(--r-banner);
}
.slide {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center;
  color: #fff; opacity: 0; transition: opacity 1.1s var(--ease);
}
.slide.on { opacity: 1; }
.slide .inner { padding: 0 24px; max-width: 760px; }
.slide .eyebrow { color: var(--gold-2); margin-bottom: 20px; }
.slide .eyebrow::after { content: ""; display: block; width: 52px; height: 1px; background: var(--gold-2); opacity: .8; margin: 14px auto 0; }
/* 主视觉质感：细编织纹理 + 中心柔光 + 上下渐隐 */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 4px);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    radial-gradient(56% 60% at 50% 46%, rgba(255, 255, 255, .10), transparent 72%),
    linear-gradient(180deg, rgba(0, 0, 0, .22), transparent 32%, rgba(0, 0, 0, .3));
}
/* 首屏大字标：与顶栏字标统一为同一字体语言 */
.slide h2 {
  font-family: var(--logo-font); font-weight: 700;
  font-size: clamp(30px, 5.2vw, 62px); letter-spacing: .2em;
  text-indent: .2em; line-height: 1.12; margin: 0 0 20px;
}
.slide p { color: rgba(255, 255, 255, .78); max-width: 520px; margin: 0 auto 30px; font-size: 13.5px; letter-spacing: .1em; }
.slide-cta { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.dots { position: absolute; bottom: 30px; left: 0; right: 0; display: flex; justify-content: center; gap: 9px; z-index: 3; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .4); cursor: pointer; transition: all .3s var(--ease); }
.dots i.on { background: var(--gold-2); width: 22px; border-radius: 4px; }
.arrows { position: absolute; inset: 0; display: flex; align-items: center; justify-content: space-between; padding: 0 30px; z-index: 3; pointer-events: none; }
.arrows button { pointer-events: all; width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, .28); color: #fff; display: grid; place-items: center; transition: all .3s var(--ease); }
.arrows button:hover { border-color: var(--gold-2); color: var(--gold-2); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 34px; font-size: 12px; letter-spacing: .22em; text-transform: uppercase;
  border: 1px solid var(--ink); background: var(--ink); color: #fff;
  transition: all .35s var(--ease); white-space: nowrap;
}
.btn:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.btn-line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-line:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-gold { background: transparent; color: var(--gold); border-color: var(--gold); }
.btn-gold:hover { background: var(--gold); color: #fff; }
.btn-light { background: transparent; border-color: rgba(255, 255, 255, .6); color: #fff; }
.btn-light:hover { background: #fff; border-color: #fff; color: var(--ink); }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 22px; font-size: 11px; }
.btn:disabled { opacity: .4; cursor: not-allowed; }
.btn:disabled:hover { background: var(--ink); border-color: var(--ink); }

.text-link { font-size: 11.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--ink); border-bottom: 1px solid var(--line); padding-bottom: 3px; }
.text-link:hover { color: var(--gold); border-color: var(--gold); }

/* ---------- 通用区块 ---------- */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section.tight { padding: clamp(36px, 5vw, 56px) 0; }
.section.ink { background: var(--noir); color: #f2ede4; }
.section.ink .eyebrow { color: var(--gold-2); }
.section.ivory { background: var(--gold-soft); }
.head-c { text-align: center; max-width: 720px; margin: 0 auto clamp(30px, 4vw, 52px); }
.head-c h2 { font-family: var(--serif); font-size: clamp(26px, 3.6vw, 42px); letter-spacing: .1em; margin: 14px 0 0; }
.head-c h2 em { font-style: normal; display: block; font-family: var(--sans); font-size: 13px; letter-spacing: .3em; color: var(--muted); margin-top: 12px; text-transform: uppercase; }
.head-c p { color: var(--sub); margin: 16px 0 0; font-size: 13.5px; }
.head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: clamp(24px, 3vw, 40px); }
.head-row h2 { font-family: var(--serif); font-size: clamp(22px, 2.6vw, 32px); letter-spacing: .1em; }
.head-row .eyebrow { margin-bottom: 10px; }

/* 服务条：条目数由后台决定，用 auto-fit 让 3 项或 4 项都能铺满 */
.perks { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.perk { padding: 34px 26px; text-align: center; border-right: 1px solid var(--line); }
.perk:last-child { border-right: none; }
.perk .ic { width: 34px; height: 34px; margin: 0 auto 14px; stroke: var(--gold); fill: none; stroke-width: 1.1; }
.perk b { display: block; font-family: var(--serif); font-size: 15px; letter-spacing: .12em; font-weight: 400; }
.perk span { font-size: 12px; color: var(--muted); letter-spacing: .06em; }

/* 品类（3 类） */
.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.cat { background: var(--card); padding: 40px 20px; text-align: center; transition: background .4s var(--ease); }
.cat:hover { background: var(--gold-soft); }
.cat .zh { font-family: var(--serif); font-size: 19px; letter-spacing: .2em; }
.cat .en { display: block; font-size: 10px; letter-spacing: .3em; color: var(--muted); text-transform: uppercase; margin-top: 8px; }
/* 品类标识（对应 assets/img/cat-*.svg） */
.doodle {
  display: block; fill: none; stroke: var(--gold); stroke-width: 1.1;
  stroke-linecap: round; stroke-linejoin: round;
  transition: stroke .4s var(--ease), transform .6s var(--ease);
}
.cat .doodle { width: 52px; height: 52px; margin: 0 auto 16px; stroke-width: 2; }
.cat:hover .doodle { transform: translateY(-3px); stroke: var(--ink); }
#list-mark .doodle { width: 34px; height: 34px; stroke-width: 2.2; }

/* 品牌馆（8 家，桌面 4×2） */
.maisons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.maison { background: var(--card); padding: 40px 18px 44px; text-align: center; transition: all .4s var(--ease); }
.maison:hover { background: var(--noir); color: #fff; }
/* 品牌标志：图片按"标志"呈现 —— 限定高宽、等比缩放、不带任何底板；
   上传的 LOGO 已在后台自动去背景+裁剪，所以这里只控制视觉尺寸与悬停反白 */
.maison .mark {
  width: auto; max-width: 92px; height: 46px; object-fit: contain;
  display: block; margin: 0 auto 22px;
  transition: transform .5s var(--ease), filter .5s var(--ease);
}
.maison:hover .mark { transform: translateY(-4px) scale(1.06); filter: brightness(0) invert(1); opacity: .95; }
.maison .n { font-family: var(--serif); font-size: 15px; letter-spacing: .22em; }
.maison .c { font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); margin-top: 9px; display: block; }
.maison:hover .c { color: var(--gold-2); }

/* 编辑精选 */
.editorial { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: clamp(24px, 5vw, 72px); }
.editorial .pic { aspect-ratio: 4 / 3; border-radius: 20px; }
.editorial h3 { font-family: var(--serif); font-size: clamp(24px, 3vw, 36px); letter-spacing: .08em; margin: 14px 0 16px; }
.editorial p { color: var(--sub); font-size: 13.5px; max-width: 460px; }

/* ---------- 商品视觉（占位艺术图） ---------- */
.art {
  position: relative; background: linear-gradient(150deg, var(--g1, #efe7dc), var(--g2, #e2d5c3));
  display: grid; place-items: center; overflow: hidden;
  border-radius: var(--r-img);
}
.art::after {
  content: ""; position: absolute; inset: 14px; border: 1px solid rgba(255, 255, 255, .5); opacity: .55;
  border-radius: calc(var(--r-img) - 10px);
}
.art .mono {
  font-family: var(--serif); font-size: 44px; letter-spacing: .12em; color: rgba(20, 18, 14, .26);
  text-indent: .12em; position: relative; z-index: 1;
}
/* 分品类金色线描（占位艺术图内） */
.art .doodle {
  width: 92px; height: 92px; position: relative; z-index: 1;
  stroke: rgba(122, 96, 55, .55); stroke-width: 1;
}
.p-card:hover .art .doodle, .sale .item:hover .art .doodle { transform: translateY(-5px); stroke: rgba(122, 96, 55, .85); }
.art .doodle.xl { width: 148px; height: 148px; stroke-width: .8; }
.art .mono.wm {
  position: absolute; font-size: 210px; line-height: 1; color: rgba(20, 18, 14, .035);
  z-index: 0; letter-spacing: .04em; text-indent: 0;
}
.art .cap {
  position: absolute; bottom: 22px; left: 0; right: 0; text-align: center;
  font-size: 10px; letter-spacing: .34em; text-transform: uppercase; color: rgba(20, 18, 14, .42); z-index: 1;
}

/* ---------- 商品展示标准：5 个展示图（详情主图 / 缩略图 / 商品卡 / 购物袋同构） ----------
   front 正面 · detail 细节 · side 侧视 · scene 场景 · package 包装
   所有差异都由 .art[data-view=…] 驱动，因此同一视图在任意尺寸下比例一致 */
.art[data-view] .layer { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.art[data-view] .ico {
  position: absolute; inset: 0; z-index: 1; display: grid; place-items: center;
  transition: transform .85s var(--ease);
}
.art[data-view] .ico svg { width: 30%; height: 30%; }
/* 缩略图用更紧的裁切，小尺寸下也能一眼分辨是哪个视图 */
.thumb .ico svg { width: 44%; height: 44%; }
.art[data-view] .mono.wm { transition: transform .85s var(--ease), opacity .5s var(--ease); }
.art[data-view="front"] .ico { transform: none; }

.art[data-view="detail"] .ico { transform: scale(2.7) translateY(3%); }
.art[data-view="detail"] .mono.wm { opacity: 0; }

.art[data-view="side"] { background: linear-gradient(205deg, var(--g1, #efe7dc), var(--g2, #e2d5c3)); }
.art[data-view="side"] .ico { transform: scale(.94) rotate(-9deg); }
.art[data-view="side"] .mono.wm { transform: translateX(-16%) scale(.88); opacity: .75; }

.art[data-view="scene"] { background: linear-gradient(115deg, var(--g1, #efe7dc), var(--g2, #e2d5c3)); }
.art[data-view="scene"] .ico { transform: scale(.6) translate(36%, 34%); }
.art[data-view="scene"] .mono.wm { opacity: 0; }
.art[data-view="scene"] .layer::before {
  content: ""; position: absolute; left: 44%; top: 42%; width: 88%; aspect-ratio: 1;
  border-radius: 50%; background: rgba(255, 255, 255, .3);
}

.art[data-view="package"] .ico { transform: scale(.72) translateY(-14%); }
.art[data-view="package"] .mono.wm { opacity: 0; }
.art[data-view="package"] .layer::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 62%; height: 44%;
  transform: translate(-50%, -40%); border: 1px solid rgba(122, 96, 55, .32); border-radius: 5px;
}
.art[data-view="package"] .layer::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 62%; height: 44%;
  transform: translate(-50%, -40%);
  background-image:
    linear-gradient(to bottom, transparent calc(28% - .5px), rgba(122, 96, 55, .32) calc(28% - .5px), rgba(122, 96, 55, .32) calc(28% + .5px), transparent calc(28% + .5px)),
    linear-gradient(to right, transparent calc(48% - .5px), rgba(122, 96, 55, .32) calc(48% - .5px), rgba(122, 96, 55, .32) calc(48% + .5px), transparent calc(48% + .5px));
}

/* 上传的实拍图：按容器 data-view 显示对应那一张；没上传的视图继续用生成的渐变+线描 */
.art[data-view] .shot {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .5s var(--ease); z-index: 3;
}
.art[data-view="front"] .shot[data-for="front"],
.art[data-view="detail"] .shot[data-for="detail"],
.art[data-view="side"] .shot[data-for="side"],
.art[data-view="scene"] .shot[data-for="scene"],
.art[data-view="package"] .shot[data-for="package"] { opacity: 1; }

/* 各处花字尺寸（同一视图在不同容器里的比例） */
.thumb .mono.wm { font-size: 34px; }
.p-card .art .mono.wm { font-size: 128px; }
.cart-item .art .mono.wm, .order .art .mono.wm { font-size: 26px; }

/* 商品卡：悬停按顺序轮播 5 图，右侧竖排圆点提示这是一组图 */
.p-card .art { cursor: pointer; }
.p-card .gal-dots {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%); z-index: 2;
  display: flex; flex-direction: column; gap: 5px; opacity: 0; transition: opacity .35s var(--ease);
}
.p-card:hover .gal-dots { opacity: 1; }
.p-card .gal-dots i {
  width: 5px; height: 5px; border-radius: 50%; background: rgba(20, 18, 14, .18);
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.p-card .gal-dots i.on { background: var(--gold); transform: scale(1.25); }

/* ---------- 商品卡 ---------- */
.grid { display: grid; gap: clamp(16px, 2vw, 30px); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }

.p-card { display: flex; flex-direction: column; background: transparent; }
.p-card .art { aspect-ratio: 4 / 5; }
.p-card .art .mono { transition: transform .7s var(--ease); }
.p-card:hover .art .mono { transform: scale(1.06); }
.p-card .flag {
  position: absolute; top: 18px; left: 18px; z-index: 2; font-size: 10px; letter-spacing: .24em;
  text-transform: uppercase; color: var(--ink); background: rgba(255, 255, 255, .86); padding: 5px 11px;
}
.p-card .fav.on svg { fill: var(--gold); stroke: var(--gold); }
.p-card .fav {
  position: absolute; top: 14px; right: 14px; z-index: 3; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255, 255, 255, .9); cursor: pointer;
  opacity: 1; box-shadow: 0 2px 10px rgba(20, 18, 14, .08); transition: all .3s var(--ease);
}
.p-card .fav:hover { transform: scale(1.08); }
.p-card .fav.on { background: #fff; }
.p-card .fav svg { width: 15px; height: 15px; stroke: var(--ink); fill: none; stroke-width: 1.3; }
.p-card .quick {
  position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 2;
  background: var(--ink); color: #fff; text-align: center; padding: 12px; font-size: 11px;
  letter-spacing: .24em; text-transform: uppercase; opacity: 0; transform: translateY(8px);
  transition: all .35s var(--ease);
}
.p-card:hover .quick { opacity: 1; transform: none; }
.p-card .info { padding: 16px 2px 0; text-align: center; }
.p-card .brand { font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }.p-card .name { font-family: var(--serif); font-size: 15px; line-height: 1.5; margin: 8px 0 6px; height: 45px; overflow: hidden; }
.p-card .price { font-size: 14px; color: var(--ink); letter-spacing: .04em; }
.p-card .was { color: var(--muted); text-decoration: line-through; font-size: 12px; margin-left: 8px; }

/* ---------- 私享特惠（深色块） ---------- */
.sale { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .14); }
.sale .item { background: var(--noir); padding: 22px; text-align: center; }
.sale .art { aspect-ratio: 1 / 1; margin-bottom: 16px; }
.sale .name { font-family: var(--serif); font-size: 13.5px; height: 42px; overflow: hidden; }
.sale .now { color: var(--gold-2); font-size: 16px; letter-spacing: .06em; }
.sale .was { color: rgba(255, 255, 255, .4); text-decoration: line-through; font-size: 12px; margin-left: 6px; }
.countdown { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; letter-spacing: .16em; color: rgba(255, 255, 255, .7); }
.countdown b { font-family: var(--serif); font-size: 15px; color: var(--gold-2); font-weight: 400; }
.bar { height: 1px; background: rgba(255, 255, 255, .18); margin-top: 12px; }
.bar i { display: block; height: 1px; background: var(--gold-2); }

/* ---------- 会员 CTA ---------- */
.cta-band { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.cta-band .pic { aspect-ratio: 16 / 10; }
.news { display: flex; border-bottom: 1px solid rgba(255, 255, 255, .4); margin-top: 22px; max-width: 420px; }
.news input { flex: 1; background: transparent; border: none; outline: none; color: #fff; padding: 12px 0; font-size: 13px; }
.news input::placeholder { color: rgba(255, 255, 255, .45); }
.news button { color: var(--gold-2); font-size: 11px; letter-spacing: .24em; text-transform: uppercase; }

/* ---------- 面包屑 / 页头 ---------- */
.crumb { font-size: 11.5px; letter-spacing: .16em; color: var(--muted); padding: 26px 0 0; text-transform: uppercase; }
.crumb a:hover { color: var(--gold); }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding: 20px 0 28px; border-bottom: 1px solid var(--line); margin-bottom: 34px; }
.page-head h1 { font-family: var(--serif); font-size: clamp(24px, 3vw, 34px); letter-spacing: .1em; }
.page-head .muted { font-size: 12.5px; letter-spacing: .1em; }

/* ---------- 列表页 ---------- */
.layout { display: grid; grid-template-columns: 232px 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.filters { position: sticky; top: 120px; }
.f-block { padding: 24px 0; border-bottom: 1px solid var(--line); }
.f-block:first-child { padding-top: 0; }
.f-block h4 { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--ink); margin: 0 0 16px; }
.f-list label { display: flex; align-items: center; gap: 10px; padding: 6px 0; color: var(--sub); font-size: 13px; cursor: pointer; }
.f-list label:hover { color: var(--gold); }
.f-list input { accent-color: var(--gold); width: 13px; height: 13px; }
/* 品类筛选内的标识 */
.f-list .f-mark { width: 20px; height: 20px; flex: none; stroke: var(--muted); stroke-width: 3.2; }
.f-list label:hover .f-mark { stroke: var(--gold); }
.f-list label:has(input:checked) .f-mark { stroke: var(--gold); }
.f-spacer { width: 20px; flex: none; }
.price-inputs { display: flex; align-items: center; gap: 10px; }
.price-inputs input { width: 100%; padding: 9px 0; border: none; border-bottom: 1px solid var(--line); background: transparent; outline: none; font-size: 13px; }
.price-inputs input:focus { border-color: var(--gold); }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.sort { display: flex; gap: 22px; }
.sort button { font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); padding-bottom: 3px; border-bottom: 1px solid transparent; }
.sort button:hover { color: var(--ink); }
.sort button.on { color: var(--ink); border-color: var(--gold); }
.pager { display: flex; justify-content: center; gap: 6px; margin: 52px 0 0; }
.pager button { min-width: 38px; height: 38px; border: 1px solid var(--line); color: var(--sub); font-size: 12px; transition: all .3s var(--ease); }
.pager button:hover { border-color: var(--ink); color: var(--ink); }
.pager button.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.empty { padding: 90px 20px; text-align: center; color: var(--muted); }
.empty .glyph { font-family: var(--serif); font-size: 40px; color: var(--gold); display: block; margin-bottom: 14px; }

/* ---------- 详情页 ---------- */
.detail { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.gallery { position: sticky; top: 120px; }
.gallery .art { aspect-ratio: 4 / 5; border-radius: 20px; }
.art .mono.xl { font-size: 96px; }
.thumbs { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; }
.thumbs .art { width: 82px; aspect-ratio: 1 / 1; cursor: pointer; border: 1px solid transparent; border-radius: var(--r-img-sm); padding: 0; font: inherit; }
.thumbs .art.on { border-color: var(--gold); }
.thumbs .art::after { inset: 5px; border-radius: calc(var(--r-img-sm) - 5px); }
.thumbs .art .mono { font-size: 20px; }
.thumbs .art::after { inset: 6px; border-radius: calc(var(--r-img-sm) - 6px); }
.thumbs .art .doodle { width: 30px; height: 30px; }

.buybox .brand { font-size: 11px; letter-spacing: .34em; text-transform: uppercase; color: var(--gold); }
.buybox h1 { font-family: var(--serif); font-size: clamp(24px, 3vw, 34px); letter-spacing: .06em; line-height: 1.35; margin: 14px 0 14px; }
.buybox .lead { color: var(--sub); font-size: 13.5px; max-width: 520px; }
.price-line { display: flex; align-items: baseline; gap: 14px; margin: 26px 0 6px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.price-line .now { font-family: var(--serif); font-size: 30px; letter-spacing: .04em; }
.price-line .was { color: var(--muted); text-decoration: line-through; font-size: 13px; }
.rate-line { display: flex; gap: 24px; font-size: 12.5px; color: var(--muted); letter-spacing: .08em; }
.spec { margin-top: 26px; }
.spec-row { display: flex; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line-soft); align-items: center; }
.spec-row > b { width: 66px; flex: none; font-weight: 400; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.chips { display: flex; gap: 10px; flex-wrap: wrap; }
.chip { padding: 9px 18px; border: 1px solid var(--line); font-size: 12.5px; color: var(--sub); transition: all .3s var(--ease); }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.on { border-color: var(--ink); background: var(--ink); color: #fff; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); }
.qty button { width: 40px; height: 40px; color: var(--sub); font-size: 15px; }
.qty button:hover { color: var(--gold); }
.qty input { width: 54px; height: 40px; text-align: center; border: none; border-left: 1px solid var(--line); border-right: 1px solid var(--line); background: transparent; outline: none; font-size: 13px; }
.buy-actions { display: flex; gap: 14px; margin-top: 30px; }
.buy-actions .btn { flex: 1; }
.assure { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 26px; font-size: 12px; color: var(--muted); letter-spacing: .08em; }
.tabs { display: flex; gap: 34px; border-bottom: 1px solid var(--line); margin-bottom: 30px; }
.tabs button { padding: 16px 0; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid transparent; }
.tabs button.on { color: var(--ink); border-color: var(--gold); }
.prose { max-width: 760px; }
.prose p { color: var(--sub); font-size: 13.5px; margin: 0 0 14px; }

/* ---------- 购物袋 ---------- */
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th { text-align: left; font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); font-weight: 400; padding: 0 18px 16px; border-bottom: 1px solid var(--line); }
.cart-table td { padding: 26px 18px; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
.cart-item { display: flex; align-items: center; gap: 18px; }
.cart-item .art { width: 92px; aspect-ratio: 4 / 5; flex: none; border-radius: var(--r-img-sm); }
.cart-item .art .mono { font-size: 20px; }
.cart-item .art::after { inset: 7px; border-radius: calc(var(--r-img-sm) - 7px); }
.cart-item .art .doodle, .order .art .doodle { width: 32px; height: 32px; }
.cart-item .name { font-family: var(--serif); font-size: 15px; }
.cart-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 34px; padding: 26px 0; border-top: 1px solid var(--line); }
.total { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.total b { font-family: var(--serif); font-size: 26px; color: var(--ink); font-weight: 400; margin-left: 12px; letter-spacing: .04em; }
.checkline { display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--sub); }

/* ---------- 表单 ---------- */
.auth { max-width: 460px; margin: clamp(40px, 7vw, 90px) auto; }
.auth .panel { background: var(--card); border: 1px solid var(--line); padding: clamp(28px, 4vw, 46px); }
.auth-tabs { display: flex; gap: 34px; justify-content: center; margin-bottom: 34px; }
.auth-tabs button { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); padding-bottom: 6px; border-bottom: 1px solid transparent; }
.auth-tabs button.on { color: var(--ink); border-color: var(--gold); }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.field input { width: 100%; padding: 11px 0; border: none; border-bottom: 1px solid var(--line); background: transparent; outline: none; font-size: 14px; }
.field input:focus { border-color: var(--ink); }
.field .err { color: var(--gold); font-size: 11.5px; min-height: 17px; letter-spacing: .04em; }
.third { display: flex; gap: 12px; margin-top: 26px; }
.third button { flex: 1; padding: 11px; border: 1px solid var(--line); font-size: 11.5px; letter-spacing: .12em; color: var(--sub); }
.third button:hover { border-color: var(--ink); color: var(--ink); }

/* ---------- 会员中心 ---------- */
.user-layout { display: grid; grid-template-columns: 228px 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; padding-top: 34px; }
.user-aside .who { padding-bottom: 22px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.avatar { width: 54px; height: 54px; border: 1px solid var(--gold); display: grid; place-items: center; font-family: var(--serif); font-size: 20px; color: var(--gold); }
.menu a { display: block; padding: 11px 0; font-size: 12.5px; letter-spacing: .12em; color: var(--sub); border-bottom: 1px solid transparent; }
.menu a:hover { color: var(--ink); }
.menu a.on { color: var(--gold); }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); }
.stat { padding: 26px 16px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: none; }
.stat b { display: block; font-family: var(--serif); font-size: 26px; font-weight: 400; }
.stat span { font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.order { border: 1px solid var(--line); padding: 24px; margin-bottom: 18px; background: var(--card); }
.order .head { display: flex; justify-content: space-between; font-size: 11.5px; letter-spacing: .14em; color: var(--muted); padding-bottom: 16px; border-bottom: 1px solid var(--line-soft); text-transform: uppercase; }
.status { color: var(--gold); }
.status.done { color: var(--ink); }
.addr { border: 1px solid var(--line); padding: 22px; margin-bottom: 14px; font-size: 13px; background: var(--card); }
.addr .tagline { font-size: 10px; letter-spacing: .2em; border: 1px solid var(--gold); color: var(--gold); padding: 1px 7px; margin-left: 10px; text-transform: uppercase; }

/* ---------- 页脚 ---------- */
.footer { background: var(--noir); color: #b9b3a8; padding: clamp(50px, 7vw, 84px) 0 30px; }
.footer h5 { font-family: var(--serif); font-size: 13px; letter-spacing: .22em; color: #f2ede4; margin: 0 0 20px; text-transform: uppercase; }
.footer li { font-size: 12.5px; padding: 6px 0; letter-spacing: .06em; }
.footer li a:hover { color: var(--gold-2); }
/* ---------- 顶部：联系方式入口（一个图标按钮 + 下拉面板） ---------- */
.head-contact { position: relative; }
.hc-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 3px 13px 3px 4px;
  border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; color: inherit;
  font-size: 11px; letter-spacing: .12em; transition: all .3s var(--ease);
}
.hc-btn:hover, .head-contact.open .hc-btn { border-color: var(--gold-2); color: var(--gold-2); }
.hc-ic {
  width: 22px; height: 22px; border-radius: 50%; flex: none;
  border: 1px solid rgba(255, 255, 255, .22); display: grid; place-items: center;
}
.hc-ic svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.hc-menu {
  position: absolute; top: calc(100% + 14px); right: 0; width: 248px; z-index: 70;
  background: #fff; border-radius: 14px; padding: 8px; display: none;
  box-shadow: 0 22px 60px rgba(10, 10, 12, .26);
}
.head-contact.open .hc-menu { display: block; animation: langIn .22s var(--ease); }
.hc-item {
  display: flex; align-items: center; gap: 11px; padding: 9px 12px;
  border-radius: 9px; color: #3a3a3c; transition: background .22s var(--ease);
}
.hc-item:hover { background: var(--gold-soft); }
.hc-item-ic {
  width: 30px; height: 30px; border-radius: 50%; flex: none;
  border: 1px solid var(--line); display: grid; place-items: center; color: #6f6a62;
  transition: all .25s var(--ease);
}
.hc-item-ic svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.hc-item b { font-size: 12.5px; font-weight: 400; letter-spacing: .04em; }
.hc-go { margin-left: auto; color: #a8a29a; font-size: 12px; transition: all .25s var(--ease); }
.hc-item:hover .hc-go { color: var(--gold); transform: translate(2px, -2px); }
.hc-item[data-app="whatsapp"]:hover .hc-item-ic { background: #25d366; border-color: #25d366; color: #fff; }
.hc-item[data-app="telegram"]:hover .hc-item-ic,
.hc-item[data-app="telegramChannel"]:hover .hc-item-ic { background: #229ed9; border-color: #229ed9; color: #fff; }
.hc-item[data-app="line"]:hover .hc-item-ic { background: #06c755; border-color: #06c755; color: #fff; }

/* ---------- 运费与时效查询 ---------- */
.ship-head h2 { color: #f5f1ea; }
.ship-wrap { max-width: 760px; margin: 0 auto; display: grid; gap: 18px; }
.ship-form {
  background: #17171a; border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 18px; padding: 26px 26px 22px;
}
.ship-form .field { margin-bottom: 16px; }
.ship-form label { display: block; font-size: 12px; letter-spacing: .12em; color: #9b958c; margin-bottom: 8px; }
.ship-input {
  width: 100%; background: #0f0f11; border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 10px; color: #f2ede4; font-family: inherit; font-size: 14px; padding: 13px 14px;
  transition: border-color .25s var(--ease);
}
.ship-input:focus { outline: none; border-color: var(--gold-2); }
.ship-area { resize: vertical; min-height: 62px; line-height: 1.6; }
.ship-btn {
  width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px; border-radius: 10px; background: #f2ede4; color: #14141a;
  font-size: 13.5px; letter-spacing: .14em; transition: all .3s var(--ease);
}
.ship-btn:hover:not(:disabled) { background: #fff; }
.ship-btn:disabled { opacity: .55; cursor: default; }
.ship-btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ship-tip { font-size: 11px; color: #7d776e; margin-top: 12px; line-height: 1.8; }

.ship-card { background: #17171a; border: 1px solid rgba(255, 255, 255, .1); border-radius: 18px; padding: 24px 26px; }
.ship-idle { text-align: center; color: #9b958c; display: grid; gap: 10px; justify-items: center; }
.ship-idle-ic svg { width: 26px; height: 26px; fill: none; stroke: #6f6a62; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.ship-idle b { font-size: 13px; font-weight: 400; color: #cfc9bf; letter-spacing: .06em; }
.ship-zones-line { font-size: 11px; color: #6f6a62; letter-spacing: .04em; line-height: 1.8; }

.ship-meta {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 20px;
  padding-bottom: 18px; border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.ship-label { display: block; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: #7d776e; margin-bottom: 8px; }
.ship-zone b { font-size: 20px; font-weight: 400; letter-spacing: .08em; color: #f5f1ea; }
.ship-carrier { margin-left: 12px; font-size: 11.5px; color: var(--gold-2); letter-spacing: .08em; }
.ship-fee { text-align: right; }
.ship-fee b { font-family: var(--serif); font-size: 30px; color: var(--gold-2); letter-spacing: .02em; }
.ship-rows { padding: 16px 0 4px; }
.ship-row { display: flex; justify-content: space-between; gap: 16px; font-size: 12.5px; color: #9b958c; padding: 6px 0; }
.ship-row b { color: #e8e3d9; font-weight: 400; letter-spacing: .04em; }
.ship-note { font-size: 11.5px; color: #7d776e; margin-top: 12px; }
.ship-warn { font-size: 11.5px; color: var(--gold-2); margin-top: 8px; line-height: 1.7; }
@media (max-width: 620px) {
  .ship-meta { flex-direction: column; align-items: flex-start; }
  .ship-fee { text-align: left; }
}

/* ---------- 页脚：联系方式 + 四个平铺的 App 入口 ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(24px, 4vw, 64px); align-items: start; }
.contact .lead { font-size: 12.5px; color: #8b857b; max-width: 380px; margin: 0 0 20px; line-height: 1.9; }
.contact .line { display: flex; gap: 14px; font-size: 12.5px; color: #8b857b; padding: 6px 0; letter-spacing: .06em; }
.contact .line span { min-width: 64px; color: #6f6a62; }
.contact .line b { color: #e8e3d9; font-weight: 400; letter-spacing: .08em; }

.apps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.app {
  display: flex; align-items: center; gap: 13px; padding: 13px 15px;
  border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .02);
  transition: all .35s var(--ease);
}
.app .app-ic {
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  border: 1px solid rgba(255, 255, 255, .22); color: #d8d2c7;
  display: grid; place-items: center; transition: all .35s var(--ease);
}
.app .app-ic svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.app .tx { min-width: 0; }
.app .tx b { display: block; font-size: 12.5px; color: #f2ede4; letter-spacing: .06em; font-weight: 400; }
.app .tx i { font-style: normal; font-size: 11px; color: #837d74; letter-spacing: .04em; }
.app .go { margin-left: auto; color: #6f6a62; font-size: 13px; transition: all .35s var(--ease); }
.app:hover { transform: translateY(-2px); }
.app:hover .go { color: var(--gold-2); transform: translate(2px, -2px); }
/* 悬停点亮品牌色，便于一眼识别 */
.app[data-app="whatsapp"]:hover { border-color: #25d366; background: rgba(37, 211, 102, .08); }
.app[data-app="whatsapp"]:hover .app-ic { background: #25d366; border-color: #25d366; color: #0d0d0d; }
.app[data-app="telegram"]:hover, .app[data-app="telegramChannel"]:hover { border-color: #229ed9; background: rgba(34, 158, 217, .08); }
.app[data-app="telegram"]:hover .app-ic, .app[data-app="telegramChannel"]:hover .app-ic { background: #229ed9; border-color: #229ed9; color: #fff; }
.app[data-app="line"]:hover { border-color: #06c755; background: rgba(6, 199, 85, .08); }
.app[data-app="line"]:hover .app-ic { background: #06c755; border-color: #06c755; color: #fff; }
.footer .copy { margin-top: 52px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 11.5px; letter-spacing: .1em; color: #8b857b; }

/* ---------- Toast / 弹窗 ---------- */
.toast-wrap { position: fixed; top: 108px; right: 28px; z-index: 90; display: flex; flex-direction: column; gap: 10px; }
.toast {
  background: var(--noir); color: #f2ede4; padding: 14px 22px; font-size: 12.5px; letter-spacing: .1em;
  border-left: 2px solid var(--gold); box-shadow: 0 18px 44px rgba(20, 18, 14, .22);
  animation: fadeUp .4s var(--ease);
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.modal { position: fixed; inset: 0; background: rgba(14, 14, 15, .55); z-index: 80; display: grid; place-items: center; padding: 20px; }
.modal .box { background: #fff; padding: 46px; max-width: 430px; width: 100%; text-align: center; box-shadow: 0 40px 90px rgba(0, 0, 0, .3); }
.modal .box .glyph { font-family: var(--serif); font-size: 40px; color: var(--gold); }
.modal .box h3 { font-family: var(--serif); font-size: 22px; letter-spacing: .12em; margin: 16px 0 10px; }

/* ---------- 滚动渐显 ---------- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .95s var(--ease), transform .95s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .slide { transition: none; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1180px) {
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .contact { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  .header .bar { grid-template-columns: auto 1fr auto; }
  .head-nav { display: none; }
  .detail, .editorial, .layout, .user-layout, .cta-band { grid-template-columns: 1fr; }
  .gallery, .filters { position: static; }
  .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .sale { grid-template-columns: repeat(2, 1fr); }
  .perks { grid-template-columns: repeat(2, 1fr); }
  .perk { border-bottom: 1px solid var(--line); }
}
/* =====================================================================
   移动端适配
   ≤960px：顶栏导航收入抽屉；图片网格改 2 列；筛选面板可折叠
   ≤620px：更紧凑的间距与字号；5 图缩略图缩到一行放得下
   ≤420px：小屏手机（iPhone SE 等）
   ===================================================================== */
.header .bar { position: relative; }

/* 汉堡按钮（桌面隐藏） */
.burger {
  display: none; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; padding: 0; place-items: center;
}
.burger span { display: block; width: 20px; height: 1.5px; background: var(--ink); margin: 5px auto; transition: background .25s var(--ease); }
.burger:active span { background: var(--gold); }

/* 抽屉导航 */
.nd-mask {
  position: fixed; inset: 0; z-index: 94; background: rgba(14, 14, 15, .5);
  opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s;
}
.nd-mask.show { opacity: 1; visibility: visible; }
.nav-drawer {
  position: fixed; left: 0; top: 0; bottom: 0; z-index: 95; width: min(88vw, 372px);
  background: #fff; display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain;
  transform: translateX(-102%); transition: transform .42s var(--ease);
  box-shadow: 24px 0 60px rgba(10, 10, 12, .18);
}
.nav-drawer.open { transform: none; }
body.menu-open { overflow: hidden; }
.nd-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 18px 16px; border-bottom: 1px solid var(--line);
  position: sticky; top: 0; background: #fff; z-index: 2;
}
.nd-logo { font-family: var(--logo-font); font-weight: 700; font-size: 14px; letter-spacing: 3px; text-indent: 3px; }
.nd-logo small { display: block; font-weight: 400; font-size: 7.5px; letter-spacing: .26em; color: var(--muted); margin-top: 5px; }
.nd-close { font-size: 26px; line-height: 1; color: var(--muted); width: 44px; height: 44px; }
.nd-group { border-bottom: 1px solid var(--line-soft); }
.nd-cat { display: flex; align-items: center; gap: 10px; padding: 16px 18px 10px; font-family: var(--serif); font-size: 17px; letter-spacing: .16em; }
.nd-cat i { font-style: normal; font-size: 9.5px; letter-spacing: .24em; color: var(--muted); text-transform: uppercase; margin-left: auto; }
.nd-cat .nd-mark { width: 22px; height: 22px; flex: none; stroke: var(--gold); }
.nd-subs { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 18px 16px; }
.nd-subs a { font-size: 12px; letter-spacing: .08em; color: var(--ink-2); border: 1px solid var(--line); border-radius: 999px; padding: 8px 13px; }
.nd-subs a:active { border-color: var(--gold); color: var(--gold); }
.nd-all { display: block; padding: 18px; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; }
.nd-foot { margin-top: auto; border-top: 1px solid var(--line); padding: 18px 18px 26px; }
.nd-tools { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; text-align: center; }
.nd-tools a { display: grid; gap: 8px; justify-items: center; font-size: 11px; letter-spacing: .1em; color: var(--ink-2); padding: 12px 4px; border: 1px solid var(--line); border-radius: 10px; }
.nd-tools svg { width: 19px; height: 19px; stroke: var(--ink); fill: none; stroke-width: 1.3; }
.nd-lang { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0; }
.nd-lang button { font-size: 11.5px; letter-spacing: .08em; color: var(--ink-2); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; transition: all .25s var(--ease); }
.nd-lang button.on { border-color: var(--gold); color: var(--gold); }
.nd-apps { display: grid; gap: 8px; }
.nd-app { display: flex; align-items: center; gap: 12px; padding: 11px 13px; border: 1px solid var(--line); border-radius: 12px; }
.nd-app-ic { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink-2); flex: none; }
.nd-app-ic svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.nd-app b { font-size: 12.5px; font-weight: 400; letter-spacing: .06em; }
.nd-app .hc-go { margin-left: auto; color: var(--muted); font-size: 12px; }
.nd-app[data-app="whatsapp"]:active .nd-app-ic { background: #25d366; border-color: #25d366; color: #fff; }
.nd-app[data-app="telegram"]:active .nd-app-ic, .nd-app[data-app="telegramChannel"]:active .nd-app-ic { background: #229ed9; border-color: #229ed9; color: #fff; }
.nd-app[data-app="line"]:active .nd-app-ic { background: #06c755; border-color: #06c755; color: #fff; }

/* 移动端筛选开关（桌面隐藏） */
.filters-toggle { display: none; }

@media (max-width: 960px) {
  /* 顶栏：汉堡 + 居中字标 + 购物袋（搜索/账户收进抽屉） */
  .burger { display: grid; }
  .header .bar { grid-template-columns: 44px 1fr auto; gap: 8px; }
  .head-nav { display: none; }
  .logo { grid-column: 2; justify-self: center; }
  .head-tools { grid-column: 3; gap: 4px; }
  .head-tools .tool:not(:last-child) { display: none; }
  .head-tools .tool span:not(.badge) { display: none; }
  .head-tools .tool svg { width: 21px; height: 21px; }

  /* 图片网格统一 2 列 */
  .grid-4, .grid-3, .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .maisons { grid-template-columns: repeat(2, 1fr); }
  .sale { grid-template-columns: repeat(2, 1fr); }
  .perks { grid-template-columns: repeat(2, 1fr); }
  .perk { padding: 26px 14px; }

  /* 列表页：筛选面板默认收起，点「筛选」展开 */
  .filters-toggle {
    display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px;
    font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
    border: 1px solid var(--line); padding: 11px 18px; border-radius: 999px; color: var(--ink-2);
  }
  .filters-toggle.on { border-color: var(--gold); color: var(--gold); }
  .filters { display: none; margin-bottom: 22px; }
  .filters.open { display: block; }

  /* 详情页 / 购物袋 / 会员中心 */
  .detail, .layout, .user-layout { gap: 30px; }
  .buybox { position: static; }
  .thumbs { gap: 10px; }
  .toast-wrap { top: 96px; left: 16px; right: 16px; }
  .modal .box { padding: 32px 22px; }
}

@media (max-width: 620px) {
  .wrap { width: calc(100% - 32px); }

  /* 公告栏：只留公告文字 + 语言切换，联系与登录进抽屉 */
  .announce .wrap { height: 40px; gap: 12px; }
  .announce .row:first-child { min-width: 0; }
  .announce .row:first-child span { font-size: 10.5px; letter-spacing: .06em; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .head-contact, #head-member { display: none; }
  .lang-btn { gap: 5px; font-size: 11px; letter-spacing: .1em; }
  .lang-menu { min-width: 152px; }
  .lang-menu button { padding: 11px 18px; }

  /* 主视觉 */
  .hero, .slides { height: 41vh; min-height: 270px; }
  .slide .inner { padding: 0 8px; }
  .slide h2 { font-size: clamp(26px, 9vw, 40px); }
  .slide p { font-size: 12.5px; max-width: 92%; }
  .slide-cta { gap: 10px; }
  .slide-cta .btn { padding: 12px 20px; font-size: 11.5px; }
  .arrows { display: none; }   /* 触屏左右滑动 + 圆点即可，隐藏箭头避免压住文案 */

  /* 区块标题 */
  .head-c { margin-bottom: 26px; }
  .head-c h2 { font-size: clamp(22px, 6.6vw, 30px); }
  .head-c p { font-size: 12.5px; }
  .section { padding: 46px 0; }

  /* 商品卡：缩小字号与留白 */
  .grid { gap: 14px; }
  .p-card .info { padding: 12px 0 0; }
  .p-card .name { font-size: 13.5px; height: 40px; margin: 6px 0 4px; }
  .p-card .brand { font-size: 9.5px; letter-spacing: .22em; }
  .p-card .price { font-size: 13px; }
  .p-card .gal-dots { display: none; }   /* 手机无悬停，圆点轮播提示无意义 */
  .p-card .flag { top: 12px; left: 12px; font-size: 9px; padding: 4px 9px; }
  .p-card .quick { display: none; }

  /* 品类 / 品牌 / 服务条 */
  .cats { grid-template-columns: repeat(3, 1fr); }
  .cat { padding: 20px 6px; }
  .cat .zh { font-size: 14px; letter-spacing: .1em; }
  .cat .en { font-size: 8.5px; letter-spacing: .18em; }
  .cat .doodle { width: 36px; height: 36px; margin-bottom: 10px; }
  .maison { padding: 22px 10px; }
  .maison .mark { max-width: 76px; height: 38px; }
  .maison .n { font-size: 13px; letter-spacing: .16em; }
  .maison .c { font-size: 9.5px; letter-spacing: .1em; }
  .perk { padding: 22px 10px; }
  .perk b { font-size: 13.5px; letter-spacing: .08em; }
  .perk span { font-size: 10.5px; }
  .perk .ic, .perk svg { width: 22px; height: 22px; }

  /* 私享特惠 */
  .sale .item { padding: 14px 12px; }
  .sale .name { font-size: 12.5px; height: 38px; }
  .sale .price { font-size: 14px; }

  /* 运费查询 */
  .ship-form { padding: 20px 18px 18px; }
  .ship-card { padding: 20px 18px; }
  .ship-btn { padding: 14px; font-size: 12.5px; }
  .ship-zone b { font-size: 17px; }
  .ship-fee b { font-size: 26px; }

  /* 排序条：手机上横向滚动，避免文字换行拆字 */
  .sort {
    gap: 18px; overflow-x: auto; white-space: nowrap; margin: 0 -16px; padding: 0 16px 6px;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .sort::-webkit-scrollbar { display: none; }
  .sort button { flex: none; letter-spacing: .12em; }

  /* 详情页画廊：5 图缩到一行放得下 */
  .thumbs { gap: 8px; }
  .thumbs .art { width: 62px; }
  .buybox h1 { font-size: 22px; }
  .price-line .now { font-size: 24px; }
  .spec-row { flex-direction: column; align-items: flex-start; gap: 10px; }
  .buy-actions { grid-template-columns: 1fr; }
  .buy-actions .btn { padding: 15px; }

  /* 页脚 */
  .contact .line { gap: 8px; }
  .footer .copy { margin-top: 32px; font-size: 10.5px; letter-spacing: .06em; }
  .apps { grid-template-columns: 1fr; }
  .app { padding: 12px 14px; }

  /* 其它页面 */
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .head-row { flex-direction: column; align-items: flex-start; }
  .header .bar { height: 64px; }
  .logo { font-size: 13.5px; letter-spacing: .24em; }
  .logo small { font-size: 7.5px; letter-spacing: .26em; }
  .cart-table thead { display: none; }
  .cart-table td { display: block; padding: 14px 0; }
  .cart-table td:first-child { padding-bottom: 0; }
}

@media (max-width: 420px) {
  .grid-4, .grid-3, .grid-5, .grid-2 { grid-template-columns: 1fr 1fr; }
  .thumbs .art { width: 58px; }
  .header .bar { height: 58px; }
  .logo { font-size: 12.5px; letter-spacing: .2em; }
  .logo small { font-size: 7px; letter-spacing: .22em; }
  .perks { grid-template-columns: 1fr; }
}

/* ---------- 登录 / 注册：全球手机号 + 滑块验证 ---------- */
.phone-row { display: flex; gap: 10px; }
.phone-row select {
  flex: none; width: auto; max-width: 46%; padding: 12px 34px 12px 14px;
  border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink);
  font-family: inherit; font-size: 13px; letter-spacing: .02em; cursor: pointer;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
  background-size: 5px 5px, 5px 5px; background-repeat: no-repeat;
}
.phone-row input { flex: 1; min-width: 0; }

.slider-cap {
  position: relative; height: 48px; border-radius: 8px; overflow: hidden;
  background: #f1ece3; border: 1px solid var(--line); user-select: none;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.slider-cap .sc-track {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 12px; letter-spacing: .1em; color: #9a948b;
}
.slider-cap .sc-hint { position: relative; z-index: 1; font-size: 12px; letter-spacing: .1em; color: #9a948b; pointer-events: none; }
.slider-cap .sc-fill {
  position: absolute; left: 0; top: 0; bottom: 0; width: 0;
  background: linear-gradient(90deg, rgba(176, 141, 87, .18), rgba(176, 141, 87, .34));
  transition: width .12s linear;
}
.slider-cap .sc-thumb {
  position: absolute; left: 0; top: 0; width: 48px; height: 46px; z-index: 2;
  display: grid; place-items: center; background: #fff; border: 1px solid var(--line);
  border-radius: 8px; cursor: grab; touch-action: none;
  transition: transform .12s linear, background .3s var(--ease), border-color .3s var(--ease);
}
.slider-cap .sc-thumb svg { width: 18px; height: 18px; fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.slider-cap.drag { border-color: var(--gold); }
.slider-cap.drag .sc-thumb { cursor: grabbing; transition: none; }
.slider-cap.done { border-color: #7aa86a; background: #eef4ea; }
.slider-cap.done .sc-fill { width: 100% !important; background: rgba(122, 168, 106, .22); }
.slider-cap.done .sc-thumb { background: #7aa86a; border-color: #7aa86a; }
.slider-cap.done .sc-thumb svg { stroke: #fff; }
.slider-cap.done .sc-hint { color: #5c7a4e; }
.slider-cap.shake { animation: capShake .5s var(--ease); }
@keyframes capShake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px); } 40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); } 80% { transform: translateX(4px); }
}