 
:root {
  --bg: #ffffff;
  --bg-soft: #f7f5f0;
  --card: #ffffff;
  --gold: #b3955c;
  --gold-dark: #96794a;
  --gold-soft: #d3bd93;
  --ink: #3a342c;
  --ink-soft: #847c6e;
  --line: #edebe5;
  --white: #ffffff;
  --hero-1: #efe9db;
  --hero-2: #ddd0b2;
 
  --ease: cubic-bezier(.45, 0, .18, 1);
  --shadow: 0 14px 34px rgba(120, 100, 62, .10);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body {
  
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.container { width: min(1400px, 92%); margin: 0 auto; }
.section { padding: 74px 0; }

/* ---------- 占位图（后期替换为标签输出 <img>） ---------- */
.ph {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #f4f2ed, #ecebe5);
  overflow: hidden;
}
.ph svg { width: 42%; height: 42%; stroke: #c0b494; fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ph svg .fill { fill: rgba(192, 180, 148, .18); }
.ph svg .dash { stroke-dasharray: 6 7; }
.ph svg .thick { stroke-width: 4.5; }
.ph--slide { position: absolute; inset: 0; }
.ph--slide svg { width: min(46%, 520px); height: 74%; stroke: #a68d5f; opacity: .9; }
.ph--cat { width: 100%; aspect-ratio: 1 / .82; border-radius: 8px; transition: transform .5s var(--ease); }
.ph--p { width: 100%; aspect-ratio: 1 / 1; border-radius: 4px; }

/* ---------- 顶部公告条 ---------- */
.topbar {
  background: #f6f3ec;
  color: #9a917f;
  text-align: center;
  font-size: 11px;
  letter-spacing: 2px;
  padding: 9px 16px;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line);
}

/* ---------- 头部 ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}
.header.is-stuck { box-shadow: 0 6px 24px rgba(120, 100, 62, .10); }
.header__inner {
  width: min(1400px, 94%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 24px;
}
.logo {
  
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 5px;
  color: var(--ink);
  white-space: nowrap;
}
.logo { flex: 1; min-width: 0; overflow: hidden; }
.logo img { max-height: 46px; width: auto; max-width: 220px; object-fit: contain; }
.nav { display: flex; gap: 40px; }
.nav__link {
  font-size: 14px;
  letter-spacing: 1px;
  color: var(--ink-soft);
  position: relative;
  padding: 6px 0;
  transition: color .25s;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1.5px;
  background: var(--gold);
  transition: width .3s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: var(--ink); }
.nav__link:hover::after, .nav__link.is-active::after { width: 100%; }

.header__acts { display: flex; align-items: center; gap: 4px; flex: none; }
.header__acts .icon-btn, .header__acts .burger { flex: none; }
.icon-btn {
  position: relative;
  width: 40px; height: 40px;
  border: 0; background: transparent;
  cursor: pointer;
  border-radius: 50%;
  display: grid; place-items: center;
  transition: background .25s;
}
.icon-btn:hover { background: rgba(168, 135, 79, .12); }
.icon-btn svg { width: 20px; height: 20px; stroke: var(--ink); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.cart-badge {
  position: absolute;
  top: 3px; right: 2px;
  min-width: 16px; height: 16px;
  border-radius: 8px;
  background: var(--gold);
  color: #fff;
  font-size: 10px;
  line-height: 16px;
  text-align: center;
  padding: 0 4px;
}
.burger { display: none; }
.nav__close { display: none; }

/* ---------- 幻灯大图（导航下方通栏） ---------- */
.hero-slider {
  position: relative;
  height: 560px;
  overflow: hidden;
}
.hero-slider .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .9s var(--ease), visibility .9s;
}
.hero-slider .slide.is-active { opacity: 1; visibility: visible; }
.hero-slider .slide__inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.hero-slider .eyebrow {
  font-size: 12px;
  letter-spacing: 5px;
  color: #8a744e;
  margin-bottom: 16px;
}
.hero-slider .slide__title {
  
  font-size: clamp(44px, 6vw, 74px);
  font-weight: 600;
  letter-spacing: 10px;
  line-height: 1.08;
  color: #fffdf8;
  text-shadow: 0 2px 26px rgba(120, 96, 55, .28);
  margin-bottom: 20px;
}
.hero-slider .slide__desc {
  color: #6d6250;
  max-width: 560px;
  margin-bottom: 36px;
}
.hero-slider .slide:nth-child(2) .slide__inner { align-items: center; text-align: center; }
.hero-slider .slide:nth-child(2) .slide__desc { margin-left: auto; margin-right: auto; }
.hero-slider .slide:nth-child(3) .slide__inner { align-items: flex-end; text-align: right; }
.hero-slider .slide:nth-child(3) .slide__desc { margin-left: auto; }
.hero-slider .slide:nth-child(1) .ph--slide { background: linear-gradient(105deg, #f2ecdd 0%, #eae0c9 46%, #ddd0ae 100%); }
.hero-slider .slide:nth-child(2) .ph--slide { background: linear-gradient(105deg, #e9ddc2 0%, #f0e8d5 50%, #e3d6b8 100%); }
.hero-slider .slide:nth-child(3) .ph--slide { background: linear-gradient(105deg, #e0d3b6 0%, #ece3cf 55%, #f2ecdb 100%); }

.btn {
  display: inline-block;
  padding: 14px 36px;
  font-size: 13px;
  letter-spacing: 2px;
  border-radius: 3px;
  transition: all .3s var(--ease);
}
.btn--gold { background: var(--gold); color: #fff; }
.btn--gold:hover { background: var(--gold-dark); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(143, 112, 64, .32); }

/* 幻灯圆点与箭头 */
.slider-dots {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}
.slider-dots button {
  width: 26px; height: 3px;
  border: 0;
  border-radius: 2px;
  background: rgba(255, 253, 248, .55);
  cursor: pointer;
  transition: background .3s, width .3s;
}
.slider-dots button.is-active { background: #fffdf8; width: 38px; }
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 46px; height: 46px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 253, 248, .35);
  backdrop-filter: blur(4px);
  cursor: pointer;
  display: grid; place-items: center;
  opacity: 0;
  transition: opacity .3s, background .3s;
}
.hero-slider:hover .slider-arrow { opacity: 1; }
.slider-arrow:hover { background: rgba(255, 253, 248, .7); }
.slider-arrow svg { width: 18px; height: 18px; stroke: var(--ink); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.slider-arrow--prev { left: 22px; }
.slider-arrow--next { right: 22px; }

/* ---------- 服务承诺条 ---------- */
.strip { background: var(--white); border-bottom: 1px solid var(--line); }
.strip__inner {
  width: min(1400px, 92%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.strip__item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 22px 10px;
  font-size: 13px;
  letter-spacing: 1px;
  color: var(--ink-soft);
}
.strip__item + .strip__item { border-left: 1px solid var(--line); }
.strip__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex: none; }

/* ---------- 通用标题 ---------- */
.sec-head { text-align: center; margin-bottom: 46px; }
.sec-title {
  
  font-size: 32px;
  font-weight: 600;
  letter-spacing: 6px;
}
.sec-head--left {
  text-align: left;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "eyebrow more" "title more" "sub more";
  align-items: end;
  column-gap: 20px;
  margin-bottom: 36px;
}
.sec-head--left .eyebrow { grid-area: eyebrow; margin-bottom: 6px; }
.sec-head--left .sec-title { grid-area: title; }
.sec-head--left .sec-sub { grid-area: sub; color: var(--ink-soft); font-size: 13px; letter-spacing: 1px; margin-top: 8px; }
.more {
  grid-area: more;
  align-self: center;
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 3px;
  transition: color .25s, letter-spacing .3s;
  white-space: nowrap;
}
.more:hover { color: var(--gold-dark); letter-spacing: 3px; }
.more span { color: var(--gold); }

/* ---------- 品类卡片 ---------- */
.cats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.cat-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px 18px 26px;
  text-align: center;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.cat-card:hover .ph--cat { transform: scale(1.04); }
.cat-card__tag {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 2;
  background: var(--ink);
  color: #ead9b8;
  font-size: 10px;
  letter-spacing: 2px;
  padding: 4px 10px;
  border-radius: 2px;
}
.cat-card__name { font-size: 17px; letter-spacing: 3px; margin: 20px 0 4px; font-weight: 600; }
.cat-card__sub { font-size: 12px; color: var(--ink-soft); letter-spacing: 1px; }

/* ---------- 产品区块 ---------- */
.goods--alt { background: var(--bg-soft); }
.goods__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.p-card { display: block; }
.p-card__media {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--card);
}
.p-card__media .ph--p { transition: transform .55s var(--ease); }
.p-card:hover .ph--p { transform: scale(1.05); }
.p-card__tags {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.p-card__tag {
  background: rgba(51, 46, 40, .92);
  color: #ead9b8;
  font-size: 10px;
  letter-spacing: 2px;
  padding: 4px 10px;
  border-radius: 2px;
}
.p-card__tag:empty { display: none; }
.p-card__info { padding: 16px 4px 0; }
.p-card__cat {
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}
.p-card__name { font-size: 15px; font-weight: 600; letter-spacing: 1px; margin-bottom: 4px; transition: color .25s; }
.p-card:hover .p-card__name { color: var(--gold-dark); }
.p-card__price { font-size: 13px; color: var(--ink-soft); letter-spacing: 1px; }
/* 产品卡加购图标 */
.p-card__cart {
  position: absolute;
  right: 12px; bottom: 12px;
  z-index: 3;
  width: 40px; height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  color: var(--ink);
  font-size: 15px;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(120, 100, 62, .18);
  opacity: 0;
  transform: translateY(8px);
  transition: all .3s var(--ease);
}
.p-card:hover .p-card__cart, .p-card__cart:focus-visible { opacity: 1; transform: none; }
.p-card__cart:hover { background: var(--gold); color: #fff; }
.p-card__cart.in-cart { background: var(--gold); color: #fff; opacity: 1; transform: none; }
/* 触屏设备没有悬停，直接常显 */
@media (hover: none) {
  .p-card__cart { opacity: 1; transform: none; }
}

/* 栏目暂无内容时的提示 */
.goods__grid.is-empty::after {
  content: "该栏目暂未上架商品，请到后台添加内容";
  grid-column: 1 / -1;
  text-align: center;
  padding: 46px 20px;
  color: var(--ink-soft);
  font-size: 14px;
  letter-spacing: 1px;
  background: var(--card);
  border: 1px dashed var(--line);
  border-radius: 8px;
}

/* ---------- 页脚 ---------- */
.footer { background: #262019; color: #c9bda8; }
.footer__inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding: 64px 0 48px;
}
.footer__logo {  font-size: 24px; letter-spacing: 5px; color: #f0e6d2; margin-bottom: 16px; }
.footer__desc { font-size: 13px; line-height: 2; max-width: 340px; }
.footer__col h4 {
  color: #f0e6d2;
  font-size: 14px;
  letter-spacing: 3px;
  margin-bottom: 18px;
  font-weight: 600;
}
.footer__col a {
  display: block;
  font-size: 13px;
  padding: 5px 0;
  color: #a89a83;
  transition: color .25s, padding-left .25s;
}
.footer__col a:hover { color: #e6c98f; padding-left: 5px; }
.footer__bottom { border-top: 1px solid rgba(233, 223, 205, .12); }
.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding: 18px 0;
  font-size: 12px;
  letter-spacing: 1px;
  color: #877a64;
}

/* ---------- 滚动进度条 ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold));
  z-index: 200;
  transition: width .12s linear;
  pointer-events: none;
}

/* ---------- 幻灯文字逐条入场 ---------- */
.hero-slider .slide__inner > * {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.hero-slider .slide.is-active .slide__inner > * { opacity: 1; transform: none; }
.hero-slider .slide.is-active .slide__inner > *:nth-child(1) { transition-delay: .25s; }
.hero-slider .slide.is-active .slide__inner > *:nth-child(2) { transition-delay: .42s; }
.hero-slider .slide.is-active .slide__inner > *:nth-child(3) { transition-delay: .58s; }
.hero-slider .slide.is-active .slide__inner > *:nth-child(4) { transition-delay: .74s; }

/* ---------- 图片入场微缩放（配合 .reveal） ---------- */
.reveal .ph { transform: scale(1.07); transition: transform 1.2s var(--ease); }
.reveal.is-in .ph { transform: none; }

/* ---------- 产品卡悬停扫光 ---------- */
.p-card__media::after {
  content: "";
  position: absolute;
  top: 0; left: -130%;
  width: 70%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .5), transparent);
  transform: skewX(-18deg);
  transition: left .65s var(--ease);
  pointer-events: none;
  z-index: 1;
}
.p-card:hover .p-card__media::after { left: 150%; }

/* ---------- 按钮扫光 ---------- */
.btn { position: relative; overflow: hidden; }
.btn::before {
  content: "";
  position: absolute;
  top: 0; left: -130%;
  width: 60%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .35), transparent);
  transform: skewX(-18deg);
  transition: left .6s var(--ease);
}
.btn:hover::before { left: 160%; }

/* ---------- 购物袋角标呼吸 ---------- */
@keyframes badgePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.22); }
}
.cart-badge { animation: badgePulse 2.4s ease-in-out infinite; }

/* ---------- 品类卡图标悬停浮动 ---------- */
.cat-card .ph svg { transition: transform .5s var(--ease); }
.cat-card:hover .ph svg { transform: translateY(-6px); }

/* ---------- 更多链接箭头滑动 ---------- */
.more span { display: inline-block; transition: transform .3s var(--ease); }
.more:hover span { transform: translateX(5px); }

/* ---------- 返回顶部 ---------- */
.to-top {
  position: fixed;
  right: 26px; bottom: 26px;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  cursor: pointer;
  display: grid; place-items: center;
  opacity: 0; visibility: hidden;
  transform: translateY(12px);
  transition: all .35s var(--ease);
  z-index: 90;
  box-shadow: 0 8px 20px rgba(120, 100, 62, .14);
}
.to-top.is-show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--ink); }
.to-top:hover svg { stroke: #f0e6d2; }
.to-top svg { width: 18px; height: 18px; stroke: var(--ink); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- 入场动画 ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   首页专属补充（原 index.html 内联样式）
   ========================================================================== */
/* 图片容器：CMS 输出真实图片时铺满 */
.ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph--slide img { width: 100%; height: 100%; object-fit: cover; }
.cat-card .ph--cat img, .p-card__media .ph--p img { transition: transform .55s var(--ease); }
.cat-card:hover .ph--cat img, .p-card:hover .ph--p img { transform: scale(1.05); }

/* 顶栏（公告 + 语言切换） */
.topbar__inner { width: min(1400px, 92%); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.topbar__inner p { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; }
.topbar__lang { flex: none; }
.lang-switcher { position: relative; display: inline-block; }
/* 头部内的语言按钮：手机端专用（桌面端翻译仍在顶部公告栏，故默认隐藏） */
.header__shop .lang-switcher { display: none; vertical-align: middle; }
.header__shop .lang-btn {
  display: flex; align-items: center; gap: 6px;
  height: 40px; padding: 0 12px;
  background: transparent; border: 0;
  border-radius: 20px; cursor: pointer;
  color: var(--ink); transition: background .25s, color .25s;
}
.header__shop .lang-btn:hover { background: rgba(168, 135, 79, .12); color: var(--gold); }
.header__shop .lang-btn > i:first-child { font-size: 17px; line-height: 1; }
.header__shop .lang-name { font-size: 13px; letter-spacing: .5px; }
.header__shop .lang-arrow { font-size: 10px; }
.lang-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 4px 10px; background: transparent; border: 0;
  border-radius: 6px; cursor: pointer; font-size: 13px;
  color: #9a917f; transition: all .3s;
}
.lang-btn:hover { color: var(--gold); }
.lang-arrow { font-size: 10px; transition: transform .3s; }
.lang-switcher.open .lang-arrow { transform: rotate(180deg); }
.lang-dropdown {
  position: absolute; top: calc(100% + 6px); right: 0; min-width: 160px;
  background: #fff; border-radius: 8px; box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
  overflow: hidden; opacity: 0; visibility: hidden; transform: translateY(-10px);
  transition: all .3s; z-index: 1200; border: 1px solid #eee;
}
.lang-switcher.open .lang-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-item {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 16px; text-decoration: none; color: #333;
  font-size: 14px; transition: background .2s;
}
.lang-item:hover { background: #f5f5f5; }
.lang-item.active { background: #b3955c; color: #fff; }
.lang-item i { font-size: 12px; width: 16px; text-align: center; }
#translate { display: none; }

/* 头部右侧 3 个图标（搜索/订单查询/购物车） */
.header__shop { display: flex; align-items: center; gap: 2px; }
.nx-bump { animation: nxBadgeBump .5s ease; }
@keyframes nxBadgeBump { 0% { transform: scale(1); } 40% { transform: scale(1.4); } 70% { transform: scale(.9); } 100% { transform: scale(1); } }
.nx-cart-fly {
  position: fixed; z-index: 9999; pointer-events: none;
  width: 24px; height: 24px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 13px; background: var(--gold);
  box-shadow: 0 4px 12px rgba(143, 112, 64, .35);
  transition: all .65s cubic-bezier(.2, .8, .2, 1);
  transform: translate(-50%, -50%) scale(.4); opacity: .85;
}
.nx-cart-fly.nx-go { transform: translate(-50%, -50%) scale(.85); opacity: 1; }

/* 全屏居中搜索弹窗 */
.search-modal {
  position: fixed;
  inset: 0;
  /* 需高于右侧悬浮购物车(999998)等悬浮控件 */
  z-index: 1000001;
  background: rgba(26, 22, 17, .62);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s var(--ease), visibility .35s;
}
.search-modal.is-open { opacity: 1; visibility: visible; }
.search-modal__row { display: flex; align-items: center; gap: 14px; min-width: 0; max-width: 100%; }
.search-modal__row form { flex: 1; min-width: 0; }
.search-modal__close {
  flex: none;
  width: 48px; height: 48px;
  border: 1px solid rgba(240, 230, 210, .35);
  border-radius: 50%;
  background: transparent;
  color: #f0e6d2;
  font-size: 17px;
  cursor: pointer;
  transition: all .3s var(--ease);
}
.search-modal__close:hover { background: #f0e6d2; color: var(--ink); transform: rotate(90deg); }
.search-modal__box { width: min(680px, 86vw); text-align: center; transform: translateY(26px); transition: transform .45s var(--ease); }
.search-modal.is-open .search-modal__box { transform: none; }
.search-modal__label {
  
  font-size: 15px;
  letter-spacing: 8px;
  color: #e6c98f;
  margin-bottom: 26px;
}
.search-modal form { position: relative; display: flex; align-items: center; }
.search-modal input {
  flex: 1 1 0;
  min-width: 0;
  height: 66px;
  background: transparent;
  border: 0;
  border-bottom: 2px solid rgba(240, 230, 210, .4);
  color: #fdfbf7;
  font-size: 22px;
  letter-spacing: 2px;
  padding: 0 56px 0 6px;
  outline: none;
  transition: border-color .3s;
}
.search-modal input::placeholder { color: rgba(240, 230, 210, .45); letter-spacing: 3px; }
.search-modal input:focus { border-bottom-color: #e6c98f; }
.search-modal form button {
  position: absolute;
  right: 6px;
  width: 44px; height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  font-size: 17px;
  cursor: pointer;
  display: grid; place-items: center;
  transition: background .25s, transform .25s;
}
.search-modal form button:hover { background: var(--gold-dark); transform: scale(1.08); }
.search-modal__hint { margin-top: 20px; font-size: 12px; letter-spacing: 2px; color: rgba(240, 230, 210, .5); }

/* 幻灯占位张（后台未配置 gid=1 时显示） */
.slide--fallback .ph--slide { background: linear-gradient(105deg, #f2ecdd 0%, #eae0c9 46%, #ddd0ae 100%); }
.slide--fallback .ph--slide svg { width: min(46%, 520px); height: 74%; stroke: #a68d5f; opacity: .9; }

/* 品类卡占位底（无栏目图时的渐变底） */
.ph--cat { background: linear-gradient(160deg, #f4f2ed, #ecebe5); }

/* 导航下拉（桌面悬停） */
.nav > li, .nav .nav__li { list-style: none; position: relative; }
.nav__sub {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translate(-50%, 6px);
  min-width: 170px; background: #fff; border: 1px solid var(--line);
  border-radius: 8px; box-shadow: 0 14px 34px rgba(120, 100, 62, .14);
  padding: 8px 0; opacity: 0; visibility: hidden;
  transition: all .3s var(--ease); z-index: 60; list-style: none;
}
.nav__sub::before { content: ""; position: absolute; top: -8px; left: 0; right: 0; height: 8px; }
.nav__sub a { display: block; padding: 8px 18px; font-size: 13px; color: var(--ink-soft); transition: all .2s; }
.nav__sub a:hover { color: var(--gold-dark); background: #f7f5f0; padding-left: 22px; }
@media (min-width: 769px) {
  .nav .has-sub:hover .nav__sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
}

/* ==========================================================================
   产品列表页（shop-list）
   ========================================================================== */
/* 栏目大图 */
.wm-banner { position: relative; height: 340px; overflow: hidden; }
.wm-banner img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.03); filter: brightness(.72) saturate(.92); }
.wm-banner__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(43, 36, 29, .18), rgba(43, 36, 29, .42)); }
.wm-banner__inner {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
}
.wm-banner__eyebrow { font-size: 11px; letter-spacing: 5px; color: #e6c98f; margin-bottom: 10px; text-transform: uppercase; }
.wm-banner__title {
  
  font-size: clamp(32px, 4.4vw, 52px);
  font-weight: 600;
  letter-spacing: 8px;
  color: #fffdf8;
  text-shadow: 0 2px 22px rgba(30, 24, 16, .35);
}

/* 全部产品头（左右双栏卡片） */
.pl { padding-top: 54px; }
.pl-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 10px 26px rgba(120, 100, 62, .06);
  padding: 28px 36px;
  margin-bottom: 42px;
}
.pl-head__t::before {
  content: "";
  display: block;
  width: 36px; height: 3px;
  background: var(--gold);
  margin-bottom: 16px;
}
.pl-head .eyebrow { margin: 0 0 8px; font-size: 11px; }
.pl-head .sec-title { font-size: 32px; letter-spacing: 8px; line-height: 1.15; }
.pl-head__stats { text-align: right; }
.pl-head__num { font-size: 13px; letter-spacing: 1px; color: var(--ink-soft); }
.pl-head__num b {
  
  font-size: 34px; font-weight: 600;
  color: var(--gold-dark);
  margin-right: 6px;
  line-height: 1;
}
.pl-head__cats { margin-top: 6px; font-size: 12px; letter-spacing: 2px; color: #b9ad98; }

/* 左右布局 */
.pl-layout { display: grid; grid-template-columns: 250px 1fr; gap: 40px; align-items: start; }

/* 左侧分类栏（白卡面板） */
.pl-side {
  position: sticky; top: 96px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 10px 26px rgba(120, 100, 62, .07);
  padding: 6px 20px;
}
.pl-group { padding: 16px 0; border-bottom: 1px solid #f1ede5; }
.pl-group:last-child { border-bottom: 0; padding-bottom: 10px; }
.pl-group__title {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  font-size: 15px; font-weight: 600; letter-spacing: 2px;
  color: var(--ink);
  transition: color .25s;
}
.pl-group__name { display: flex; align-items: center; gap: 9px; }
.pl-group__name::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--gold);
  transform: rotate(45deg);
  flex: none;
}
.pl-group__title:hover .pl-group__name { color: var(--gold-dark); }
.pl-group__num { font-size: 11px; font-weight: 400; letter-spacing: 1px; color: #b9ad98; }
.pl-group.is-current .pl-group__name { color: var(--gold-dark); }
.pl-group ul { list-style: none; margin-top: 8px; }
.pl-group li a {
  display: block;
  font-size: 13px; letter-spacing: 1px;
  color: var(--ink-soft);
  padding: 7px 12px;
  margin: 2px -12px;
  border-radius: 7px;
  transition: all .22s;
}
.pl-group li a:hover { color: var(--gold-dark); background: #f7f5f0; padding-left: 16px; }
.pl-group li.is-active a { color: var(--gold-dark); font-weight: 600; background: #f6f1e6; }

/* 搜索页：侧栏搜索框 */
.search-box { background:#fff; border:1px solid var(--line); border-radius:12px; padding:18px 20px; box-shadow:0 10px 26px rgba(120,100,62,.07); }
.search-box__title { font-size:15px; font-weight:600; color:var(--ink); margin-bottom:12px; }
.search-box__form { display:flex; gap:8px; }
.search-box__form input { flex:1; min-width:0; height:42px; padding:0 14px; border:1px solid var(--line); border-radius:21px; background:#faf8f4; font-size:13px; color:var(--ink); outline:none; transition:border-color .2s, background .2s; }
.search-box__form input:focus { border-color:var(--gold); background:#fff; }
.search-box__form button { flex:0 0 42px; width:42px; height:42px; border:0; border-radius:50%; background:var(--ink); color:#f0e6d2; cursor:pointer; transition:background .2s, transform .2s; }
.search-box__form button:hover { background:var(--gold); transform:scale(1.05); }

/* 搜索页：空结果 */
.search-empty { text-align:center; padding:64px 20px; color:var(--ink-soft); }
.search-empty i { font-size:42px; color:#d9cfba; margin-bottom:16px; display:block; }
.search-empty p { font-size:16px; margin:0 0 6px; color:var(--ink); }
.search-empty span { font-size:13px; }

/* 右侧板块头：栏目名 + 数量胶囊 + 金色短线压边 */
.pl-sec + .pl-sec { margin-top: 64px; }
.pl-sec__head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px; margin-bottom: 30px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.pl-sec__head::after {
  content: "";
  position: absolute; left: 0; bottom: -1px;
  width: 58px; height: 2px;
  background: var(--gold);
}
.pl-sec__name {
  
  font-size: 27px; font-weight: 600;
  letter-spacing: 5px;
  color: var(--ink);
  line-height: 1.2;
}
.pl-sec__en {
  display: block;
  margin-top: 7px;
  font-size: 10px; letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
}
.pl-sec__count {
  flex: none;
  font-size: 12px; letter-spacing: 1px;
  color: var(--ink-soft);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 5px 16px;
}
.sec-title--sm { font-size: 26px; letter-spacing: 4px; }

/* 列表页分页 */
.pl-pager {
  display: flex; justify-content: center; align-items: center;
  gap: 8px; flex-wrap: wrap; margin-top: 46px;
}
.pl-pager a, .pl-pager span {
  min-width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0 14px;
  border: 1px solid #d9d2c4;
  border-radius: 3px;
  background: #fff;
  font-size: 13px;
  color: var(--ink-soft);
  transition: all .25s var(--ease);
}
.pl-pager a:hover { background: var(--ink); border-color: var(--ink); color: #f0e6d2; }
.pl-pager .page-num-current { background: var(--ink); border-color: var(--ink); color: #f0e6d2; font-weight: 600; }

/* 卡片：查看产品按钮 */
.p-card__btn {
  display: block;
  margin-top: 12px;
  text-align: center;
  border: 1px solid #d9d2c4;
  border-radius: 3px;
  padding: 9px 0;
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--ink-soft);
  transition: all .3s var(--ease);
}
.p-card:hover .p-card__btn { background: var(--ink); border-color: var(--ink); color: #f0e6d2; }

/* 列表页 / 详情相关推荐卡片美化（仅作用于 .pl-sec 内，不影响首页卡片） */
.pl-sec .p-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 12px 14px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.pl-sec .p-card:hover {
  transform: translateY(-4px);
  border-color: rgba(179, 149, 92, .55);
  box-shadow: 0 14px 30px rgba(120, 100, 62, .14);
}
.pl-sec .p-card__media { border: 0; border-radius: 8px; }
.pl-sec .p-card__info { flex: 1; display: flex; flex-direction: column; padding: 14px 6px 0; }
.pl-sec .p-card__name {
  font-size: 14px; line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.pl-sec .p-card__price { color: var(--gold-dark); font-weight: 600; margin-top: 3px; }
.pl-sec .p-card__btn { margin-top: auto; border-color: #e2d7bf; color: var(--gold-dark); border-radius: 20px; }
.pl-sec .p-card:hover .p-card__btn { background: var(--gold); border-color: var(--gold); color: #fff; }
/* 空标签隐藏 */
.p-card__tag:empty { display: none; }
.cat-card__tag:empty { display: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .pl-layout { display: flex; flex-direction: column-reverse; gap: 28px; }
  .pl-side { position: static; }
  .pl-group { padding: 13px 0; }
  .pl-group ul { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 10px; }
  .pl-group li a { margin: 0; border-radius: 20px; background: #f7f5f0; padding: 5px 14px; }
  .pl-group li.is-active a { background: #f6f1e6; }
  .pl-head { padding: 22px 24px; }
  .wm-banner { height: 260px; }
  .cats__grid, .goods__grid { grid-template-columns: repeat(2, 1fr); }
  .hero-slider { height: 460px; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 768px) {
  /* 顶栏手机只显示翻译 */
  .topbar__inner { justify-content: flex-end; }
  .topbar__inner p { display: none; }
  .section { padding: 52px 0; }
  .hero-slider { height: 260px; }
  .hero-slider .slide__desc { font-size: 14px; }
  .slider-arrow { display: none; }
  .strip__inner { grid-template-columns: 1fr 1fr; }
  .strip__item { padding: 16px 8px; font-size: 12px; }
  .strip__item:nth-child(3) { border-left: 0; }
  .sec-head--left { grid-template-columns: 1fr auto; }
  /* 移动端导航 */
  .burger {
    display: grid;
    place-items: center;
    width: 40px; height: 40px;
    background: transparent;
    border: 0;
    border-radius: 0;
    cursor: pointer;
    color: var(--ink);
    font-size: 21px;
    transition: color .25s, transform .25s;
  }
  .burger:active { color: var(--gold-dark); transform: scale(.92); }
  .burger i { pointer-events: none; }
  .nav {
    position: fixed;
    top: 0; left: 0;
    height: 100vh;
    width: min(78vw, 320px);
    background: var(--white);
    flex-direction: column;
    gap: 0;
    padding: 92px 26px 34px;
    box-shadow: none;
    transform: translateX(-105%);
    transition: transform .4s var(--ease), box-shadow .4s var(--ease);
    z-index: 99;
  }
  .nav.is-open { transform: none; box-shadow: none; }
  /* 手机 LOGO 适当缩小 */
  .logo img { max-height: 32px; max-width: 150px; }
  /* 菜单项：统一通栏分隔线 + 大点击区 */
  .nav__li { border-bottom: 1px solid #f1ede5; }
  .nav__li:last-child { border-bottom: 0; }
  .nav__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    font-size: 16px;
    letter-spacing: 3px;
    padding: 16px 2px;
    color: var(--ink);
  }
  .nav__link::after { display: none; }
  .nav__li.is-active > .nav__link { color: var(--gold-dark); font-weight: 600; }
  .nav__li.is-active > .nav__link::before {
    content: "";
    display: inline-block;
    width: 16px; height: 2px;
    background: var(--gold);
    margin-right: 10px;
  }
  /* 有下级时右侧小箭头（CSS 画 V 形，不依赖字体） */
  .nav__li.has-sub > .nav__link::after {
    content: "";
    flex: none;
    width: 8px; height: 8px;
    border-right: 1.5px solid #b9ad98;
    border-bottom: 1.5px solid #b9ad98;
    transform: rotate(45deg) translateY(-2px);
    transition: transform .25s, border-color .25s;
  }
  .nav__li.has-sub.is-active > .nav__link::after,
  .nav__li.is-open > .nav__link::after {
    transform: rotate(135deg) translateY(-2px);
    border-color: var(--gold);
  }
  /* 二级菜单：默认折叠，点击展开 */
  .nav__sub {
    position: static; transform: none;
    box-shadow: none; border: 0; border-radius: 0; min-width: 0;
    padding: 0 0 0 14px;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    visibility: hidden;
    transition: max-height .35s ease, opacity .25s ease, padding .25s ease, visibility .25s;
  }
  .nav__li.has-sub.is-active > .nav__sub,
  .nav__li.is-open > .nav__sub {
    max-height: 500px;
    opacity: 1;
    visibility: visible;
    padding: 4px 0 12px 14px;
  }
  .nav__sub li { list-style: none; }
  .nav__sub a {
    display: block;
    padding: 10px 0 10px 16px;
    font-size: 14px;
    letter-spacing: 2px;
    color: var(--ink-soft);
    border-left: 2px solid #eee7da;
    transition: color .2s, border-left-color .2s, padding-left .2s;
  }
  .nav__sub a:hover { color: var(--gold-dark); border-left-color: var(--gold); padding-left: 20px; }
  .nav__li.has-sub > .nav__link { font-weight: 600; }
  /* 展开时菜单项逐条错峰入场 */
  .nav__li { opacity: 0; transform: translateX(-14px); }
  .nav.is-open .nav__li { animation: navIn .45s var(--ease) forwards; }
  .nav.is-open .nav__li:nth-child(1) { animation-delay: .05s; }
  .nav.is-open .nav__li:nth-child(2) { animation-delay: .1s; }
  .nav.is-open .nav__li:nth-child(3) { animation-delay: .15s; }
  .nav.is-open .nav__li:nth-child(4) { animation-delay: .2s; }
  .nav.is-open .nav__li:nth-child(5) { animation-delay: .25s; }
  .nav.is-open .nav__li:nth-child(6) { animation-delay: .3s; }
  .nav.is-open .nav__li:nth-child(7) { animation-delay: .35s; }
  .nav.is-open .nav__li:nth-child(8) { animation-delay: .4s; }
  @keyframes navIn { to { opacity: 1; transform: none; } }
  /* 遮罩 */
  .nav-mask {
    position: fixed; inset: 0; z-index: 98;
    background: rgba(30, 25, 18, .35);
    opacity: 0; visibility: hidden;
    transition: opacity .35s, visibility .35s;
  }
  .nav-mask.is-open { opacity: 1; visibility: visible; }
  /* 抽屉内关闭按钮 */
  .nav__close {
    display: grid;
    place-items: center;
    position: absolute;
    top: 20px; right: 22px;
    width: 40px; height: 40px;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 50%;
    cursor: pointer;
    transition: border-color .25s, background .25s;
  }
  .nav__close:hover, .nav__close:active { border-color: var(--gold); background: rgba(168, 135, 79, .08); }
  .nav__close svg { width: 16px; height: 16px; stroke: var(--ink); fill: none; stroke-width: 1.8; stroke-linecap: round; }
}
@media (max-width: 520px) {
  .wm-banner { height: 190px; }
  .wm-banner__title { letter-spacing: 4px; }
  .pl-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .pl-head__stats { text-align: left; }
  .pl-head .sec-title { font-size: 30px; letter-spacing: 7px; }
  .hero-slider { height: 200px; }
  .hero-slider .slide__title { letter-spacing: 4px; font-size: 34px; }
  .hero-slider .slide__desc { font-size: 13px; }
  .hero-slider .btn { padding: 11px 26px; font-size: 12px; }
  /* 手机保持一行 2 个产品 */
  .cats__grid, .goods__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cat-card { padding: 10px 10px 16px; border-radius: 8px; }
  .cat-card__name { font-size: 14px; letter-spacing: 2px; margin-top: 12px; }
  .cat-card__sub { font-size: 11px; }
  .cat-card__tag, .p-card__tag { font-size: 9px; padding: 3px 7px; letter-spacing: 1px; }
  .p-card__info { padding: 10px 2px 0; }
  .p-card__name { font-size: 13px; }
  .p-card__price { font-size: 12px; }
  .p-card__cat { font-size: 9px; letter-spacing: 2px; }
  .topbar { font-size: 9px; letter-spacing: 1px; padding: 7px 10px; }
  .header__inner { height: 62px; }
  .logo { font-size: 20px; letter-spacing: 3px; }
  .sec-title { font-size: 24px; letter-spacing: 4px; }
  .sec-head--left { margin-bottom: 24px; }
  .sec-head--left .sec-sub { font-size: 12px; }
  .more { font-size: 12px; }
  .section { padding: 40px 0; }
  .footer__inner { grid-template-columns: 1fr; gap: 28px; padding: 44px 0 32px; }
  .footer__bottom-inner { justify-content: center; text-align: center; }
  .to-top { right: 16px; bottom: 16px; width: 40px; height: 40px; }

  /* 手机端搜索弹窗美化 */
  .search-modal { align-items: flex-start; padding-top: 18vh; background: rgba(26, 22, 17, .78); }
  .search-modal__box {
    width: min(520px, 92vw);
    background: #fff;
    border-radius: 16px;
    padding: 26px 20px 22px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .25);
    text-align: left;
  }
  .search-modal__label {
    color: var(--gold-dark);
    font-size: 13px;
    letter-spacing: 6px;
    margin-bottom: 16px;
  }
  .search-modal__row { gap: 10px; }
  .search-modal input {
    height: 50px;
    background: #f6f6f2;
    border: 1px solid #e8e5da;
    border-radius: 25px;
    padding: 0 52px 0 18px;
    font-size: 15px;
    color: var(--ink);
    letter-spacing: 0;
  }
  .search-modal input::placeholder { color: #999; letter-spacing: 1px; }
  .search-modal input:focus { border-color: var(--gold); background: #fff; }
  .search-modal form button {
    right: 4px;
    width: 42px; height: 42px;
    background: var(--gold);
  }
  .search-modal form button:hover { background: var(--gold-dark); }
  .search-modal__close {
    width: 42px; height: 42px;
    border-color: #e8e5da;
    color: var(--ink-soft);
    background: #f6f6f2;
  }
  .search-modal__close:hover { background: #ece9df; color: var(--ink); }
  .search-modal__hint { color: #999; margin-top: 14px; font-size: 11px; letter-spacing: 1px; }

  /* ===== 手机端头部调整 =====
     1) 顶部公告栏整栏不显示（含桌面端用的语言切换器）
     2) 顶部购物车图标隐藏（改用右侧悬浮购物车）
     3) 语言切换改用头部内的图标按钮，位置在搜索图标左侧 */
  .topbar { display: none; }
  .icon-btn--cart { display: none; }
  .header__shop .lang-switcher { display: inline-block; }
  .header__shop .lang-btn {
    width: 40px; height: 40px; padding: 0;
    justify-content: center; border-radius: 50%;
  }
  .header__shop .lang-name,
  .header__shop .lang-arrow { display: none; }
}

/* 手机端右侧悬浮购物车（位于客服/聊天按钮上方） */
.mbl-float-cart { display: none; }
@media (max-width: 1024px) {
  .mbl-float-cart {
    display: grid; place-items: center;
    position: fixed; right: 14px; top: calc(50% - 70px);
    width: 50px; height: 50px; border-radius: 50%;
    background: var(--gold, #b3955c); color: #fff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .18);
    z-index: 999998; text-decoration: none;
    transform: translateY(-50%);
    transition: transform .2s, background .2s;
  }
  .mbl-float-cart:hover { transform: translateY(-50%) scale(1.05); background: var(--gold-dark); }
  /* 图标换成顶部购物车同款 SVG；金色底上用白色描边保持清晰 */
  .mbl-float-cart svg {
    width: 24px; height: 24px;
    stroke: #fff; fill: none; stroke-width: 1.8;
    stroke-linecap: round; stroke-linejoin: round;
  }
  .mbl-float-cart__count {
    position: absolute; top: -4px; right: -4px;
    min-width: 18px; height: 18px; border-radius: 9px;
    background: #ff4d4f; color: #fff; font-size: 11px; font-weight: 600;
    display: flex; align-items: center; justify-content: center;
    padding: 0 5px; box-shadow: 0 2px 6px rgba(0, 0, 0, .15);
  }
  /* 把蓝色聊天按钮往下挪，与客服中心距保持 70px（它无 translateY(-50%)，top 要减 25px 半高） */
  .kfchat-float-btn { top: calc(50% + 45px) !important; }
}
