/* =========================================================
   front-pages.css — H5/PC 业务页面组件类
   M12 Phase 3 补全（2026-08-03）
   说明：Phase 2 重写页面引用了大量组件类但 CSS 未定义，
   导致页面实际裸样式。本文件补齐全部业务组件类，
   统一在 layout 引入，随 front-theme.css 一起生效。
   ========================================================= */

/* ---------- 页面容器 ---------- */
.h5-page-content { padding: 12px 12px 70px; }

/* ---------- 卡片头/体 ---------- */
.card-hd { font-size: 15px; font-weight: 600; color: #1f2329; padding: 14px 16px 0; }
.card-bd { padding: 12px 16px 16px; }
.card-form { margin-bottom: 12px; }

/* ---------- 提示条 ---------- */
.alert { padding: 10px 14px; border-radius: 10px; font-size: 13px; margin-bottom: 12px; line-height: 1.6; }
.alert-error { background: #fff2f0; border: 1px solid #ffccc7; color: #cf1322; }

/* ---------- 区块 ---------- */
.section { margin-bottom: 16px; }
.section-header { display: flex; align-items: center; justify-content: space-between; padding: 4px 0 10px; }
.section-title { font-size: 17px; font-weight: 600; color: #1f2329; margin: 0; }

/* ---------- 空状态 ---------- */
.empty-state { text-align: center; padding: 48px 24px; }
.empty-state-icon { font-size: 56px; line-height: 1; margin-bottom: 12px; }
.empty-state-text { color: #8c8c8c; font-size: 14px; margin: 0 0 16px; }

/* ---------- 表单 ---------- */
.form-input, .form-textarea { width: 100%; padding: 10px 12px; border: 1px solid #e5e6eb; border-radius: 8px; font-size: 14px; outline: none; box-sizing: border-box; background: #fff; color: #1f2329; transition: border-color .2s; }
.form-input:focus, .form-textarea:focus { border-color: #1677ff; box-shadow: 0 0 0 2px rgba(22,119,255,.08); }
.form-textarea { resize: vertical; }

/* ---------- 订单商品项 ---------- */
.order-item { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid #f2f3f5; }
.order-item:last-child { border-bottom: none; }
.order-item-img { width: 56px; height: 56px; border-radius: 8px; background: #f7f8fa; flex-shrink: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.order-item-img img { width: 100%; height: 100%; object-fit: cover; }
.order-item-info { flex: 1; min-width: 0; }
.order-item-name { font-size: 14px; font-weight: 500; color: #1f2329; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.order-item-spec { font-size: 12px; color: #86909c; margin-top: 4px; }
.order-item-price { font-size: 15px; font-weight: 600; color: #cf1322; }
.order-item-qty { font-size: 12px; color: #86909c; }
.order-item-amount { flex-shrink: 0; text-align: right; }

/* ---------- 购物车项 ---------- */
.cart-item { display: flex; gap: 10px; align-items: flex-start; padding: 12px; background: #fff; border-radius: 12px; margin-bottom: 10px; }
.cart-item-select { padding-top: 16px; }
.cart-item-img { width: 72px; height: 72px; border-radius: 8px; background: #f7f8fa; display: flex; align-items: center; justify-content: center; overflow: hidden; flex-shrink: 0; }
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-size: 14px; font-weight: 500; color: #1f2329; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cart-item-spec { font-size: 12px; color: #86909c; margin-top: 4px; }
.cart-item-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.cart-item-price { font-size: 15px; font-weight: 600; color: #cf1322; }
.cart-item-qty { display: flex; align-items: center; gap: 4px; }
.cart-item-remove { margin-left: 6px; }
.cart-remove-btn { border: none; background: #f2f3f5; color: #86909c; width: 22px; height: 22px; border-radius: 50%; font-size: 14px; cursor: pointer; line-height: 1; }
.qty-btn { width: 24px; height: 24px; border: 1px solid #e5e6eb; background: #fff; border-radius: 6px; font-size: 14px; cursor: pointer; color: #4e5969; line-height: 1; }
.qty-input { width: 40px; height: 24px; border: 1px solid #e5e6eb; border-radius: 6px; text-align: center; font-size: 13px; outline: none; }

/* ---------- 底部操作条 ---------- */
.bottom-action-bar { position: fixed; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 12px; padding: 10px 16px; background: #fff; border-top: 1px solid #f2f3f5; z-index: 50; }
.bottom-action-left { flex-shrink: 0; font-size: 13px; }
.bottom-action-selectall { display: flex; align-items: center; gap: 4px; font-size: 13px; color: #4e5969; }
.bottom-action-center { flex: 1; text-align: right; font-size: 13px; color: #4e5969; }
.cart-total { color: #cf1322; font-size: 16px; font-weight: 600; }

/* ---------- 汇总行 ---------- */
.summary-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 13px; color: #4e5969; }
.summary-total { font-size: 15px; font-weight: 600; color: #1f2329; }

/* ---------- 商品列表 H5 ---------- */
.product-list-h5 { display: flex; flex-direction: column; gap: 12px; }
.product-item-h5 { display: flex; gap: 10px; background: #fff; border-radius: 12px; padding: 10px; position: relative; }
.product-item-h5-img { width: 96px; height: 96px; border-radius: 8px; background: #f7f8fa; overflow: hidden; flex-shrink: 0; position: relative; }
.product-item-h5-img img { width: 100%; height: 100%; object-fit: cover; }
.product-item-h5-body { flex: 1; min-width: 0; position: relative; }
.product-item-h5-title { font-size: 14px; font-weight: 500; color: #1f2329; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-item-h5-subtitle { font-size: 12px; color: #86909c; margin-top: 4px; }
.product-item-h5-tags { margin-top: 6px; }
.product-item-h5-prices { display: flex; align-items: baseline; gap: 6px; margin-top: 6px; }
.product-item-h5-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.product-item-h5-sales { font-size: 12px; color: #86909c; }
.product-item-label { font-size: 11px; padding: 2px 6px; border-radius: 4px; background: #fff1f0; color: #cf1322; margin-right: 4px; }
.product-item-soldout { opacity: .5; }
.product-item-video-icon { position: absolute; right: 4px; bottom: 4px; background: rgba(0,0,0,.55); color: #fff; font-size: 10px; padding: 2px 5px; border-radius: 4px; }
.product-item-badge { position: absolute; top: 4px; left: 4px; z-index: 2; }
.product-card-badge { position: absolute; top: 6px; left: 6px; z-index: 2; }
.product-img-placeholder { background: #f7f8fa; }

/* ---------- 排序条 ---------- */
.sort-bar { display: flex; align-items: center; gap: 14px; padding: 10px 0; overflow-x: auto; }
.sort-bar-link { font-size: 13px; color: #4e5969; white-space: nowrap; text-decoration: none; }
.sort-bar-link.active { color: #cf1322; font-weight: 500; }
.sort-bar-count { font-size: 12px; color: #86909c; margin-left: auto; }

/* ---------- 搜索条 ---------- */
.search-bar-form { display: flex; gap: 8px; padding: 12px 0; }
.search-bar-input { flex: 1; height: 36px; border: 1px solid #e5e6eb; border-radius: 18px; padding: 0 14px; font-size: 13px; outline: none; background: #f7f8fa; }
.search-bar-btn { border: none; background: #cf1322; color: #fff; height: 36px; padding: 0 18px; border-radius: 18px; font-size: 13px; cursor: pointer; }

/* ---------- 分类滚动 ---------- */
.category-scroll { display: flex; gap: 8px; overflow-x: auto; padding: 10px 0; }
.category-tag { flex-shrink: 0; padding: 6px 14px; border-radius: 16px; background: #f2f3f5; color: #4e5969; font-size: 13px; text-decoration: none; }
.category-tag.active { background: #fff1f0; color: #cf1322; }

/* ---------- 积分 ---------- */
.points-row { display: flex; align-items: center; gap: 8px; padding: 6px 0; font-size: 13px; }
.points-toggle { font-size: 12px; color: #1677ff; cursor: pointer; }
.points-control { flex: 1; }
.points-input { width: 100%; padding: 8px 10px; border: 1px solid #e5e6eb; border-radius: 8px; font-size: 13px; outline: none; }
.points-discount { color: #cf1322; font-weight: 600; }
.points-tip { font-size: 12px; color: #86909c; }

/* ---------- 价格 ---------- */
.price-sale { color: #cf1322; font-size: 16px; font-weight: 600; }
.price-original { color: #86909c; font-size: 12px; text-decoration: line-through; }

/* ---------- 热门关键词 ---------- */
.hot-keywords { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.hot-keywords-label { font-size: 12px; color: #86909c; width: 100%; }
.hot-keyword-tag { padding: 4px 12px; border-radius: 14px; background: #f2f3f5; font-size: 12px; color: #4e5969; text-decoration: none; }

/* ---------- 促销角标 ---------- */
.promo-chip { display: inline-block; padding: 2px 8px; border-radius: 4px; background: #fff1f0; color: #cf1322; font-size: 11px; }
.badge-free-ship { display: inline-block; padding: 2px 8px; border-radius: 4px; background: #e6f4ff; color: #0958d9; font-size: 11px; }

/* ---------- 分页 H5 ---------- */
.pagination-h5 { display: flex; justify-content: center; gap: 6px; padding: 16px 0; flex-wrap: wrap; }
.pagination-h5 a, .pagination-h5 span { min-width: 30px; height: 30px; line-height: 30px; text-align: center; border-radius: 6px; background: #f2f3f5; font-size: 13px; color: #4e5969; padding: 0 6px; text-decoration: none; }
.pagination-h5 .active { background: #cf1322; color: #fff; }

/* ---------- 全选 checkbox ---------- */
.cart-check-item, .bottom-action-selectall input { accent-color: #cf1322; width: 16px; height: 16px; }

/* ---------- PC 订单列表复用 ---------- */
.pc-order-card { background: #fff; border-radius: 12px; padding: 16px; margin-bottom: 12px; box-shadow: 0 1px 2px rgba(0,0,0,.04); }

/* ---------- 订单状态 chip ---------- */
.order-status { display: inline-block; padding: 3px 10px; border-radius: 12px; font-size: 12px; font-weight: 500; line-height: 1.6; }
.order-status-paid { background: #f6ffed; color: #389e0d; }
.order-status-pending { background: #fff7e6; color: #d46b08; }
.order-status-shipped { background: #e6f4ff; color: #0958d9; }
.order-status-completed { background: #f0f5ff; color: #2f54eb; }
.order-status-refunded { background: #f9f0ff; color: #722ed1; }
.order-status-refund_requested { background: #fff1f0; color: #cf1322; }
.order-status-cancelled { background: #f2f3f5; color: #86909c; }
.order-status-default { background: #f2f3f5; color: #4e5969; }

/* ---------- 订单列表卡片 ---------- */
.order-card-link { display: block; background: #fff; border-radius: 12px; margin-bottom: 10px; color: inherit; text-decoration: none; box-shadow: 0 1px 2px rgba(0,0,0,.04); transition: box-shadow .2s; }
.order-card-link:active { box-shadow: 0 2px 8px rgba(0,0,0,.08); }

/* ---------- 订单详情块 ---------- */
.detail-block { background: #fff; border-radius: 12px; padding: 14px 16px; margin-bottom: 12px; }
.detail-block-title { font-size: 14px; font-weight: 600; color: #1f2329; margin-bottom: 10px; }
.detail-row { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; font-size: 13px; color: #4e5969; }
.detail-row .value { color: #1f2329; font-weight: 500; }
.info-line { font-size: 12px; color: #86909c; line-height: 1.8; }

/* ---------- 营销页：秒杀 ---------- */
.flash-header { background: linear-gradient(135deg, #ff4757 0%, #e74c3c 100%); color: #fff; padding: 24px 16px; margin-bottom: 16px; text-align: center; }
.flash-header h1 { font-size: 22px; font-weight: 700; margin-bottom: 4px; }
.flash-item { border: 1px solid #f0f0f0; border-radius: 12px; margin: 0 0 12px; background: #fff; overflow: hidden; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.flash-item .product-img { width: 100px; height: 100px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.flash-item .info { flex: 1; min-width: 0; padding-left: 12px; }
.flash-item .title { font-size: 14px; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 6px; }
.flash-price { font-size: 20px; font-weight: 700; color: #e74c3c; }
.flash-price .original { font-size: 12px; color: #999; text-decoration: line-through; font-weight: 400; margin-left: 6px; }
.buy-btn { background: #e74c3c; color: #fff; border: none; border-radius: 16px; padding: 4px 14px; font-size: 13px; cursor: pointer; white-space: nowrap; text-decoration: none; display: inline-block; }

/* ---------- 营销页：拼团 ---------- */
.gb-header { background: linear-gradient(135deg, #fd79a8 0%, #e84393 100%); color: #fff; padding: 24px 16px; margin-bottom: 16px; text-align: center; }
.gb-header h1 { font-size: 22px; font-weight: 700; margin-bottom: 4px; }
.gb-item { border: 1px solid #f0f0f0; border-radius: 12px; margin: 0 0 12px; background: #fff; overflow: hidden; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.gb-item .product-img { width: 100px; height: 100px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.gb-item .info { flex: 1; min-width: 0; padding-left: 12px; }
.gb-item .title { font-size: 14px; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 6px; }
.gb-price { font-size: 20px; font-weight: 700; color: #e84393; }
.gb-price .original { font-size: 12px; color: #999; text-decoration: line-through; font-weight: 400; margin-left: 6px; }

/* ---------- 营销页：会员卡 ---------- */
.mc-header { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: #fff; padding: 24px 16px; margin-bottom: 16px; text-align: center; }
.mc-header h1 { font-size: 22px; font-weight: 700; margin-bottom: 4px; }
.mc-merchant { border: 1px solid #f0f0f0; border-radius: 12px; margin: 0 0 12px; background: #fff; padding: 14px; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.mc-merchant .mh { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.mc-merchant .user-info { display: flex; justify-content: space-between; background: #f9f0ff; border-radius: 8px; padding: 10px 12px; margin-bottom: 8px; }
.mc-levels { display: flex; flex-direction: column; gap: 8px; }
.mc-level { display: flex; justify-content: space-between; align-items: center; background: #f7f8fa; border-radius: 8px; padding: 8px 12px; }
.mc-level .ln { font-size: 13px; font-weight: 600; }
.mc-level .ld { color: #764ba2; font-weight: 600; font-size: 13px; }
.join-btn { background: linear-gradient(135deg, #667eea, #764ba2); color: #fff; border: none; border-radius: 14px; padding: 4px 16px; font-size: 13px; cursor: pointer; }

/* ---------- 通用空态 ---------- */
.no-data { text-align: center; padding: 48px 20px; color: #999; }

/* ---------- 状态筛选条 ---------- */
.filter-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 12px; white-space: nowrap; }
.filter-tab { padding: 5px 14px; border-radius: 15px; font-size: 12px; background: #f2f3f5; color: #4e5969; text-decoration: none; white-space: nowrap; }
.filter-tab.active { background: #1677ff; color: #fff; }

/* ---------- 列表卡片链接 ---------- */
.list-card-link { display: block; background: #fff; border-radius: 12px; padding: 14px; margin-bottom: 10px; color: inherit; text-decoration: none; box-shadow: 0 1px 2px rgba(0,0,0,.04); }

/* ---------- 地址卡 ---------- */
.addr-card { background: #fff; border-radius: 12px; padding: 14px 16px; margin-bottom: 10px; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.addr-card.is-default { border: 1px solid #1677ff; }
.addr-name { font-weight: 600; font-size: 14px; color: #1f2329; }
.addr-phone { font-weight: 400; color: #86909c; font-size: 13px; margin-left: 8px; }
.addr-tag-default { font-size: 10px; background: #1677ff; color: #fff; padding: 1px 6px; border-radius: 4px; margin-left: 6px; }
.addr-detail { color: #4e5969; font-size: 13px; margin-top: 4px; line-height: 1.6; }
.addr-postal { color: #86909c; font-size: 11px; margin-top: 2px; }
.addr-actions { text-align: right; flex-shrink: 0; }
.addr-action { font-size: 11px; margin-right: 8px; text-decoration: none; }
.addr-action-primary { color: #1677ff; }
.addr-action-danger { color: #ff4d4f; }

/* ---------- 空态（大） ---------- */
.empty-state-lg { text-align: center; padding: 48px 20px; color: #999; }
.empty-state-lg p { margin: 12px 0 0; font-size: 14px; color: #86909c; }

/* ---------- 小标题 ---------- */
.page-sub-title { font-size: 14px; font-weight: 600; color: #1f2329; margin: 16px 0 10px; }
#!/bin/sh
# Substitute QWENPAW_PORT in supervisord template and start supervisord.
# Default port 8088; override at runtime with -e QWENPAW_PORT=3000.
set -e

is_auth_enabled() {
  if [ "${QWENPAW_AUTH_ENABLED+x}" ]; then
    flag="${QWENPAW_AUTH_ENABLED}"
  else
    flag="${COPAW_AUTH_ENABLED:-}"
  fi
  flag="$(printf '%s' "$flag" | tr '[:upper:]' '[:lower:]')"
  [ "$flag" = "true" ] || [ "$flag" = "1" ] || [ "$flag" = "yes" ]
}

warn_if_auth_off_container_bind() {
  if is_auth_enabled; then
    return
  fi

  cat >&2 <<EOF
============================================================
SECURITY NOTICE: QwenPaw is running in Docker without authentication.

QwenPaw cannot verify whether access to the service is limited to a trusted
network. Anyone who can reach the service may access QwenPaw APIs without login.

Recommended:
  - Restrict access to a trusted network or protected environment.
  - Enable authentication with QWENPAW_AUTH_ENABLED=true if untrusted users or
    processes may reach the service.
============================================================
EOF
}

# Auto-initialize if config.json is missing (bind mount with empty directory).
if [ ! -f "${QWENPAW_WORKING_DIR}/config.json" ]; then
  echo "⚠️  No config.json found in ${QWENPAW_WORKING_DIR}"
  echo "📦 Running initialization..."
  qwenpaw init --defaults --accept-security
  echo "✅ Initialization complete!"
else
  echo "✓ Config found in ${QWENPAW_WORKING_DIR}, skipping initialization."
fi

export QWENPAW_PORT="${QWENPAW_PORT:-8088}"
warn_if_auth_off_container_bind
envsubst '${QWENPAW_PORT}' \
  < /etc/supervisor/conf.d/supervisord.conf.template \
  > /etc/supervisor/conf.d/supervisord.conf
exec /usr/bin/supervisord -c /etc/supervisor/conf.d/supervisord.conf

/* 5.4 PC header 搜索 tab（商品/店铺） */
.pc-search-tabs { display: flex; align-items: center; gap: 2px; padding: 0 6px; border-right: 1px solid #e5e5e5; margin-right: 4px; }
.pc-search-tabs a { font-size: 13px; color: #888; padding: 3px 8px; border-radius: 4px; text-decoration: none; cursor: pointer; }
.pc-search-tabs a.active { color: var(--theme-primary, #1677ff); font-weight: 600; background: rgba(22,119,255,.08); }

/* 5.5 列表页骨架：筛选栏 + 店铺头部 */
.filter-bar-price { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding: 8px 12px; background: #fafafa; border-radius: 8px; flex-wrap: wrap; }
.filter-bar-label { font-size: 13px; color: #666; font-weight: 600; }
.filter-price-input { width: 90px; height: 30px; border: 1px solid #d9d9d9; border-radius: 6px; padding: 0 8px; font-size: 13px; }
.filter-price-input:focus { border-color: var(--theme-primary, #1677ff); outline: none; }
.filter-bar-sep { color: #999; }
.filter-price-btn { height: 30px; padding: 0 16px; background: var(--theme-primary, #1677ff); color: #fff; border: none; border-radius: 6px; font-size: 13px; cursor: pointer; }
.filter-price-clear { font-size: 12px; color: #999; text-decoration: none; }
.filter-price-clear:hover { color: var(--theme-primary, #1677ff); }
.h5-filter-bar { margin: 8px 12px; padding: 8px 10px; }
.h5-filter-bar .filter-price-input { width: 72px; height: 28px; font-size: 12px; }

/* 店铺列表头部 */
.store-list-header { display: flex; align-items: center; gap: 14px; background: linear-gradient(135deg, var(--theme-primary-light, #eef4ff), #ffffff); border: 1px solid #f0f0f0; border-radius: 12px; padding: 14px 16px; margin-bottom: 14px; }
.store-list-logo { width: 52px; height: 52px; border-radius: 12px; background: var(--theme-primary-light, #eef4ff); color: var(--theme-primary, #1677ff); display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 700; flex-shrink: 0; }
.store-list-logo img { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; }
.store-list-info { flex: 1; min-width: 0; }
.store-list-name { font-size: 16px; font-weight: 700; color: #1a1a2e; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.store-list-meta { font-size: 12px; color: #999; margin-top: 4px; display: flex; gap: 12px; }
.store-list-enter { flex-shrink: 0; font-size: 13px; color: var(--theme-primary, #1677ff); border: 1px solid var(--theme-primary, #1677ff); border-radius: 16px; padding: 5px 14px; text-decoration: none; }
.store-list-enter:hover { background: var(--theme-primary, #1677ff); color: #fff; }
.h5-store-list-header { margin: 0 12px 10px; padding: 10px 12px; border-radius: 10px; }
.h5-store-list-header .store-list-logo { width: 44px; height: 44px; font-size: 20px; }
.h5-store-list-header .store-list-logo img { width: 44px; height: 44px; }
.h5-store-list-header .store-list-name { font-size: 15px; }

/* H5 3 列商品网格 */
.product-list-h5-3col { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 8px; }


/* ===== 5.6 同店推荐 ===== */
.store-recommend-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; }
.store-recommend-card { display:block; background:#fff; border:1px solid #f0f0f0; border-radius:10px; overflow:hidden; text-decoration:none; transition:box-shadow .2s, transform .2s; }
.store-recommend-card:hover { box-shadow:0 4px 16px rgba(0,0,0,.08); transform:translateY(-2px); }
.store-recommend-card img { width:100%; aspect-ratio:1; object-fit:cover; display:block; background:#f5f5f5; }
.store-recommend-name { font-size:13px; color:#333; padding:8px 10px 0; line-height:1.4; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; min-height:36px; }
.store-recommend-price { font-size:15px; font-weight:700; color:#e64340; padding:4px 10px 10px; }

/* H5 横滑 */
.store-recommend-scroll { display:flex; gap:10px; overflow-x:auto; padding:2px 2px 8px; -webkit-overflow-scrolling:touch; }
.store-recommend-scroll::-webkit-scrollbar { display:none; }
.store-recommend-h5-card { flex:0 0 118px; display:block; background:#fff; border-radius:10px; overflow:hidden; text-decoration:none; border:1px solid #f2f2f2; }
.store-recommend-h5-card img { width:100%; aspect-ratio:1; object-fit:cover; display:block; background:#f5f5f5; }
.store-recommend-h5-name { font-size:12px; color:#333; padding:6px 8px 0; line-height:1.35; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; min-height:32px; }
.store-recommend-h5-price { font-size:14px; font-weight:700; color:#e64340; padding:4px 8px 8px; }
.detail-section-title { font-size:16px; font-weight:600; margin:0 0 12px; }
