/* ==========================================================================
   锦时 JINSHI · 设计系统
   宣纸为底、墨色为字、朱砂为魂、赤金为缀——新中式东方美学电商
   ========================================================================== */

:root {
  /* 色彩 */
  --paper:      #F6F1E6;   /* 宣纸 */
  --paper-2:    #FBF8F1;   /* 茶白 */
  --paper-3:    #EFE7D6;   /* 深宣 */
  --ink:        #26211B;   /* 墨 */
  --ink-2:      #5C554A;   /* 淡墨 */
  --ink-3:      #948B7C;   /* 灰墨 */
  --cinnabar:   #A63A2B;   /* 朱砂 */
  --cinnabar-d: #872D21;   /* 深绛 */
  --gold:       #B08A3E;   /* 赤金 */
  --gold-l:     #D9C08A;   /* 浅金 */
  --teal:       #3E5C58;   /* 青黛 */
  --line:       #E4DAC6;   /* 界线 */
  --ok:         #3E7A4E;

  /* 字体：英文标题用自托管 Cormorant Garamond，拉丁正文走系统无衬线，
     中文字形按字符回退到宋体/黑体，实现中英混排无缝切换 */
  --serif: "Cormorant Garamond", "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", Georgia, serif;
  --sans:  "Helvetica Neue", "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;

  /* 形状 */
  --r-s: 4px;
  --r-m: 8px;
  --r-l: 14px;
  --shadow-1: 0 2px 8px rgba(38, 33, 27, .06);
  --shadow-2: 0 10px 30px rgba(38, 33, 27, .10);
  --shadow-3: 0 24px 60px rgba(38, 33, 27, .16);
  --ease: cubic-bezier(.22, .8, .32, 1);

  --header-h: 72px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background-color: var(--paper);
  /* 宣纸纹理：极淡的噪点 */
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.45 0 0 0 0 0.40 0 0 0 0 0.32 0 0 0 0.035 0'/></filter><rect width='140' height='140' filter='url(%23n)'/></svg>");
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; color: inherit; }

::selection { background: var(--cinnabar); color: var(--paper-2); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

/* ---------- 演示模式横幅 ---------- */
.demo-banner {
  background: var(--ink);
  color: var(--paper-2);
  font-size: 13px;
  letter-spacing: .05em;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  z-index: 60;
}
.demo-banner .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-l); flex: none; }
.demo-banner button { color: var(--gold-l); text-decoration: underline; text-underline-offset: 3px; font-size: 13px; }

/* ---------- 顶部通告 ---------- */
.announce {
  background: linear-gradient(90deg, var(--cinnabar-d), var(--cinnabar));
  color: #F8EFE4;
  font-size: 13px;
  letter-spacing: .12em;
  overflow: hidden;
  position: relative;
  z-index: 55;
}
.announce-track {
  display: flex;
  gap: 64px;
  white-space: nowrap;
  padding: 9px 0;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.announce:hover .announce-track { animation-play-state: paused; }
.announce-track span::before { content: '❖'; margin-right: 12px; color: var(--gold-l); font-size: 10px; vertical-align: 2px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 页头 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 241, 230, .92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 36px;
}

/* 印章 Logo */
.logo { display: flex; align-items: center; gap: 12px; flex: none; }
.logo-seal {
  width: 44px; height: 44px;
  background: var(--cinnabar);
  color: #F8EFE4;
  font-family: var(--serif);
  font-size: 26px;
  display: grid;
  place-items: center;
  border-radius: var(--r-s);
  box-shadow: inset 0 0 0 1.5px rgba(248, 239, 228, .55), var(--shadow-1);
  position: relative;
}
.logo-seal::after {
  content: '';
  position: absolute; inset: 4px;
  border: 1px solid rgba(248, 239, 228, .4);
  border-radius: 2px;
}
.logo-text { line-height: 1.15; }
.logo-text .brand-name { font-family: var(--serif); font-size: 22px; font-weight: 600; letter-spacing: .04em; }
.logo-text .side-sub { font-size: 10px; letter-spacing: .3em; color: var(--ink-3); }

/* 导航 */
.main-nav { display: flex; gap: 30px; flex: 1; }
.main-nav a {
  font-size: 15px;
  letter-spacing: .08em;
  color: var(--ink-2);
  position: relative;
  padding: 6px 0;
  transition: color .25s;
}
.main-nav a::after {
  content: '';
  position: absolute; left: 50%; bottom: 0;
  width: 0; height: 2px;
  background: var(--cinnabar);
  transition: all .3s var(--ease);
  transform: translateX(-50%);
}
.main-nav a:hover { color: var(--ink); }
.main-nav a:hover::after { width: 100%; }

/* 搜索 */
.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
  width: 200px;
  transition: all .3s var(--ease);
}
.search-box:focus-within { border-color: var(--gold); width: 260px; box-shadow: var(--shadow-1); }
.search-box svg { flex: none; color: var(--ink-3); }
.search-box input { border: none; outline: none; background: none; width: 100%; font-size: 14px; }
.search-box input::placeholder { color: var(--ink-3); }

