/* 店铺目录站样式。配色沿用 SPA 公开页(app/src/public.css)的那一套变量。 */
:root {
  --coral: #FF5A3C; --coral2: #FF7E5C; --mint: #15B886; --yellow: #E0A100;
  --ink: #15151E; --ink2: #5B6270; --ink3: #8A919E; --bg: #F4F5F7; --card: #fff; --border: #E6E6EC;
  --tint: #FFF1ED;
  --r-lg: 18px; --r-md: 12px; --r-sm: 8px;
  --shadow: 0 6px 24px -8px rgba(21,21,30,.12), 0 2px 6px -2px rgba(21,21,30,.06);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink); line-height: 1.6;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; height: auto; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
main.wrap { padding-top: 20px; padding-bottom: 40px; min-height: 60vh; }

h1 { font-size: 26px; line-height: 1.25; margin: 8px 0; }
h2 { font-size: 16px; margin: 0 0 8px; }
p { margin: 0 0 10px; }
small { color: var(--ink3); font-weight: 400; }

/* ---- 页头 / 页脚 ---- */
.site-head { background: var(--card); border-bottom: 1px solid var(--border); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { color: var(--coral); font-size: 26px; line-height: 1; }
.brand strong { display: block; font-size: 17px; line-height: 1.2; }
.brand small { font-size: 12px; }
.langs { display: flex; gap: 4px; font-size: 13px; }
.langs a, .langs span { padding: 4px 10px; border-radius: 999px; text-decoration: none; color: var(--ink2); }
.langs a:hover { background: var(--bg); }
.langs span { background: var(--tint); color: var(--coral); font-weight: 700; }
.site-foot { border-top: 1px solid var(--border); color: var(--ink2); font-size: 13px; text-align: center; padding: 20px 0 30px; }
.site-foot p { margin: 4px 0; }

/* ---- 通用 ---- */
.crumbs { font-size: 13px; color: var(--ink2); display: flex; gap: 6px; flex-wrap: wrap; }
.intro { color: var(--ink2); max-width: 72ch; }
.hint { color: var(--ink2); font-size: 13px; }
.count { color: var(--ink2); font-size: 13px; margin: 18px 0 10px; }
.empty { background: var(--card); border-radius: var(--r-lg); padding: 32px; text-align: center; color: var(--ink2); }
.empty-page { text-align: center; padding: 60px 0; }
.empty-page .btn { display: inline-flex; width: auto; }

.chips { list-style: none; margin: 0 0 10px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chips a, .chips span {
  display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px;
  background: var(--bg); border: 1px solid var(--border); font-size: 13px; text-decoration: none; color: var(--ink2);
}
.chips a:hover { border-color: var(--coral); color: var(--coral); }
.chips a[aria-current="true"] { background: var(--coral); border-color: var(--coral); color: #fff; font-weight: 700; }
.chips a[aria-current="true"] small { color: #fff; opacity: .85; }
.chips-lg a, .chips-lg span { padding: 6px 14px; font-size: 14px; background: var(--card); }

.btn {
  display: flex; align-items: center; justify-content: center; width: 100%; padding: 10px 14px;
  background: linear-gradient(135deg, var(--coral), var(--coral2)); color: #fff; font-weight: 800; font-size: 14px;
  border-radius: var(--r-md); text-decoration: none; border: none; cursor: pointer;
}
.btn:hover { filter: brightness(1.05); }
.btn-lg { padding: 14px; font-size: 16px; box-shadow: 0 8px 20px -6px rgba(255,90,60,.5); }

.notice { background: var(--tint); border-radius: var(--r-sm); padding: 8px 12px; font-size: 14px; }
.notice strong { color: var(--coral); margin-right: 4px; }
.tagline { font-size: 15px; color: var(--ink); }
.about { white-space: pre-wrap; }
.rating { color: var(--yellow); font-weight: 700; }

/* ---- 筛选 ---- */
.filters { margin-top: 18px; }
.filters h2 { font-size: 13px; color: var(--ink2); font-weight: 700; }
.area-search { display: flex; gap: 8px; max-width: 460px; margin-bottom: 10px; }
.area-search input {
  flex: 1; min-width: 0; padding: 10px 12px; font-size: 16px; font-family: inherit;
  border: 1.5px solid var(--border); border-radius: var(--r-md); background: var(--card); color: var(--ink);
}
.area-search input:focus { outline: none; border-color: var(--coral); }
.area-search button {
  padding: 0 18px; border: none; border-radius: var(--r-md); background: var(--ink); color: #fff;
  font-weight: 700; font-family: inherit; font-size: 14px; cursor: pointer;
}
details > summary { cursor: pointer; font-size: 14px; color: var(--ink2); padding: 4px 0; }
details > summary:hover { color: var(--coral); }
.all-areas .chips { margin-top: 8px; }
.clear { font-size: 13px; color: var(--coral); }

/* ---- 店铺卡片 ---- */
.store-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; align-items: start; }
.store-card {
  background: var(--card); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 16px;
  display: flex; flex-direction: column; gap: 10px; overflow: hidden;
}
.store-card > * { margin: 0; }
.store-card .cover { display: block; margin: -16px -16px 0; }
.store-card .cover img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.card-head { display: flex; gap: 12px; align-items: center; }
.card-head h2 { font-size: 18px; margin: 0; line-height: 1.3; }
.card-head h2 a { text-decoration: none; }
.card-head h2 a:hover { color: var(--coral); }
.card-head .meta { margin: 2px 0 0; font-size: 13px; color: var(--ink2); }
.avatar { width: 56px; height: 56px; border-radius: var(--r-md); object-fit: cover; flex: none; background: var(--bg); }
.avatar-icon { display: flex; align-items: center; justify-content: center; font-size: 28px; background: var(--tint); }
.avatar-lg { width: 88px; height: 88px; border-radius: var(--r-lg); }
.avatar-lg.avatar-icon { font-size: 44px; }
.store-card .btn { margin-top: auto; }

/* ---- 店铺页 ---- */
.store { max-width: 760px; }
.store-head { display: flex; gap: 16px; align-items: center; margin-top: 12px; }
.store-head h1 { margin: 0 0 4px; }
.store-head p { margin: 0; }
.store section { background: var(--card); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 16px; margin-top: 14px; }
.store section > :last-child { margin-bottom: 0; }
.cta { margin: 18px 0; }
.cta .hint { text-align: center; margin-top: 8px; }
.hours { border-collapse: collapse; width: 100%; max-width: 320px; }
.hours th { text-align: left; font-weight: 400; color: var(--ink2); padding: 4px 0; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; padding: 4px 0; }
.items { list-style: none; margin: 0; padding: 0; }
/* 价目:跟 SPA 店面的默认列表版式一致——每项一块,左边图/emoji,右边名称 + 价格 */
.store section.plain { background: none; box-shadow: none; padding: 0; margin-top: 20px; }
.items li {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; margin-top: 10px;
  background: var(--card); border-radius: var(--r-lg); box-shadow: var(--shadow);
}
.item-pic { width: 52px; height: 52px; flex: none; border-radius: 10px; object-fit: cover; border: 1px solid var(--border); }
.item-emoji { display: flex; align-items: center; justify-content: center; font-size: 26px; line-height: 1; border: none; }
.item-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.item-body strong { font-weight: 600; }
.item-price { color: var(--ink2); font-size: 13px; font-variant-numeric: tabular-nums; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 6px; }
.gallery img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-sm); }
.reviews { list-style: none; margin: 0; padding: 0; }
.reviews li { padding: 10px 0; border-bottom: 1px solid var(--border); }
.reviews li:last-child { border-bottom: none; }
.reviews p { margin: 0 0 4px; }
.review-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.review-head time { margin-left: auto; font-size: 12px; color: var(--ink3); }
.stars { color: var(--yellow); letter-spacing: 1px; }
.verified { font-size: 11px; color: #0B7A5A; background: #DBFAF0; padding: 1px 8px; border-radius: 999px; }
.reply { color: var(--ink2); font-size: 14px; padding-left: 10px; border-left: 3px solid var(--border); }
.qr { width: 160px; border-radius: var(--r-sm); }

@media (max-width: 560px) {
  h1 { font-size: 22px; }
  .store-grid { grid-template-columns: 1fr; }
  .avatar-lg { width: 64px; height: 64px; }
}
