/* 锡林衣尚 — 极简高级 · 轻奢质感 */
:root {
  --bg: #f7f5f2;
  --bg-soft: #fbfaf8;
  --card: #ffffff;
  --ink: #211d19;
  --ink-2: #6f675f;
  --ink-3: #a49a8e;
  --line: #e9e4dc;
  --accent: #9c7b4d;
  --accent-deep: #7d6138;
  --accent-soft: #f4ede1;
  --price: #b03a2e;
  --ok: #2e7d5b;
  --ok-soft: #e6f2ec;
  --warn: #b7801e;
  --warn-soft: #faf0dd;
  --danger: #b03a2e;
  --danger-soft: #f9e9e7;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(33, 29, 25, .04), 0 8px 24px rgba(33, 29, 25, .05);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; font-size: inherit; color: inherit; }
input, select, textarea { font-family: inherit; font-size: 14px; color: var(--ink); }
.hidden { display: none !important; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 16px; }

/* ===== 头部 ===== */
.site-header {
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 58px; }
.brand { display: flex; align-items: baseline; gap: 10px; }
.brand-name { font-size: 20px; font-weight: 700; letter-spacing: .12em; }
.brand-name em { font-style: normal; color: var(--accent); }
.brand-tag { font-size: 11px; color: var(--ink-3); letter-spacing: .06em; border: 1px solid var(--line); border-radius: 20px; padding: 2px 10px; white-space: nowrap; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-link {
  font-size: 13px; color: var(--ink-2); padding: 7px 14px; border-radius: 20px;
  border: 1px solid var(--line); background: #fff; transition: all .15s; white-space: nowrap;
}
.header-link:hover { border-color: var(--accent); color: var(--accent); }
.header-link.primary { background: var(--ink); color: #fff; border-color: var(--ink); }
.header-link.primary:hover { background: var(--accent-deep); border-color: var(--accent-deep); color: #fff; }

/* ===== Hero ===== */
.hero { text-align: center; padding: 56px 16px 40px; }
.hero-city { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--accent); letter-spacing: .18em; border: 1px solid var(--accent-soft); background: var(--accent-soft); border-radius: 20px; padding: 5px 16px; }
.hero-city::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.hero h1 { font-family: Georgia, "Songti SC", "SimSun", serif; font-size: 34px; font-weight: 600; letter-spacing: .06em; margin: 18px 0 10px; line-height: 1.3; }
.hero-sub { color: var(--ink-2); font-size: 14px; letter-spacing: .04em; }
.hero-actions { margin-top: 22px; display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* ===== 按钮 ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 22px; border-radius: 24px; font-size: 14px; font-weight: 500; transition: all .15s; border: 1px solid transparent; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--accent-deep); }
.btn-gold { background: var(--accent); color: #fff; }
.btn-gold:hover { background: var(--accent-deep); }
.btn-ghost { border-color: var(--line); background: #fff; color: var(--ink-2); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-danger { background: var(--danger-soft); color: var(--danger); }
.btn-danger:hover { background: #f3d9d5; }
.btn-sm { padding: 6px 14px; font-size: 13px; border-radius: 18px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }

/* ===== 首页：搜索区 / 金刚区 / 促销横幅 / 工具栏 ===== */
.top-search { padding: 22px 0 6px; }
.ts-slogan { font-size: 12px; color: var(--ink-3); letter-spacing: .1em; margin-bottom: 10px; text-align: center; }
.ts-slogan::before { content: "◆ "; color: var(--accent); }

.cat-nav { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px 10px; margin: 20px 0 0; }
.cat-item { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 4px 10px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; transition: all .15s; cursor: pointer; }
.cat-item:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow); }
.cat-item .ci-ic { width: 44px; height: 44px; border-radius: 50%; background: var(--bg-soft); display: flex; align-items: center; justify-content: center; font-size: 20px; }
.cat-item .ci-tx { font-size: 12px; color: var(--ink-2); }
.cat-item.active { border-color: var(--accent); background: var(--accent-soft); }
.cat-item.active .ci-ic { background: #fff; }
.cat-item.active .ci-tx { color: var(--accent-deep); font-weight: 600; }
@media (min-width: 768px) { .cat-nav { grid-template-columns: repeat(8, 1fr); } }

.promo-banner { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 22px; border-radius: 16px; background: linear-gradient(120deg, #f8f3ea, #efe3cd); border: 1px solid #e8dcc2; margin: 18px 0 20px; }
.pb-main { font-family: Georgia, "Songti SC", "SimSun", serif; font-size: 17px; font-weight: 600; letter-spacing: .08em; }
.pb-sub { font-size: 12px; color: var(--ink-3); margin-top: 4px; letter-spacing: .04em; }
.promo-banner .btn { flex: none; }

.toolbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 14px; background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; }
.tb-label { font-size: 15px; font-weight: 600; letter-spacing: .04em; }
.tb-count { font-size: 12px; color: var(--ink-3); }
.tb-right { margin-left: auto; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.toolbar .fp-select { height: 34px; }
.toolbar .fp-switch { font-size: 13px; white-space: nowrap; }

/* ===== 搜索/筛选 ===== */
.filter-bar { margin: 8px 0 18px; }
.search-row { display: flex; gap: 10px; align-items: center; }
.search-box { flex: 1; display: flex; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 0 16px; height: 44px; }
.search-box input { flex: 1; border: none; outline: none; background: transparent; font-size: 14px; }
.search-box svg { flex: none; }
.filter-btn { height: 44px; padding: 0 18px; border-radius: 24px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); font-size: 14px; display: flex; align-items: center; gap: 6px; }
.filter-btn.active { border-color: var(--accent); color: var(--accent); }
.filter-btn .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.cat-chips { display: flex; gap: 8px; overflow-x: auto; padding: 12px 0 4px; scrollbar-width: none; }
.cat-chips::-webkit-scrollbar { display: none; }
.chip { flex: none; padding: 7px 18px; border-radius: 20px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); font-size: 13px; transition: all .15s; }
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.loc-row { display: flex; align-items: center; gap: 8px; padding: 8px 0 0; font-size: 12px; color: var(--ink-3); }
.loc-row a { color: var(--accent); text-decoration: underline; }

/* 筛选面板 */
.filter-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin-top: 12px; box-shadow: var(--shadow); }
.filter-panel h4 { font-size: 13px; color: var(--ink-3); font-weight: 500; letter-spacing: .08em; margin-bottom: 10px; }
.fp-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.fp-row + .fp-row { margin-top: 14px; }
.fp-input { width: 110px; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; outline: none; background: var(--bg-soft); }
.fp-input:focus { border-color: var(--accent); }
.fp-select { border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; outline: none; background: var(--bg-soft); }
.fp-switch { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); cursor: pointer; user-select: none; }
.fp-switch input { accent-color: var(--accent); width: 16px; height: 16px; }
.fp-actions { display: flex; gap: 10px; margin-top: 16px; }

/* ===== 商品网格 ===== */
.section { padding: 22px 0 34px; }
.section-title { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 16px; }
.section-title h2 { font-size: 19px; font-weight: 600; letter-spacing: .04em; }
.section-title .more { font-size: 13px; color: var(--ink-3); }
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 768px) { .grid { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
@media (min-width: 1100px) { .grid { grid-template-columns: repeat(4, 1fr); gap: 22px; } }

.p-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .18s, box-shadow .18s; display: flex; flex-direction: column; }
.p-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.p-card .pic { position: relative; aspect-ratio: 3 / 4; background: var(--bg-soft); overflow: hidden; }
.p-card .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.p-card:hover .pic img { transform: scale(1.04); }
.p-card .badges { position: absolute; top: 8px; left: 8px; display: flex; flex-direction: column; gap: 4px; }
.badge-disc { background: var(--accent); color: #fff; font-size: 11px; padding: 3px 8px; border-radius: 6px; letter-spacing: .04em; }
.badge-city { background: rgba(33, 29, 25, .72); color: #fff; font-size: 10px; padding: 2px 7px; border-radius: 6px; letter-spacing: .08em; backdrop-filter: blur(4px); }
.p-card .body { padding: 11px 12px 13px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.p-card .t { font-size: 14px; font-weight: 500; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 40px; }
.p-card .meta { font-size: 12px; color: var(--ink-3); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.p-card .store { font-size: 12px; color: var(--ink-2); display: flex; align-items: center; gap: 4px; overflow: hidden; }
.p-card .store .dist { color: var(--accent); flex: none; }
.p-card .price-row { display: flex; align-items: baseline; gap: 7px; margin-top: 2px; flex-wrap: wrap; }
.p-card .sale { color: var(--price); font-size: 18px; font-weight: 700; }
.p-card .sale small { font-size: 12px; font-weight: 500; }
.p-card .orig { color: var(--ink-3); text-decoration: line-through; font-size: 12px; }
.p-card .disc-text { color: var(--accent); font-size: 12px; }
.p-card .promo { font-size: 12px; color: var(--warn); background: var(--warn-soft); border-radius: 6px; padding: 4px 8px; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }

.empty { text-align: center; color: var(--ink-3); padding: 60px 0; font-size: 14px; }
.empty .big { font-size: 40px; margin-bottom: 10px; opacity: .5; }

/* ===== 门店卡片 ===== */
.store-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.store-card h3 { font-size: 16px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.store-card h3 .city-badge { font-size: 10px; font-weight: 400; color: var(--accent); border: 1px solid var(--accent-soft); background: var(--accent-soft); padding: 1px 8px; border-radius: 10px; letter-spacing: .06em; }
.store-card .intro { font-size: 13px; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.store-card .row { font-size: 12px; color: var(--ink-3); display: flex; flex-wrap: wrap; gap: 4px 12px; }
.store-card .actions { display: flex; gap: 10px; margin-top: 4px; }

/* ===== 详情页 ===== */
.detail-wrap { max-width: 1040px; margin: 0 auto; padding: 18px 16px 40px; }
.back-link { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: var(--ink-2); margin-bottom: 14px; }
.back-link:hover { color: var(--accent); }
.detail-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.detail-grid { display: grid; grid-template-columns: 1fr; }
@media (min-width: 820px) { .detail-grid { grid-template-columns: 1fr 1fr; } }
.gallery { position: relative; background: var(--bg-soft); }
.gallery-main { aspect-ratio: 3 / 4; width: 100%; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 8px; padding: 10px; overflow-x: auto; }
.gallery-thumbs img { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; border: 2px solid transparent; cursor: pointer; flex: none; }
.gallery-thumbs img.active { border-color: var(--accent); }
.detail-info { padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.detail-info h1 { font-size: 20px; font-weight: 600; line-height: 1.5; }
.price-block { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.price-block .sale { color: var(--price); font-size: 30px; font-weight: 700; }
.price-block .sale small { font-size: 15px; }
.price-block .orig { color: var(--ink-3); text-decoration: line-through; font-size: 13px; margin-left: 10px; }
.price-block .disc { display: inline-block; background: var(--accent-soft); color: var(--accent); border-radius: 6px; font-size: 13px; padding: 3px 10px; margin-left: 10px; }
.price-block .promo { margin-top: 8px; font-size: 13px; color: var(--warn); }
.param-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.param-table td { padding: 8px 0; border-bottom: 1px dashed var(--line); vertical-align: top; }
.param-table td:first-child { color: var(--ink-3); width: 84px; white-space: nowrap; }
.store-block { border-top: 1px solid var(--line); padding-top: 14px; }
.store-block h3 { font-size: 16px; font-weight: 600; margin-bottom: 6px; display: flex; align-items: center; gap: 8px; }
.store-block .intro { font-size: 13px; color: var(--ink-2); margin-bottom: 6px; }
.store-block .row { font-size: 12px; color: var(--ink-3); display: flex; flex-wrap: wrap; gap: 4px 14px; margin-bottom: 10px; }
.nav-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.nav-btn { flex: 1; min-width: 92px; display: flex; flex-direction: column; align-items: center; gap: 2px; border: 1px solid var(--line); border-radius: 10px; padding: 9px 4px; font-size: 11px; color: var(--ink-2); transition: all .15s; }
.nav-btn:hover { border-color: var(--accent); color: var(--accent); }
.nav-btn b { font-size: 13px; font-weight: 600; color: var(--ink); }
.nav-btn:hover b { color: var(--accent); }
.share-bar { display: flex; gap: 10px; margin-top: 16px; }
.share-bar .btn { flex: 1; }

/* ===== 表单 ===== */
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.form-card h2 { font-size: 18px; font-weight: 600; margin-bottom: 18px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; color: var(--ink-2); margin-bottom: 6px; }
.field label .req { color: var(--price); }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px;
  outline: none; background: var(--bg-soft); transition: border-color .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); }
.field textarea { resize: vertical; min-height: 84px; }
.field .hint { font-size: 12px; color: var(--ink-3); margin-top: 4px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .field-row { grid-template-columns: 1fr; } }

/* 图片上传 */
.upload-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (min-width: 768px) { .upload-grid { grid-template-columns: repeat(5, 1fr); } }
.up-item { position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: var(--bg-soft); }
.up-item img { width: 100%; height: 100%; object-fit: cover; }
.up-item .del { position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; border-radius: 50%; background: rgba(33,29,25,.7); color: #fff; font-size: 12px; line-height: 22px; text-align: center; }
.up-item .main-tag { position: absolute; bottom: 4px; left: 4px; font-size: 10px; background: rgba(156,123,77,.9); color: #fff; padding: 1px 6px; border-radius: 4px; }
.up-add { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: var(--ink-3); font-size: 12px; border: 1.5px dashed var(--line); cursor: pointer; }
.up-add:hover { border-color: var(--accent); color: var(--accent); }
.up-add .plus { font-size: 26px; line-height: 1; }

/* ===== 状态徽章 ===== */
.badge { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; padding: 3px 10px; border-radius: 12px; letter-spacing: .03em; white-space: nowrap; }
.badge.ok { background: var(--ok-soft); color: var(--ok); }
.badge.warn { background: var(--warn-soft); color: var(--warn); }
.badge.danger { background: var(--danger-soft); color: var(--danger); }
.badge.muted { background: #f0ede8; color: var(--ink-3); }
.badge.accent { background: var(--accent-soft); color: var(--accent); }

/* ===== 登录页 ===== */
.auth-wrap { max-width: 420px; margin: 0 auto; padding: 44px 16px; }
.auth-tabs { display: flex; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 4px; margin-bottom: 18px; }
.auth-tabs button { flex: 1; padding: 9px; border-radius: 20px; color: var(--ink-2); font-size: 14px; transition: all .15s; }
.auth-tabs button.active { background: var(--ink); color: #fff; }

/* ===== 商家端/管理端 ===== */
.panel-wrap { max-width: 1080px; margin: 0 auto; padding: 20px 16px 50px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.panel-head h1 { font-size: 20px; font-weight: 600; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.panel-head .sub { font-size: 13px; color: var(--ink-3); font-weight: 400; }
.panel-tabs { display: flex; gap: 6px; overflow-x: auto; margin-bottom: 18px; border-bottom: 1px solid var(--line); padding-bottom: 0; }
.panel-tabs button { flex: none; padding: 10px 18px; font-size: 14px; color: var(--ink-2); border-bottom: 2px solid transparent; transition: all .15s; }
.panel-tabs button.active { color: var(--ink); border-bottom-color: var(--accent); font-weight: 600; }
.panel-tabs button:disabled { color: var(--ink-3); opacity: .5; cursor: not-allowed; pointer-events: none; }
.panel-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 18px; }
.panel-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 14px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* 统计卡 */
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 18px; }
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.stat-card .num { font-size: 26px; font-weight: 700; letter-spacing: .02em; }
.stat-card .label { font-size: 12px; color: var(--ink-3); margin-top: 2px; }
.stat-card .num.gold { color: var(--accent); }
.stat-card .num.red { color: var(--price); }

/* 表格 */
.table { width: 100%; border-collapse: collapse; font-size: 13px; }
.table th { text-align: left; color: var(--ink-3); font-weight: 500; padding: 10px 8px; border-bottom: 1px solid var(--line); white-space: nowrap; font-size: 12px; letter-spacing: .04em; }
.table td { padding: 12px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: none; }
.table .actions { display: flex; gap: 6px; flex-wrap: wrap; }
.table .thumb { width: 44px; height: 56px; object-fit: cover; border-radius: 6px; }
.table .ellipsis { max-width: 200px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.table-scroll { overflow-x: auto; }

/* 二维码管理 */
.qr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .qr-grid { grid-template-columns: 1fr; } }
.qr-box { text-align: center; border: 1px solid var(--line); border-radius: 12px; padding: 18px; background: var(--bg-soft); }
.qr-box .qimg { width: 170px; height: 170px; object-fit: contain; margin: 0 auto 12px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.qr-box h4 { font-size: 14px; margin-bottom: 10px; }

/* 通知条 */
.notice-bar { background: var(--warn-soft); border: 1px solid #eed9ac; color: var(--warn); border-radius: 12px; padding: 12px 16px; font-size: 13px; margin-bottom: 16px; }
.notice-item { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 13px; }
.notice-item:last-child { border-bottom: none; }
.notice-item .time { color: var(--ink-3); font-size: 12px; flex: none; }

/* 支付弹窗（商家端收款码） */
.pay-box { text-align: center; }
.pay-box .fee { font-size: 32px; font-weight: 700; color: var(--accent); margin: 6px 0 14px; }
.pay-box .fee small { font-size: 14px; color: var(--ink-3); font-weight: 400; }
.pay-box .qr-tabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 12px; }
.pay-box .qr-tabs button { padding: 6px 16px; border-radius: 16px; border: 1px solid var(--line); font-size: 13px; color: var(--ink-2); }
.pay-box .qr-tabs button.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.pay-box .qr-img { width: 200px; height: 200px; object-fit: contain; margin: 0 auto; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.pay-box .steps { font-size: 13px; color: var(--ink-2); text-align: left; margin: 14px auto 0; max-width: 300px; }
.pay-box .steps li { margin-bottom: 6px; }

/* ===== Toast / Modal ===== */
#toast { position: fixed; left: 50%; bottom: 60px; transform: translateX(-50%) translateY(20px); background: rgba(33, 29, 25, .92); color: #fff; padding: 10px 22px; border-radius: 22px; font-size: 13px; z-index: 999; opacity: 0; pointer-events: none; transition: all .25s; max-width: 86vw; text-align: center; }
#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.modal-mask { position: fixed; inset: 0; background: rgba(33, 29, 25, .45); z-index: 200; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal-box { background: #fff; border-radius: 16px; max-width: 460px; width: 100%; max-height: 86vh; overflow-y: auto; padding: 24px; }
.modal-box h3 { font-size: 16px; font-weight: 600; margin-bottom: 14px; }

/* 地图选点标记（泪滴形） */
.xl-pin { position: relative; }
.xl-pin-inner {
  position: absolute; left: 0; top: 0;
  width: 26px; height: 26px;
  background: #9c7b4d;
  border: 3px solid #fff;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .4);
}

/* ===== 微信分享提示 ===== */
.wx-tip { text-align: center; padding: 10px 0; }
.wx-tip .arrow { font-size: 40px; line-height: 1; color: var(--accent); }
.wx-tip p { font-size: 13px; color: var(--ink-2); margin-top: 4px; }

/* ===== 页脚 ===== */
.site-footer { border-top: 1px solid var(--line); padding: 26px 0 34px; text-align: center; color: var(--ink-3); font-size: 12px; }
.site-footer .links { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; margin-bottom: 8px; }
.site-footer .links a:hover { color: var(--accent); }
.site-footer .city { letter-spacing: .1em; }

/* ===== 加载 ===== */
.loading { text-align: center; color: var(--ink-3); padding: 40px 0; font-size: 13px; }
.spin { display: inline-block; width: 18px; height: 18px; border: 2px solid var(--line); border-top-color: var(--accent); border-radius: 50%; animation: spin .7s linear infinite; vertical-align: -4px; margin-right: 8px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== 分页 ===== */
.pager { display: flex; justify-content: center; gap: 10px; align-items: center; margin-top: 24px; }
.pager button { border: 1px solid var(--line); background: #fff; border-radius: 20px; padding: 7px 18px; font-size: 13px; color: var(--ink-2); }
.pager button:disabled { opacity: .4; }
.pager .info { font-size: 13px; color: var(--ink-3); }