/* 头部动作 */
.header-actions { display: flex; align-items: center; gap: 14px; flex: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  letter-spacing: .06em;
  border-radius: var(--r-s);
  padding: 10px 22px;
  transition: all .25s var(--ease);
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-primary { background: var(--cinnabar); color: #F8EFE4; }
.btn-primary:hover { background: var(--cinnabar-d); transform: translateY(-1px); box-shadow: var(--shadow-2); }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper-2); }
.btn-ghost { color: var(--ink-2); }
.btn-ghost:hover { color: var(--cinnabar); }
.btn-gold { background: var(--gold); color: #FFF9EC; }
.btn-gold:hover { background: #9C7730; transform: translateY(-1px); }
.btn[disabled] { opacity: .5; pointer-events: none; }
.btn-sm { padding: 7px 14px; font-size: 13.5px; }

.icon-btn {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper-2);
  color: var(--ink-2);
  position: relative;
  transition: all .25s var(--ease);
}
.icon-btn:hover { border-color: var(--cinnabar); color: var(--cinnabar); transform: translateY(-1px); }
.cart-count {
  position: absolute;
  top: -5px; right: -5px;
  min-width: 19px; height: 19px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--cinnabar);
  color: #F8EFE4;
  font-size: 11.5px;
  line-height: 19px;
  text-align: center;
  font-family: var(--sans);
  transform: scale(0);
  transition: transform .3s var(--ease);
}
.cart-count.show { transform: scale(1); }
.cart-count.pop { animation: pop .4s var(--ease); }
@keyframes pop { 40% { transform: scale(1.35); } }

/* 用户菜单 */
.user-chip {
  display: flex; align-items: center; gap: 8px;
  border: 1px solid var(--line);
  background: var(--paper-2);
  border-radius: 999px;
  padding: 6px 14px 6px 8px;
  font-size: 14px;
  transition: all .25s;
}
.user-chip:hover { border-color: var(--gold); }
.user-chip .avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--paper-2);
  display: grid; place-items: center;
  font-size: 13px;
  font-family: var(--serif);
}
.user-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  box-shadow: var(--shadow-2);
  min-width: 168px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all .25s var(--ease);
  z-index: 80;
}
.user-wrap { position: relative; }
.user-wrap.open .user-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.user-menu button, .user-menu a {
  display: flex; width: 100%;
  align-items: center; gap: 10px;
  padding: 10px 12px;
  font-size: 14px;
  border-radius: var(--r-s);
  color: var(--ink-2);
  transition: all .2s;
  text-align: left;
}
.user-menu button:hover, .user-menu a:hover { background: var(--paper-3); color: var(--ink); }
.user-menu .danger:hover { color: var(--cinnabar); }

