/* ============================================================
   瑞恒茶器 · 前台样式（全新重构 · 素白极简 / White Gallery）
   ------------------------------------------------------------
   设计语言：纯白底 · 近黑墨色 · 极细发丝线 · 单一茶绿点缀
             直角、无阴影、无纹理；商品图以深色砖块呈现
   与后台 admin.css 完全独立，互不影响
   ============================================================ */

:root {
  --white: #ffffff;
  --soft: #fafafa;
  --soft-2: #f4f4f4;
  --ink: #111111;
  --ink-2: #3d3d3d;
  --ink-3: #6b6b6b;
  --muted: #969696;
  --line: #e8e8e8;
  --line-2: #d5d5d5;
  --accent: #33544a;
  --accent-deep: #223a32;
  --tile: #0e0e0e;
  --danger: #a63c2a;
  --serif: "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --latin: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --wrap: 1280px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

html { -webkit-text-size-adjust: 100%; }
html, body { max-width: 100%; overflow-x: hidden; }

body {
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-2);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--accent); }
img { max-width: 100%; display: block; }
button, input, textarea, select { font-family: inherit; font-size: inherit; color: inherit; }
button { cursor: pointer; border: none; background: none; }
h1, h2, h3, h4 { font-weight: 600; color: var(--ink); line-height: 1.4; }
em { font-style: normal; }
del { text-decoration: line-through; }
::selection { background: var(--accent); color: #fff; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 40px; }
.section { padding: 104px 0; }
.section.soft { background: var(--soft); }
.section.tight { padding: 64px 0; }

/* 发丝线分隔 */
.hr { height: 1px; background: var(--line); border: 0; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 30px; border: 1px solid transparent;
  font-size: 14px; letter-spacing: .12em; white-space: nowrap;
  background: var(--ink); color: #fff; transition: all .28s var(--ease);
}
.btn:hover { background: var(--accent); color: #fff; }
.btn-wood { background: var(--ink); color: #fff; }
.btn-wood:hover { background: var(--accent); color: #fff; }
.btn-seal { background: var(--accent); color: #fff; }
.btn-seal:hover { background: var(--accent-deep); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-line {
  background: transparent; color: var(--ink); border: 0; height: auto; padding: 0 0 6px;
  border-bottom: 1px solid var(--ink); letter-spacing: .1em;
}
.btn-line:hover { color: var(--accent); border-color: var(--accent); }
.btn-lg { width: 100%; height: 54px; font-size: 15px; }
.btn[disabled] { opacity: .45; pointer-events: none; }

/* ---------- 表单 ---------- */
.form-row { margin-bottom: 26px; }
.form-row > label {
  display: block; font-size: 12.5px; letter-spacing: .16em; color: var(--ink-3); margin-bottom: 10px;
}
.form-row > label i { color: var(--danger); font-style: normal; }
.form-row input[type=text], .form-row input[type=tel], .form-row input[type=number],
.form-row textarea, .form-row select {
  width: 100%; height: 50px; padding: 0 2px; border: 0; border-bottom: 1px solid var(--line-2);
  background: transparent; outline: none; font-size: 15px; color: var(--ink);
  transition: border-color .25s var(--ease);
}
.form-row textarea { height: auto; padding: 14px 2px; border: 1px solid var(--line-2); line-height: 1.8; resize: vertical; }
.form-row input:focus, .form-row textarea:focus, .form-row select:focus { border-color: var(--ink); }
.form-row input::placeholder, .form-row textarea::placeholder { color: #bdbdbd; }
.form-title {
  font-size: 13px; letter-spacing: .22em; color: var(--ink); font-weight: 600;
  padding-bottom: 16px; margin-bottom: 30px; border-bottom: 1px solid var(--ink);
}
.form-tip { font-size: 13px; color: var(--muted); line-height: 1.9; margin: 4px 0 28px; }

/* 单选卡 */
.pay-method-radio { display: grid; gap: 12px; }
.pm-radio {
  display: block; position: relative; cursor: pointer; padding: 18px 20px 18px 52px;
  border: 1px solid var(--line); transition: border-color .25s var(--ease);
}
.pm-radio:hover { border-color: var(--line-2); }
.pm-radio input { position: absolute; left: 20px; top: 24px; accent-color: var(--accent); }
.pm-radio b { display: block; font-size: 15px; color: var(--ink); margin-bottom: 4px; }
.pm-radio span { font-size: 13px; color: var(--muted); line-height: 1.7; }
.pm-radio:has(input:checked) { border-color: var(--ink); }

/* ---------- 标记 ---------- */
.tag {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  padding: 4px 10px; font-size: 11px; letter-spacing: .16em;
  background: #fff; color: var(--ink);
}
.tag-hot { background: var(--ink); color: #fff; }
.tag-new { background: #fff; color: var(--ink); }
.tag-out { background: rgba(17, 17, 17, .72); color: #fff; top: auto; bottom: 14px; }

.st {
  display: inline-block; padding: 3px 12px; font-size: 11.5px; letter-spacing: .12em;
  border: 1px solid var(--line-2); color: var(--ink-3); white-space: nowrap;
}
.st-0 { border-color: var(--line-2); color: var(--muted); }
.st-1 { border-color: #c9b98a; color: #8a6a2a; }
.st-2 { border-color: #7fa3c4; color: #2f6389; }
.st-3 { border-color: #8fbf9f; color: #2f6b45; }
.st-4 { border-color: var(--line); color: #b0b0b0; }

/* 印章（极简方框） */
.seal-box {
  width: 58px; height: 58px; display: inline-flex; flex-wrap: wrap;
  border: 1px solid var(--accent); color: var(--accent);
  font-size: 20px; line-height: 1; align-items: center; justify-content: center;
}
.seal-box span { width: 50%; text-align: center; }
.seal-box.sm { width: 42px; height: 42px; font-size: 14px; }

/* ============================================================
   顶部公告 + 页头
   ============================================================ */
.topbar { background: var(--soft); border-bottom: 1px solid var(--line); }
.topbar-inner {
  display: flex; justify-content: space-between; align-items: center;
  height: 36px; font-size: 12px; letter-spacing: .08em; color: var(--muted);
}
.topbar-phone { color: var(--ink-3); }

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; height: 76px; gap: 40px; }

.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand-logo { width: 38px; height: 38px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text b { font-size: 17px; letter-spacing: .2em; color: var(--ink); font-weight: 600; }
.brand-text i { font-size: 10.5px; letter-spacing: .22em; color: var(--muted); font-style: normal; }

.main-nav { display: flex; gap: 38px; margin-left: auto; }
.main-nav a {
  position: relative; font-size: 14px; letter-spacing: .16em; color: var(--ink-2); padding: 6px 0;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px;
  background: var(--ink); transition: right .3s var(--ease);
}
.main-nav a:hover { color: var(--ink); }
.main-nav a:hover::after, .main-nav a.on::after { right: 0; }
.main-nav a.on { color: var(--ink); }

.cart-btn { position: relative; flex: none; color: var(--ink); display: flex; }
.cart-btn:hover { color: var(--accent); }
.cart-count {
  position: absolute; top: -7px; right: -9px; min-width: 17px; height: 17px; padding: 0 4px;
  background: var(--accent); color: #fff; font-size: 10.5px; line-height: 17px;
  text-align: center; font-family: var(--latin);
}
.nav-toggle { display: none; width: 30px; height: 30px; flex-direction: column; justify-content: center; gap: 6px; }
.nav-toggle span { display: block; height: 1px; background: var(--ink); transition: all .3s var(--ease); }

/* ============================================================
   首屏
   ============================================================ */
.hero { position: relative; height: 76vh; min-height: 460px; overflow: hidden; background: var(--tile); }
.hero-slider { position: relative; height: 100%; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s var(--ease); visibility: hidden; }
.hero-slide.active { opacity: 1; visibility: visible; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero-overlay { position: absolute; inset: 0; display: flex; align-items: center; }
.hero-copy { max-width: var(--wrap); }
.hero-vtitle {
  display: flex; gap: 14px; color: #fff; font-size: 46px; font-weight: 500;
  letter-spacing: .1em; margin-bottom: 22px; text-shadow: 0 2px 30px rgba(0, 0, 0, .35);
}
.hero-vtitle span { animation: heroUp .8s var(--ease) backwards; }
.hero-vtitle span:nth-child(2) { animation-delay: .12s; }
.hero-vtitle span:nth-child(3) { animation-delay: .24s; }
.hero-vtitle span:nth-child(4) { animation-delay: .36s; }
@keyframes heroUp { from { opacity: 0; transform: translateY(16px); } }
.hero-vline { display: block; width: 52px; height: 1px; background: rgba(255, 255, 255, .8); margin-bottom: 20px; }
.hero-sub {
  color: rgba(255, 255, 255, .86); font-size: 14.5px; letter-spacing: .14em;
  margin-bottom: 34px; font-family: var(--latin); font-style: italic;
}
.hero-cta {
  display: inline-flex; align-items: center; height: 48px; padding: 0 36px;
  border: 1px solid rgba(255, 255, 255, .85); background: transparent; color: #fff;
  font-size: 13.5px; letter-spacing: .2em; transition: all .3s var(--ease);
}
.hero-cta:hover { background: #fff; color: var(--ink); }
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 52px; height: 52px; color: #fff; font-size: 26px; line-height: 1;
  border: 1px solid rgba(255, 255, 255, .34); transition: all .3s var(--ease);
}
.hero-arrow:hover { background: rgba(255, 255, 255, .14); }
.hero-arrow.prev { left: 32px; }
.hero-arrow.next { right: 32px; }
.hero-bars { position: absolute; left: 0; right: 0; bottom: 30px; z-index: 3; display: flex; justify-content: center; gap: 10px; }
.hero-bar { width: 46px; height: 2px; background: rgba(255, 255, 255, .32); overflow: hidden; cursor: pointer; }
.hero-bar i { display: block; height: 100%; width: 0; background: #fff; }
.hero-bar.on i { width: 100%; animation: barFill 5.5s linear; }
@keyframes barFill { from { width: 0; } to { width: 100%; } }

/* ============================================================
   区段标题
   ============================================================ */
.j-kicker {
  display: block; font-family: var(--latin); font-size: 11.5px; letter-spacing: .42em;
  color: var(--muted); text-transform: uppercase; margin-bottom: 14px;
}
.j-h2 { font-size: 30px; font-weight: 500; letter-spacing: .12em; color: var(--ink); }
.j-cats-head, .j-sec-head { margin-bottom: 54px; }
.j-sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.j-more { font-size: 13px; letter-spacing: .14em; color: var(--ink-3); border-bottom: 1px solid var(--line-2); padding-bottom: 3px; }
.j-more:hover { color: var(--accent); border-color: var(--accent); }

/* ============================================================
   首页 · 品类
   ============================================================ */
.j-cats { padding: 96px 0 0; }
.j-cats-grid {
  display: grid; grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
.j-cat {
  padding: 38px 20px 34px; text-align: center;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  transition: background .3s var(--ease);
}
.j-cat:hover { background: var(--soft); }
.j-cat-ico { display: block; width: 42px; height: 42px; margin: 0 auto 18px; color: var(--ink); }
.j-cat-ico svg { width: 100%; height: 100%; }
.j-cat b { display: block; font-size: 15.5px; letter-spacing: .14em; color: var(--ink); font-weight: 500; }
.j-cat em {
  display: block; margin-top: 6px; font-family: var(--latin); font-size: 11px;
  letter-spacing: .26em; color: var(--muted);
}

/* ============================================================
   首页 · 甄选器物
   ============================================================ */
.j-feature { padding: 104px 0; }
.j-feature-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 0; border-top: 1px solid var(--line); }
.j-feat-main { position: relative; display: block; padding: 0 0 0 0; border-right: 1px solid var(--line); }
.j-feat-main img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; background: var(--tile); }
.j-feat-copy { display: block; padding: 30px 40px 34px 0; }
.j-tag {
  display: inline-block; font-family: var(--latin); font-size: 10.5px; letter-spacing: .34em;
  color: var(--muted); margin-bottom: 12px;
}
.j-feat-copy h3 { font-size: 24px; font-weight: 500; letter-spacing: .08em; margin-bottom: 10px; }
.j-feat-copy p { font-size: 13.5px; color: var(--muted); margin-bottom: 16px; }
.j-price { font-family: var(--latin); font-size: 22px; color: var(--ink); letter-spacing: .04em; }
.j-feat-side { display: flex; flex-direction: column; }
.j-feat-item {
  display: flex; gap: 20px; align-items: center; padding: 22px 0 22px 32px;
  border-bottom: 1px solid var(--line);
}
.j-feat-item:last-child { border-bottom: 0; }
.j-feat-item img { width: 96px; height: 96px; object-fit: cover; background: var(--tile); flex: none; }
.j-feat-item b { display: block; font-size: 15px; font-weight: 500; color: var(--ink); margin-bottom: 5px; }
.j-feat-item span span, .j-feat-item > span > span { display: block; font-size: 12.5px; color: var(--muted); }
.j-feat-item i { display: block; margin-top: 8px; font-family: var(--latin); font-size: 16px; font-style: normal; color: var(--ink); }

/* ============================================================
   首页 · 品牌故事
   ============================================================ */
.j-story { padding: 104px 0; background: var(--soft); }
.j-story-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 76px; align-items: center; }
.j-story-copy h2 { font-size: 34px; font-weight: 500; letter-spacing: .1em; line-height: 1.5; margin-bottom: 26px; }
.j-story-copy p { font-size: 14.5px; color: var(--ink-3); margin-bottom: 18px; line-height: 2; }
.j-story-copy .btn-line { margin-top: 12px; }
.j-story-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--tile); }

/* ============================================================
   首页 · 服务保障
   ============================================================ */
.promise { border-top: 1px solid var(--line); }
.promise-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.promise-item { padding: 44px 30px 44px 0; border-right: 1px solid var(--line); }
.promise-item:last-child { border-right: 0; }
.promise-item b { display: block; font-size: 14.5px; letter-spacing: .14em; color: var(--ink); margin-bottom: 10px; font-weight: 500; }
.promise-item span { font-size: 13px; color: var(--muted); }

/* ============================================================
   内页页头
   ============================================================ */
.page-head { padding: 74px 0 46px; border-bottom: 1px solid var(--line); }
.page-head-sm { padding: 56px 0 38px; }
.crumbs { font-size: 12.5px; color: var(--muted); letter-spacing: .1em; margin-bottom: 20px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--ink); }
.crumbs span { margin: 0 9px; color: var(--line-2); }
.crumbs em { color: var(--ink-3); }
.page-title { font-size: 32px; font-weight: 500; letter-spacing: .14em; display: flex; align-items: baseline; gap: 18px; }
.page-title em { font-family: var(--latin); font-size: 14px; letter-spacing: .3em; color: var(--muted); font-style: italic; }

/* ============================================================
   列表页
   ============================================================ */
.list-layout { display: grid; grid-template-columns: 210px 1fr; gap: 64px; align-items: start; }
.list-side { position: sticky; top: 110px; }
.side-title {
  font-size: 12px; letter-spacing: .26em; color: var(--ink); font-weight: 600;
  padding-bottom: 16px; margin-bottom: 6px; border-bottom: 1px solid var(--ink);
}
.side-cats { list-style: none; }
.side-cats li { border-bottom: 1px solid var(--line); }
.side-cats a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 2px; font-size: 14px; letter-spacing: .1em; color: var(--ink-2);
}
.side-cats a span { font-family: var(--latin); font-size: 12px; color: var(--muted); }
.side-cats a:hover, .side-cats a.on { color: var(--ink); }
.side-cats a.on { font-weight: 600; }
.side-cats a.on span { color: var(--accent); }
.side-seal { margin-top: 40px; padding-top: 30px; border-top: 1px solid var(--line); text-align: center; }
.side-seal p { margin-top: 14px; font-size: 12px; color: var(--muted); line-height: 1.9; letter-spacing: .1em; }

.list-toolbar {
  display: flex; justify-content: space-between; align-items: center; gap: 30px;
  padding-bottom: 20px; margin-bottom: 40px; border-bottom: 1px solid var(--line);
}
.search-box { display: flex; align-items: center; border-bottom: 1px solid var(--line-2); }
.search-box input {
  width: 240px; height: 38px; border: 0; background: transparent; outline: none; font-size: 13.5px;
}
.search-box input::placeholder { color: #bdbdbd; }
.search-box button { font-size: 13px; letter-spacing: .14em; color: var(--ink-3); padding: 0 4px; }
.search-box button:hover { color: var(--ink); }
.sort-tabs { display: flex; gap: 26px; }
.sort-tabs a { font-size: 13px; letter-spacing: .12em; color: var(--muted); padding-bottom: 3px; border-bottom: 1px solid transparent; }
.sort-tabs a:hover { color: var(--ink-2); }
.sort-tabs a.on { color: var(--ink); border-color: var(--ink); }

.p-grid { display: grid; gap: 48px 32px; }
.p-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.p-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 72px; padding-top: 40px; border-top: 1px solid var(--line); }
.pagination a, .pagination span {
  min-width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); font-family: var(--latin); font-size: 14px; color: var(--ink-2);
  transition: all .25s var(--ease);
}
.pagination a:hover { border-color: var(--ink); color: var(--ink); }
.pagination .on { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- 商品卡 ---------- */
.p-card { display: flex; flex-direction: column; }
.p-cover { position: relative; display: block; overflow: hidden; background: var(--tile); }
.p-cover img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .7s var(--ease); }
.p-card:hover .p-cover img { transform: scale(1.035); }
.p-actions {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 14px;
  background: linear-gradient(to top, rgba(0, 0, 0, .55), transparent);
  opacity: 0; transform: translateY(8px); transition: all .35s var(--ease);
}
.p-card:hover .p-actions { opacity: 1; transform: translateY(0); }
.btn-quick-add {
  width: 100%; height: 42px; background: rgba(255, 255, 255, .96); color: var(--ink);
  font-size: 13px; letter-spacing: .16em; transition: all .25s var(--ease);
}
.btn-quick-add:hover { background: var(--ink); color: #fff; }
.p-info { padding: 20px 0 0; }
.p-name { display: block; font-size: 15.5px; font-weight: 500; letter-spacing: .06em; color: var(--ink); margin-bottom: 7px; }
.p-sub { font-size: 12.5px; color: var(--muted); margin-bottom: 12px; min-height: 20px; }
.p-price-row { display: flex; align-items: baseline; gap: 10px; }
.p-price { font-family: var(--latin); font-size: 18px; color: var(--ink); letter-spacing: .03em; }
.p-price i { font-size: 12px; margin-right: 1px; font-style: normal; }
.p-origin { font-family: var(--latin); font-size: 13px; color: #b5b5b5; }

/* ============================================================
   详情页
   ============================================================ */
.section.detail { padding: 56px 0 104px; }
.detail-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 72px; align-items: start; }
.detail-gallery { position: sticky; top: 110px; }
.gallery-main { position: relative; background: var(--tile); }
.gallery-main img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 12px; margin-top: 12px; flex-wrap: wrap; }
.thumb { width: 82px; height: 82px; padding: 0; border: 1px solid var(--line); background: var(--tile); transition: border-color .25s var(--ease); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover { border-color: var(--line-2); }
.thumb.on { border-color: var(--ink); }

.detail-en { font-family: var(--latin); font-size: 12px; letter-spacing: .3em; color: var(--muted); margin-bottom: 16px; font-style: italic; }
.detail-name { font-size: 30px; font-weight: 500; letter-spacing: .08em; line-height: 1.5; margin-bottom: 12px; }
.detail-sub { font-size: 14px; color: var(--muted); padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.detail-price { display: flex; align-items: baseline; gap: 14px; padding: 26px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.detail-price-now { font-family: var(--latin); font-size: 34px; color: var(--ink); letter-spacing: .02em; }
.detail-price-now i { font-size: 17px; margin-right: 2px; font-style: normal; }
.detail-price-old { font-family: var(--latin); font-size: 16px; color: #bdbdbd; }
.detail-stock { margin-left: auto; font-size: 12.5px; color: var(--muted); letter-spacing: .1em; }
.detail-stock.out { color: var(--danger); }

.detail-params { width: 100%; border-collapse: collapse; margin: 26px 0 8px; }
.detail-params tr { border-bottom: 1px solid var(--line); }
.detail-params th, .detail-params td { padding: 15px 0; font-size: 13.5px; text-align: left; vertical-align: top; }
.detail-params th { width: 116px; font-weight: 400; color: var(--muted); letter-spacing: .12em; }
.detail-params td { color: var(--ink); }

.cert-badge {
  display: inline-flex; align-items: center; gap: 8px; margin: 18px 0 4px;
  padding: 8px 16px; border: 1px solid var(--line-2); font-size: 12.5px; color: var(--ink-3); letter-spacing: .06em;
}
.cert-badge svg { width: 15px; height: 15px; color: var(--accent); }

.detail-buy { display: flex; align-items: center; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.qty-stepper { display: inline-flex; align-items: center; border: 1px solid var(--line-2); height: 52px; }
.qty-btn { width: 46px; height: 100%; font-size: 17px; color: var(--ink-3); transition: color .2s var(--ease); }
.qty-btn:hover { color: var(--ink); }
.qty-stepper input {
  width: 52px; height: 100%; border: 0; border-left: 1px solid var(--line); border-right: 1px solid var(--line);
  text-align: center; font-family: var(--latin); font-size: 15px; background: transparent; outline: none;
  -moz-appearance: textfield;
}
.qty-stepper input::-webkit-outer-spin-button, .qty-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty-stepper.sm { height: 36px; }
.qty-stepper.sm .qty-btn { width: 32px; font-size: 14px; }
.qty-stepper.sm input { width: 40px; font-size: 13px; }
.btn-cart, .btn-buy { height: 52px; padding: 0 40px; font-size: 14px; letter-spacing: .16em; }
.btn-cart { background: transparent; border: 1px solid var(--ink); color: var(--ink); }
.btn-cart:hover { background: var(--ink); color: #fff; }
.btn-buy { background: var(--accent); color: #fff; }
.btn-buy:hover { background: var(--accent-deep); }

.detail-promise { list-style: none; margin-top: 38px; padding-top: 26px; border-top: 1px solid var(--line); }
.detail-promise li { font-size: 13px; color: var(--ink-3); padding: 8px 0; line-height: 1.9; }
.detail-promise li b { display: inline-block; min-width: 76px; font-weight: 400; color: var(--muted); letter-spacing: .1em; }
.detail-promise li b::after { content: ""; }

.detail-desc { padding: 84px 0 0; margin-top: 84px; border-top: 1px solid var(--line); }
.sec-head { margin-bottom: 40px; }
.sec-title { font-size: 22px; font-weight: 500; letter-spacing: .16em; display: flex; align-items: baseline; gap: 16px; }
.sec-title em { font-family: var(--latin); font-size: 12.5px; letter-spacing: .3em; color: var(--muted); font-style: italic; }
.desc-body { max-width: 840px; font-size: 15px; line-height: 2.2; color: var(--ink-2); }
.desc-body p { margin-bottom: 20px; }
.desc-body .desc-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--tile); margin: 28px 0; }

/* ============================================================
   购物车
   ============================================================ */
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th {
  font-size: 12px; font-weight: 400; letter-spacing: .18em; color: var(--muted);
  text-align: left; padding: 0 0 16px; border-bottom: 1px solid var(--ink);
}
.cart-table td { padding: 26px 0; border-bottom: 1px solid var(--line); font-size: 14px; vertical-align: middle; }
.cart-table th:nth-child(2), .cart-table td:nth-child(2),
.cart-table th:nth-child(4), .cart-table td:nth-child(4) { text-align: right; }
.cart-table th:nth-child(3), .cart-table td:nth-child(3),
.cart-table th:nth-child(5), .cart-table td:nth-child(5) { text-align: center; }
.c-p { display: flex; align-items: center; gap: 20px; }
.c-p img { width: 84px; height: 84px; object-fit: cover; background: var(--tile); flex: none; }
.c-p b { display: block; font-size: 15px; font-weight: 500; color: var(--ink); margin-bottom: 5px; }
.c-p span { font-size: 12.5px; color: var(--muted); }
.row-invalid { opacity: .55; }
.cart-remove { font-size: 12.5px; color: var(--muted); letter-spacing: .1em; border-bottom: 1px solid transparent; }
.cart-remove:hover { color: var(--danger); border-color: var(--danger); }
.cart-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  margin-top: 40px; padding-top: 34px; border-top: 1px solid var(--line); flex-wrap: wrap;
}
.cart-foot-total { font-size: 13px; letter-spacing: .16em; color: var(--muted); }
.cart-foot-total b { font-family: var(--latin); font-size: 30px; color: var(--ink); margin-left: 12px; font-weight: 400; }
.cart-foot-total b i { font-size: 15px; font-style: normal; margin-right: 2px; }

/* ============================================================
   结算
   ============================================================ */
.checkout-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 80px; align-items: start; }
.checkout-side { padding: 34px 36px; background: var(--soft); border: 1px solid var(--line); }
.co-item { display: flex; align-items: center; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.co-item:last-of-type { border-bottom: 0; }
.co-item img { width: 62px; height: 62px; object-fit: cover; background: var(--tile); flex: none; }
.co-item b { flex: 1; font-size: 14px; font-weight: 500; color: var(--ink); }
.co-item span { font-family: var(--latin); font-size: 13.5px; color: var(--muted); white-space: nowrap; }
.checkout-total {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--ink);
}
.checkout-total span { font-size: 13px; letter-spacing: .16em; color: var(--muted); }
.checkout-total b { font-family: var(--latin); font-size: 28px; color: var(--ink); font-weight: 400; }
.checkout-total b em { font-size: 15px; font-style: normal; }

/* ============================================================
   收银台 / 结果页
   ============================================================ */
.pay-box { display: grid; grid-template-columns: 1fr 1.15fr; gap: 72px; align-items: start; }
.pay-order { padding: 34px 36px; background: var(--soft); border: 1px solid var(--line); }
.pay-line { font-size: 13.5px; color: var(--ink-3); padding: 9px 0; }
.pay-line b { color: var(--ink); font-weight: 500; }
.pay-amount { font-family: var(--latin); font-size: 24px; color: var(--ink); }
.pay-items { margin-top: 22px; padding-top: 10px; border-top: 1px solid var(--line); }
.pay-methods .form-title, .pay-result .form-title { margin-bottom: 24px; }
.pay-method {
  display: block; width: 100%; text-align: left; padding: 22px 24px; margin-bottom: 14px;
  border: 1px solid var(--line); transition: all .28s var(--ease);
}
.pay-method:hover { border-color: var(--ink); background: var(--soft); }
.pay-method b { display: block; font-size: 16px; color: var(--ink); margin-bottom: 5px; font-weight: 500; }
.pay-method span { font-size: 13px; color: var(--muted); }
.pay-tip { font-size: 13px; color: var(--muted); line-height: 1.9; margin-top: 6px; }
.pay-actions { margin: 22px 0; }
.pay-qr { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.pay-qr-link { font-size: 12.5px; color: var(--accent); word-break: break-all; border-bottom: 1px solid var(--line-2); }
.pay-polling { display: flex; align-items: center; gap: 6px; margin-top: 26px; flex-wrap: wrap; }
.pay-polling p { width: 100%; font-size: 12.5px; color: var(--muted); margin-top: 8px; }
.pay-dot { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; animation: dotPulse 1.2s infinite; }
.pay-dot:nth-child(2) { animation-delay: .18s; }
.pay-dot:nth-child(3) { animation-delay: .36s; }
@keyframes dotPulse { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
.pay-switch { margin-top: 26px; font-size: 13px; }
.pay-switch a { color: var(--muted); border-bottom: 1px solid var(--line-2); padding-bottom: 2px; }
.pay-switch a:hover { color: var(--ink); }

.result-box { max-width: 660px; margin: 0 auto; text-align: center; }
.result-seal { margin-bottom: 34px; }
.result-title { font-size: 30px; font-weight: 500; letter-spacing: .14em; margin-bottom: 12px; }
.result-sub { font-family: var(--latin); font-size: 13px; letter-spacing: .26em; color: var(--muted); font-style: italic; margin-bottom: 40px; }
.result-info { padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.result-info p { font-size: 14px; color: var(--ink-3); padding: 6px 0; }
.result-info b { color: var(--ink); font-weight: 500; }
.result-amount { font-family: var(--latin); font-size: 20px; }
.result-note { font-size: 13.5px; color: var(--muted); line-height: 2; margin: 30px 0 36px; }
.result-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   订单查询 / 物流
   ============================================================ */
.track-box { max-width: 940px; margin: 0 auto; }
.track-form { max-width: 540px; margin: 0 auto 62px; }
.track-form .btn { width: 100%; }
.track-status { display: flex; align-items: center; margin-bottom: 50px; }
.ts-node { display: flex; flex-direction: column; align-items: center; gap: 12px; font-size: 12.5px; color: var(--muted); letter-spacing: .1em; white-space: nowrap; }
.ts-node i { width: 9px; height: 9px; border: 1px solid var(--line-2); border-radius: 50%; display: block; }
.ts-node.on { color: var(--ink); }
.ts-node.on i { background: var(--accent); border-color: var(--accent); }
.ts-line { flex: 1; height: 1px; background: var(--line); margin: 0 14px 26px; }
.ts-line.on { background: var(--accent); }

.track-card { border: 1px solid var(--line); }
.track-card-head {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 30px; border-bottom: 1px solid var(--line); background: var(--soft);
}
.track-card-head b { font-family: var(--latin); font-size: 16px; letter-spacing: .1em; color: var(--ink); font-weight: 500; }
.track-card-info { padding: 24px 30px; }
.track-card-info p { font-size: 13.5px; color: var(--ink-3); padding: 4px 0; }
.track-card-info b { color: var(--ink); font-weight: 500; }
.track-card-info .danger { color: var(--danger); }
.track-table { width: 100%; border-collapse: collapse; }
.track-table td { padding: 16px 30px; border-top: 1px solid var(--line); font-size: 13.5px; }
.track-table .t-img { width: 96px; padding-right: 0; }
.track-table img { width: 60px; height: 60px; object-fit: cover; background: var(--tile); }
.track-table td:nth-child(3), .track-table td:nth-child(4) { text-align: right; font-family: var(--latin); white-space: nowrap; }

.track-shipping { margin-top: 34px; padding: 30px; border: 1px solid var(--line); }
.track-shipping-title { font-size: 13px; letter-spacing: .22em; color: var(--ink); margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.track-none { text-align: center; padding: 50px 20px; border: 1px solid var(--line); }
.track-none p { font-size: 14px; color: var(--muted); padding: 5px 0; }
.track-none b { color: var(--ink); }

/* 物流时间线 */
.track-timeline .tt-head { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; flex-wrap: wrap; }
.tt-nu { font-family: var(--latin); font-size: 12.5px; color: var(--muted); letter-spacing: .08em; }
.tt-list { position: relative; padding-left: 22px; }
.tt-list::before { content: ""; position: absolute; left: 3px; top: 6px; bottom: 6px; width: 1px; background: var(--line); }
.tt-item { position: relative; padding: 0 0 22px 0; }
.tt-item::before {
  content: ""; position: absolute; left: -22px; top: 9px; width: 7px; height: 7px;
  background: var(--line-2); border-radius: 50%;
}
.tt-item.latest::before { background: var(--accent); }
.tt-context { font-size: 14px; color: var(--ink-3); line-height: 1.85; }
.tt-item.latest .tt-context { color: var(--ink); }
.tt-time { font-family: var(--latin); font-size: 12px; color: var(--muted); letter-spacing: .06em; margin-top: 5px; }
.tt-empty { font-size: 13.5px; color: var(--muted); }

/* ============================================================
   联系我们
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.contact-info h3 { font-size: 13px; letter-spacing: .22em; color: var(--ink); padding-bottom: 16px; margin-bottom: 26px; border-bottom: 1px solid var(--ink); }
.contact-map { position: relative; background: var(--tile); }
.contact-map img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.map-seal { position: absolute; left: 22px; bottom: 22px; }
.contact-note { font-size: 13.5px; color: var(--muted); line-height: 2; margin-top: 22px; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.contact-card { padding: 28px 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.contact-card.wide { grid-column: 1 / -1; }
.contact-card b { display: block; font-size: 12px; letter-spacing: .2em; color: var(--muted); margin-bottom: 12px; font-weight: 400; }
.contact-card p { font-size: 14.5px; color: var(--ink); line-height: 1.9; }

/* ============================================================
   品牌故事
   ============================================================ */
.culture-body { max-width: 780px; margin: 0 auto; }
.culture-body h2 { font-size: 23px; font-weight: 500; letter-spacing: .12em; margin: 62px 0 22px; }
.culture-body h2:first-child { margin-top: 0; }
.culture-body p { font-size: 15px; line-height: 2.2; color: var(--ink-2); }
.culture-quote {
  margin: 48px 0; padding: 34px 0 34px 30px; border-left: 1px solid var(--accent);
  font-size: 17px; line-height: 2.1; color: var(--ink); letter-spacing: .04em;
}
.culture-quote span { color: var(--accent); font-size: 26px; line-height: 1; margin-right: 4px; }
.culture-quote i { display: block; margin-top: 16px; font-size: 13px; color: var(--muted); letter-spacing: .14em; }
.culture-hero { margin: 56px 0; }
.culture-hero img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--tile); }
.culture-hero figcaption { margin-top: 14px; font-size: 12.5px; color: var(--muted); letter-spacing: .08em; }
.culture-tips { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); margin: 30px 0 10px; }
.tip-item { background: #fff; padding: 28px 26px; }
.tip-item b { display: block; font-size: 14.5px; letter-spacing: .12em; color: var(--ink); margin-bottom: 12px; font-weight: 500; }
.tip-item p { font-size: 13.5px; color: var(--ink-3); line-height: 2; }
.culture-end { margin-top: 56px; padding-top: 30px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-3); }
.culture-cta { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }

/* ============================================================
   空状态 / Toast
   ============================================================ */
.empty-box { text-align: center; padding: 90px 20px; border: 1px solid var(--line); }
.empty-box.big { padding: 130px 20px; }
.empty-en { font-family: var(--latin); font-size: 13px; letter-spacing: .3em; color: var(--muted); margin-bottom: 18px; font-style: italic; }
.empty-box p { font-size: 14.5px; color: var(--ink-3); }
.empty-box .btn { margin-top: 30px; }

.toast {
  position: fixed; left: 50%; bottom: 52px; transform: translate(-50%, 16px);
  background: var(--ink); color: #fff; padding: 13px 30px; font-size: 13.5px; letter-spacing: .1em;
  opacity: 0; pointer-events: none; transition: all .35s var(--ease); z-index: 200;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ============================================================
   页脚
   ============================================================ */
.site-footer { margin-top: 104px; border-top: 1px solid var(--line); background: var(--soft); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 56px; padding: 72px 40px 56px; }
.footer-brand .brand-logo { width: 40px; height: 40px; margin-bottom: 18px; }
.footer-brand h3 { font-size: 19px; letter-spacing: .2em; margin-bottom: 8px; font-weight: 500; }
.footer-slogan { font-size: 12.5px; letter-spacing: .16em; color: var(--muted); margin-bottom: 18px; }
.footer-desc { font-size: 13px; color: var(--muted); line-height: 2; max-width: 330px; }
.footer-col h4 { font-size: 12px; letter-spacing: .22em; color: var(--ink); margin-bottom: 20px; font-weight: 600; }
.footer-col a, .footer-col span { display: block; font-size: 13.5px; color: var(--muted); padding: 6px 0; }
.footer-col a:hover { color: var(--ink); }
.footer-bottom { border-top: 1px solid var(--line); }
.footer-bottom-inner {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 40px; font-size: 12px; color: var(--muted); letter-spacing: .06em; flex-wrap: wrap;
}
.footer-bottom-inner a { color: var(--muted); }
.footer-bottom-inner a:hover { color: var(--ink); }

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1100px) {
  .wrap { padding: 0 30px; }
  .j-cats-grid { grid-template-columns: repeat(3, 1fr); }
  .j-feature-grid { grid-template-columns: 1fr; }
  .j-feat-main { border-right: 0; border-bottom: 1px solid var(--line); padding-bottom: 24px; }
  .j-feat-copy { padding-right: 0; }
  .j-feat-item { padding-left: 0; }
  .j-story-grid { grid-template-columns: 1fr; gap: 44px; }
  .promise-grid { grid-template-columns: repeat(2, 1fr); }
  .promise-item:nth-child(2) { border-right: 0; }
  .promise-item:nth-child(1), .promise-item:nth-child(2) { border-bottom: 1px solid var(--line); }
  .list-layout { grid-template-columns: 1fr; gap: 44px; }
  .list-side { position: static; }
  .side-cats { display: flex; flex-wrap: wrap; gap: 0 30px; border-top: 1px solid var(--line); }
  .side-cats li { border-bottom: 0; }
  .side-seal { display: none; }
  .detail-grid { grid-template-columns: 1fr; gap: 48px; }
  .detail-gallery { position: static; }
  .checkout-grid, .pay-box, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; padding: 56px 30px 40px; }
  .culture-tips { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  body { font-size: 14.5px; }
  .wrap { padding: 0 18px; }
  .section { padding: 64px 0; }

  .topbar-inner { height: 32px; font-size: 11px; }
  .topbar-msg { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 62%; }
  .topbar-phone { display: none; }

  .header-inner { height: 62px; gap: 16px; }
  .brand-logo { width: 32px; height: 32px; }
  .brand-text b { font-size: 15px; }
  .brand-text i { display: none; }
  .nav-toggle { display: flex; margin-left: auto; }
  .cart-btn { margin-left: 0; }

  .main-nav {
    position: fixed; inset: 0 0 0 auto; width: 74%; max-width: 320px; z-index: 90;
    flex-direction: column; gap: 0; margin: 0; padding: 96px 30px 30px;
    background: #fff; border-left: 1px solid var(--line);
    transform: translateX(100%); transition: transform .38s var(--ease);
  }
  body.nav-open .main-nav { transform: translateX(0); }
  body.nav-open::after {
    content: ""; position: fixed; inset: 0; background: rgba(17, 17, 17, .38); z-index: 80;
  }
  .main-nav a { padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .main-nav a::after { display: none; }
  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-toggle { position: relative; z-index: 95; }

  .hero { height: 62vh; min-height: 380px; }
  .hero-copy { padding: 0 18px; }
  .hero-vtitle { font-size: 30px; gap: 10px; }
  .hero-arrow { display: none; }

  .j-cats { padding: 56px 0 0; }
  .j-cats-grid { grid-template-columns: repeat(2, 1fr); }
  .j-cat { padding: 26px 14px 24px; }
  .j-h2 { font-size: 22px; }
  .j-feature, .j-story { padding: 64px 0; }
  .j-sec-head { flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 32px; }
  .j-feature-grid { border-top: 1px solid var(--line); }
  .j-feat-copy h3 { font-size: 19px; }
  .j-feat-item img { width: 74px; height: 74px; }
  .j-story-copy h2 { font-size: 24px; }

  .promise-grid { grid-template-columns: 1fr; }
  .promise-item { border-right: 0; border-bottom: 1px solid var(--line); padding: 26px 0; }
  .promise-item:last-child { border-bottom: 0; }

  .page-head { padding: 40px 0 28px; }
  .page-title { font-size: 23px; flex-direction: column; gap: 6px; }

  .list-toolbar { flex-direction: column; align-items: stretch; gap: 18px; }
  .search-box input { width: 100%; }
  .search-box { flex: 1; }
  .sort-tabs { gap: 18px; overflow-x: auto; padding-bottom: 4px; }
  .p-grid.cols-3, .p-grid.cols-4 { grid-template-columns: repeat(2, 1fr); gap: 30px 14px; }
  .p-name { font-size: 14px; }
  .p-price { font-size: 16px; }
  .p-actions { opacity: 1; transform: none; padding: 10px; }
  .btn-quick-add { height: 36px; font-size: 12px; }
  .tag { top: 10px; left: 10px; font-size: 10px; padding: 3px 8px; }

  .section.detail { padding: 32px 0 64px; }
  .detail-name { font-size: 22px; }
  .detail-price-now { font-size: 26px; }
  .detail-params th { width: 96px; font-size: 13px; }
  .detail-params td { font-size: 13px; }
  .detail-buy { gap: 10px; }
  .qty-stepper { height: 46px; }
  .btn-cart, .btn-buy { flex: 1; height: 46px; padding: 0 18px; font-size: 13px; }

  .cart-table thead { display: none; }
  .cart-table tr { display: grid; grid-template-columns: 1fr auto; gap: 8px 14px; padding: 20px 0; border-bottom: 1px solid var(--line); }
  .cart-table td { border: 0; padding: 0; text-align: left !important; }
  .cart-table td:nth-child(1) { grid-column: 1 / -1; }
  .cart-table td:nth-child(2) { font-family: var(--latin); color: var(--muted); }
  .cart-table td:nth-child(4) { font-family: var(--latin); font-size: 17px; color: var(--ink); text-align: right !important; }
  .cart-table td:nth-child(5) { text-align: right !important; }
  .c-p img { width: 68px; height: 68px; }
  .cart-foot { flex-direction: column; align-items: stretch; }
  .cart-foot .btn { width: 100%; }
  .cart-foot-total { text-align: right; }

  .checkout-side, .pay-order { padding: 22px 20px; }
  .track-status { flex-wrap: wrap; gap: 10px; justify-content: center; }
  .ts-line { display: none; }
  .ts-node { font-size: 11.5px; }
  .track-card-head { padding: 18px 20px; }
  .track-card-info, .track-table td { padding-left: 20px; padding-right: 20px; }
  .track-shipping { padding: 22px 20px; }
  .contact-cards { grid-template-columns: 1fr; }
  .culture-quote { font-size: 15.5px; padding-left: 20px; }
  .culture-body h2 { font-size: 19px; margin: 44px 0 16px; }

  .footer-grid { grid-template-columns: 1fr; gap: 34px; padding: 48px 18px 34px; }
  .footer-bottom-inner { padding: 18px; flex-direction: column; align-items: flex-start; gap: 8px; }
  .result-title { font-size: 23px; }
  .result-actions .btn { width: 100%; }
  .toast { bottom: 26px; width: calc(100% - 36px); text-align: center; }
}
