/* ============ NBD 培育钻石商城 · 前台样式 ============ */
:root {
  --bg: #faf9f7;
  --card: #ffffff;
  --ink: #171512;
  --ink-2: #55504a;
  --ink-3: #8d867d;
  --line: #e8e4de;
  --gold: #a8854e;
  --gold-2: #c5a468;
  --gold-bg: #f6f0e6;
  --danger: #b23a3a;
  --serif: "Noto Serif SC", "Songti SC", "STSong", "SimSun", Georgia, serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 14px; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* ---------- 顶部 ---------- */
.topbar {
  background: #171512; color: #d9cfc0;
  font-size: 12.5px; letter-spacing: .06em;
  text-align: center; padding: 8px 16px;
}
.topbar b { color: var(--gold-2); font-weight: 600; }
header.site {
  background: rgba(255,255,255,.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
.header-in {
  display: flex; align-items: center; gap: 28px;
  height: 68px;
}
.logo { display: flex; align-items: center; }
.logo-row { display: flex; align-items: center; gap: 10px; }
.logo-mark { width: 34px; height: 34px; flex-shrink: 0; filter: drop-shadow(0 2px 4px rgba(168,133,78,.35)); }
.logo-col { display: flex; flex-direction: column; line-height: 1.15; }
.logo .en {
  font-family: var(--serif); font-size: 23px; font-weight: 700;
  letter-spacing: .18em; color: var(--ink);
}
.logo .cn { font-size: 11px; letter-spacing: .42em; color: var(--ink-3); }
.logo-img { height: 44px; max-width: 200px; object-fit: contain; }
nav.main { display: flex; gap: 4px; flex: 1; }
nav.main a {
  padding: 8px 14px; font-size: 14.5px; letter-spacing: .12em;
  color: var(--ink-2); border-bottom: 2px solid transparent;
}
nav.main a:hover, nav.main a.active { color: var(--ink); border-bottom-color: var(--gold); }
.header-tools { display: flex; align-items: center; gap: 14px; }
.searchbox { position: relative; }
.searchbox { display: flex; align-items: center; }
.searchbox select {
  height: 36px; padding: 0 4px 0 12px; font-size: 13px; color: var(--ink-2);
  border: 1px solid var(--line); border-right: none; border-radius: 999px 0 0 999px;
  background: var(--bg); outline: none; cursor: pointer;
}
.searchbox input {
  width: 165px; padding: 8px 34px 8px 12px;
  border: 1px solid var(--line); border-radius: 0 999px 999px 0;
  background: var(--bg); outline: none; transition: all .2s;
}
.searchbox input:focus { border-color: var(--gold-2); width: 205px; background: #fff; }
.searchbox button {
  position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  background: none; border: none; font-size: 15px; color: var(--ink-3); padding: 4px 8px;
}
.cart-link {
  position: relative; display: flex; align-items: center; gap: 6px;
  font-size: 14px; color: var(--ink-2); padding: 6px 10px;
  border: 1px solid var(--line); border-radius: 999px; background: #fff;
}
.cart-link:hover { border-color: var(--gold-2); color: var(--ink); }
.cart-badge {
  min-width: 18px; height: 18px; border-radius: 9px;
  background: var(--gold); color: #fff; font-size: 11px;
  display: inline-flex; align-items: center; justify-content: center; padding: 0 5px;
}
.menu-btn { display: none; }

/* ---------- 首页 hero ---------- */
.hero {
  position: relative; overflow: hidden; background: #0d0c0b; color: #fff;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; min-height: 480px; }
.hero-text {
  display: flex; flex-direction: column; justify-content: center;
  padding: 64px 8% 64px 10%;
}
.hero-text .kicker {
  color: var(--gold-2); letter-spacing: .5em; font-size: 13px; margin-bottom: 18px;
}
.hero-text h1 {
  font-family: var(--serif); font-size: clamp(30px, 4vw, 46px);
  font-weight: 600; letter-spacing: .06em; line-height: 1.35; margin-bottom: 18px;
}
.hero-text p.sub { color: #bdb4a6; max-width: 42ch; margin-bottom: 34px; letter-spacing: .04em; }
.hero-img { position: relative; min-height: 320px; }
.hero-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, #0d0c0b 0%, transparent 22%);
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 32px; font-size: 14px; letter-spacing: .2em;
  border: 1px solid var(--gold-2); color: var(--gold-2); background: transparent;
  transition: all .25s; border-radius: 2px;
}
.btn:hover { background: var(--gold-2); color: #171512; }
.btn.solid { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn.solid:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.btn.gold { background: var(--gold); border-color: var(--gold); color: #fff; }
.btn.gold:hover { background: #937440; border-color: #937440; }
.btn[disabled] { opacity: .5; pointer-events: none; }

/* ---------- 区块 ---------- */
.section { padding: 64px 0 24px; }
.section-head { text-align: center; margin-bottom: 36px; }
.section-head .en { color: var(--gold); letter-spacing: .4em; font-size: 12px; text-transform: uppercase; }
.section-head h2 {
  font-family: var(--serif); font-size: 28px; font-weight: 600; letter-spacing: .14em; margin-top: 6px;
}
.section-head p { color: var(--ink-3); font-size: 13.5px; margin-top: 8px; letter-spacing: .08em; }

.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cat-card {
  position: relative; overflow: hidden; border-radius: 4px;
  aspect-ratio: 3 / 3.6; background: #111; color: #fff;
}
.cat-card img { width: 100%; height: 100%; object-fit: cover; opacity: .88; transition: transform .6s, opacity .4s; }
.cat-card:hover img { transform: scale(1.05); opacity: 1; }
.cat-card .label {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 22px;
  background: linear-gradient(transparent, rgba(10,9,8,.82));
}
.cat-card .label b { font-family: var(--serif); font-size: 21px; letter-spacing: .3em; font-weight: 600; }
.cat-card .label span { display: block; font-size: 12px; color: #cfc5b4; letter-spacing: .2em; margin-top: 3px; }

/* ---------- 商品卡片 ---------- */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.p-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 4px;
  overflow: hidden; transition: box-shadow .25s, transform .25s; display: flex; flex-direction: column;
}
.p-card:hover { box-shadow: 0 14px 34px rgba(23, 21, 18, .1); transform: translateY(-3px); }
.p-card .ph { aspect-ratio: 1 / 1; overflow: hidden; background: #f4f2ef; position: relative; }
.p-card .ph img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.p-card .tag {
  position: absolute; top: 10px; left: 10px;
  background: rgba(23,21,18,.82); color: var(--gold-2);
  font-size: 11px; letter-spacing: .12em; padding: 3px 9px; border-radius: 2px;
}
.p-card .tag-natural { background: linear-gradient(100deg, #7a5f33, #a8854e); color: #fff; }
.fav-btn {
  position: absolute; top: 8px; right: 8px; z-index: 2;
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--line); background: rgba(255,255,255,.9);
  color: var(--ink-3); font-size: 16px; line-height: 1; transition: all .2s;
}
.fav-btn:hover { border-color: var(--gold-2); color: var(--gold); }
.fav-btn.on { background: var(--gold); border-color: var(--gold); color: #fff; }
.fav-btn.lg { position: static; width: auto; height: 44px; border-radius: 4px; padding: 0 18px; font-size: 18px; }
.searchbox .suggest {
  display: none; position: absolute; top: calc(100% + 8px); right: 0; width: 320px;
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  box-shadow: 0 16px 40px rgba(23,21,18,.14); overflow: hidden; z-index: 80;
}
.searchbox .suggest.open { display: block; }
.searchbox .suggest a { display: flex; align-items: center; gap: 10px; padding: 8px 12px; font-size: 13px; }
.searchbox .suggest a:hover { background: var(--gold-bg); }
.searchbox .suggest img { width: 40px; height: 40px; object-fit: cover; border-radius: 4px; background: #f4f2ef; }
.searchbox .suggest .s-name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink-2); }
.searchbox .suggest .s-price { color: var(--gold); font-weight: 600; }
.p-card.natural { border-color: #e2d5bd; }
.p-card.natural:hover { box-shadow: 0 14px 34px rgba(122, 95, 51, .18); }
.p-card .info { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.p-card .sub { font-size: 12px; color: var(--ink-3); letter-spacing: .18em; }
.p-card .name {
  font-size: 14.5px; color: var(--ink); letter-spacing: .02em;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.p-card .spec-mini {
  font-size: 11.5px; color: #9a8b6f; letter-spacing: .04em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.p-card .spec-mini i { font-style: normal; color: #d4c9b2; margin: 0 5px; }
.p-card .price-row { margin-top: auto; padding-top: 8px; display: flex; align-items: baseline; gap: 8px; }
.price { color: var(--gold); font-weight: 600; font-size: 17px; font-family: Georgia, serif; }
.price small { font-size: 12px; margin-right: 1px; }
.price-del { color: var(--ink-3); font-size: 12.5px; text-decoration: line-through; }

/* ---------- 列表页 ---------- */
.page-head {
  background: #171512 url() center/cover; color: #fff;
  padding: 46px 0 40px; text-align: center; position: relative; overflow: hidden;
}
.page-head::before { content:""; position:absolute; inset:0; background: radial-gradient(ellipse at 50% 120%, rgba(197,164,104,.28), transparent 60%); }
.page-head h1 { font-family: var(--serif); letter-spacing: .3em; font-size: 30px; font-weight: 600; position: relative; }
.page-head p { color: #b6ac9c; letter-spacing: .28em; font-size: 12px; margin-top: 6px; position: relative; }
.toolbar {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 22px 0 18px;
}
.chip {
  padding: 7px 18px; border: 1px solid var(--line); border-radius: 999px;
  background: #fff; font-size: 13.5px; color: var(--ink-2); letter-spacing: .06em;
  transition: all .2s; cursor: pointer;
}
.chip:hover { border-color: var(--gold-2); color: var(--ink); }
.chip.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.toolbar .spacer { flex: 1; }
.toolbar select {
  padding: 8px 12px; border: 1px solid var(--line); border-radius: 4px; background: #fff; outline: none;
}
.result-meta { color: var(--ink-3); font-size: 13px; padding-bottom: 14px; }
.pager { display: flex; justify-content: center; gap: 8px; padding: 34px 0 20px; flex-wrap: wrap; }
.pager button {
  min-width: 38px; height: 38px; border: 1px solid var(--line); background: #fff;
  border-radius: 4px; color: var(--ink-2);
}
.pager button.cur { background: var(--ink); color: #fff; border-color: var(--ink); }
.pager button:disabled { opacity: .4; cursor: default; }

/* ---------- 详情页 ---------- */
.crumb { padding: 18px 0 6px; font-size: 13px; color: var(--ink-3); }
.crumb a:hover { color: var(--gold); }
.detail { display: grid; grid-template-columns: 1.05fr 1fr; gap: 44px; padding: 18px 0 40px; }
.gallery .main {
  border: 1px solid var(--line); border-radius: 4px; background: #f4f2ef;
  aspect-ratio: 1/1; overflow: hidden; display:flex; align-items:center; justify-content:center;
}
.gallery .main img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; }
.thumbs img {
  width: 72px; height: 72px; object-fit: cover; border: 1px solid var(--line);
  border-radius: 4px; cursor: pointer; background:#f4f2ef;
}
.thumbs img.cur { border-color: var(--gold); }
.thumbs .video-thumb {
  width: 72px; height: 72px; border: 1px solid var(--line); border-radius: 4px;
  background: #171512; color: var(--gold-2); font-size: 22px;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.thumbs .video-thumb.cur { border-color: var(--gold); }
.d-info .sub { color: var(--gold); letter-spacing: .3em; font-size: 12.5px; }
.d-info h1 { font-family: var(--serif); font-size: 26px; font-weight: 600; letter-spacing: .05em; margin: 8px 0 4px; }
.d-info .sku { color: var(--ink-3); font-size: 13px; letter-spacing: .1em; }
.d-price {
  margin: 18px 0; padding: 16px 20px; background: var(--gold-bg); border-radius: 4px;
  display: flex; align-items: baseline; gap: 14px;
}
.d-price .price { font-size: 28px; }
.d-note {
  border-left: 3px solid var(--gold-2); background: #fff; padding: 10px 16px;
  color: var(--ink-2); font-size: 13.5px; margin-bottom: 16px;
}
.d-desc { color: var(--ink-2); font-size: 14px; margin: 14px 0 22px; }
/* 详情页参数亮点条（4C 速览） */
.spec-strip {
  display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 4px;
}
.spec-strip .cell {
  min-width: 78px; padding: 8px 14px; text-align: center;
  border: 1px solid #e8e0cf; border-radius: 4px; background: #fdfcf9;
}
.spec-strip .cell b { display: block; font-size: 14.5px; color: var(--ink); letter-spacing: .04em; }
.spec-strip .cell span { display: block; font-size: 11px; color: var(--ink-3); letter-spacing: .14em; margin-top: 2px; }

.spec-box { margin: 4px 0 22px; }
.spec-title {
  font-family: var(--serif); font-weight: 600; letter-spacing: .18em;
  font-size: 14.5px; margin-bottom: 8px; color: var(--ink);
}
.spec-title::before { content: "◆"; color: var(--gold-2); margin-right: 8px; font-size: 11px; }
.spec-tbl { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); font-size: 13.5px; }
.spec-tbl td { padding: 8px 14px; border-bottom: 1px solid #f0eeea; }
.spec-tbl tr:last-child td { border-bottom: none; }
.spec-tbl td:first-child { width: 110px; color: var(--ink-3); background: #faf8f5; border-right: 1px solid #f0eeea; }
.spec-tbl td:last-child { color: var(--ink); }
.d-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; margin-bottom: 22px; font-size: 13.5px; }
.d-meta div { color: var(--ink-2); }
.d-meta b { color: var(--ink); font-weight: 600; margin-right: 8px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 4px; background: #fff; }
.qty button { width: 38px; height: 42px; border: none; background: none; font-size: 17px; color: var(--ink-2); }
.qty input { width: 52px; height: 42px; border: none; text-align: center; outline: none; font-size: 15px; }
.buy-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.stock-hint { font-size: 13px; color: var(--ink-3); }
.svc { display: flex; gap: 20px; margin-top: 26px; padding-top: 18px; border-top: 1px dashed var(--line); color: var(--ink-3); font-size: 12.5px; flex-wrap: wrap; }
.svc span::before { content: "✦"; color: var(--gold-2); margin-right: 6px; }

/* ---------- 购物车 / 结算 ---------- */
.cart-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.cart-table th { background: #f4f1ec; font-size: 13px; letter-spacing: .1em; color: var(--ink-2); font-weight: 600; padding: 12px 14px; text-align: left; }
.cart-table td { padding: 14px; border-top: 1px solid var(--line); vertical-align: middle; }
.cart-item { display: flex; align-items: center; gap: 14px; }
.cart-item img { width: 72px; height: 72px; object-fit: cover; border: 1px solid var(--line); border-radius: 4px; background:#f4f2ef; }
.cart-item .nm { font-size: 14px; }
.cart-item .sk { font-size: 12px; color: var(--ink-3); }
.link-danger { color: var(--danger); font-size: 13px; background: none; border: none; }
.cart-foot { display: flex; justify-content: flex-end; align-items: center; gap: 22px; padding: 22px 0; flex-wrap: wrap; }
.cart-foot .total { font-size: 15px; }
.cart-foot .total .price { font-size: 26px; }
.empty { text-align: center; color: var(--ink-3); padding: 70px 0; }
.empty .icon { font-size: 44px; margin-bottom: 12px; }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 26px; }
.form-row { margin-bottom: 16px; }
.form-row label { display: block; font-size: 13.5px; color: var(--ink-2); margin-bottom: 6px; letter-spacing: .06em; }
.form-row input, .form-row textarea, .form-row select {
  width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: 4px; outline: none; background: #fdfcfb;
}
.form-row input:focus, .form-row textarea:focus { border-color: var(--gold-2); }
.checkout-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px; align-items: start; padding-bottom: 40px; }
.sum-line { display: flex; justify-content: space-between; padding: 7px 0; font-size: 14px; color: var(--ink-2); }
.sum-line.total { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 14px; color: var(--ink); font-weight: 600; }

/* ---------- 通用 ---------- */
.notice {
  background: var(--gold-bg); border: 1px solid #e7d9bd; color: #7a5f33;
  padding: 10px 16px; border-radius: 4px; font-size: 13.5px; margin: 14px 0;
}
.badge { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 12px; letter-spacing: .05em; }
.badge.pending { background: #fdf3e0; color: #a06b12; }
.badge.confirmed { background: #e8f1fb; color: #2a6bb0; }
.badge.shipped { background: #eaf6ec; color: #2c7d3f; }
.badge.completed { background: #eee; color: #555; }
.badge.cancelled { background: #fbecec; color: #b23a3a; }

.toast {
  position: fixed; left: 50%; bottom: 46px; transform: translateX(-50%) translateY(20px);
  background: rgba(23,21,18,.92); color: #fff; padding: 11px 26px; border-radius: 999px;
  font-size: 14px; letter-spacing: .05em; opacity: 0; pointer-events: none; transition: all .3s; z-index: 200;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- 灯箱 ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 300; display: none;
  background: rgba(15, 13, 11, .92); align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 88vw; max-height: 88vh; object-fit: contain; border-radius: 4px; }
.lb-close {
  position: absolute; top: 18px; right: 24px; width: 44px; height: 44px;
  border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: none;
  color: #fff; font-size: 24px; line-height: 1;
}
.lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.3); background: rgba(0,0,0,.3);
  color: #fff; font-size: 26px; line-height: 1;
}
.lb-prev { left: 22px; } .lb-next { right: 22px; }
.lb-nav:hover, .lb-close:hover { border-color: var(--gold-2); color: var(--gold-2); }
.lb-count {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  color: #cfc5b4; font-size: 13px; letter-spacing: .2em;
}
.gallery .main { cursor: zoom-in; }

/* ---------- 骨架屏 ---------- */
@keyframes sk-shine { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.sk-box, .sk-line {
  background: linear-gradient(90deg, #efece7 25%, #f8f6f2 50%, #efece7 75%);
  background-size: 200% 100%; animation: sk-shine 1.3s infinite linear;
}
.p-card.sk .sk-line { height: 13px; border-radius: 4px; margin: 5px 0; }
.p-card.sk .w40 { width: 40%; } .p-card.sk .w80 { width: 80%; } .p-card.sk .w30 { width: 30%; }

/* ---------- 客服浮窗 ---------- */
.svc-widget { position: fixed; right: 26px; bottom: 84px; z-index: 95; }
.svc-btn {
  width: 52px; height: 52px; border-radius: 50%;
  border: none; background: var(--ink); color: var(--gold-2);
  font-size: 17px; line-height: 1.1; box-shadow: 0 10px 26px rgba(23,21,18,.28);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
}
.svc-btn span { font-size: 10px; letter-spacing: .1em; }
.svc-btn:hover { background: var(--gold); color: #fff; }
.svc-pop {
  display: none; position: absolute; right: 0; bottom: 62px; width: 220px;
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  box-shadow: 0 18px 44px rgba(23,21,18,.18); padding: 16px 18px;
}
.svc-pop.open { display: block; }
.svc-pop-title { font-family: var(--serif); letter-spacing: .2em; font-weight: 600; margin-bottom: 10px; }
.svc-pop .svc-row { display: flex; gap: 6px; align-items: center; font-size: 13px; padding: 3px 0; }
.svc-pop .svc-row a { color: var(--gold); font-weight: 600; }
.svc-pop img { width: 150px; height: 150px; object-fit: contain; margin: 8px auto 2px; border: 1px solid var(--line); border-radius: 6px; }

/* ---------- 回到顶部 ---------- */
.back-top {
  position: fixed; right: 26px; bottom: 26px; z-index: 90;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff; color: var(--ink-2);
  font-size: 18px; box-shadow: 0 8px 22px rgba(23,21,18,.12);
  opacity: 0; pointer-events: none; transform: translateY(8px); transition: all .25s;
}
.back-top.show { opacity: 1; pointer-events: auto; transform: none; }
.back-top:hover { border-color: var(--gold); color: var(--gold); }

footer.site {
  margin-top: 60px; background: #171512; color: #a89f92; font-size: 13px;
}
.footer-in { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 30px; padding: 46px 0 30px; }
.footer-in h4 { color: #e6ddcd; font-family: var(--serif); letter-spacing: .2em; margin-bottom: 14px; font-weight: 600; }
.footer-in a { display: block; padding: 3px 0; }
.footer-in a:hover { color: var(--gold-2); }
.footer-brand .en { font-family: var(--serif); font-size: 22px; letter-spacing: .18em; color: #fff; }
.footer-brand p { margin-top: 10px; max-width: 34ch; line-height: 1.8; }
.copyright { border-top: 1px solid #2c2822; padding: 16px 0; text-align: center; font-size: 12px; color: #6d665c; letter-spacing: .08em; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .grid, .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .header-in { height: 58px; gap: 12px; }
  nav.main { display: none; position: fixed; top: 58px; left: 0; right: 0;
    background: #fff; flex-direction: column; padding: 10px 18px 18px; border-bottom: 1px solid var(--line); z-index: 60; }
  nav.main.open { display: flex; }
  .menu-btn { display: block; background: none; border: none; font-size: 22px; color: var(--ink); }
  .searchbox { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-text { padding: 44px 24px; text-align: center; align-items: center; }
  .grid, .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .detail { grid-template-columns: 1fr; gap: 26px; }
  .checkout-grid { grid-template-columns: 1fr; }
  .cart-table thead { display: none; }
  .cart-table, .cart-table tbody, .cart-table tr, .cart-table td { display: block; width: 100%; }
  .cart-table td { border: none; padding: 6px 14px; }
  .cart-table tr { border-top: 1px solid var(--line); padding: 10px 0; }
}