/* ---------- 轮播 ---------- */
.hero {
  position: relative;
  height: min(600px, 68vh);
  min-height: 440px;
  overflow: hidden;
  background: var(--ink);
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s var(--ease);
  pointer-events: none;
}
.hero-slide.active { opacity: 1; pointer-events: auto; }
.hero-slide img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 7s linear;
}
.hero-slide.active img { transform: scale(1); }
.hero-slide::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(20, 17, 13, .62) 0%, rgba(20, 17, 13, .28) 42%, transparent 68%);
}
.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #F6EFE2;
  max-width: 620px;
  padding-left: 56px;
}
.hero-eyebrow {
  font-size: 14px;
  letter-spacing: .5em;
  color: var(--gold-l);
  margin-bottom: 18px;
  opacity: 0;
  transform: translateY(16px);
  transition: all .7s var(--ease) .25s;
}
.hero-title {
  font-family: var(--serif);
  font-size: clamp(40px, 5.4vw, 64px);
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 1.2;
  margin-bottom: 18px;
  opacity: 0;
  transform: translateY(20px);
  transition: all .7s var(--ease) .4s;
}
.hero-sub {
  font-size: 17px;
  letter-spacing: .04em;
  color: rgba(246, 239, 226, .85);
  margin-bottom: 34px;
  opacity: 0;
  transform: translateY(20px);
  transition: all .7s var(--ease) .55s;
}
.hero-cta {
  align-self: flex-start;
  opacity: 0;
  transform: translateY(20px);
  transition: all .7s var(--ease) .7s;
}
.hero-slide.active .hero-eyebrow,
.hero-slide.active .hero-title,
.hero-slide.active .hero-sub,
.hero-slide.active .hero-cta { opacity: 1; transform: translateY(0); }

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(246, 239, 226, .4);
  color: #F6EFE2;
  display: grid; place-items: center;
  background: rgba(20, 17, 13, .2);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  transition: all .3s var(--ease);
  opacity: 0;
}
.hero:hover .hero-arrow { opacity: 1; }
.hero-arrow:hover { background: var(--cinnabar); border-color: var(--cinnabar); }
.hero-arrow.prev { left: 28px; }
.hero-arrow.next { right: 28px; }

.hero-dots {
  position: absolute;
  bottom: 30px;
  left: 56px;
  z-index: 3;
  display: flex;
  gap: 12px;
}
.hero-dots button {
  width: 26px; height: 4px;
  border-radius: 2px;
  background: rgba(246, 239, 226, .35);
  transition: all .35s var(--ease);
}
.hero-dots button.active { background: var(--gold-l); width: 40px; }

/* ---------- 区块通用 ---------- */
.section { padding: 88px 0 24px; }
.section-head { text-align: center; margin-bottom: 52px; }
.section-eyebrow {
  font-size: 13px;
  letter-spacing: .42em;
  color: var(--gold);
  margin-bottom: 12px;
  text-transform: uppercase;
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(26px, 3.2vw, 34px);
  font-weight: 700;
  letter-spacing: .12em;
}
.section-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 18px;
  color: var(--gold);
}
.section-ornament::before, .section-ornament::after {
  content: '';
  width: 64px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-l));
}
.section-ornament::after { background: linear-gradient(90deg, var(--gold-l), transparent); }
.section-ornament svg { display: block; }
.section-sub { margin-top: 14px; color: var(--ink-2); font-size: 15px; letter-spacing: .04em; }

/* 滚动显现 */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
.reveal[data-delay="4"] { transition-delay: .4s; }
.reveal[data-delay="5"] { transition-delay: .5s; }

