/* ============================================================
   ROYAIPIUME — 皮具与腰带全球集市 · 共享样式
   ============================================================ */

/* ---------- 设计令牌 ---------- */
:root {
  --bg: #faf7f2;
  --surface: #ffffff;
  --ink: #2a2118;
  --ink-soft: #6f6152;
  --ink-faint: #a39585;
  --brand: #7a4e23;
  --brand-deep: #5c391a;
  --accent: #c08a3e;
  --accent-soft: #f0e2c8;
  --line: #e8dfd2;
  --ok: #2f7d4f;
  --danger: #b3402e;
  --shadow-sm: 0 1px 3px rgba(42, 33, 24, .08);
  --shadow-md: 0 8px 24px rgba(42, 33, 24, .10);
  --shadow-lg: 0 20px 48px rgba(42, 33, 24, .14);
  --radius: 14px;
  --radius-sm: 8px;
  --container: 1200px;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.container { width: min(var(--container), 92%); margin-inline: auto; }

.section { padding: 84px 0; }
.section-alt { background: var(--surface); }

/* ---------- 版式 ---------- */
h1, h2, h3, .serif { font-family: var(--serif); font-weight: 600; line-height: 1.2; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 700;
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--accent); }

.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 14px; }
.section-head p { color: var(--ink-soft); font-size: 1.05rem; }
.section-head.center .eyebrow::after { content: ""; width: 28px; height: 2px; background: var(--accent); }

/* ---------- 顶部通知条 ---------- */
.topbar {
  background: var(--ink);
  color: #f3ead9;
  font-size: .82rem;
  text-align: center;
  padding: 8px 16px;
  letter-spacing: .03em;
}
.topbar strong { color: var(--accent); font-weight: 600; }

/* ---------- 头部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-weight: 700; font-size: 1.5rem; letter-spacing: .02em; }
.brand-mark { width: 38px; height: 38px; border-radius: 10px; background: linear-gradient(135deg, var(--brand), var(--accent)); display: grid; place-items: center; color: #fff; font-size: 1.05rem; }
.brand span.trade { color: var(--accent); }

.nav-links { display: flex; gap: 6px; margin-left: auto; }
.nav-links a {
  padding: 10px 14px;
  border-radius: 8px;
  font-size: .95rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: all .18s;
}
.nav-links a:hover { color: var(--brand); background: var(--accent-soft); }
.nav-links a.active { color: var(--brand); background: var(--accent-soft); }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  position: relative;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  display: grid; place-items: center;
  color: var(--ink);
  transition: all .18s;
}
.icon-btn:hover { border-color: var(--brand); color: var(--brand); }
.icon-btn .badge {
  position: absolute;
  top: -5px; right: -5px;
  min-width: 18px; height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--danger);
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  display: grid; place-items: center;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: .95rem;
  transition: all .2s;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-deep); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--brand); }
.btn-light:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-ghost-light { border-color: rgba(255,255,255,.5); color: #fff; background: transparent; }
.btn-ghost-light:hover { background: rgba(255,255,255,.12); }
.btn-sm { padding: 9px 16px; font-size: .86rem; }

/* 移动端菜单按钮 */
.menu-toggle { display: none; }

