@tbox.cn/app-module-shopping-guide 0.2.1 → 0.8.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (89) hide show
  1. package/AGENTS.md +16 -0
  2. package/README.md +96 -0
  3. package/dist/chunk-AYQZO2FV.js +1496 -0
  4. package/dist/chunk-QDTU2FRN.js +1682 -0
  5. package/dist/client/index.d.ts +3 -3
  6. package/dist/client/index.js +1 -1
  7. package/dist/index.d.ts +1 -1
  8. package/dist/index.js +2 -8
  9. package/dist/server/index.d.ts +2512 -608
  10. package/dist/server/index.js +1 -7
  11. package/dist/shop-guide-header-art-pea-v2-OME4MKBW.jpg +0 -0
  12. package/dist/shopping-guide-OQ2SSHXL.css +2593 -0
  13. package/package.json +25 -16
  14. package/skills/shopping-guide/SKILL.md +127 -24
  15. package/src/client/assets/shop-guide-header-art-pea-v2.jpg +0 -0
  16. package/src/client/assets/shop-guide-header-art.png +0 -0
  17. package/src/client/assets.d.ts +10 -0
  18. package/src/client/cards/category-list/index.tsx +113 -0
  19. package/src/client/cards/human-guide-list/index.tsx +72 -0
  20. package/src/client/cards/index.ts +14 -0
  21. package/src/client/cards/location-handoff/index.tsx +52 -0
  22. package/src/client/cards/mall-directory/index.tsx +77 -0
  23. package/src/client/cards/nearby-mall-list/index.tsx +40 -0
  24. package/src/client/cards/product-comparison/index.tsx +100 -0
  25. package/src/client/cards/product-detail/index.tsx +97 -0
  26. package/src/client/cards/product-list/index.tsx +223 -0
  27. package/src/client/cards/recommend-merchants/index.tsx +147 -0
  28. package/src/client/cards/shop-detail/index.tsx +133 -0
  29. package/src/client/cards/shop-list/index.tsx +216 -0
  30. package/src/client/cards/view.ts +147 -0
  31. package/src/client/categories.ts +38 -0
  32. package/src/client/components/ImageWithFallback.tsx +34 -0
  33. package/src/client/components/MerchantRow.tsx +78 -0
  34. package/src/client/components/ShopDetailSheet.tsx +383 -0
  35. package/src/client/components/ShopGuideHeader.tsx +24 -0
  36. package/src/client/components/ShopGuideSectionLabel.tsx +10 -0
  37. package/src/client/components/ShopListSheet.tsx +293 -0
  38. package/src/client/index.ts +8 -6
  39. package/src/client/styles/shopping-guide.css +2593 -0
  40. package/src/client/types/css.d.ts +2 -0
  41. package/src/server/cards/category-list/meta.ts +0 -2
  42. package/src/server/cards/human-guide-list/meta.ts +0 -2
  43. package/src/server/cards/index.ts +10 -10
  44. package/src/server/cards/location-handoff/meta.ts +0 -2
  45. package/src/server/cards/mall-directory/meta.ts +0 -2
  46. package/src/server/cards/nearby-mall-list/meta.ts +1 -3
  47. package/src/server/cards/product-comparison/meta.ts +0 -2
  48. package/src/server/cards/product-detail/meta.ts +0 -2
  49. package/src/server/cards/product-list/meta.ts +0 -2
  50. package/src/server/cards/recommend-merchants/meta.ts +37 -0
  51. package/src/server/cards/recommend-merchants/samples.ts +189 -0
  52. package/src/server/cards/{merchant-detail → shop-detail}/meta.ts +6 -6
  53. package/src/server/cards/shop-detail/samples.ts +72 -0
  54. package/src/server/cards/{merchant-list → shop-list}/meta.ts +9 -9
  55. package/src/server/cards/shop-list/samples.ts +154 -0
  56. package/src/server/domain/value-objects.ts +1 -2
  57. package/src/server/handler.ts +63 -0
  58. package/src/server/index.ts +161 -101
  59. package/src/server/ports/index.ts +120 -91
  60. package/src/server/ports/local-adapters.ts +5 -55
  61. package/src/server/projections/index.ts +159 -41
  62. package/src/server/tools/index.ts +590 -315
  63. package/tbox.module.json +137 -0
  64. package/tests/cards-render.test.tsx +830 -0
  65. package/tests/floor-pretool.test.ts +275 -0
  66. package/tests/handler.test.ts +259 -0
  67. package/tests/merchant-list-limit.test.ts +53 -0
  68. package/tests/ports-resolve.test.ts +112 -0
  69. package/tests/samples.test.ts +71 -0
  70. package/tests/shopping-guide.test.ts +402 -234
  71. package/tests/skill.test.ts +86 -0
  72. package/tests/view.test.ts +42 -0
  73. package/tsup.config.ts +9 -1
  74. package/dist/chunk-AGBLC6XI.js +0 -1294
  75. package/dist/chunk-U4WDS5PQ.js +0 -173
  76. package/skills/shopping-guide/references/comparison-format.md +0 -5
  77. package/skills/shopping-guide/references/faq-answers.md +0 -5
  78. package/skills/shopping-guide/references/floor-directory.md +0 -4
  79. package/skills/shopping-guide/references/intent-patterns.md +0 -5
  80. package/skills/shopping-guide/references/location-format.md +0 -5
  81. package/skills/shopping-guide/references/policy-lookup.md +0 -5
  82. package/skills/shopping-guide/references/product-search-tips.md +0 -6
  83. package/skills/shopping-guide/references/recommendation-style.md +0 -5
  84. package/src/client/cards/index.tsx +0 -267
  85. package/src/server/cards/customer-service-faq/meta.ts +0 -18
  86. package/src/server/integrations/joycity/adapter.ts +0 -226
  87. package/src/server/integrations/joycity/auth-strategy.ts +0 -38
  88. package/src/server/integrations/joycity/gateway.ts +0 -128
  89. package/tbox.component.json +0 -48