/* ---------- 分类 ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
.cat-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  overflow: hidden;
  text-align: center;
  padding-bottom: 18px;
  transition: all .35s var(--ease);
  cursor: pointer;
}
.cat-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-l);
  box-shadow: var(--shadow-2);
}
.cat-card .cat-img {
  aspect-ratio: 1;
  overflow: hidden;
  position: relative;
}
.cat-card .cat-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.cat-card:hover .cat-img img { transform: scale(1.08); }
.cat-card .cat-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(38, 33, 27, .18), transparent 45%);
}
.cat-card .cat-name {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .1em;
  margin-top: 14px;
}
.cat-card .cat-en {
  font-size: 11px;
  letter-spacing: .24em;
  color: var(--ink-3);
  margin-top: 3px;
  text-transform: uppercase;
}

/* ---------- 商品 ---------- */
.filter-bar {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.filter-chip {
  padding: 8px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper-2);
  font-size: 14px;
  letter-spacing: .08em;
  color: var(--ink-2);
  transition: all .25s var(--ease);
}
.filter-chip:hover { border-color: var(--gold); color: var(--ink); }
.filter-chip.active { background: var(--ink); border-color: var(--ink); color: var(--paper-2); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.product-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  overflow: hidden;
  transition: all .35s var(--ease);
  position: relative;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-l);
  box-shadow: var(--shadow-2);
}
.product-card .p-img {
  aspect-ratio: 1;
  overflow: hidden;
  position: relative;
  cursor: zoom-in;
  background: var(--paper-3);
}
.product-card .p-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.product-card:hover .p-img img { transform: scale(1.07); }
.p-tags {
  position: absolute;
  top: 12px; left: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 2;
}
.p-tag {
  font-size: 11.5px;
  letter-spacing: .1em;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(38, 33, 27, .72);
  color: #F6EFE2;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.p-tag.hot { background: var(--cinnabar); }
.p-tag.new { background: var(--teal); }
.p-quick {
  position: absolute;
  left: 12px; right: 12px; bottom: 12px;
  z-index: 2;
  opacity: 0;
  transform: translateY(10px);
  transition: all .35s var(--ease);
}
.product-card:hover .p-quick { opacity: 1; transform: translateY(0); }
.p-quick .btn { width: 100%; }

.p-body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.p-name {
  font-family: var(--serif);
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: .03em;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.p-sub { font-size: 13px; color: var(--ink-3); margin-top: 4px; }
.p-meta {
  margin-top: auto;
  padding-top: 14px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.p-price {
  font-family: var(--serif);
  color: var(--cinnabar);
  font-weight: 700;
  font-size: 21px;
  font-variant-numeric: tabular-nums;
}
.p-price .yen { font-size: 13px; margin-right: 2px; }
.p-orig {
  font-size: 12.5px;
  color: var(--ink-3);
  text-decoration: line-through;
  margin-left: 8px;
  font-weight: 400;
}
.p-sales { font-size: 12.5px; color: var(--ink-3); letter-spacing: .04em; }

.load-more-wrap { text-align: center; margin-top: 48px; }

/* ---------- 促销活动 ---------- */
.promo-section { padding-top: 88px; }
.promo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.promo-card {
  border-radius: var(--r-m);
  padding: 34px 30px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper-2);
  transition: all .35s var(--ease);
}
.promo-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-2); }
.promo-card .seal {
  width: 58px; height: 58px;
  background: var(--cinnabar);
  color: #F8EFE4;
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.25;
  display: grid;
  place-items: center;
  text-align: center;
  border-radius: var(--r-s);
  box-shadow: inset 0 0 0 1px rgba(248, 239, 228, .5);
  margin-bottom: 20px;
  letter-spacing: .05em;
}
.promo-card h3 {
  font-family: var(--serif);
  font-size: 21px;
  letter-spacing: .1em;
  margin-bottom: 10px;
}
.promo-card p { font-size: 14px; color: var(--ink-2); }
.promo-card .promo-rules { margin-top: 14px; display: flex; flex-direction: column; gap: 6px; }
.promo-card .promo-rules span {
  font-size: 13.5px;
  color: var(--cinnabar);
  letter-spacing: .04em;
  font-variant-numeric: tabular-nums;
}
.promo-card .promo-rules span::before { content: '— '; color: var(--gold); }