/* 语言切换 */
.lang-switch {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.lang-switch button {
  border: none;
  background: var(--surface);
  padding: 8px 12px;
  font-size: .8rem;
  font-weight: 700;
  color: var(--ink-faint);
  letter-spacing: .02em;
  transition: all .18s;
}
.lang-switch button:hover { color: var(--brand); }
.lang-switch button.active { background: var(--brand); color: #fff; }

/* 搜索弹层 */
.search-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(42,33,24,.55);
  backdrop-filter: blur(4px);
  display: none; align-items: flex-start; justify-content: center;
  padding-top: 12vh;
}
.search-overlay.open { display: flex; }
.search-panel { background: var(--surface); border-radius: var(--radius); padding: 28px; width: min(560px, 92%); box-shadow: var(--shadow-lg); }
.search-panel h3 { margin-bottom: 16px; font-size: 1.25rem; }
.search-field { display: flex; gap: 10px; }
.search-field input { flex: 1; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 10px; outline: none; }
.search-field input:focus { border-color: var(--brand); }
.search-quick { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.search-quick .tag {
  padding: 6px 12px; border-radius: 999px; background: var(--bg);
  border: 1px solid var(--line); font-size: .82rem; cursor: pointer; transition: all .15s;
}
.search-quick .tag:hover { background: var(--accent-soft); border-color: var(--accent); }

/* ---------- 英雄区 ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(192,138,62,.28), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(122,78,35,.18), transparent 55%),
    linear-gradient(160deg, #2f2317 0%, #3d2b17 55%, #4a3319 100%);
  color: #f6ecd9;
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding: 96px 0 88px; }
.hero h1 { font-size: clamp(2.4rem, 5vw, 3.9rem); margin-bottom: 22px; }
.hero h1 em { font-style: italic; color: var(--accent); }
.hero-lead { font-size: 1.13rem; color: #d9c9ae; max-width: 540px; margin-bottom: 34px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 40px; }
.hero-stats .stat b { display: block; font-family: var(--serif); font-size: 1.9rem; color: var(--accent); }
.hero-stats .stat span { font-size: .85rem; color: #c9b795; }

.hero-visual { position: relative; }
.hero-card {
  background: linear-gradient(150deg, #fdf8f0, #f0e4cf);
  border-radius: 22px;
  padding: 26px;
  box-shadow: var(--shadow-lg);
  color: var(--ink);
  transform: rotate(2deg);
}
.hero-card .hcard-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.hero-card .hcard-head b { font-family: var(--serif); font-size: 1.05rem; }
.hero-card .hcard-price { font-size: 1.5rem; font-family: var(--serif); color: var(--brand); }
.hero-card img { border-radius: 12px; margin-bottom: 16px; }
.hero-card .hcard-meta { display: flex; justify-content: space-between; font-size: .85rem; color: var(--ink-soft); }
.hero-badge {
  position: absolute; top: -22px; right: -14px;
  background: var(--accent); color: #fff;
  padding: 10px 18px; border-radius: 999px;
  font-weight: 700; font-size: .85rem;
  box-shadow: var(--shadow-md);
  transform: rotate(4deg);
}

/* ---------- 分类 ---------- */
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cat-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  text-align: center;
  transition: all .22s;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--accent); }
.cat-card .cat-icon { width: 58px; height: 58px; margin: 0 auto 14px; border-radius: 16px; display: grid; place-items: center; background: var(--accent-soft); font-size: 1.5rem; }
.cat-card h3 { font-size: 1.02rem; margin-bottom: 4px; }
.cat-card p { font-size: .82rem; color: var(--ink-faint); }