@@ -0,0 +1,2593 @@
1
+ /* ============================================================
2
+ * module-shopping-guide 客户端域样式(0.4.0 D1/D2;头注二轮评审修正)。
3
+ * 视觉源:mall-vis 双演示(BrandGuideMessageCard 导购蓝系);域色矩阵对照 docs/mall/visual.md。
4
+ * 基线(D2):本仓库统一 750 设计稿 2x——源码 px 经 rootValue 100 转 rem,渲染折半(375 下 1px 源码 = 0.5px 物理)。
5
+ * POC sg 源文件本身即按 750 稿惯例作稿(正文 24/26px),故值 1:1 迁移、管线等价、渲染还原。
6
+ * (评审修正:POC client 亦为 rootValue 100 管线,"POC = 物理 px 生态、一律 ×2" 的前提不成立,换算按源文件作稿惯例分域裁定。)
7
+ * 机械规则:大写 PX 不转;rgba() 传统语法;禁 color-mix / !important;直引 --tbox-* 恒带 fallback;域专属视觉走域变量。
8
+ * 分区序:域变量 → 卡根 → 布局 → 组件 → 状态变体。
9
+ * ============================================================ */
10
+
11
+ /* ===== 域变量 =====
12
+ * 三个根都要声明:卡片在 .sg-card 里,两个半屏则 portal 到 body、**不在卡内**。
13
+ * 变量原先只挂在 .sg-card 上,半屏于是拿不到 --sg-success-bg 等状态色,
14
+ * 同一枚「营业中」在卡片上是绿底胶囊、在半屏里退化成一行灰字——
15
+ * 与行样式挂在 .sg-recommend-merchants 下是同一类作用域问题。
16
+ * 新增 portal 根时记得加进这份选择器列表。
17
+ */
18
+ .sg-card,
19
+ .sg-store-list-sheet,
20
+ .sg-shop-sheet {
21
+ --sg-accent: #096bfa;
22
+ --sg-surface: #f7faff;
23
+ --sg-accent-border: #cfe0f7;
24
+ --sg-navy-gradient: linear-gradient(135deg, #0e2f80 0%, #1e5ed7 100%);
25
+ --sg-cta-gradient: linear-gradient(108deg, #2493ff 0%, #0b63ff 100%);
26
+ --sg-open-bg: #e9f8ef;
27
+ --sg-open-ink: #237a48;
28
+ --sg-neutral-badge-bg: #fff4df;
29
+ --sg-neutral-badge-ink: #986415;
30
+ --sg-buy: #e54650;
31
+ --sg-text-2: var(--tbox-text-secondary, #888);
32
+ --sg-text-3: var(--tbox-text-muted, #aaa);
33
+ --sg-border: var(--tbox-border, #ececec);
34
+ --sg-bg-subtle: var(--tbox-bg-subtle, #f7f7f7);
35
+ --sg-danger: #ef4f43;
36
+ --sg-danger-bg: #fff1f3;
37
+ --sg-success: var(--tbox-success, #0f8a5f);
38
+ --sg-success-bg: var(--tbox-success-light, #e6f7f0);
39
+ --sg-warning-bg: var(--tbox-warning-light, #fff4e0);
40
+ }
41
+
42
+ /*
43
+ * 无图占位。ImageWithFallback 只给 div 挂了 `img-fallback` 这个裸类名,本域一直没定义过它,
44
+ * 于是占位块只继承到方块尺寸:图标按默认流落在左上角、颜色继承正文的近黑、
45
+ * 大小是 phosphor 按 `size × 0.45` 算出的物理像素(列表行 96×0.45≈43,压在 68 的格子里过半)。
46
+ * 这里补齐居中与减淡;限定在本域三个根内,避免影响其它模块自己的 .img-fallback。
47
+ */
48
+ .sg-card .img-fallback,
49
+ .sg-store-list-sheet .img-fallback,
50
+ .sg-shop-sheet .img-fallback {
51
+ display: grid;
52
+ place-items: center;
53
+ color: #c4c8ce;
54
+ }
55
+ /* 列表行的占位格只有 68 物理像素,phosphor 按 size×0.45 算出的 43 压满大半格,单独收小。
56
+ 注意这里的 60 是源码值:本文件的 px 会被转 rem 后折半,落到屏幕上是 30。
57
+ (phosphor 自己的 size 属性反而不转,两套单位并存,改这块要分清。) */
58
+ .sg-merchant-row .sg-rm-item-image.img-fallback svg {
59
+ width: 60px;
60
+ height: 60px;
61
+ }
62
+
63
+ /* ===== 卡根 ===== */
64
+ .sg-card {
65
+ box-sizing: border-box;
66
+ padding: 40px;
67
+ color: var(--tbox-text-primary, #202124);
68
+ font: inherit;
69
+ }
70
+ .sg-card *,
71
+ .sg-card *::before,
72
+ .sg-card *::after {
73
+ box-sizing: border-box;
74
+ }
75
+ .sg-card img {
76
+ max-width: 100%;
77
+ object-fit: cover;
78
+ }
79
+ .sg-card button,
80
+ .sg-card input {
81
+ font: inherit;
82
+ letter-spacing: 0;
83
+ }
84
+ .sg-card button {
85
+ cursor: pointer;
86
+ }
87
+ .sg-card button:disabled {
88
+ cursor: not-allowed;
89
+ opacity: 0.5;
90
+ }
91
+ .sg-card ul,
92
+ .sg-card ol,
93
+ .sg-card dl,
94
+ .sg-card dd,
95
+ .sg-card dt,
96
+ .sg-card p {
97
+ margin: 0;
98
+ padding: 0;
99
+ list-style: none;
100
+ }
101
+
102
+ /* ===== 布局 ===== */
103
+ .sg-card-title {
104
+ display: flex;
105
+ align-items: center;
106
+ gap: 16px;
107
+ font-size: 34px;
108
+ font-weight: 700;
109
+ line-height: 48px;
110
+ margin-bottom: 16px;
111
+ color: var(--tbox-text-primary, #202124);
112
+ }
113
+ .sg-card-title::before {
114
+ content: '';
115
+ flex: 0 0 8px;
116
+ width: 8px;
117
+ height: 32px;
118
+ border-radius: 4px;
119
+ background: var(--sg-accent);
120
+ }
121
+ /* product-detail 渐变头(demo BrandGuide 卡头语言:深蓝渐变 + 白标题,负边距铺满卡框裁进圆角) */
122
+ .sg-product-detail .sg-card-title {
123
+ margin: -40px -40px 24px;
124
+ padding: 28px;
125
+ border-radius: 0;
126
+ background: var(--sg-navy-gradient);
127
+ color: #fff;
128
+ font-size: 32px;
129
+ }
130
+ .sg-product-detail .sg-card-title::before {
131
+ display: none;
132
+ }
133
+ .sg-card-subtitle,
134
+ .sg-card-summary {
135
+ font-size: 26px;
136
+ color: var(--sg-text-2);
137
+ margin-bottom: 24px;
138
+ }
139
+ .sg-empty {
140
+ padding: 48px 0;
141
+ text-align: center;
142
+ color: var(--sg-text-3);
143
+ font-size: 26px;
144
+ }
145
+ .sg-stale-notice {
146
+ margin-bottom: 20px;
147
+ padding: 16px 20px;
148
+ border-radius: 16px;
149
+ background: var(--sg-warning-bg);
150
+ color: var(--tbox-warning, #b26a00);
151
+ font-size: 24px;
152
+ line-height: 36px;
153
+ }
154
+
155
+ /* ===== 组件 ===== */
156
+
157
+ /* 通用 chip(条目动作/楼层查看门店)——分类 chip 模式:域 surface + 2px 描边 + 域蓝文字 */
158
+ .sg-chip {
159
+ display: inline-flex;
160
+ align-items: center;
161
+ justify-content: center;
162
+ min-height: 60px;
163
+ padding: 0 24px;
164
+ border-radius: 18px;
165
+ border: 2px solid var(--sg-border);
166
+ color: var(--sg-accent);
167
+ background: var(--sg-surface);
168
+ font-size: 24px;
169
+ font-weight: 500;
170
+ white-space: nowrap;
171
+ }
172
+ .sg-item-actions {
173
+ display: flex;
174
+ flex-wrap: wrap;
175
+ gap: 12px;
176
+ margin-top: 16px;
177
+ }
178
+
179
+ /* 状态徽章 */
180
+ .sg-status {
181
+ display: inline-block;
182
+ padding: 4px 16px;
183
+ border-radius: 1998px;
184
+ font-size: 22px;
185
+ line-height: 32px;
186
+ white-space: nowrap;
187
+ }
188
+ .sg-status-enabled,
189
+ .sg-status-available {
190
+ color: var(--sg-success);
191
+ background: var(--sg-success-bg);
192
+ }
193
+ /* 营业状态徽(demo 营业绿/中性金) */
194
+ .sg-status-open {
195
+ color: var(--sg-open-ink);
196
+ background: var(--sg-open-bg);
197
+ }
198
+ .sg-status-offline,
199
+ .sg-status-closed,
200
+ .sg-status-unknown,
201
+ .sg-status-disabled {
202
+ color: var(--sg-neutral-badge-ink);
203
+ background: var(--sg-neutral-badge-bg);
204
+ }
205
+
206
+ /* 价格三段 */
207
+ .sg-price-block {
208
+ display: flex;
209
+ align-items: baseline;
210
+ flex-wrap: wrap;
211
+ gap: 16px;
212
+ margin-top: 8px;
213
+ }
214
+ .sg-price-sale {
215
+ font-size: 30px;
216
+ font-weight: 700;
217
+ font-variant-numeric: tabular-nums;
218
+ color: var(--sg-danger);
219
+ }
220
+ .sg-price-sale--lg {
221
+ font-size: 44px;
222
+ line-height: 56px;
223
+ }
224
+ .sg-price-original {
225
+ font-size: 24px;
226
+ color: var(--sg-text-3);
227
+ text-decoration: line-through;
228
+ }
229
+ .sg-price-promotion {
230
+ padding: 1px 12px;
231
+ border-radius: 8px;
232
+ background: var(--sg-danger-bg);
233
+ color: var(--sg-danger);
234
+ font-size: 22px;
235
+ line-height: 32px;
236
+ }
237
+ .sg-price-unavailable {
238
+ font-size: 24px;
239
+ color: var(--sg-text-3);
240
+ }
241
+
242
+ /* 库存/可用性 */
243
+ .sg-availability {
244
+ display: inline-block;
245
+ margin-top: 8px;
246
+ font-size: 24px;
247
+ color: var(--sg-text-2);
248
+ }
249
+ .sg-availability-in_stock,
250
+ .sg-availability-available {
251
+ color: var(--sg-success);
252
+ }
253
+ .sg-availability-out_of_stock {
254
+ color: var(--tbox-warning, #b26a00);
255
+ }
256
+ .sg-availability__guide {
257
+ margin-left: 16px;
258
+ padding: 1px 12px;
259
+ border-radius: 8px;
260
+ background: var(--sg-bg-subtle);
261
+ font-size: 22px;
262
+ }
263
+
264
+ /* 徽章/理由/服务/业态 tag */
265
+ .sg-badges {
266
+ display: flex;
267
+ flex-wrap: wrap;
268
+ gap: 12px;
269
+ margin-bottom: 12px;
270
+ }
271
+ .sg-badge {
272
+ padding: 1px 12px;
273
+ border-radius: 8px;
274
+ background: var(--sg-bg-subtle);
275
+ color: var(--sg-text-2);
276
+ font-size: 22px;
277
+ line-height: 32px;
278
+ }
279
+ .sg-reasons {
280
+ display: flex;
281
+ flex-wrap: wrap;
282
+ gap: 12px;
283
+ margin-top: 12px;
284
+ }
285
+ .sg-reason-tag {
286
+ padding: 4px 16px;
287
+ border-radius: 1998px;
288
+ background: var(--sg-danger-bg);
289
+ color: var(--sg-danger);
290
+ font-size: 22px;
291
+ line-height: 32px;
292
+ }
293
+ .sg-services {
294
+ display: flex;
295
+ flex-wrap: wrap;
296
+ gap: 12px;
297
+ margin-top: 16px;
298
+ }
299
+ .sg-service-tag {
300
+ padding: 4px 16px;
301
+ border-radius: 16px;
302
+ border: 1px solid var(--sg-border);
303
+ color: var(--sg-text-2);
304
+ font-size: 22px;
305
+ line-height: 32px;
306
+ }
307
+ .sg-item-caveats {
308
+ margin-top: 12px;
309
+ }
310
+ .sg-caveat-item {
311
+ font-size: 22px;
312
+ line-height: 32px;
313
+ color: var(--sg-text-3);
314
+ }
315
+ .sg-promo-facts {
316
+ margin-top: 16px;
317
+ font-size: 24px;
318
+ color: var(--sg-danger);
319
+ }
320
+ .sg-promo-fact {
321
+ margin-top: 8px;
322
+ font-size: 24px;
323
+ line-height: 36px;
324
+ color: var(--sg-danger);
325
+ }
326
+ .sg-product-merchant {
327
+ margin-top: 12px;
328
+ font-size: 24px;
329
+ color: var(--sg-text-2);
330
+ }
331
+ .sg-merchant-location {
332
+ color: var(--sg-text-3);
333
+ }
334
+
335
+ /* ===== product-list ===== */
336
+ .sg-product-item {
337
+ display: flex;
338
+ gap: 24px;
339
+ padding: 24px 0;
340
+ border-bottom: 1px solid var(--sg-border);
341
+ }
342
+ .sg-product-item:last-child {
343
+ border-bottom: 0;
344
+ }
345
+ .sg-product-image {
346
+ flex: 0 0 160px;
347
+ width: 160px;
348
+ height: 160px;
349
+ border-radius: 16px;
350
+ object-fit: cover;
351
+ }
352
+ .sg-product-info {
353
+ flex: 1;
354
+ min-width: 0;
355
+ }
356
+ .sg-product-name {
357
+ font-size: 30px;
358
+ font-weight: 600;
359
+ line-height: 42px;
360
+ color: var(--tbox-text-primary, #202124);
361
+ }
362
+ .sg-product-item--clickable {
363
+ cursor: pointer;
364
+ transition: background 0.15s;
365
+ }
366
+ .sg-product-item--clickable:active {
367
+ background: var(--sg-bg-subtle);
368
+ }
369
+ .sg-product-item__arrow {
370
+ flex-shrink: 0;
371
+ align-self: center;
372
+ font-size: 32px;
373
+ color: var(--sg-text-3);
374
+ margin-left: 8px;
375
+ }
376
+
377
+ /* ===== product-detail sheet(半屏) ===== */
378
+ .sg-product-sheet {
379
+ position: fixed;
380
+ inset: 0;
381
+ z-index: 1000;
382
+ /* 半屏 panel 整体在底部输入区(快捷指令 + 对话框)上方弹出,不与输入区相交 */
383
+ padding-bottom: var(--tbox-chat-bottom-height, 0px);
384
+ }
385
+ .sg-product-sheet__mask {
386
+ position: fixed;
387
+ inset: 0;
388
+ background: rgba(11, 15, 23, 0.5);
389
+ }
390
+ .sg-product-sheet__panel {
391
+ position: absolute;
392
+ bottom: 0;
393
+ left: 0;
394
+ right: 0;
395
+ max-height: calc(82vh - var(--tbox-chat-bottom-height, 0px));
396
+ background: var(--tbox-bg-card, #fff);
397
+ border-radius: 36px 36px 0 0;
398
+ box-shadow: 0 -12px 40px rgba(11, 15, 23, 0.12);
399
+ display: flex;
400
+ flex-direction: column;
401
+ overflow: hidden;
402
+ }
403
+ .sg-product-sheet__header {
404
+ display: flex;
405
+ align-items: center;
406
+ padding: 32px 32px 20px;
407
+ flex-shrink: 0;
408
+ }
409
+ .sg-product-sheet__title {
410
+ flex: 1;
411
+ font-size: 32px;
412
+ font-weight: 600;
413
+ color: var(--tbox-text-primary, #202124);
414
+ }
415
+ .sg-product-sheet__close {
416
+ display: flex;
417
+ align-items: center;
418
+ justify-content: center;
419
+ width: 56px;
420
+ height: 56px;
421
+ border-radius: 50%;
422
+ border: 0;
423
+ background: var(--sg-bg-subtle);
424
+ color: var(--sg-text-2);
425
+ flex-shrink: 0;
426
+ }
427
+ .sg-product-sheet__body {
428
+ overflow-y: auto;
429
+ padding: 0 32px 48px;
430
+ -webkit-overflow-scrolling: touch;
431
+ }
432
+ .sg-product-sheet__cover {
433
+ width: 100%;
434
+ height: 360px;
435
+ border-radius: 24px;
436
+ object-fit: cover;
437
+ display: block;
438
+ margin-bottom: 28px;
439
+ }
440
+ .sg-product-sheet__main {
441
+ padding-bottom: 16px;
442
+ }
443
+ .sg-product-sheet__name {
444
+ font-size: 36px;
445
+ font-weight: 700;
446
+ line-height: 52px;
447
+ color: var(--tbox-text-primary, #202124);
448
+ margin-top: 8px;
449
+ }
450
+ .sg-product-sheet__brand {
451
+ font-size: 26px;
452
+ color: var(--sg-text-3);
453
+ margin-top: 6px;
454
+ }
455
+ .sg-product-sheet__price-row {
456
+ display: flex;
457
+ align-items: baseline;
458
+ gap: 12px;
459
+ margin-top: 16px;
460
+ }
461
+ .sg-product-sheet__merchant {
462
+ margin-top: 12px;
463
+ font-size: 26px;
464
+ color: var(--sg-text-2);
465
+ }
466
+ .sg-product-sheet__actions {
467
+ padding-top: 24px;
468
+ border-top: 1px solid var(--sg-border);
469
+ margin-top: 24px;
470
+ }
471
+ .sg-product-sheet__action-row {
472
+ display: flex;
473
+ gap: 16px;
474
+ }
475
+ .sg-product-sheet__chip {
476
+ flex: 1;
477
+ padding: 20px 0;
478
+ border-radius: 18px;
479
+ border: 0;
480
+ background: var(--sg-buy);
481
+ color: #fff;
482
+ font-size: 28px;
483
+ font-weight: 500;
484
+ text-align: center;
485
+ }
486
+ .sg-page-info {
487
+ margin-top: 20px;
488
+ text-align: center;
489
+ font-size: 24px;
490
+ color: var(--sg-text-3);
491
+ }
492
+ .sg-refinements {
493
+ display: flex;
494
+ flex-wrap: wrap;
495
+ gap: 16px;
496
+ margin-top: 24px;
497
+ padding-top: 20px;
498
+ border-top: 1px dashed var(--sg-border);
499
+ }
500
+ .sg-refinement-chip {
501
+ padding: 8px 24px;
502
+ border-radius: 1998px;
503
+ border: 1px solid var(--sg-border);
504
+ background: var(--tbox-bg-card, #fff);
505
+ color: var(--sg-text-2);
506
+ font-size: 24px;
507
+ }
508
+
509
+ /* ===== product-detail ===== */
510
+ .sg-carousel {
511
+ position: relative;
512
+ }
513
+ .sg-carousel__stage {
514
+ width: 100%;
515
+ height: 480px;
516
+ border-radius: 24px;
517
+ object-fit: cover;
518
+ }
519
+ .sg-carousel__count {
520
+ position: absolute;
521
+ right: 20px;
522
+ bottom: 20px;
523
+ padding: 4px 16px;
524
+ border-radius: 1998px;
525
+ background: rgba(0, 0, 0, 0.5);
526
+ color: #fff;
527
+ font-size: 22px;
528
+ line-height: 32px;
529
+ }
530
+ .sg-carousel__thumbs {
531
+ display: flex;
532
+ gap: 16px;
533
+ margin-top: 16px;
534
+ overflow-x: auto;
535
+ }
536
+ .sg-carousel__thumb {
537
+ flex: 0 0 96px;
538
+ width: 96px;
539
+ height: 96px;
540
+ padding: 0;
541
+ border: 4px solid transparent;
542
+ border-radius: 16px;
543
+ overflow: hidden;
544
+ }
545
+ .sg-carousel__thumb img {
546
+ width: 100%;
547
+ height: 100%;
548
+ object-fit: cover;
549
+ }
550
+ .sg-carousel__thumb[aria-current='true'] {
551
+ border-color: var(--sg-accent);
552
+ }
553
+ .sg-product-desc {
554
+ margin-top: 20px;
555
+ font-size: 26px;
556
+ line-height: 40px;
557
+ color: var(--tbox-text-primary, #202124);
558
+ }
559
+ .sg-attr-table {
560
+ margin-top: 20px;
561
+ border: 1px solid var(--sg-border);
562
+ border-radius: 16px;
563
+ overflow: hidden;
564
+ }
565
+ .sg-attr-row {
566
+ display: flex;
567
+ gap: 24px;
568
+ padding: 16px 24px;
569
+ border-bottom: 1px solid var(--sg-border);
570
+ font-size: 26px;
571
+ }
572
+ .sg-attr-row:last-child {
573
+ border-bottom: 0;
574
+ }
575
+ .sg-attr-row dt {
576
+ flex: 0 0 auto;
577
+ color: var(--sg-text-2);
578
+ }
579
+ .sg-attr-row dd {
580
+ flex: 1;
581
+ text-align: right;
582
+ color: var(--tbox-text-primary, #202124);
583
+ }
584
+ .sg-category-path {
585
+ margin-top: 16px;
586
+ font-size: 22px;
587
+ color: var(--sg-text-3);
588
+ }
589
+ .sg-link-btn {
590
+ display: inline-flex;
591
+ align-items: center;
592
+ gap: 8px;
593
+ padding: 0;
594
+ border: 0;
595
+ background: transparent;
596
+ color: var(--sg-accent);
597
+ font-size: 26px;
598
+ text-decoration: underline;
599
+ text-underline-offset: 4px;
600
+ }
601
+
602
+ /* ===== merchant-list ===== */
603
+ .sg-merchant-item {
604
+ display: flex;
605
+ gap: 24px;
606
+ padding: 24px 0;
607
+ border-bottom: 1px solid var(--sg-border);
608
+ }
609
+ .sg-merchant-item:last-child {
610
+ border-bottom: 0;
611
+ }
612
+
613
+ /* Logo 容器:固定 80×80,有图展图,无图展首字占位 */
614
+ .sg-merchant-logo-wrap {
615
+ flex: 0 0 80px;
616
+ width: 80px;
617
+ height: 80px;
618
+ border-radius: 16px;
619
+ overflow: hidden;
620
+ background: var(--sg-bg-subtle);
621
+ }
622
+ .sg-merchant-logo {
623
+ width: 80px;
624
+ height: 80px;
625
+ border-radius: 16px;
626
+ object-fit: cover;
627
+ }
628
+ .sg-merchant-logo-placeholder {
629
+ width: 80px;
630
+ height: 80px;
631
+ display: flex;
632
+ align-items: center;
633
+ justify-content: center;
634
+ border-radius: 16px;
635
+ background: linear-gradient(135deg, var(--sg-accent-border) 0%, #dce9ff 100%);
636
+ color: var(--sg-accent);
637
+ font-size: 32px;
638
+ font-weight: 700;
639
+ }
640
+
641
+ .sg-merchant-info {
642
+ flex: 1;
643
+ min-width: 0;
644
+ }
645
+ .sg-merchant-head {
646
+ display: flex;
647
+ align-items: center;
648
+ justify-content: space-between;
649
+ gap: 16px;
650
+ }
651
+ .sg-merchant-name {
652
+ font-size: 30px;
653
+ font-weight: 600;
654
+ color: var(--tbox-text-primary, #202124);
655
+ flex: 1;
656
+ min-width: 0;
657
+ overflow: hidden;
658
+ text-overflow: ellipsis;
659
+ white-space: nowrap;
660
+ }
661
+ .sg-merchant-brand {
662
+ margin-top: 4px;
663
+ font-size: 24px;
664
+ color: var(--sg-text-3);
665
+ }
666
+
667
+ /* 品类 tag 行 */
668
+ .sg-merchant-cats {
669
+ display: flex;
670
+ flex-wrap: wrap;
671
+ gap: 8px;
672
+ margin-top: 8px;
673
+ }
674
+ .sg-merchant-cat-tag {
675
+ padding: 2px 12px;
676
+ border-radius: 8px;
677
+ background: var(--sg-bg-subtle);
678
+ color: var(--sg-text-2);
679
+ font-size: 20px;
680
+ line-height: 30px;
681
+ white-space: nowrap;
682
+ }
683
+
684
+ /* 位置行:图标 + 楼栋 · 楼层 · 铺位 */
685
+ .sg-merchant-location {
686
+ display: flex;
687
+ align-items: center;
688
+ gap: 6px;
689
+ flex-wrap: wrap;
690
+ margin-top: 8px;
691
+ font-size: 24px;
692
+ color: var(--sg-text-2);
693
+ }
694
+ .sg-location-icon {
695
+ font-size: 22px;
696
+ flex-shrink: 0;
697
+ }
698
+ .sg-location-building {
699
+ font-weight: 500;
700
+ color: var(--tbox-text-primary, #202124);
701
+ }
702
+ .sg-location-floor::before {
703
+ content: ' ';
704
+ }
705
+ .sg-location-unit {
706
+ color: var(--sg-text-3);
707
+ }
708
+ .sg-location-unit::before {
709
+ content: ' ';
710
+ }
711
+
712
+ /* 电话行 */
713
+ .sg-merchant-phone {
714
+ display: flex;
715
+ align-items: center;
716
+ gap: 6px;
717
+ margin-top: 6px;
718
+ font-size: 24px;
719
+ }
720
+ .sg-phone-icon {
721
+ font-size: 22px;
722
+ flex-shrink: 0;
723
+ }
724
+ .sg-phone-link {
725
+ color: var(--sg-accent);
726
+ text-decoration: none;
727
+ }
728
+ .sg-phone-link:active {
729
+ opacity: 0.7;
730
+ }
731
+
732
+ .sg-merchant-detail-hint {
733
+ display: flex;
734
+ align-items: center;
735
+ gap: 4px;
736
+ margin-top: 10px;
737
+ padding: 0;
738
+ border: 0;
739
+ background: transparent;
740
+ color: var(--sg-accent);
741
+ font: inherit;
742
+ font-size: 22px;
743
+ font-weight: 500;
744
+ cursor: pointer;
745
+ }
746
+ .sg-merchant-detail-hint:focus-visible {
747
+ outline: 3px solid rgba(9, 107, 250, 0.28);
748
+ outline-offset: 4px;
749
+ border-radius: 8px;
750
+ }
751
+
752
+ /* ===== shop-detail =====
753
+ * 卡壳与门店行全部走导览卡那套(.sg-recommend-merchants + .sg-merchant-row),
754
+ * 本域已无详情卡专属样式。原先整套 .sg-shop-detail__*(封面/identity/logo/copy/
755
+ * name-row/category/location/hint)与卡内动作行的位置规则,随卡片收进同一形态而删除——
756
+ * 留着只会让人以为详情卡还有独立样式可调。
757
+ */
758
+
759
+ /*
760
+ * 这里原有一整套 shop-detail v2 样式(封面出血、头区合一、票券、服务 chip、动作条),
761
+ * 随详情卡收进门店导览形态而全部失效——那套 DOM 已不存在,`.sg-detail-*` 在源码里零引用。
762
+ * 唯一还在生效的是 `.sg-card.sg-shop-detail { padding: 0 }`,而卡头靠 `margin: 0 -12px`
763
+ * 抵消卡片内边距做通栏,padding 归零后负 margin 无从抵消,头图被推出卡外再被 overflow 裁掉,
764
+ * 表现为「卡头左右缩进、与另两张卡对不齐」。整段删除,详情卡完全走 .sg-recommend-merchants。
765
+ */
766
+
767
+ /* ===== category-list ===== */
768
+ .sg-category-grid {
769
+ display: grid;
770
+ grid-template-columns: repeat(3, minmax(0, 1fr));
771
+ gap: 16px;
772
+ }
773
+ .sg-category-cell {
774
+ display: flex;
775
+ flex-direction: column;
776
+ align-items: center;
777
+ gap: 10px;
778
+ padding: 28px 8px 20px;
779
+ border: none;
780
+ border-radius: 24px;
781
+ background: var(--sg-surface);
782
+ text-align: center;
783
+ cursor: pointer;
784
+ transition: transform 0.12s ease, background 0.12s ease;
785
+ width: 100%;
786
+ }
787
+ .sg-category-cell:active {
788
+ transform: scale(0.95);
789
+ background: var(--sg-accent-border);
790
+ }
791
+ .sg-category-cell:disabled {
792
+ cursor: default;
793
+ opacity: 0.7;
794
+ }
795
+ .sg-category-cell:disabled:active {
796
+ transform: none;
797
+ background: var(--sg-surface);
798
+ }
799
+ .sg-category-icon-wrap {
800
+ display: flex;
801
+ align-items: center;
802
+ justify-content: center;
803
+ width: 96px;
804
+ height: 96px;
805
+ border-radius: 50%;
806
+ background: rgba(9, 107, 250, 0.08);
807
+ }
808
+ .sg-category-icon {
809
+ font-size: 48px;
810
+ line-height: 1;
811
+ user-select: none;
812
+ }
813
+ .sg-category-name {
814
+ font-size: 26px;
815
+ font-weight: 600;
816
+ color: var(--tbox-text-primary, #202124);
817
+ line-height: 36px;
818
+ word-break: break-all;
819
+ }
820
+ .sg-category-count {
821
+ font-size: 20px;
822
+ color: var(--sg-text-2);
823
+ line-height: 28px;
824
+ }
825
+ .sg-category-toggle {
826
+ display: flex;
827
+ align-items: center;
828
+ justify-content: center;
829
+ gap: 8px;
830
+ width: 100%;
831
+ margin-top: 20px;
832
+ padding: 16px 0;
833
+ border: 1px solid var(--sg-border);
834
+ border-radius: 16px;
835
+ background: transparent;
836
+ color: var(--sg-text-2);
837
+ font-size: 24px;
838
+ }
839
+ .sg-category-toggle__icon {
840
+ transition: transform 0.15s ease;
841
+ }
842
+ .sg-category-toggle__icon[data-rotated] {
843
+ transform: rotate(180deg);
844
+ }
845
+
846
+ /* ===== category-list: floor nav ===== */
847
+ .sg-category-floors {
848
+ margin-top: 24px;
849
+ padding-top: 20px;
850
+ border-top: 1px solid var(--sg-border);
851
+ }
852
+ .sg-category-floors__title {
853
+ font-size: 24px;
854
+ font-weight: 500;
855
+ color: var(--sg-text-2);
856
+ margin-bottom: 16px;
857
+ }
858
+ .sg-category-floors__building {
859
+ margin-bottom: 16px;
860
+ }
861
+ .sg-category-floors__building-name {
862
+ font-size: 22px;
863
+ color: var(--sg-text-3);
864
+ margin-bottom: 10px;
865
+ }
866
+ .sg-category-floors__floor-list {
867
+ display: flex;
868
+ flex-wrap: wrap;
869
+ gap: 12px;
870
+ }
871
+ .sg-category-floor-chip {
872
+ display: inline-flex;
873
+ align-items: center;
874
+ gap: 6px;
875
+ padding: 10px 20px;
876
+ border: 1px solid var(--sg-border);
877
+ border-radius: 40px;
878
+ background: var(--tbox-bg-card, #fff);
879
+ font-size: 24px;
880
+ color: var(--tbox-text-primary, #202124);
881
+ cursor: pointer;
882
+ transition: background 0.1s, border-color 0.1s;
883
+ }
884
+ .sg-category-floor-chip:active {
885
+ background: var(--sg-accent-light, #e8f0fe);
886
+ border-color: var(--sg-accent, #096bfa);
887
+ }
888
+ .sg-category-floor-chip:disabled {
889
+ opacity: 0.5;
890
+ cursor: default;
891
+ }
892
+ .sg-category-floor-chip__count {
893
+ font-size: 20px;
894
+ color: var(--sg-text-3);
895
+ }
896
+
897
+ /* ===== merchant-list: no-logo variant ===== */
898
+ .sg-merchant-item--no-logo {
899
+ padding-left: 0;
900
+ }
901
+ .sg-merchant-item--no-logo .sg-merchant-info {
902
+ width: 100%;
903
+ }
904
+
905
+ /* ===== merchant-list: 整行可点击(非历史态) ===== */
906
+ .sg-merchant-item--clickable {
907
+ cursor: pointer;
908
+ transition: background 0.12s ease;
909
+ }
910
+ .sg-merchant-item--clickable:active {
911
+ background: var(--sg-hover-bg, rgba(0, 0, 0, 0.04));
912
+ }
913
+
914
+ /* ===== product-comparison ===== */
915
+ .sg-compare-wrap {
916
+ overflow-x: auto;
917
+ }
918
+ .sg-compare {
919
+ width: 100%;
920
+ border-collapse: collapse;
921
+ font-size: 24px;
922
+ }
923
+ .sg-compare th,
924
+ .sg-compare td {
925
+ padding: 16px;
926
+ border-bottom: 1px solid var(--sg-border);
927
+ text-align: left;
928
+ vertical-align: top;
929
+ }
930
+ .sg-compare__label {
931
+ color: var(--sg-text-2);
932
+ font-weight: 500;
933
+ white-space: nowrap;
934
+ }
935
+ .sg-compare__img {
936
+ width: 112px;
937
+ height: 112px;
938
+ border-radius: 16px;
939
+ object-fit: cover;
940
+ }
941
+ .sg-compare__name {
942
+ margin-top: 8px;
943
+ font-weight: 600;
944
+ line-height: 36px;
945
+ color: var(--tbox-text-primary, #202124);
946
+ }
947
+ .sg-compare__cell-empty {
948
+ color: var(--sg-text-3);
949
+ }
950
+ .sg-compare__stale-marker {
951
+ display: block;
952
+ margin-top: 16px;
953
+ font-size: 24px;
954
+ color: var(--tbox-warning, #b26a00);
955
+ }
956
+ .sg-product-comparison--stale .sg-compare {
957
+ opacity: 0.6;
958
+ }
959
+
960
+ /* ===== mall-directory ===== */
961
+ .sg-dir-building {
962
+ border: 1px solid var(--sg-border);
963
+ border-radius: 20px;
964
+ margin-top: 16px;
965
+ overflow: hidden;
966
+ }
967
+ .sg-dir-building__head {
968
+ display: flex;
969
+ align-items: center;
970
+ gap: 16px;
971
+ width: 100%;
972
+ padding: 24px;
973
+ border: 0;
974
+ background: var(--tbox-bg-card, #fff);
975
+ color: var(--tbox-text-primary, #202124);
976
+ text-align: left;
977
+ }
978
+ .sg-dir-building__head > svg {
979
+ color: var(--sg-accent);
980
+ }
981
+ .sg-dir-building__name {
982
+ flex: 1;
983
+ font-size: 28px;
984
+ font-weight: 600;
985
+ }
986
+ .sg-dir-building__count {
987
+ font-size: 24px;
988
+ color: var(--sg-text-3);
989
+ }
990
+ .sg-dir-building__chevron[data-rotated] {
991
+ transform: rotate(180deg);
992
+ transition: transform 0.15s ease;
993
+ }
994
+ .sg-dir-floors {
995
+ border-top: 1px solid var(--sg-border);
996
+ background: var(--sg-bg-subtle);
997
+ }
998
+ .sg-dir-floor {
999
+ display: flex;
1000
+ align-items: center;
1001
+ justify-content: space-between;
1002
+ gap: 16px;
1003
+ padding: 16px 24px;
1004
+ border-bottom: 1px solid var(--sg-border);
1005
+ }
1006
+ .sg-dir-floor:last-child {
1007
+ border-bottom: 0;
1008
+ }
1009
+ .sg-dir-floor__info {
1010
+ display: grid;
1011
+ gap: 4px;
1012
+ min-width: 0;
1013
+ }
1014
+ .sg-dir-floor__name {
1015
+ font-size: 26px;
1016
+ font-weight: 500;
1017
+ color: var(--tbox-text-primary, #202124);
1018
+ }
1019
+ .sg-dir-floor__cats {
1020
+ font-size: 22px;
1021
+ color: var(--sg-text-3);
1022
+ overflow: hidden;
1023
+ text-overflow: ellipsis;
1024
+ white-space: nowrap;
1025
+ }
1026
+ .sg-dir-floor__action {
1027
+ flex: 0 0 auto;
1028
+ min-height: 56px;
1029
+ padding: 0 20px;
1030
+ }
1031
+
1032
+ /* ===== nearby-mall-list ===== */
1033
+ .sg-nearby-item {
1034
+ padding: 24px 0;
1035
+ border-bottom: 1px solid var(--sg-border);
1036
+ }
1037
+ .sg-nearby-item:last-child {
1038
+ border-bottom: 0;
1039
+ }
1040
+ .sg-nearby-item__meta {
1041
+ display: flex;
1042
+ justify-content: space-between;
1043
+ gap: 16px;
1044
+ margin-top: 8px;
1045
+ font-size: 24px;
1046
+ color: var(--sg-text-2);
1047
+ }
1048
+ .sg-nearby-item__distance {
1049
+ flex: 0 0 auto;
1050
+ color: var(--sg-accent);
1051
+ font-weight: 500;
1052
+ }
1053
+
1054
+ /* ===== customer-service-faq ===== */
1055
+ .sg-faq-item {
1056
+ border: 1px solid var(--sg-border);
1057
+ border-radius: 20px;
1058
+ margin-top: 16px;
1059
+ overflow: hidden;
1060
+ }
1061
+ .sg-faq-item__q {
1062
+ display: flex;
1063
+ align-items: center;
1064
+ justify-content: space-between;
1065
+ gap: 16px;
1066
+ width: 100%;
1067
+ padding: 24px;
1068
+ border: 0;
1069
+ background: var(--tbox-bg-card, #fff);
1070
+ color: var(--tbox-text-primary, #202124);
1071
+ font-size: 28px;
1072
+ font-weight: 500;
1073
+ text-align: left;
1074
+ }
1075
+ .sg-faq-item__chevron[data-rotated] {
1076
+ transform: rotate(180deg);
1077
+ transition: transform 0.15s ease;
1078
+ }
1079
+ .sg-faq-item__a {
1080
+ padding: 0 24px 24px;
1081
+ border-top: 1px solid var(--sg-border);
1082
+ background: var(--sg-bg-subtle);
1083
+ }
1084
+ .sg-faq-item__a p {
1085
+ padding: 20px 0 8px;
1086
+ font-size: 26px;
1087
+ line-height: 40px;
1088
+ color: var(--tbox-text-primary, #202124);
1089
+ }
1090
+ .sg-faq-item__ref {
1091
+ margin-top: 8px;
1092
+ font-size: 24px;
1093
+ }
1094
+ .sg-contact-btn {
1095
+ display: flex;
1096
+ align-items: center;
1097
+ justify-content: center;
1098
+ gap: 12px;
1099
+ width: 100%;
1100
+ margin-top: 24px;
1101
+ height: 80px;
1102
+ border-radius: 18px;
1103
+ border: 2px solid var(--sg-accent-border);
1104
+ color: var(--sg-accent);
1105
+ background: var(--sg-surface);
1106
+ font-size: 28px;
1107
+ font-weight: 500;
1108
+ }
1109
+
1110
+ /* ===== human-guide-list ===== */
1111
+ .sg-guide-item {
1112
+ display: flex;
1113
+ align-items: center;
1114
+ gap: 24px;
1115
+ padding: 24px 0;
1116
+ border-bottom: 1px solid var(--sg-border);
1117
+ }
1118
+ .sg-guide-item:last-child {
1119
+ border-bottom: 0;
1120
+ }
1121
+ .sg-guide-avatar {
1122
+ flex: 0 0 96px;
1123
+ width: 96px;
1124
+ height: 96px;
1125
+ border-radius: 50%;
1126
+ object-fit: cover;
1127
+ }
1128
+ .sg-guide-info {
1129
+ flex: 1;
1130
+ min-width: 0;
1131
+ }
1132
+ .sg-guide-title {
1133
+ margin-top: 4px;
1134
+ font-size: 24px;
1135
+ color: var(--sg-text-2);
1136
+ }
1137
+ .sg-guide-channels {
1138
+ display: flex;
1139
+ flex-wrap: wrap;
1140
+ gap: 12px;
1141
+ margin-top: 8px;
1142
+ }
1143
+ .sg-guide-channel {
1144
+ padding: 1px 12px;
1145
+ border-radius: 8px;
1146
+ background: var(--sg-bg-subtle);
1147
+ font-size: 22px;
1148
+ color: var(--sg-text-2);
1149
+ }
1150
+ .sg-guide-contact {
1151
+ flex: 0 0 auto;
1152
+ min-height: 64px;
1153
+ padding: 0 24px;
1154
+ border-radius: 18px;
1155
+ border: 2px solid var(--sg-border);
1156
+ color: var(--sg-accent);
1157
+ background: var(--sg-surface);
1158
+ font-size: 24px;
1159
+ }
1160
+ .sg-guide-privacy {
1161
+ margin-top: 20px;
1162
+ font-size: 22px;
1163
+ line-height: 32px;
1164
+ color: var(--sg-text-3);
1165
+ }
1166
+
1167
+ /* ===== location-handoff ===== */
1168
+ .sg-lh-map {
1169
+ width: 100%;
1170
+ height: 320px;
1171
+ border-radius: 24px;
1172
+ object-fit: cover;
1173
+ }
1174
+ .sg-lh-address {
1175
+ display: flex;
1176
+ align-items: center;
1177
+ gap: 12px;
1178
+ margin-top: 20px;
1179
+ font-size: 28px;
1180
+ font-weight: 500;
1181
+ color: var(--tbox-text-primary, #202124);
1182
+ }
1183
+ .sg-lh-address svg {
1184
+ flex: 0 0 auto;
1185
+ color: var(--sg-accent);
1186
+ }
1187
+ .sg-lh-detail {
1188
+ display: flex;
1189
+ flex-wrap: wrap;
1190
+ gap: 12px;
1191
+ margin-top: 16px;
1192
+ }
1193
+ .sg-lh-detail span {
1194
+ padding: 4px 16px;
1195
+ border-radius: 16px;
1196
+ background: var(--sg-bg-subtle);
1197
+ font-size: 24px;
1198
+ color: var(--sg-text-2);
1199
+ }
1200
+ .sg-lh-nav {
1201
+ display: flex;
1202
+ align-items: center;
1203
+ justify-content: center;
1204
+ gap: 12px;
1205
+ width: 100%;
1206
+ margin-top: 24px;
1207
+ height: 80px;
1208
+ border-radius: 18px;
1209
+ border: 0;
1210
+ color: #fff;
1211
+ background: var(--sg-cta-gradient);
1212
+ box-shadow: 0 8px 22px rgba(18, 118, 255, 0.35);
1213
+ font-size: 28px;
1214
+ font-weight: 500;
1215
+ }
1216
+
1217
+ /* ===== shop-list:门店导览卡头 + 类目 Tab ===== */
1218
+
1219
+ .sg-sl-header {
1220
+ display: flex;
1221
+ align-items: flex-start;
1222
+ margin: -40px -40px 0;
1223
+ padding: 30px 28px 26px;
1224
+ background: linear-gradient(135deg, #202522 0%, #353b36 100%);
1225
+ border-radius: 0;
1226
+ }
1227
+ .sg-sl-header-copy {
1228
+ display: flex;
1229
+ flex-direction: column;
1230
+ gap: 6px;
1231
+ }
1232
+ .sg-sl-header-title {
1233
+ margin: 0;
1234
+ font-size: 32px;
1235
+ font-weight: 700;
1236
+ line-height: 46px;
1237
+ color: #fff;
1238
+ }
1239
+ .sg-sl-header-subtitle {
1240
+ margin: 0;
1241
+ font-size: 24px;
1242
+ line-height: 36px;
1243
+ color: rgba(255, 255, 255, 0.75);
1244
+ }
1245
+
1246
+ /* 类目 Tab 2×2 网格(最多 4 个) */
1247
+ .sg-sl-tabs {
1248
+ display: grid;
1249
+ grid-template-columns: repeat(2, minmax(0, 1fr));
1250
+ gap: 12px;
1251
+ margin: 20px -8px 0;
1252
+ padding: 12px 8px;
1253
+ border-radius: 20px;
1254
+ background: #f7f8f6;
1255
+ }
1256
+ .sg-sl-tab {
1257
+ display: flex;
1258
+ align-items: center;
1259
+ justify-content: center;
1260
+ gap: 9px;
1261
+ min-height: 60px;
1262
+ padding: 12px 16px;
1263
+ border-radius: 14px;
1264
+ border: 1px solid transparent;
1265
+ background: #fff;
1266
+ font-size: 24px;
1267
+ font-weight: 500;
1268
+ color: var(--tbox-text-primary, #202124);
1269
+ cursor: pointer;
1270
+ transition: border-color 0.15s, background 0.15s, color 0.15s;
1271
+ }
1272
+ .sg-sl-tab svg {
1273
+ color: var(--sg-text-2);
1274
+ flex: 0 0 auto;
1275
+ }
1276
+ .sg-sl-tab--active {
1277
+ border-color: #2f3530;
1278
+ background: #2f3530;
1279
+ color: #fff;
1280
+ }
1281
+ .sg-sl-tab--active svg {
1282
+ color: #fff;
1283
+ }
1284
+ .sg-sl-tab:disabled {
1285
+ cursor: default;
1286
+ opacity: 0.5;
1287
+ }
1288
+
1289
+ /* ===== recommend-merchants 卡(门店导览样式) ===== */
1290
+
1291
+ .sg-rm-header {
1292
+ display: flex;
1293
+ align-items: flex-start;
1294
+ justify-content: space-between;
1295
+ gap: 16px;
1296
+ margin: -40px -40px 0;
1297
+ padding: 26px 28px 28px;
1298
+ background: linear-gradient(135deg, #1c211e 0%, #353b36 100%);
1299
+ border-radius: 0;
1300
+ }
1301
+ .sg-rm-header-copy {
1302
+ display: flex;
1303
+ flex-direction: column;
1304
+ gap: 6px;
1305
+ }
1306
+ .sg-rm-header-eyebrow {
1307
+ display: inline-flex;
1308
+ align-items: center;
1309
+ gap: 7px;
1310
+ color: rgba(255, 255, 255, 0.72);
1311
+ font-size: 20px;
1312
+ line-height: 28px;
1313
+ }
1314
+ .sg-rm-header-title {
1315
+ margin: 0;
1316
+ font-size: 32px;
1317
+ font-weight: 700;
1318
+ line-height: 46px;
1319
+ color: #fff;
1320
+ }
1321
+ .sg-rm-header-subtitle {
1322
+ margin: 0;
1323
+ font-size: 24px;
1324
+ line-height: 36px;
1325
+ color: rgba(255, 255, 255, 0.75);
1326
+ }
1327
+ /* 类目 Tab 2×2 网格 */
1328
+ /*
1329
+ * 品类筛选:单行横滑。原为 2×2 网格且截断到 4 个——网格放不下更多,于是商场真实有的业态
1330
+ * 被藏掉一半,卡内看到 4 个、点进浮层却是七八个,两处对不上。改成横滑后条数不再受限,
1331
+ * 卡内与浮层看到同一份分类;顺带从两行高收成一行。
1332
+ * 纯文字、无图标:原先的图标是按顺序写死的四个(叉子/咖啡/购物袋/笑脸),第五个分类起就没有
1333
+ * 图标可用,放开条数后这条会直接碰壁;浮层那侧本就是纯文字,去掉也就此对齐。
1334
+ */
1335
+ .sg-rm-tabs {
1336
+ display: flex;
1337
+ gap: 32px;
1338
+ margin: 20px 0 0;
1339
+ padding: 0;
1340
+ overflow-x: auto;
1341
+ scrollbar-width: none;
1342
+ -webkit-overflow-scrolling: touch;
1343
+ }
1344
+ .sg-rm-tabs::-webkit-scrollbar {
1345
+ display: none;
1346
+ }
1347
+ .sg-rm-tab {
1348
+ position: relative;
1349
+ display: flex;
1350
+ flex: 0 0 auto;
1351
+ align-items: center;
1352
+ justify-content: center;
1353
+ min-height: 56px;
1354
+ padding: 0 2px 14px;
1355
+ border: 0;
1356
+ background: transparent;
1357
+ font-size: 26px;
1358
+ font-weight: 500;
1359
+ color: #6b706d;
1360
+ white-space: nowrap;
1361
+ cursor: pointer;
1362
+ transition: color 0.15s;
1363
+ }
1364
+ /* 选中态:加深加粗 + 下方短横。指示条用 ::after 而非 border-bottom——
1365
+ border 会把未选中项也撑高一像素,一行 tab 的基线就此错开。 */
1366
+ .sg-rm-tab--active {
1367
+ color: var(--tbox-text-primary, #202124);
1368
+ font-weight: 600;
1369
+ }
1370
+ .sg-rm-tab--active::after {
1371
+ position: absolute;
1372
+ bottom: 0;
1373
+ left: 50%;
1374
+ width: 36px;
1375
+ height: 6px;
1376
+ border-radius: 3px;
1377
+ background: #30372f;
1378
+ transform: translateX(-50%);
1379
+ content: '';
1380
+ }
1381
+
1382
+ /* 列表分区标签 */
1383
+ .sg-rm-section-label {
1384
+ display: flex;
1385
+ align-items: center;
1386
+ justify-content: space-between;
1387
+ margin-top: 26px;
1388
+ font-size: 26px;
1389
+ font-weight: 700;
1390
+ color: var(--tbox-text-primary, #202124);
1391
+ }
1392
+
1393
+ /* 门店列表 */
1394
+ .sg-rm-list {
1395
+ margin: 10px 0 0;
1396
+ padding: 0;
1397
+ list-style: none;
1398
+ display: flex;
1399
+ flex-direction: column;
1400
+ gap: 0;
1401
+ }
1402
+ .sg-rm-item {
1403
+ padding: 20px 0;
1404
+ border-bottom: 1px solid var(--sg-border);
1405
+ }
1406
+ .sg-rm-item:last-child {
1407
+ border-bottom: 0;
1408
+ }
1409
+
1410
+ /* 门店头部:大图 + 信息 */
1411
+ .sg-rm-item-head {
1412
+ display: flex;
1413
+ align-items: flex-start;
1414
+ gap: 18px;
1415
+ width: 100%;
1416
+ padding: 0;
1417
+ border: 0;
1418
+ background: transparent;
1419
+ color: inherit;
1420
+ text-align: left;
1421
+ cursor: pointer;
1422
+ }
1423
+ .sg-rm-item-head:focus-visible {
1424
+ outline: 3px solid rgba(9, 107, 250, 0.28);
1425
+ outline-offset: 6px;
1426
+ border-radius: 12px;
1427
+ }
1428
+ .sg-rm-item-image {
1429
+ flex: 0 0 96px;
1430
+ width: 96px;
1431
+ height: 96px;
1432
+ border-radius: 18px;
1433
+ object-fit: cover;
1434
+ background: var(--sg-bg-subtle);
1435
+ }
1436
+ .sg-rm-item-meta {
1437
+ flex: 1;
1438
+ min-width: 0;
1439
+ display: flex;
1440
+ flex-direction: column;
1441
+ gap: 6px;
1442
+ }
1443
+ .sg-rm-item-name-row {
1444
+ display: flex;
1445
+ align-items: center;
1446
+ justify-content: space-between;
1447
+ gap: 8px;
1448
+ }
1449
+ .sg-rm-item-name {
1450
+ font-size: 27px;
1451
+ font-weight: 600;
1452
+ color: var(--tbox-text-primary, #202124);
1453
+ white-space: nowrap;
1454
+ overflow: hidden;
1455
+ text-overflow: ellipsis;
1456
+ }
1457
+ .sg-rm-item-caret {
1458
+ flex: 0 0 auto;
1459
+ color: var(--sg-text-3);
1460
+ }
1461
+ .sg-rm-item-cats {
1462
+ font-size: 22px;
1463
+ color: var(--sg-text-2);
1464
+ }
1465
+ .sg-rm-item-location {
1466
+ display: flex;
1467
+ align-items: center;
1468
+ gap: 6px;
1469
+ font-size: 22px;
1470
+ color: var(--sg-text-2);
1471
+ }
1472
+ .sg-rm-item-location svg {
1473
+ flex: 0 0 auto;
1474
+ color: var(--sg-accent);
1475
+ }
1476
+ .sg-rm-item-floor {
1477
+ display: inline-flex;
1478
+ align-items: center;
1479
+ padding: 2px 12px;
1480
+ border-radius: 999px;
1481
+ background: var(--sg-bg-subtle);
1482
+ font-size: 22px;
1483
+ color: var(--sg-text-2);
1484
+ }
1485
+
1486
+ /* 评分 / 人均 / 营业状态 */
1487
+ .sg-rm-item-stats {
1488
+ display: flex;
1489
+ align-items: center;
1490
+ flex-wrap: wrap;
1491
+ gap: 8px;
1492
+ margin-top: 6px;
1493
+ }
1494
+ .sg-rm-item-rating {
1495
+ font-size: 22px;
1496
+ color: #f5a623;
1497
+ font-weight: 600;
1498
+ }
1499
+ .sg-rm-item-avg-spend {
1500
+ font-size: 22px;
1501
+ color: var(--sg-text-2);
1502
+ }
1503
+
1504
+ /* ===== 门店详情半屏 ===== */
1505
+ .sg-shop-sheet {
1506
+ position: fixed;
1507
+ inset: 0;
1508
+ /* 60 对齐神券 .promotion-sheet:低于 Toast 默认 1000,领取反馈不被浮层盖住
1509
+ (曾用 1100 盖住 Toast——修复依赖模板 global.less 同步不可靠,改在模块层定死) */
1510
+ z-index: 60;
1511
+ color: var(--tbox-text-primary, #202124);
1512
+ }
1513
+ .sg-shop-sheet,
1514
+ .sg-shop-sheet *,
1515
+ .sg-shop-sheet *::before,
1516
+ .sg-shop-sheet *::after {
1517
+ box-sizing: border-box;
1518
+ }
1519
+ .sg-shop-sheet__mask {
1520
+ position: absolute;
1521
+ inset: 0;
1522
+ background: rgba(18, 21, 19, 0.52);
1523
+ backdrop-filter: blur(4px);
1524
+ }
1525
+ .sg-shop-sheet__panel {
1526
+ position: absolute;
1527
+ bottom: 0;
1528
+ left: 50%;
1529
+ display: flex;
1530
+ flex-direction: column;
1531
+ width: min(100%, 750px);
1532
+ max-height: 84vh;
1533
+ overflow: hidden;
1534
+ border-radius: 36px 36px 0 0;
1535
+ background: #fff;
1536
+ box-shadow: 0 -16px 48px rgba(24, 31, 27, 0.18);
1537
+ transform: translateX(-50%);
1538
+ animation: sg-shop-sheet-in 240ms cubic-bezier(0.22, 0.72, 0.24, 1) both;
1539
+ }
1540
+ .sg-shop-sheet__handle {
1541
+ flex-shrink: 0;
1542
+ align-self: center;
1543
+ width: 72px;
1544
+ height: 8px;
1545
+ margin-top: 16px;
1546
+ border-radius: 999px;
1547
+ background: #d9dcd9;
1548
+ }
1549
+ .sg-shop-sheet__header {
1550
+ display: flex;
1551
+ flex-shrink: 0;
1552
+ align-items: center;
1553
+ padding: 16px 28px 18px 32px;
1554
+ border-bottom: 1px solid var(--sg-border);
1555
+ }
1556
+ .sg-shop-sheet__header h2 {
1557
+ flex: 1;
1558
+ margin: 0;
1559
+ color: #262c28;
1560
+ font-size: 30px;
1561
+ font-weight: 700;
1562
+ line-height: 44px;
1563
+ }
1564
+ .sg-shop-sheet__close {
1565
+ display: flex;
1566
+ flex: 0 0 56px;
1567
+ align-items: center;
1568
+ justify-content: center;
1569
+ width: 56px;
1570
+ height: 56px;
1571
+ padding: 0;
1572
+ border: 0;
1573
+ border-radius: 50%;
1574
+ background: #f2f4f1;
1575
+ color: #4f5751;
1576
+ }
1577
+ .sg-shop-sheet__close:focus-visible {
1578
+ outline: 3px solid rgba(9, 107, 250, 0.28);
1579
+ outline-offset: 2px;
1580
+ }
1581
+ .sg-shop-sheet__body {
1582
+ flex: 1;
1583
+ min-height: 0;
1584
+ overflow-y: auto;
1585
+ padding: 0 32px calc(40px + env(safe-area-inset-bottom));
1586
+ -webkit-overflow-scrolling: touch;
1587
+ }
1588
+ .sg-shop-sheet__body::-webkit-scrollbar {
1589
+ display: none;
1590
+ }
1591
+ .sg-shop-sheet__cover {
1592
+ display: block;
1593
+ width: 100%;
1594
+ height: 320px;
1595
+ margin-top: 24px;
1596
+ border-radius: 24px;
1597
+ object-fit: cover;
1598
+ }
1599
+ .sg-shop-sheet__identity {
1600
+ display: flex;
1601
+ align-items: center;
1602
+ gap: 18px;
1603
+ margin-top: 28px;
1604
+ }
1605
+ .sg-shop-sheet__logo {
1606
+ flex: 0 0 104px;
1607
+ width: 104px;
1608
+ height: 104px;
1609
+ border-radius: 22px;
1610
+ object-fit: cover;
1611
+ background: #f2f4f1;
1612
+ }
1613
+ .sg-shop-sheet__identity-copy {
1614
+ flex: 1;
1615
+ min-width: 0;
1616
+ }
1617
+ .sg-shop-sheet__name-row {
1618
+ display: flex;
1619
+ align-items: center;
1620
+ gap: 12px;
1621
+ }
1622
+ .sg-shop-sheet__name-row h3 {
1623
+ flex: 1;
1624
+ min-width: 0;
1625
+ margin: 0;
1626
+ overflow: hidden;
1627
+ color: #262c28;
1628
+ font-size: 32px;
1629
+ font-weight: 700;
1630
+ line-height: 44px;
1631
+ text-overflow: ellipsis;
1632
+ white-space: nowrap;
1633
+ }
1634
+ .sg-shop-sheet__identity-copy p {
1635
+ margin: 6px 0 0;
1636
+ color: var(--sg-text-2);
1637
+ font-size: 23px;
1638
+ line-height: 34px;
1639
+ }
1640
+ .sg-shop-sheet__stats {
1641
+ display: flex;
1642
+ flex-wrap: wrap;
1643
+ align-items: center;
1644
+ gap: 8px 18px;
1645
+ margin-top: 20px;
1646
+ color: var(--sg-text-2);
1647
+ font-size: 23px;
1648
+ }
1649
+ .sg-shop-sheet__rating {
1650
+ display: inline-flex;
1651
+ align-items: center;
1652
+ gap: 5px;
1653
+ color: #ef8e24;
1654
+ font-weight: 700;
1655
+ }
1656
+ .sg-shop-sheet__facts {
1657
+ display: flex;
1658
+ flex-direction: column;
1659
+ gap: 18px;
1660
+ margin-top: 28px;
1661
+ padding: 24px;
1662
+ border-radius: 22px;
1663
+ background: #f7f8f6;
1664
+ }
1665
+ .sg-shop-sheet__facts > div {
1666
+ display: flex;
1667
+ align-items: flex-start;
1668
+ gap: 12px;
1669
+ color: #555d57;
1670
+ font-size: 24px;
1671
+ line-height: 34px;
1672
+ }
1673
+ .sg-shop-sheet__facts svg {
1674
+ flex-shrink: 0;
1675
+ margin-top: 3px;
1676
+ color: #738176;
1677
+ }
1678
+ .sg-shop-sheet__facts a {
1679
+ color: #39483d;
1680
+ text-decoration: none;
1681
+ }
1682
+ .sg-shop-sheet__description {
1683
+ margin: 26px 0 0;
1684
+ color: #555d57;
1685
+ font-size: 25px;
1686
+ line-height: 40px;
1687
+ }
1688
+ .sg-shop-sheet__services {
1689
+ display: flex;
1690
+ flex-wrap: wrap;
1691
+ gap: 10px;
1692
+ margin-top: 24px;
1693
+ }
1694
+ .sg-shop-sheet__services span {
1695
+ padding: 7px 16px;
1696
+ border: 1px solid #e1e5e1;
1697
+ border-radius: 999px;
1698
+ color: #626b64;
1699
+ background: #fff;
1700
+ font-size: 22px;
1701
+ }
1702
+ .sg-shop-sheet__actions {
1703
+ display: flex;
1704
+ gap: 12px;
1705
+ margin-top: 30px;
1706
+ }
1707
+ .sg-shop-sheet__action {
1708
+ display: inline-flex;
1709
+ flex: 1;
1710
+ align-items: center;
1711
+ justify-content: center;
1712
+ min-height: 72px;
1713
+ padding: 0 24px;
1714
+ border: 0;
1715
+ border-radius: 18px;
1716
+ background: #313833;
1717
+ color: #fff;
1718
+ font-size: 25px;
1719
+ font-weight: 600;
1720
+ }
1721
+ .sg-shop-sheet__action:disabled {
1722
+ opacity: 0.48;
1723
+ }
1724
+
1725
+ @keyframes sg-shop-sheet-in {
1726
+ from { transform: translate(-50%, 24px); opacity: 0; }
1727
+ to { transform: translate(-50%, 0); opacity: 1; }
1728
+ }
1729
+
1730
+ @keyframes sg-shop-sheet-out {
1731
+ from { opacity: 1; }
1732
+ to { opacity: 0; }
1733
+ }
1734
+
1735
+ @keyframes sg-shop-sheet-down {
1736
+ from { transform: translate(-50%, 0); }
1737
+ to { transform: translate(-50%, 100%); }
1738
+ }
1739
+
1740
+ .sg-shop-sheet--closing,
1741
+ .sg-store-list-sheet--closing {
1742
+ pointer-events: none;
1743
+ animation: sg-shop-sheet-out 180ms ease-in both;
1744
+ }
1745
+
1746
+ .sg-shop-sheet--closing .sg-shop-sheet__panel,
1747
+ .sg-store-list-sheet--closing .sg-store-list-sheet__panel {
1748
+ animation: sg-shop-sheet-down 180ms ease-in both;
1749
+ }
1750
+
1751
+ @media (prefers-reduced-motion: reduce) {
1752
+ .sg-shop-sheet,
1753
+ .sg-store-list-sheet,
1754
+ .sg-shop-sheet__panel,
1755
+ .sg-shop-sheet--closing .sg-shop-sheet__panel,
1756
+ .sg-store-list-sheet--closing .sg-store-list-sheet__panel {
1757
+ animation-duration: 1ms;
1758
+ }
1759
+ }
1760
+
1761
+ /* ===== 门店导览截图对齐 v3:紧凑主卡 + 列表半屏 + 信息型详情半屏 ===== */
1762
+ .sg-recommend-merchants {
1763
+ overflow: hidden;
1764
+ padding: 0 24px 24px;
1765
+ border-radius: 28px;
1766
+ }
1767
+ .sg-recommend-merchants .sg-rm-header {
1768
+ position: relative;
1769
+ min-height: 154px;
1770
+ margin: 0 -24px;
1771
+ overflow: hidden;
1772
+ padding: 30px 28px;
1773
+ border-radius: 0;
1774
+ background: #f9f0df;
1775
+ }
1776
+ .sg-rm-header-art {
1777
+ position: absolute;
1778
+ inset: 0 0 0 auto;
1779
+ width: 62%;
1780
+ height: 100%;
1781
+ object-fit: cover;
1782
+ object-position: right center;
1783
+ opacity: 0.9;
1784
+ pointer-events: none;
1785
+ }
1786
+ .sg-recommend-merchants .sg-rm-header-copy {
1787
+ position: relative;
1788
+ z-index: 1;
1789
+ max-width: 66%;
1790
+ gap: 10px;
1791
+ }
1792
+ .sg-rm-header-title-row {
1793
+ display: flex;
1794
+ align-items: center;
1795
+ gap: 10px;
1796
+ color: #2f3a22;
1797
+ }
1798
+ .sg-recommend-merchants .sg-rm-header-title {
1799
+ color: #2f3a22;
1800
+ font-size: 32px;
1801
+ line-height: 42px;
1802
+ }
1803
+ .sg-recommend-merchants .sg-rm-header-subtitle {
1804
+ overflow: hidden;
1805
+ color: #626b5c;
1806
+ font-size: 22px;
1807
+ line-height: 32px;
1808
+ text-overflow: ellipsis;
1809
+ white-space: nowrap;
1810
+ }
1811
+ .sg-rm-header-badge {
1812
+ position: absolute;
1813
+ z-index: 2;
1814
+ top: 24px;
1815
+ right: 22px;
1816
+ padding: 7px 14px;
1817
+ border: 1px solid rgba(57, 76, 43, 0.14);
1818
+ border-radius: 999px;
1819
+ color: #526a35;
1820
+ background: rgba(255, 255, 255, 0.72);
1821
+ font-size: 18px;
1822
+ line-height: 26px;
1823
+ }
1824
+ .sg-recommend-merchants .sg-rm-tabs {
1825
+ margin: 18px 0 0;
1826
+ }
1827
+ .sg-recommend-merchants .sg-rm-tab {
1828
+ font-size: 25px;
1829
+ }
1830
+ .sg-recommend-merchants .sg-rm-section-label {
1831
+ justify-content: flex-start;
1832
+ gap: 14px;
1833
+ margin-top: 28px;
1834
+ font-size: 28px;
1835
+ }
1836
+ .sg-recommend-merchants .sg-rm-list {
1837
+ margin-top: 8px;
1838
+ }
1839
+ .sg-recommend-merchants .sg-rm-item {
1840
+ padding: 20px 0;
1841
+ border-bottom: 0;
1842
+ }
1843
+ /*
1844
+ * 门店行的唯一一份内部视觉,挂在 .sg-merchant-row 上而非某个卡片容器下——
1845
+ * 这些规则原先限定在 .sg-recommend-merchants 里,门店列表半屏拿不到,
1846
+ * 于是半屏另写了一套 .sg-store-list-sheet__* 的行样式,两边就此长歪。
1847
+ * 现在三处列表共用 MerchantRow 组件与这一段;外层容器只负责各自的边框/底色/间距。
1848
+ */
1849
+ .sg-merchant-row {
1850
+ gap: 18px;
1851
+ }
1852
+ .sg-merchant-row .sg-rm-item-image {
1853
+ flex-basis: 136px;
1854
+ width: 136px;
1855
+ height: 136px;
1856
+ border-radius: 18px;
1857
+ }
1858
+ .sg-merchant-row .sg-rm-item-meta {
1859
+ gap: 8px;
1860
+ }
1861
+ .sg-merchant-row .sg-rm-item-name {
1862
+ font-size: 28px;
1863
+ line-height: 38px;
1864
+ }
1865
+ /* 业态标签行:与此前状态胶囊同一规格(2/10 内边距 + 7 圆角 + 20 字号),
1866
+ 纯底色无描边——与券行标签、门店导览其余胶囊同一手法。 */
1867
+ .sg-merchant-row .sg-rm-item-tags {
1868
+ display: flex;
1869
+ gap: 8px;
1870
+ overflow: hidden;
1871
+ }
1872
+ .sg-merchant-row .sg-rm-item-tag {
1873
+ flex-shrink: 0;
1874
+ max-width: 160px;
1875
+ overflow: hidden;
1876
+ padding: 2px 10px;
1877
+ border-radius: 7px;
1878
+ color: var(--sg-neutral-badge-ink);
1879
+ background: var(--sg-neutral-badge-bg);
1880
+ font-size: 20px;
1881
+ line-height: 28px;
1882
+ text-overflow: ellipsis;
1883
+ white-space: nowrap;
1884
+ }
1885
+ .sg-merchant-row .sg-rm-item-stats {
1886
+ margin-top: 0;
1887
+ }
1888
+ .sg-merchant-row .sg-rm-item-rating {
1889
+ display: inline-flex;
1890
+ align-items: center;
1891
+ gap: 4px;
1892
+ }
1893
+ .sg-merchant-row .sg-rm-item-location {
1894
+ gap: 8px;
1895
+ overflow: hidden;
1896
+ font-size: 21px;
1897
+ line-height: 30px;
1898
+ white-space: nowrap;
1899
+ }
1900
+ .sg-merchant-row .sg-rm-item-location > span {
1901
+ overflow: hidden;
1902
+ text-overflow: ellipsis;
1903
+ }
1904
+ /* 位置行退居第三行,图标改灰:位置是辅助信息,不再用强调色抢标签的视觉优先级。 */
1905
+ .sg-merchant-row .sg-rm-item-location svg {
1906
+ color: var(--sg-text-3);
1907
+ }
1908
+ .sg-rm-view-all {
1909
+ display: flex;
1910
+ align-items: center;
1911
+ justify-content: center;
1912
+ gap: 4px;
1913
+ width: 100%;
1914
+ min-height: 64px;
1915
+ margin-top: 4px;
1916
+ padding: 0;
1917
+ border: 0;
1918
+ background: transparent;
1919
+ color: #686d69;
1920
+ font-size: 24px;
1921
+ cursor: pointer;
1922
+ }
1923
+ .sg-rm-view-all:focus-visible {
1924
+ outline: 3px solid rgba(9, 107, 250, 0.28);
1925
+ outline-offset: 2px;
1926
+ border-radius: 10px;
1927
+ }
1928
+
1929
+ .sg-store-list-sheet {
1930
+ position: fixed;
1931
+ inset: 0;
1932
+ /* 60 对齐 .sg-shop-sheet/.promotion-sheet:同层叠底,其上叠开的门店详情靠 DOM 后挂载序压顶 */
1933
+ z-index: 60;
1934
+ color: var(--tbox-text-primary, #202124);
1935
+ }
1936
+ .sg-store-list-sheet,
1937
+ .sg-store-list-sheet *,
1938
+ .sg-store-list-sheet *::before,
1939
+ .sg-store-list-sheet *::after {
1940
+ box-sizing: border-box;
1941
+ }
1942
+ .sg-store-list-sheet__mask {
1943
+ position: absolute;
1944
+ inset: 0;
1945
+ background: rgba(18, 21, 19, 0.52);
1946
+ -webkit-backdrop-filter: blur(4px);
1947
+ backdrop-filter: blur(4px);
1948
+ }
1949
+ .sg-store-list-sheet__panel {
1950
+ position: absolute;
1951
+ bottom: 0;
1952
+ left: 50%;
1953
+ display: flex;
1954
+ flex-direction: column;
1955
+ width: min(100%, 750px);
1956
+ height: 86vh;
1957
+ max-height: 86vh;
1958
+ overflow: hidden;
1959
+ border-radius: 36px 36px 0 0;
1960
+ background: #fff;
1961
+ box-shadow: 0 -16px 48px rgba(24, 31, 27, 0.18);
1962
+ transform: translateX(-50%);
1963
+ animation: sg-shop-sheet-in 240ms cubic-bezier(0.22, 0.72, 0.24, 1) both;
1964
+ }
1965
+ .sg-store-list-sheet__header {
1966
+ display: flex;
1967
+ flex-shrink: 0;
1968
+ align-items: center;
1969
+ padding: 26px 28px 18px 32px;
1970
+ }
1971
+ .sg-store-list-sheet__header h2 {
1972
+ display: flex;
1973
+ flex: 1;
1974
+ align-items: center;
1975
+ gap: 10px;
1976
+ margin: 0;
1977
+ font-size: 30px;
1978
+ line-height: 44px;
1979
+ }
1980
+ .sg-store-list-sheet__close,
1981
+ .sg-shop-sheet__close {
1982
+ display: flex;
1983
+ flex: 0 0 56px;
1984
+ align-items: center;
1985
+ justify-content: center;
1986
+ width: 56px;
1987
+ height: 56px;
1988
+ padding: 0;
1989
+ border: 0;
1990
+ border-radius: 50%;
1991
+ background: transparent;
1992
+ color: #343936;
1993
+ }
1994
+ .sg-store-list-sheet__close:focus-visible,
1995
+ .sg-shop-sheet__close:focus-visible {
1996
+ outline: 3px solid rgba(9, 107, 250, 0.28);
1997
+ outline-offset: 2px;
1998
+ }
1999
+ .sg-store-list-sheet__tabs {
2000
+ display: grid;
2001
+ flex-shrink: 0;
2002
+ grid-template-columns: repeat(2, minmax(0, 1fr));
2003
+ gap: 12px;
2004
+ padding: 0 32px 20px;
2005
+ }
2006
+ .sg-store-list-sheet__tabs button {
2007
+ display: flex;
2008
+ align-items: center;
2009
+ justify-content: center;
2010
+ gap: 8px;
2011
+ min-height: 64px;
2012
+ padding: 10px 14px;
2013
+ border: 1px solid #e3e5e2;
2014
+ border-radius: 14px;
2015
+ background: #fff;
2016
+ color: #3d423f;
2017
+ font: inherit;
2018
+ font-size: 23px;
2019
+ }
2020
+ .sg-store-list-sheet__tabs button.is-active {
2021
+ border-color: #292c2f;
2022
+ background: #292c2f;
2023
+ color: #fff;
2024
+ }
2025
+ .sg-store-list-sheet__body {
2026
+ flex: 1;
2027
+ min-height: 0;
2028
+ overflow-y: auto;
2029
+ padding: 0 32px calc(36px + env(safe-area-inset-bottom));
2030
+ -webkit-overflow-scrolling: touch;
2031
+ }
2032
+ .sg-store-list-sheet__body::-webkit-scrollbar {
2033
+ display: none;
2034
+ }
2035
+ .sg-store-list-sheet__list {
2036
+ display: flex;
2037
+ flex-direction: column;
2038
+ gap: 6px;
2039
+ margin: 0;
2040
+ padding: 0;
2041
+ list-style: none;
2042
+ }
2043
+ .sg-store-list-sheet__item {
2044
+ display: flex;
2045
+ gap: 18px;
2046
+ width: 100%;
2047
+ min-height: 240px;
2048
+ padding: 14px 0;
2049
+ border: 0;
2050
+ background: #fff;
2051
+ color: inherit;
2052
+ font: inherit;
2053
+ text-align: left;
2054
+ cursor: pointer;
2055
+ }
2056
+ .sg-store-list-sheet__item:focus-visible {
2057
+ outline: 3px solid rgba(9, 107, 250, 0.28);
2058
+ outline-offset: 3px;
2059
+ border-radius: 16px;
2060
+ }
2061
+ .sg-store-list-sheet__empty {
2062
+ padding: 80px 20px;
2063
+ color: var(--sg-text-2);
2064
+ text-align: center;
2065
+ font-size: 24px;
2066
+ }
2067
+
2068
+ .sg-shop-sheet__panel {
2069
+ height: 86vh;
2070
+ max-height: 86vh;
2071
+ }
2072
+ .sg-shop-sheet__header {
2073
+ padding: 26px 28px 18px 32px;
2074
+ }
2075
+ .sg-shop-sheet__body {
2076
+ padding: 0 32px calc(38px + env(safe-area-inset-bottom));
2077
+ }
2078
+ .sg-shop-sheet__cover {
2079
+ height: 300px;
2080
+ margin-top: 10px;
2081
+ border-radius: 20px;
2082
+ }
2083
+ .sg-shop-sheet__identity {
2084
+ align-items: flex-start;
2085
+ margin-top: 28px;
2086
+ }
2087
+ .sg-shop-sheet__identity-copy {
2088
+ min-width: 0;
2089
+ }
2090
+ .sg-shop-sheet__name-row h3 {
2091
+ font-size: 34px;
2092
+ line-height: 46px;
2093
+ }
2094
+ .sg-shop-sheet__stats {
2095
+ gap: 10px 18px;
2096
+ margin-top: 10px;
2097
+ font-size: 22px;
2098
+ }
2099
+ .sg-shop-sheet__phone {
2100
+ display: flex;
2101
+ flex: 0 0 78px;
2102
+ align-items: center;
2103
+ justify-content: center;
2104
+ flex-direction: column;
2105
+ gap: 4px;
2106
+ width: 78px;
2107
+ min-height: 78px;
2108
+ border-radius: 50%;
2109
+ background: #f6f8fb;
2110
+ color: #2f3539;
2111
+ font-size: 18px;
2112
+ text-decoration: none;
2113
+ }
2114
+ .sg-shop-sheet__phone-skeleton {
2115
+ display: block;
2116
+ flex: 0 0 78px;
2117
+ width: 78px;
2118
+ height: 78px;
2119
+ border-radius: 50%;
2120
+ background: #eef0ee;
2121
+ animation: sg-shop-sheet-skeleton 1.4s ease-in-out infinite;
2122
+ }
2123
+ .sg-shop-sheet__skeleton {
2124
+ display: block;
2125
+ border-radius: 999px;
2126
+ background: #eef0ee;
2127
+ animation: sg-shop-sheet-skeleton 1.4s ease-in-out infinite;
2128
+ }
2129
+ .sg-shop-sheet__skeleton--status {
2130
+ width: 92px;
2131
+ height: 36px;
2132
+ }
2133
+ .sg-shop-sheet__facts {
2134
+ gap: 10px;
2135
+ margin-top: 20px;
2136
+ padding: 0;
2137
+ border-radius: 0;
2138
+ background: transparent;
2139
+ }
2140
+ .sg-shop-sheet__facts > div {
2141
+ align-items: center;
2142
+ gap: 8px;
2143
+ color: #858b87;
2144
+ font-size: 22px;
2145
+ line-height: 32px;
2146
+ }
2147
+ .sg-shop-sheet__facts > div:first-child {
2148
+ flex-wrap: wrap;
2149
+ }
2150
+ .sg-shop-sheet__facts svg {
2151
+ margin-top: 0;
2152
+ color: #2979ff;
2153
+ }
2154
+ .sg-shop-sheet__location {
2155
+ color: #2979ff;
2156
+ }
2157
+ .sg-shop-sheet__facts > .sg-shop-sheet__facts-skeleton {
2158
+ display: flex;
2159
+ width: 100%;
2160
+ align-items: stretch;
2161
+ flex-direction: column;
2162
+ gap: 12px;
2163
+ }
2164
+ .sg-shop-sheet__skeleton--fact {
2165
+ width: 72%;
2166
+ height: 24px;
2167
+ }
2168
+ .sg-shop-sheet__skeleton--fact-short {
2169
+ width: 48%;
2170
+ height: 24px;
2171
+ }
2172
+ .sg-shop-sheet__details-skeleton {
2173
+ display: flex;
2174
+ flex-direction: column;
2175
+ gap: 14px;
2176
+ margin-top: 24px;
2177
+ }
2178
+ .sg-shop-sheet__skeleton--detail-line {
2179
+ width: 88%;
2180
+ height: 24px;
2181
+ }
2182
+ .sg-shop-sheet__skeleton--detail-line-short {
2183
+ width: 62%;
2184
+ height: 24px;
2185
+ }
2186
+ .sg-shop-sheet__skeleton--detail-block {
2187
+ width: 100%;
2188
+ height: 104px;
2189
+ border-radius: 18px;
2190
+ }
2191
+ .sg-shop-sheet__description {
2192
+ margin-top: 24px;
2193
+ color: #666d68;
2194
+ font-size: 23px;
2195
+ line-height: 36px;
2196
+ }
2197
+ @keyframes sg-shop-sheet-skeleton {
2198
+ 0%, 100% { opacity: 0.55; }
2199
+ 50% { opacity: 1; }
2200
+ }
2201
+
2202
+ @media (prefers-reduced-motion: reduce) {
2203
+ .sg-store-list-sheet__panel {
2204
+ animation-duration: 1ms;
2205
+ }
2206
+ .sg-shop-sheet__skeleton,
2207
+ .sg-shop-sheet__phone-skeleton {
2208
+ animation: none;
2209
+ }
2210
+ }
2211
+
2212
+ /* ===== 门店导览 v4:搜索 + 左侧业态 + 门店列表的半屏浮层 ===== */
2213
+ .sg-visually-hidden {
2214
+ position: absolute;
2215
+ width: 1px;
2216
+ height: 1px;
2217
+ overflow: hidden;
2218
+ clip: rect(0 0 0 0);
2219
+ clip-path: inset(50%);
2220
+ white-space: nowrap;
2221
+ }
2222
+ .sg-store-list-sheet__panel {
2223
+ width: min(100%, 750px);
2224
+ height: 86vh;
2225
+ max-height: 86vh;
2226
+ }
2227
+ .sg-store-list-sheet__header {
2228
+ min-height: 104px;
2229
+ padding: 18px 24px 10px 36px;
2230
+ }
2231
+ .sg-store-list-sheet__header h2 {
2232
+ justify-content: center;
2233
+ /* 与关闭按钮等宽,标题才真正居中。 */
2234
+ padding-left: 56px;
2235
+ font-size: 36px;
2236
+ line-height: 48px;
2237
+ }
2238
+ /* 图标由 38 收到 20(phosphor 的 size 走 SVG 属性、不转 rem,原值是实打实的 38 物理像素,
2239
+ 比同处的 18px 标题还大一圈),容器同步收一档。 */
2240
+ .sg-store-list-sheet__close {
2241
+ flex-basis: 56px;
2242
+ width: 56px;
2243
+ height: 56px;
2244
+ }
2245
+ .sg-store-list-sheet__search {
2246
+ display: flex;
2247
+ flex-shrink: 0;
2248
+ align-items: center;
2249
+ gap: 14px;
2250
+ min-height: 76px;
2251
+ margin: 4px 30px 18px;
2252
+ padding: 0 22px;
2253
+ border-radius: 18px;
2254
+ background: #f2f3f2;
2255
+ color: #777d79;
2256
+ }
2257
+ .sg-store-list-sheet__search input {
2258
+ flex: 1;
2259
+ min-width: 0;
2260
+ height: 68px;
2261
+ padding: 0;
2262
+ border: 0;
2263
+ outline: 0;
2264
+ background: transparent;
2265
+ color: #242724;
2266
+ font: inherit;
2267
+ font-size: 28px;
2268
+ appearance: none;
2269
+ }
2270
+ .sg-store-list-sheet__search input::-webkit-search-cancel-button {
2271
+ display: none;
2272
+ }
2273
+ .sg-store-list-sheet__search input::placeholder {
2274
+ color: #a7aba8;
2275
+ }
2276
+ .sg-store-list-sheet__search:focus-within {
2277
+ box-shadow: 0 0 0 3px rgba(45, 98, 69, 0.16);
2278
+ }
2279
+ .sg-store-list-sheet__search button {
2280
+ display: flex;
2281
+ flex: 0 0 48px;
2282
+ align-items: center;
2283
+ justify-content: center;
2284
+ width: 48px;
2285
+ height: 48px;
2286
+ padding: 0;
2287
+ border: 0;
2288
+ border-radius: 50%;
2289
+ background: #dadeda;
2290
+ color: #5f6561;
2291
+ }
2292
+ .sg-store-list-sheet__content {
2293
+ position: relative;
2294
+ display: grid;
2295
+ flex: 1;
2296
+ min-height: 0;
2297
+ grid-template-columns: 164px minmax(0, 1fr);
2298
+ overflow: hidden;
2299
+ border-top: 1px solid #f0f1ef;
2300
+ }
2301
+ .sg-store-list-sheet__categories {
2302
+ display: flex;
2303
+ min-height: 0;
2304
+ overflow-y: auto;
2305
+ flex-direction: column;
2306
+ padding: 14px 0 calc(44px + env(safe-area-inset-bottom));
2307
+ background: #f5f6f7;
2308
+ scrollbar-width: none;
2309
+ }
2310
+ .sg-store-list-sheet__categories::-webkit-scrollbar {
2311
+ display: none;
2312
+ }
2313
+ .sg-store-list-sheet__categories button {
2314
+ position: relative;
2315
+ flex: 0 0 auto;
2316
+ min-height: 92px;
2317
+ padding: 14px 18px;
2318
+ border: 0;
2319
+ background: transparent;
2320
+ color: #4f5551;
2321
+ font: inherit;
2322
+ font-size: 27px;
2323
+ line-height: 36px;
2324
+ text-align: center;
2325
+ }
2326
+ .sg-store-list-sheet__categories button.is-active {
2327
+ background: #fff;
2328
+ color: #273c2d;
2329
+ font-weight: 700;
2330
+ }
2331
+ .sg-store-list-sheet__categories button.is-active::before {
2332
+ position: absolute;
2333
+ top: 26px;
2334
+ bottom: 26px;
2335
+ left: 0;
2336
+ width: 6px;
2337
+ border-radius: 0 6px 6px 0;
2338
+ background: #6c8753;
2339
+ content: '';
2340
+ }
2341
+ .sg-store-list-sheet__categories button:focus-visible,
2342
+ .sg-store-list-sheet__floors button:focus-visible {
2343
+ z-index: 1;
2344
+ outline: 3px solid rgba(45, 98, 69, 0.2);
2345
+ outline-offset: -3px;
2346
+ }
2347
+ .sg-store-list-sheet__body {
2348
+ min-width: 0;
2349
+ padding: 0 24px calc(54px + env(safe-area-inset-bottom));
2350
+ scroll-padding-top: 60px;
2351
+ background: #f7f8f6;
2352
+ }
2353
+ .sg-store-list-sheet__count {
2354
+ position: sticky;
2355
+ z-index: 2;
2356
+ top: 0;
2357
+ margin: 0 -2px;
2358
+ padding: 18px 2px 10px;
2359
+ background: rgba(247, 248, 246, 0.96);
2360
+ color: #939894;
2361
+ font-size: 22px;
2362
+ line-height: 30px;
2363
+ }
2364
+ .sg-store-list-sheet__list {
2365
+ gap: 16px;
2366
+ }
2367
+ .sg-store-list-sheet__list > li {
2368
+ scroll-margin-top: 64px;
2369
+ border: 0;
2370
+ }
2371
+ /*
2372
+ * 半屏里的行 = 共享的 .sg-merchant-row + 这一层卡片外壳(白底、圆角、投影、统一项高)。
2373
+ * 行内部的图文结构与尺寸一律不在这里定义,改动请去 .sg-merchant-row。
2374
+ * align-items:center 是必需的:min-height 高过「图片 + 内边距」,而图片有固定高度不会
2375
+ * stretch、默认落在顶部,不居中的话每一项的图与文都会差着几像素错位。
2376
+ */
2377
+ .sg-store-list-sheet__item {
2378
+ align-items: center;
2379
+ /* 172 = 图片 136 + 上下内边距 36。原值 208 比这多出 36,短内容(两行)时图片上下
2380
+ 各空出 18,正好是左右内边距的两倍,卡片看着上下松、左右紧。行数多到撑过图片时
2381
+ 项高本就由内容决定,min-height 不参与,所以收到这个值不会让长内容项变挤。 */
2382
+ min-height: 172px;
2383
+ padding: 18px;
2384
+ border-radius: 18px;
2385
+ background: #fff;
2386
+ box-shadow: 0 4px 16px rgba(34, 42, 37, 0.05);
2387
+ }
2388
+ .sg-store-list-sheet__item:disabled {
2389
+ cursor: default;
2390
+ opacity: 0.72;
2391
+ }
2392
+ .sg-store-list-sheet__empty {
2393
+ padding: 128px 20px;
2394
+ font-size: 26px;
2395
+ }
2396
+ .sg-store-list-sheet__floors {
2397
+ position: absolute;
2398
+ z-index: 3;
2399
+ right: 8px;
2400
+ bottom: calc(60px + env(safe-area-inset-bottom));
2401
+ display: flex;
2402
+ width: 70px;
2403
+ overflow: hidden;
2404
+ flex-direction: column;
2405
+ padding: 8px 0;
2406
+ border: 1px solid #eceeeb;
2407
+ border-radius: 30px;
2408
+ background: rgba(255, 255, 255, 0.95);
2409
+ box-shadow: 0 6px 20px rgba(29, 36, 31, 0.12);
2410
+ }
2411
+ .sg-store-list-sheet__floors button {
2412
+ min-height: 46px;
2413
+ padding: 0 6px;
2414
+ border: 0;
2415
+ background: transparent;
2416
+ color: #7c827e;
2417
+ font: inherit;
2418
+ font-size: 21px;
2419
+ }
2420
+ .sg-store-list-sheet__floors button.is-active {
2421
+ color: #fff;
2422
+ background: #30372f;
2423
+ }
2424
+
2425
+ @media (max-width: 700px) {
2426
+ .sg-store-list-sheet__content {
2427
+ grid-template-columns: 148px minmax(0, 1fr);
2428
+ }
2429
+ .sg-store-list-sheet__categories button {
2430
+ padding-inline: 10px;
2431
+ font-size: 25px;
2432
+ }
2433
+ .sg-store-list-sheet__body {
2434
+ padding-inline: 18px;
2435
+ }
2436
+ /* 窄屏收图:挂在共享钩子上,三处列表一起收,不再只让半屏单独变。 */
2437
+ .sg-merchant-row .sg-rm-item-image {
2438
+ flex-basis: 140px;
2439
+ width: 140px;
2440
+ height: 140px;
2441
+ }
2442
+ }
2443
+
2444
+ /* ===== 门店券行(2026-09-02:对齐 promotion-coupon-row 视觉——缩略图 + 主信息 + 右侧领取胶囊;
2445
+ * 领取链路与优惠列表同源(promotion.acquire componentAction),本文件自持样式不跨模块引包) ===== */
2446
+ /* 样式对齐神券行(2026-09-05 用户裁决,覆盖 09-04 卡片化/压缩形态):透明底 + 分割线 + min-height 154,
2447
+ * 标题/副信息 2 行截断——逐字段与 promotion-coupon-row 同职责同形态 */
2448
+ .sg-shop-sheet__coupon-list {
2449
+ padding: 0;
2450
+ background: transparent;
2451
+ border-radius: 0;
2452
+ }
2453
+ .sg-shop-sheet__coupon-row {
2454
+ position: relative;
2455
+ display: grid;
2456
+ grid-template-columns: 112px minmax(0, 1fr) auto;
2457
+ gap: 0 16px;
2458
+ align-items: center;
2459
+ min-height: 154px;
2460
+ padding: 18px 0;
2461
+ border-top: 1px solid #f0f1f4;
2462
+ background: transparent;
2463
+ box-shadow: none;
2464
+ margin-bottom: 0;
2465
+ border-radius: 0;
2466
+ overflow: hidden;
2467
+ }
2468
+ .sg-shop-sheet__coupon-row:first-child {
2469
+ border-top: 0;
2470
+ }
2471
+ /* 右上角金色类型标签(useBusinessType → applicableCategories;2026-09-05 用户裁决:
2472
+ * 金色渐变 #f9e2ac→#dabd88 + 字色 #746447,右上+左下 12px 角标形态(对齐同列缩略图 12px 圆角语言),
2473
+ * 本文件自持样式不跨模块引包) */
2474
+ .sg-shop-sheet__coupon-tag {
2475
+ position: absolute;
2476
+ top: 18px;
2477
+ right: 0;
2478
+ max-width: 40%;
2479
+ overflow: hidden;
2480
+ padding: 3px 10px;
2481
+ border-radius: 0 12px 0 12px;
2482
+ color: #746447;
2483
+ background: linear-gradient(160deg, #f9e2ac 0%, #dabd88 100%);
2484
+ font-size: 16px;
2485
+ font-weight: 650;
2486
+ line-height: 24px;
2487
+ text-overflow: ellipsis;
2488
+ white-space: nowrap;
2489
+ }
2490
+ .sg-shop-sheet__coupon-img {
2491
+ width: 112px;
2492
+ height: 112px;
2493
+ border-radius: 12px;
2494
+ box-shadow: inset 0 0 0 1px rgba(11, 15, 23, 0.04);
2495
+ object-fit: cover;
2496
+ flex-shrink: 0;
2497
+ }
2498
+ .sg-shop-sheet__coupon-body {
2499
+ display: flex;
2500
+ min-width: 0;
2501
+ flex: 1;
2502
+ flex-direction: column;
2503
+ gap: 5px;
2504
+ justify-content: center;
2505
+ }
2506
+ .sg-shop-sheet__coupon-name {
2507
+ display: -webkit-box;
2508
+ overflow: hidden;
2509
+ color: rgba(11, 15, 23, 0.9);
2510
+ font-size: 23px;
2511
+ font-weight: 750;
2512
+ line-height: 30px;
2513
+ -webkit-box-orient: vertical;
2514
+ -webkit-line-clamp: 2;
2515
+ }
2516
+ .sg-shop-sheet__coupon-price {
2517
+ display: flex;
2518
+ align-items: baseline;
2519
+ gap: 8px;
2520
+ margin-top: 2px;
2521
+ }
2522
+ .sg-shop-sheet__coupon-face {
2523
+ color: #e8471c;
2524
+ font-size: 26px;
2525
+ font-weight: 800;
2526
+ line-height: 32px;
2527
+ }
2528
+ /* 划线原价(对齐神券 price > s):免费券划面值、付费券划面值均用此角色 */
2529
+ .sg-shop-sheet__coupon-face--strike {
2530
+ overflow: hidden;
2531
+ color: rgba(11, 15, 23, 0.38);
2532
+ font-size: 17px;
2533
+ text-decoration: line-through;
2534
+ }
2535
+ .sg-shop-sheet__coupon-free {
2536
+ color: #e8471c;
2537
+ font-size: 26px;
2538
+ font-weight: 800;
2539
+ line-height: 32px;
2540
+ }
2541
+ /* 次要信息行(对齐神券 sub 职责):可用时间文案(useWeekTime 解析),2 行截断 */
2542
+ .sg-shop-sheet__coupon-sub {
2543
+ display: -webkit-box;
2544
+ overflow: hidden;
2545
+ -webkit-box-orient: vertical;
2546
+ -webkit-line-clamp: 2;
2547
+ color: rgba(11, 15, 23, 0.55);
2548
+ font-size: 17px;
2549
+ line-height: 23px;
2550
+ }
2551
+ /* 米金实心胶囊(对齐 promotion-chip--coupon——动作与价格分色,橙红只留给价格) */
2552
+ .sg-shop-sheet__coupon-claim {
2553
+ min-width: 96px;
2554
+ height: 64px;
2555
+ padding: 0 15px;
2556
+ border: 0;
2557
+ border-radius: 999px;
2558
+ background: linear-gradient(160deg, #c3ad78 0%, #a89058 100%);
2559
+ color: #fff;
2560
+ box-shadow: none;
2561
+ font-size: 24px;
2562
+ font-weight: 700;
2563
+ letter-spacing: 1px;
2564
+ flex-shrink: 0;
2565
+ cursor: pointer;
2566
+ }
2567
+ .sg-shop-sheet__coupon-claim:hover:not(:disabled) {
2568
+ background: linear-gradient(160deg, #b39d68 0%, #967f4a 100%);
2569
+ }
2570
+ .sg-shop-sheet__coupon-claim:disabled {
2571
+ cursor: not-allowed;
2572
+ opacity: 0.45;
2573
+ }
2574
+
2575
+ /* ===== shop-detail 卡面事实行(2026-09-02:营业时间/电话上卡面——此前只在浮层) ===== */
2576
+ .sg-shop-detail__facts {
2577
+ display: flex;
2578
+ flex-wrap: wrap;
2579
+ gap: 8px 20px;
2580
+ padding: 0 24px 18px;
2581
+ }
2582
+ .sg-shop-detail__fact {
2583
+ display: inline-flex;
2584
+ align-items: center;
2585
+ gap: 6px;
2586
+ color: rgba(11, 15, 23, 0.72);
2587
+ font-size: 20px;
2588
+ line-height: 26px;
2589
+ }
2590
+ .sg-shop-detail__fact svg {
2591
+ flex-shrink: 0;
2592
+ color: rgba(35, 104, 236, 0.8);
2593
+ }