/* 倒计时卡 */
.promo-card.countdown { background: linear-gradient(150deg, #2E2822, #1D1913); color: #F1E9DA; border-color: #3A332A; }
.promo-card.countdown p { color: rgba(241, 233, 218, .72); }
.promo-card.countdown .seal { background: var(--gold); color: #1D1913; box-shadow: none; }
.countdown-clock {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  font-variant-numeric: tabular-nums;
}
.countdown-clock .cell {
  background: rgba(241, 233, 218, .08);
  border: 1px solid rgba(217, 192, 138, .35);
  border-radius: var(--r-s);
  padding: 10px 0;
  min-width: 62px;
  text-align: center;
}
.countdown-clock .num {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 700;
  color: var(--gold-l);
  display: block;
  line-height: 1.2;
}
.countdown-clock .lab { font-size: 11px; letter-spacing: .2em; color: rgba(241, 233, 218, .55); }

/* ---------- 品牌故事 ---------- */
.story-section { padding: 96px 0 88px; }
.story-wrap {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}
.story-img {
  border-radius: var(--r-m);
  overflow: hidden;
  box-shadow: var(--shadow-2);
  position: relative;
  aspect-ratio: 1;
}
.story-img img { width: 100%; height: 100%; object-fit: cover; }
.story-img::after {
  content: '';
  position: absolute; inset: 10px;
  border: 1px solid rgba(246, 239, 226, .5);
  border-radius: var(--r-s);
  pointer-events: none;
}
.story-body .section-eyebrow, .story-body .section-title { text-align: left; }
.story-body .section-ornament { justify-content: flex-start; }
.story-body .section-ornament::before { display: none; }
.story-body p {
  color: var(--ink-2);
  font-size: 15.5px;
  margin: 22px 0;
  letter-spacing: .02em;
}
.story-body p .em { color: var(--cinnabar); font-family: var(--serif); font-weight: 700; }
.story-quote {
  font-family: var(--serif);
  font-size: 19px;
  color: var(--ink);
  border-left: 3px solid var(--cinnabar);
  padding-left: 18px;
  margin: 26px 0;
  letter-spacing: .06em;
  line-height: 1.9;
}

/* ---------- 页脚 ---------- */
.site-footer {
  margin-top: 72px;
  background: #221E18;
  color: rgba(241, 233, 218, .75);
}
.footer-meander {
  height: 12px;
  background-repeat: repeat-x;
  background-size: auto 12px;
  opacity: .9;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 44px;
  padding: 60px 0 48px;
}
.footer-brand .logo-text .brand-name { color: #F1E9DA; }
.footer-brand p { font-size: 13.5px; margin-top: 18px; line-height: 1.9; max-width: 300px; }
.footer-col h4 {
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: .18em;
  color: var(--gold-l);
  margin-bottom: 18px;
  font-weight: 700;
}
.footer-col a, .footer-col span {
  display: block;
  font-size: 13.5px;
  padding: 5px 0;
  color: rgba(241, 233, 218, .65);
  transition: color .25s;
}
.footer-col a:hover { color: #F1E9DA; }
.footer-bottom {
  border-top: 1px solid rgba(241, 233, 218, .12);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  color: rgba(241, 233, 218, .45);
  letter-spacing: .04em;
}

/* ---------- 弹层 / 抽屉 ---------- */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(29, 25, 19, .5);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transition: all .35s;
}
.overlay.open { opacity: 1; visibility: visible; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  visibility: hidden;
  pointer-events: none;
}
.modal.open { visibility: visible; pointer-events: auto; }
.modal-box {
  background: var(--paper-2);
  border-radius: var(--r-l);
  box-shadow: var(--shadow-3);
  width: 100%;
  max-width: 460px;
  max-height: calc(100vh - 48px);
  overflow: auto;
  transform: translateY(24px) scale(.98);
  opacity: 0;
  transition: all .35s var(--ease);
  position: relative;
}
.modal.open .modal-box { transform: none; opacity: 1; }
.modal-box.wide { max-width: 860px; }
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--ink-3);
  z-index: 5;
  transition: all .25s;
}
.modal-close:hover { background: var(--paper-3); color: var(--ink); }

/* 登录弹层 */
.login-tabs {
  display: flex;
  border-bottom: 1px solid var(--line);
  padding: 0 28px;
}
.login-tabs button {
  padding: 18px 0;
  margin-right: 32px;
  font-size: 15.5px;
  letter-spacing: .06em;
  color: var(--ink-3);
  border-bottom: 2px solid transparent;
  transition: all .25s;
  font-family: var(--serif);
  font-weight: 700;
}
.login-tabs button.active { color: var(--ink); border-bottom-color: var(--cinnabar); }
.login-body { padding: 28px; }
.login-body .demo-tip {
  background: var(--paper-3);
  border: 1px dashed var(--gold-l);
  border-radius: var(--r-s);
  font-size: 13px;
  color: var(--ink-2);
  padding: 10px 14px;
  margin-bottom: 20px;
  line-height: 1.7;
}
.form-row { margin-bottom: 18px; }
.form-label {
  display: block;
  font-size: 13.5px;
  color: var(--ink-2);
  letter-spacing: .08em;
  margin-bottom: 8px;
}
.form-input {
  width: 100%;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  padding: 12px 14px;
  font-size: 15px;
  outline: none;
  transition: all .25s;
}
.form-input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(176, 138, 62, .12); }
.form-input::placeholder { color: var(--ink-3); }
textarea.form-input { resize: vertical; min-height: 88px; }
.code-row { display: flex; gap: 10px; }
.code-row .form-input { flex: 1; }
.code-row .btn { flex: none; }
.form-error { font-size: 13px; color: var(--cinnabar); margin-top: 6px; min-height: 18px; }
.login-alt {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  text-align: center;
}
.login-alt .btn { width: 100%; }
.login-alt .alt-note { font-size: 12.5px; color: var(--ink-3); margin-top: 10px; }

/* 商品详情弹层 */
.pd-grid { display: grid; grid-template-columns: 1fr 1fr; }
.pd-img { aspect-ratio: 1; background: var(--paper-3); }
.pd-img img { width: 100%; height: 100%; object-fit: cover; }
.pd-info { padding: 32px 30px; }
.pd-info .p-name { font-size: 21px; -webkit-line-clamp: 2; white-space: normal; }
.pd-info .p-sub { margin-bottom: 16px; }
.pd-price-box {
  background: var(--paper);
  border-radius: var(--r-s);
  padding: 14px 16px;
  margin: 16px 0;
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.pd-desc { font-size: 14px; color: var(--ink-2); line-height: 1.9; margin: 14px 0; }
.pd-specs {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13.5px;
}
.pd-specs .row { display: flex; gap: 12px; }
.pd-specs .k { color: var(--ink-3); flex: none; width: 44px; letter-spacing: .1em; }
.qty-row { display: flex; align-items: center; gap: 16px; margin: 20px 0; }
.qty-stepper {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  overflow: hidden;
  background: var(--paper);
}
.qty-stepper button { width: 38px; height: 38px; font-size: 18px; color: var(--ink-2); transition: background .2s; }
.qty-stepper button:hover { background: var(--paper-3); }
.qty-stepper .val { width: 48px; text-align: center; font-variant-numeric: tabular-nums; font-size: 15px; }
.pd-actions { display: flex; gap: 12px; }
.pd-actions .btn { flex: 1; }

/* 购物车抽屉 */
.drawer {
  position: fixed;
  top: 0; right: 0;
  height: 100%;
  width: min(440px, 100vw);
  background: var(--paper-2);
  z-index: 100;
  box-shadow: var(--shadow-3);
  transform: translateX(100%);
  transition: transform .4s var(--ease);
  display: flex;
  flex-direction: column;
}
.drawer.open { transform: none; }
.drawer-head {
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.drawer-head h3 { font-family: var(--serif); font-size: 19px; letter-spacing: .12em; }
.drawer-body { flex: 1; overflow-y: auto; padding: 18px 24px; }
.drawer-foot { border-top: 1px solid var(--line); padding: 20px 24px; background: var(--paper); }
.cart-item {
  display: grid;
  grid-template-columns: 76px 1fr auto;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.cart-item:last-child { border-bottom: none; }
.cart-item .ci-img {
  width: 76px; height: 76px;
  border-radius: var(--r-s);
  overflow: hidden;
  background: var(--paper-3);
}
.cart-item .ci-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item .ci-name { font-size: 14px; font-weight: 600; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cart-item .ci-price { color: var(--cinnabar); font-family: var(--serif); font-weight: 700; font-size: 15px; margin-top: 6px; }
.cart-item .ci-right { text-align: right; }
.cart-item .ci-remove { font-size: 12px; color: var(--ink-3); margin-top: 8px; transition: color .2s; }
.cart-item .ci-remove:hover { color: var(--cinnabar); }
.cart-summary { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; }
.cart-summary .lab { font-size: 14px; color: var(--ink-2); letter-spacing: .06em; }
.cart-summary .val { font-family: var(--serif); font-size: 26px; font-weight: 700; color: var(--cinnabar); font-variant-numeric: tabular-nums; }
.cart-empty { text-align: center; padding: 60px 0; color: var(--ink-3); }
.cart-empty .icon { font-size: 40px; margin-bottom: 12px; color: var(--line); }

/* 结算 / 支付 */
.checkout-steps { display: flex; gap: 8px; margin-bottom: 22px; }
.checkout-steps .step {
  flex: 1;
  text-align: center;
  font-size: 12.5px;
  letter-spacing: .08em;
  color: var(--ink-3);
  padding-top: 8px;
  border-top: 2px solid var(--line);
}
.checkout-steps .step.active { color: var(--cinnabar); border-top-color: var(--cinnabar); font-weight: 600; }
.order-success { text-align: center; padding: 20px 8px 8px; }
.order-success .ok-seal {
  width: 62px; height: 62px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--ok);
  color: #fff;
  display: grid;
  place-items: center;
}
.order-success h3 { font-family: var(--serif); font-size: 21px; letter-spacing: .1em; margin-bottom: 8px; }
.order-success .order-no { font-size: 13px; color: var(--ink-3); letter-spacing: .06em; }
.order-success .pay-amount { font-family: var(--serif); font-size: 32px; color: var(--cinnabar); font-weight: 700; margin: 14px 0 4px; font-variant-numeric: tabular-nums; }
.pay-methods { text-align: left; margin-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.pay-method {
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  padding: 14px 16px;
  background: var(--paper);
}
.pay-method .pm-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  font-size: 14.5px;
  margin-bottom: 6px;
}
.pay-method .pm-head .tag { font-size: 11px; color: var(--teal); border: 1px solid currentColor; border-radius: 999px; padding: 1px 8px; letter-spacing: .08em; }
.pay-method .pm-line { font-size: 13.5px; color: var(--ink-2); line-height: 1.8; }
.pay-method .pm-line b { color: var(--ink); font-weight: 600; }
.pay-paypal-wrap { margin-top: 10px; min-height: 48px; }
.pay-paypal-hint { font-size: 12px; color: var(--gold); margin-top: 8px; line-height: 1.7; }
.pay-note { font-size: 12.5px; color: var(--ink-3); margin-top: 14px; line-height: 1.8; }

/* 我的订单 */
.order-item {
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  padding: 16px;
  margin-bottom: 14px;
  background: var(--paper);
}
.order-item .oi-head { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--ink-3); margin-bottom: 10px; }
.order-item .oi-status { font-weight: 600; }
.order-item .oi-status.pending { color: var(--gold); }
.order-item .oi-status.paid { color: var(--teal); }
.order-item .oi-status.shipped { color: var(--ok); }
.order-item .oi-status.completed { color: var(--ink-2); }
.order-item .oi-status.cancelled { color: var(--ink-3); }
.order-item .oi-prods { font-size: 13.5px; line-height: 1.8; color: var(--ink-2); }
.order-item .oi-total { text-align: right; font-family: var(--serif); color: var(--cinnabar); font-weight: 700; font-size: 16px; margin-top: 8px; }

/* ---------- Toast ---------- */
.toast-wrap {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  pointer-events: none;
}
.toast {
  background: var(--ink);
  color: var(--paper-2);
  font-size: 14px;
  letter-spacing: .04em;
  padding: 12px 22px;
  border-radius: 999px;
  box-shadow: var(--shadow-2);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: toast-in .35s var(--ease);
  max-width: min(560px, 92vw);
}
.toast.leaving { animation: toast-out .3s var(--ease) forwards; }
.toast .t-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-l); flex: none; }
.toast.error .t-dot { background: #E0736A; }
@keyframes toast-in { from { opacity: 0; transform: translateY(-14px); } }
@keyframes toast-out { to { opacity: 0; transform: translateY(-14px); } }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .main-nav { display: none; }
  .story-wrap { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 720px) {
  .container { padding: 0 20px; }
  .section { padding: 60px 0 12px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .promo-grid { grid-template-columns: 1fr; }
  .search-box { display: none; }
  .hero { height: 78vh; min-height: 420px; }
  .hero-content { padding-left: 24px; padding-right: 24px; }
  .hero-dots { left: 24px; }
  .hero-arrow { display: none; }
  .pd-grid { grid-template-columns: 1fr; }
  .pd-info { padding: 24px 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; padding: 44px 0 36px; }
  .footer-bottom { flex-direction: column; gap: 6px; }
  .header-inner { gap: 16px; }
  .logo-text .brand-name { font-size: 19px; }
}

/* ---------- 动效减弱 ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- 英文字距微调（默认） ----------
   拉丁字母过宽会散，标题/眉题统一收紧，并微调字重与行高使 Cormorant/Inter 更耐看 */
body { line-height: 1.65; }

.hero-eyebrow { letter-spacing: .32em; }
.section-eyebrow { letter-spacing: .28em; }
.hero-title { letter-spacing: .01em; font-weight: 600; }
.section-title { letter-spacing: .01em; font-weight: 600; }
.story-body .section-title { letter-spacing: .01em; }

.order-success h3 { letter-spacing: .02em; font-weight: 600; }
.drawer-head h3 { letter-spacing: .02em; font-weight: 600; }
.pay-amount { font-weight: 600; }

.demo-banner { letter-spacing: .02em; }
.announce-track { letter-spacing: .03em; }
.announce-track span::before { margin-right: 8px; }

.main-nav a { letter-spacing: .02em; }
.mode-badge { letter-spacing: .06em; }
.seal { letter-spacing: .04em; }
.p-tag { letter-spacing: .03em; }
.filter-chip { letter-spacing: .03em; }
.btn { letter-spacing: .03em; }
.footer-bottom { letter-spacing: .02em; }

/* 英文衬线在小字号下略放大并加粗，保证可读性 */
.t-price,
.cart-item .ci-price,
.cart-summary .val,
.order-item .oi-total { font-weight: 600; }