/* ---------- 商品卡片 ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all .22s;
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.product-card .thumb { position: relative; aspect-ratio: 1/1; background: #f4eee2; overflow: hidden; }
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.product-card:hover .thumb img { transform: scale(1.05); }
.product-card .badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--brand); color: #fff;
  font-size: .72rem; font-weight: 700;
  padding: 5px 10px; border-radius: 999px;
  letter-spacing: .04em; text-transform: uppercase;
}
.product-card .badge.new { background: var(--ok); }
.product-card .badge.hot { background: var(--danger); }
.product-card .fav {
  position: absolute; top: 10px; right: 10px;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.9);
  border: none;
  display: grid; place-items: center;
  font-size: 1rem; color: var(--ink-soft);
  transition: all .18s;
}
.product-card .fav:hover { color: var(--danger); transform: scale(1.1); }
.product-card .fav.active { color: var(--danger); }
.product-card .body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-card .vendor { font-size: .76rem; color: var(--accent); font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.product-card .name { font-weight: 600; font-size: .98rem; line-height: 1.35; }
.product-card .price-row { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 10px; }
.product-card .price { font-family: var(--serif); font-size: 1.28rem; color: var(--brand); font-weight: 700; }
.product-card .price del { font-size: .92rem; color: var(--ink-faint); font-family: var(--sans); font-weight: 400; }
.product-card .rating { margin-left: auto; font-size: .84rem; color: var(--ink-soft); }
.product-card .rating b { color: #b8860b; }

/* ---------- 入驻横幅 ---------- */
.sell-banner {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(130deg, #5c391a, #7a4e23 55%, #9a6a33);
  color: #f6ecd9;
  padding: 60px clamp(28px, 5vw, 72px);
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 40px;
  align-items: center;
}
.sell-banner h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); margin-bottom: 16px; color: #fff; }
.sell-banner h2 em { color: var(--accent); font-style: italic; }
.sell-banner p { color: #dccbab; margin-bottom: 28px; max-width: 560px; }
.sell-banner .cta-group { display: flex; gap: 14px; flex-wrap: wrap; }
.sell-banner .points { display: grid; gap: 16px; }
.sell-banner .point { display: flex; gap: 14px; align-items: flex-start; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 14px; padding: 16px 18px; }
.sell-banner .point .p-icon { width: 40px; height: 40px; flex: none; border-radius: 10px; background: rgba(255,255,255,.14); display: grid; place-items: center; font-size: 1.1rem; }
.sell-banner .point b { display: block; color: #fff; font-size: .98rem; margin-bottom: 2px; }
.sell-banner .point span { font-size: .84rem; color: #d4bf9d; }

/* ---------- 商户展示 ---------- */
.vendor-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.vendor-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: all .22s;
}
.vendor-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.vendor-card .v-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.vendor-card .v-logo {
  width: 54px; height: 54px; flex: none;
  border-radius: 14px;
  display: grid; place-items: center;
  font-family: var(--serif); font-weight: 700; font-size: 1.15rem; color: #fff;
}
.vendor-card .v-head b { font-size: 1.05rem; display: block; }
.vendor-card .v-head span { font-size: .8rem; color: var(--ink-faint); }
.vendor-card p { font-size: .9rem; color: var(--ink-soft); margin-bottom: 16px; }
.vendor-card .v-meta { display: flex; justify-content: space-between; align-items: center; padding-top: 14px; border-top: 1px dashed var(--line); font-size: .85rem; color: var(--ink-soft); }
.vendor-card .v-meta b { color: var(--brand); }

/* ---------- 用户评价 ---------- */
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.quote-card .stars { color: #b8860b; letter-spacing: 2px; margin-bottom: 12px; font-size: .95rem; }
.quote-card p { font-size: .95rem; color: var(--ink-soft); margin-bottom: 20px; font-style: italic; }
.quote-card .who { display: flex; align-items: center; gap: 12px; }
.quote-card .avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: .9rem; }
.quote-card .who b { display: block; font-size: .92rem; }
.quote-card .who span { font-size: .8rem; color: var(--ink-faint); }

/* ---------- 流程 ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  position: relative;
  transition: all .22s;
}
.step-card:hover { box-shadow: var(--shadow-md); }
.step-card::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--serif);
  font-size: 2.4rem;
  color: var(--accent-soft);
  position: absolute; top: 18px; right: 24px;
  font-weight: 700;
}
.step-card .s-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--accent-soft); display: grid; place-items: center; font-size: 1.2rem; margin-bottom: 16px; }
.step-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.step-card p { font-size: .9rem; color: var(--ink-soft); }

/* ---------- 新闻订阅 ---------- */
.newsletter { background: linear-gradient(120deg, #2f2317, #4a3319); color: #f3ead9; text-align: center; }
.newsletter h2 { color: #fff; margin-bottom: 12px; }
.newsletter p { color: #c9b795; max-width: 520px; margin: 0 auto 30px; }
.news-form { display: flex; gap: 10px; max-width: 460px; margin: 0 auto; }
.news-form input { flex: 1; padding: 14px 18px; border-radius: 10px; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.1); color: #fff; outline: none; }
.news-form input::placeholder { color: #b7a68a; }
.news-form input:focus { border-color: var(--accent); }

/* ---------- 页脚 ---------- */
.site-footer { background: #221a10; color: #b7a68a; padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.site-footer .brand { color: #fff; margin-bottom: 16px; }
.site-footer p { font-size: .9rem; max-width: 320px; }
.footer-col h4 { color: #fff; font-size: .95rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col a { display: block; padding: 6px 0; font-size: .9rem; transition: color .15s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; font-size: .82rem; }
.pay-icons { display: flex; gap: 8px; font-size: 1rem; }

/* ---------- 购物车抽屉 ---------- */
.cart-drawer {
  position: fixed; top: 0; right: -420px; bottom: 0; width: min(400px, 92vw);
  background: var(--surface); z-index: 300;
  box-shadow: -10px 0 40px rgba(42,33,24,.18);
  display: flex; flex-direction: column;
  transition: right .3s ease;
}
.cart-drawer.open { right: 0; }
.cart-head { padding: 20px 24px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.cart-head h3 { font-size: 1.15rem; }
.cart-close { background: none; border: none; font-size: 1.3rem; color: var(--ink-soft); }
.cart-items { flex: 1; overflow-y: auto; padding: 16px 24px; display: grid; gap: 16px; align-content: start; }
.cart-item { display: flex; gap: 14px; padding-bottom: 16px; border-bottom: 1px dashed var(--line); }
.cart-item img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; }
.cart-item .ci-body { flex: 1; }
.cart-item .ci-name { font-weight: 600; font-size: .92rem; }
.cart-item .ci-vendor { font-size: .78rem; color: var(--ink-faint); }
.cart-item .ci-row { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.cart-item .ci-price { font-family: var(--serif); color: var(--brand); font-weight: 700; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.qty button { width: 28px; height: 28px; border: none; background: var(--bg); font-size: 1rem; }
.qty span { min-width: 28px; text-align: center; font-size: .9rem; }
.cart-empty { text-align: center; color: var(--ink-faint); padding: 60px 0; }
.cart-empty .ce-icon { font-size: 2.6rem; margin-bottom: 12px; }
.cart-foot { padding: 20px 24px; border-top: 1px solid var(--line); }
.cart-total { display: flex; justify-content: space-between; margin-bottom: 16px; font-weight: 600; }
.cart-total b { font-family: var(--serif); font-size: 1.35rem; color: var(--brand); }
.cart-foot .btn { width: 100%; }
.cart-note { font-size: .76rem; color: var(--ink-faint); text-align: center; margin-top: 10px; }

/* ---------- 遮罩 ---------- */
.scrim { position: fixed; inset: 0; background: rgba(42,33,24,.5); z-index: 250; opacity: 0; pointer-events: none; transition: opacity .25s; }
.scrim.show { opacity: 1; pointer-events: auto; }

/* ---------- 内页横幅 ---------- */
.page-hero { background: linear-gradient(130deg, #2f2317, #4a3319); color: #f6ecd9; padding: 64px 0; }
.page-hero h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); margin-bottom: 10px; }
.page-hero p { color: #c9b795; max-width: 620px; }
.breadcrumb { font-size: .84rem; color: #c9b795; margin-bottom: 14px; }
.breadcrumb a { color: var(--accent); }

/* ---------- 商品列表页 ---------- */
.shop-layout { display: grid; grid-template-columns: 250px 1fr; gap: 36px; padding: 48px 0 84px; }
.filter-box { position: sticky; top: 96px; align-self: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.filter-box h4 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 14px; }
.filter-group { margin-bottom: 22px; }
.filter-group label { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: .92rem; cursor: pointer; }
.filter-group input[type="checkbox"] { accent-color: var(--brand); width: 16px; height: 16px; }
.filter-group .count { margin-left: auto; color: var(--ink-faint); font-size: .8rem; }
.shop-main { min-width: 0; }
.shop-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; gap: 14px; flex-wrap: wrap; }
.shop-toolbar .result-count { color: var(--ink-soft); font-size: .92rem; }
.shop-sort { padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); outline: none; }

/* ---------- 商品详情页 ---------- */
.detail-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: 52px; padding: 56px 0 84px; }
.detail-gallery { position: sticky; top: 96px; align-self: start; }
.detail-gallery .main-img { border-radius: var(--radius); overflow: hidden; background: #f4eee2; margin-bottom: 14px; }
.detail-gallery .main-img img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.thumbs img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 10px; border: 2px solid transparent; cursor: pointer; transition: all .15s; }
.thumbs img.active { border-color: var(--brand); }
.detail-info .d-vendor { display: inline-flex; align-items: center; gap: 8px; background: var(--accent-soft); color: var(--brand); font-weight: 700; font-size: .82rem; padding: 6px 14px; border-radius: 999px; margin-bottom: 16px; }
.detail-info h1 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 12px; }
.detail-info .d-rating { display: flex; align-items: center; gap: 10px; color: var(--ink-soft); font-size: .9rem; margin-bottom: 18px; }
.detail-info .d-price { font-family: var(--serif); font-size: 2.2rem; color: var(--brand); font-weight: 700; margin-bottom: 6px; }
.detail-info .d-price del { font-size: 1.1rem; color: var(--ink-faint); font-family: var(--sans); font-weight: 400; margin-left: 8px; }
.detail-info .d-tax { font-size: .82rem; color: var(--ink-faint); margin-bottom: 22px; }
.detail-info .d-desc { color: var(--ink-soft); margin-bottom: 26px; line-height: 1.75; }
.option-label { font-size: .85rem; font-weight: 700; margin-bottom: 10px; }
.options { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }
.opt-chip {
  padding: 10px 18px; border: 1.5px solid var(--line); border-radius: 10px;
  background: var(--surface); font-size: .9rem; transition: all .15s;
}
.opt-chip.active { border-color: var(--brand); background: var(--brand); color: #fff; }
.detail-cta { display: flex; gap: 14px; margin-bottom: 26px; flex-wrap: wrap; }
.detail-cta .btn { flex: 1; min-width: 180px; }
.seller-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-bottom: 26px; background: var(--surface); }
.seller-box .s-row { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.seller-box .v-logo { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; color: #fff; font-family: var(--serif); font-weight: 700; }
.seller-box b { font-size: 1rem; }
.seller-box .s-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.seller-box .s-meta div { background: var(--bg); border-radius: 10px; padding: 10px; text-align: center; font-size: .8rem; color: var(--ink-soft); }
.seller-box .s-meta b { display: block; font-family: var(--serif); font-size: 1.15rem; color: var(--brand); }
.ship-row { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--ink-soft); padding: 10px 0; border-bottom: 1px dashed var(--line); }
.ship-row:last-child { border-bottom: none; }
.ship-row .s-icon { font-size: 1.15rem; }

.related { padding: 0 0 84px; }

/* ---------- 商户列表页 ---------- */
.shop-sort .page-head { padding: 56px 0 0; }

/* ---------- 入驻页 ---------- */
.sell-hero { background: linear-gradient(130deg, #2f2317, #4a3319); color: #f6ecd9; padding: 72px 0; }
.sell-hero h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); margin-bottom: 16px; }
.sell-hero h1 em { color: var(--accent); font-style: italic; }
.sell-hero p { color: #d9c9ae; max-width: 660px; font-size: 1.08rem; margin-bottom: 30px; }
.commission-band { background: var(--accent-soft); border: 1px solid var(--accent); border-radius: 14px; padding: 14px 22px; display: inline-flex; gap: 26px; flex-wrap: wrap; }
.commission-band b { color: var(--brand); font-family: var(--serif); font-size: 1.4rem; }
.commission-band span { font-size: .85rem; color: var(--brand-deep); }
.sell-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 84px 0; }
.sell-cols .left { padding-right: 24px; }
.sell-cols .right { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 32px; box-shadow: var(--shadow-sm); }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-size: .85rem; font-weight: 700; margin-bottom: 8px; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 13px 16px;
  border: 1.5px solid var(--line); border-radius: 10px;
  background: var(--bg); outline: none; transition: border-color .15s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--brand); background: #fff; }
.form-field textarea { resize: vertical; min-height: 110px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: .78rem; color: var(--ink-faint); margin-top: 12px; text-align: center; }
.success-box { display: none; text-align: center; padding: 40px 20px; }
.success-box.show { display: block; }
.success-box .ok-icon { font-size: 3.4rem; margin-bottom: 14px; }
.success-box h3 { font-size: 1.5rem; margin-bottom: 8px; }
.success-box p { color: var(--ink-soft); }

.fee-table { width: 100%; border-collapse: collapse; margin: 10px 0 24px; background: var(--surface); border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.fee-table th, .fee-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); font-size: .92rem; }
.fee-table th { background: var(--bg); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.fee-table tr:last-child td { border-bottom: none; }
.fee-table .num { font-family: var(--serif); font-weight: 700; color: var(--brand); font-size: 1.05rem; }
.fee-table .free { color: var(--ok); font-weight: 700; }
.fee-table tr:last-child td { border-bottom: none; }
.fee-table tr { border-bottom: 1px solid var(--line); }

/* ---------- 关于页 ---------- */
.about-lead { padding: 64px 0; }
.about-lead .lead-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about-lead h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 18px; }
.about-lead p { color: var(--ink-soft); font-size: 1.05rem; line-height: 1.8; }
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.mv-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.mv-card .m-icon { width: 50px; height: 50px; border-radius: 12px; background: var(--accent-soft); display: grid; place-items: center; font-size: 1.25rem; margin-bottom: 16px; }
.mv-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.mv-card p { color: var(--ink-soft); font-size: .95rem; }
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.value-card { text-align: center; padding: 26px 18px; }
.value-card .v-icon { font-size: 1.9rem; margin-bottom: 12px; }
.value-card h3 { font-size: 1rem; margin-bottom: 6px; }
.value-card p { font-size: .84rem; color: var(--ink-soft); }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; text-align: center; }
.contact-card .c-icon { width: 52px; height: 52px; margin: 0 auto 14px; border-radius: 50%; background: var(--accent-soft); display: grid; place-items: center; font-size: 1.3rem; }
.contact-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.contact-card p { font-size: .9rem; color: var(--ink-soft); }

/* ---------- 通用小组件 ---------- */
.pill { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); font-size: .8rem; font-weight: 600; color: var(--ink-soft); }
.pill.brand { background: var(--brand); color: #fff; border-color: var(--brand); }
.trust-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.trust-strip .inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 22px 0; }
.trust-item { display: flex; align-items: center; gap: 12px; font-size: .9rem; color: var(--ink-soft); }
.trust-item .t-icon { font-size: 1.3rem; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .cats { grid-template-columns: repeat(2, 1fr); }
  .vendor-grid { grid-template-columns: repeat(2, 1fr); }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .sell-banner { grid-template-columns: 1fr; }
  .detail-layout { grid-template-columns: 1fr; gap: 36px; }
  .detail-gallery { position: static; }
}

@media (max-width: 860px) {
  .menu-toggle { display: grid; }
  .nav-links {
    position: fixed;
    top: 0; right: -300px; bottom: 0;
    width: min(300px, 80vw);
    background: var(--surface);
    flex-direction: column;
    align-items: stretch;
    padding: 90px 24px 24px;
    box-shadow: -10px 0 40px rgba(42,33,24,.15);
    z-index: 260;
    transition: right .3s ease;
    margin: 0;
  }
  .nav-links.open { right: 0; }
  .nav-links a { padding: 14px; font-size: 1.05rem; }
  .nav .nav-actions .btn-sell-desktop { display: none; }
  .hero-grid { grid-template-columns: 1fr; padding: 64px 0; }
  .hero-visual { max-width: 420px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .quote-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .shop-layout { grid-template-columns: 1fr; }
  .filter-box { position: static; }
  .sell-cols { grid-template-columns: 1fr; }
  .about-lead .lead-grid { grid-template-columns: 1fr; }
  .mv-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .product-grid { grid-template-columns: 1fr; }
  .cats { grid-template-columns: 1fr; }
  .vendor-grid { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
}

/* ---------- 动画 ---------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.fade-up { animation: fadeUp .6s ease both; }
.delay-1 { animation-delay: .1s; }
.delay-2 { animation-delay: .2s; }
.delay-3 { animation-delay: .3s; }

/* 简易 toast */
.toast {
  position: fixed; bottom: 28px; left: 50%;
  transform: translate(-50%, 20px);
  background: var(--ink); color: #fff;
  padding: 14px 24px; border-radius: 12px;
  font-size: .92rem; font-weight: 500;
  box-shadow: var(--shadow-lg);
  opacity: 0; pointer-events: none;
  transition: all .3s;
  z-index: 400;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
