/* ============ 微信收付通商城 前台样式 ============ */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: "PingFang SC","Microsoft YaHei",system-ui,sans-serif; background: #f5f6fa; color: #333; font-size: 14px; }
a { color: #1a56db; text-decoration: none; }
img { max-width: 100%; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.muted { color: #999; font-size: 12px; }
.center { text-align: center; }
.hidden { display: none; }

/* 头部 */
.site-header { background: rgba(255,255,255,.95); backdrop-filter: saturate(180%) blur(8px); border-bottom: 1px solid #eee; position: sticky; top: 0; z-index: 100; box-shadow: 0 1px 12px rgba(0,0,0,.04); }
.header-inner { display: flex; align-items: center; gap: 32px; height: 60px; }
.logo { font-size: 20px; font-weight: 700; color: #2563eb; white-space: nowrap; letter-spacing: -.5px; display: flex; align-items: center; gap: 8px; }
.logo img { width: 32px; height: 32px; border-radius: 8px; }
.main-nav { display: flex; gap: 20px; flex: 1; }
.main-nav a { color: #444; padding: 4px 2px; border-bottom: 2px solid transparent; }
.main-nav a:hover, .main-nav a.active { color: #2563eb; border-bottom-color: #2563eb; }
.header-right { display: flex; gap: 16px; align-items: center; white-space: nowrap; }
.header-right a { color: #555; }
.header-right a:hover { color: #2563eb; }
.cart-link { position: relative; }
.cart-badge { position: absolute; top: -8px; right: -12px; background: #ef4444; color: #fff; font-size: 11px; border-radius: 10px; padding: 1px 6px; }

.site-main { min-height: 70vh; padding: 24px 16px 40px; }

/* 轮播 */
.banner-wrap { position: relative; border-radius: 12px; overflow: hidden; margin-bottom: 24px; }
.banner-slider { position: relative; height: 320px; }
.banner-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .5s; }
.banner-slide.active { opacity: 1; }
.banner-slide img { width: 100%; height: 100%; object-fit: cover; }
.banner-dots { position: absolute; bottom: 12px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; }
.banner-dots span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.6); cursor: pointer; }
.banner-dots span.active { background: #2563eb; }

/* 区块 */
.section { margin-bottom: 32px; }
.section-title { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.section-title h2 { font-size: 18px; border-left: 4px solid #2563eb; padding-left: 10px; }
.section-title a { color: #999; font-size: 13px; }

/* 商品卡片 */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.product-card { background: #fff; border-radius: 14px; overflow: hidden; transition: transform .25s, box-shadow .25s; border: 1px solid #f0f1f5; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(37,99,235,.12); border-color: #e0e7ff; }
.product-cover { width: 100%; aspect-ratio: 1/1; object-fit: cover; display: block; transition: transform .35s; }
.product-card:hover .product-cover { transform: scale(1.04); }
.product-info { padding: 14px; }
.product-info h3 { font-size: 14px; color: #222; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-bottom: 4px; }
.product-subtitle { color: #999; font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-bottom: 8px; }
.product-price { display: flex; align-items: baseline; gap: 8px; }
.price { color: #e11d48; font-weight: 700; font-size: 17px; }
.price.big { font-size: 24px; }
.market-price { color: #bbb; font-size: 12px; text-decoration: line-through; }
.product-meta { color: #999; font-size: 12px; margin-top: 6px; }

/* 商品列表页 */
.list-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; flex-wrap: wrap; gap: 12px; }
.search-form { display: flex; gap: 0; }
.search-form input { padding: 8px 12px; border: 1px solid #ddd; border-radius: 6px 0 0 6px; width: 240px; }
.search-form button { padding: 8px 16px; background: #2563eb; color: #fff; border: none; border-radius: 0 6px 6px 0; cursor: pointer; }
.sort-bar { display: flex; gap: 16px; }
.sort-bar a { color: #666; padding: 4px 0; border-bottom: 2px solid transparent; }
.sort-bar a.active { color: #2563eb; border-bottom-color: #2563eb; }
.pagination { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 24px; }
.pagination a { background: #fff; padding: 8px 16px; border-radius: 6px; border: 1px solid #eee; }
.empty-tip { text-align: center; color: #999; padding: 60px 0; }
.empty-tip .btn { margin-top: 16px; }

/* 详情页 */
.product-detail { display: grid; grid-template-columns: 480px 1fr; gap: 32px; background: #fff; border-radius: 12px; padding: 24px; }
.detail-gallery .main-image { border: 1px solid #f0f0f0; border-radius: 10px; overflow: hidden; }
.main-image img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.thumb-list { display: flex; gap: 8px; margin-top: 12px; }
.thumb { width: 64px; height: 64px; object-fit: cover; border-radius: 6px; border: 2px solid transparent; cursor: pointer; }
.thumb.active { border-color: #2563eb; }
.detail-info h1 { font-size: 22px; margin-bottom: 8px; }
.detail-subtitle { color: #999; margin-bottom: 16px; }
.detail-price-box { background: #fff5f5; border-radius: 8px; padding: 16px; display: flex; align-items: baseline; gap: 12px; margin-bottom: 16px; }
.detail-price-box .sales { margin-left: auto; color: #999; font-size: 13px; }
.detail-meta { display: flex; gap: 24px; color: #666; margin-bottom: 20px; }
.buy-row { margin-bottom: 20px; }
.num-box { display: flex; align-items: center; gap: 8px; }
.num-box button { width: 34px; height: 34px; border: 1px solid #ddd; background: #fff; border-radius: 6px; font-size: 16px; cursor: pointer; }
.num-box input { width: 56px; height: 34px; text-align: center; border: 1px solid #ddd; border-radius: 6px; }
.num-box.small input { width: 42px; }
.action-row { display: flex; gap: 16px; }
.btn { display: inline-block; padding: 10px 24px; border-radius: 8px; border: none; cursor: pointer; font-size: 14px; text-align: center; }
.btn-primary { background: #2563eb; color: #fff; }
.btn-primary:hover { background: #1d4ed8; }
.btn-secondary { background: #fff; color: #2563eb; border: 1px solid #2563eb; }
.btn-secondary:hover { background: #eff6ff; }
.btn-lg { padding: 12px 40px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-link { background: none; color: #2563eb; padding: 6px 8px; }
.link-danger { color: #dc2626; }
.btn-danger { background: #dc2626; color: #fff; }
.btn-sm { padding: 6px 14px; font-size: 13px; }
.detail-section { background: #fff; border-radius: 12px; padding: 24px; margin-top: 24px; }
.detail-section h2 { font-size: 17px; margin-bottom: 16px; border-left: 4px solid #2563eb; padding-left: 10px; }
.detail-content { line-height: 1.8; }
.detail-content img { max-width: 100%; border-radius: 8px; }

/* 购物车 */
.page-title { font-size: 20px; margin-bottom: 20px; }
.cart-table { width: 100%; background: #fff; border-radius: 12px; border-collapse: collapse; overflow: hidden; }
.cart-table th { background: #fafafa; padding: 12px 16px; text-align: left; font-size: 13px; color: #666; }
.cart-table td { padding: 14px 16px; border-top: 1px solid #f2f2f2; }
.cart-product { display: flex; align-items: center; gap: 12px; }
.cart-product img { width: 64px; height: 64px; border-radius: 8px; object-fit: cover; }
.cart-subtotal { color: #e11d48; font-weight: 600; }
.cart-footer { display: flex; justify-content: flex-end; align-items: center; gap: 24px; background: #fff; padding: 16px 24px; border-radius: 12px; margin-top: 16px; }

/* 面板/表单 */
.panel { background: #fff; border-radius: 12px; padding: 24px; margin-bottom: 16px; }
.panel h2 { font-size: 16px; margin-bottom: 16px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.form-item { margin-bottom: 16px; }
.form-item.full { grid-column: 1 / -1; }
.form-item label { display: block; font-size: 13px; color: #555; margin-bottom: 6px; }
.form-item input[type=text], .form-item input[type=password], .form-item input[type=number], .form-item input[type=tel], .form-item select, .form-item textarea {
  width: 100%; padding: 10px 12px; border: 1px solid #ddd; border-radius: 8px; font-size: 14px; }
.form-item input:focus, .form-item select:focus, .form-item textarea:focus { outline: none; border-color: #2563eb; }
.checkbox { display: flex; align-items: center; gap: 6px; }
.agree-row { font-size: 12px; color: #888; }
.agree-row label { margin-bottom: 0; }
.alert { padding: 12px 16px; border-radius: 8px; margin-bottom: 16px; font-size: 14px; }
.alert-danger { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.alert-success { background: #f0fdf4; color: #15803d; border: 1px solid #bbf7d0; }
.alert-warning { background: #fffbeb; color: #b45309; border: 1px solid #fde68a; }
.alert-info { background: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe; }
.alert a { color: inherit; font-weight: 600; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* 收银台 */
.pay-order-summary { background: #fff; border-radius: 12px; padding: 28px; text-align: center; margin-bottom: 16px; }
.pay-amount { font-size: 34px; color: #e11d48; font-weight: 700; margin: 8px 0; }
.pay-order-no { color: #999; }
.pay-panel { text-align: center; }
.pay-panel .tip { color: #999; font-size: 13px; margin-top: 12px; }
.pay-option { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid #ddd; border-radius: 8px; margin-bottom: 12px; }
.pay-option.selected { border-color: #2563eb; background: #eff6ff; }
.pay-icon { width: 34px; height: 34px; border-radius: 8px; background: #07c160; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.wxpay-btn { background: #07c160; color: #fff; font-size: 16px; padding: 13px; }
.wxpay-btn:hover { background: #06ad56; }
.wxpay-btn:disabled { opacity: .8; cursor: default; }
.radio-dot { width: 18px; height: 18px; border-radius: 50%; border: 2px solid #ccc; position: relative; }
.radio-dot.on { border-color: #07c160; }
.radio-dot.on::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: #07c160; }
.order-total { text-align: right; margin: 16px 0; }
.order-total.right { text-align: right; }
.status-wait { color: #b45309; }
.status-paid { color: #16a34a; font-weight: 700; }
.status-cancel { color: #999; }
#qrcode { display: inline-block; padding: 12px; background: #fff; border: 1px solid #eee; border-radius: 8px; margin: 12px 0; }
.test-result { margin-top: 12px; padding: 12px; border-radius: 8px; font-size: 13px; }
.test-result.ok { background: #f0fdf4; color: #15803d; }
.test-result.fail { background: #fef2f2; color: #b91c1c; }

/* 订单 */
.order-tabs { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.order-tabs a { background: #fff; padding: 8px 18px; border-radius: 20px; color: #666; border: 1px solid #eee; }
.order-tabs a.active { background: #2563eb; color: #fff; border-color: #2563eb; }
.order-card { background: #fff; border-radius: 12px; overflow: hidden; margin-bottom: 16px; }
.order-head { display: flex; gap: 20px; padding: 12px 20px; background: #fafafa; font-size: 13px; color: #666; }
.order-body { display: flex; padding: 16px 20px; gap: 20px; }
.order-item { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.order-item img { width: 52px; height: 52px; border-radius: 8px; object-fit: cover; }
.order-amount { margin-left: auto; align-self: center; white-space: nowrap; }
.order-foot { display: flex; justify-content: flex-end; align-items: center; gap: 12px; padding: 12px 20px; border-top: 1px solid #f2f2f2; }
.status-0 { color: #b45309; }
.status-1 { color: #2563eb; }
.status-2 { color: #7c3aed; }
.status-3 { color: #16a34a; }
.status-4 { color: #999; }
.order-status-banner { padding: 20px; border-radius: 8px; margin-bottom: 16px; }
.order-status-banner.status-0 { background: #fffbeb; }
.order-status-banner.status-1 { background: #eff6ff; }
.order-status-banner.status-2 { background: #f5f3ff; }
.order-status-banner.status-3 { background: #f0fdf4; }
.order-status-banner h2 { margin-bottom: 8px; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.detail-block h3 { font-size: 15px; margin-bottom: 10px; color: #444; }
.detail-block p { margin-bottom: 6px; }

/* 用户中心 */
.auth-box { max-width: 420px; margin: 20px auto; background: #fff; border-radius: 12px; padding: 28px; }
.tabs { display: flex; margin-bottom: 20px; border-bottom: 2px solid #eee; }
.tab { flex: 1; text-align: center; padding: 10px; cursor: pointer; color: #666; }
.tab.active { color: #2563eb; border-bottom: 2px solid #2563eb; margin-bottom: -2px; }
.user-panel { display: flex; justify-content: space-between; align-items: center; background: #fff; border-radius: 12px; padding: 20px; margin-bottom: 16px; }
.user-card { display: flex; gap: 16px; align-items: center; }
.user-avatar { width: 56px; height: 56px; border-radius: 50%; background: #2563eb; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 22px; }
.user-links { display: flex; gap: 16px; }

/* 页脚 */
.site-footer { background: #fff; border-top: 1px solid #eee; padding: 28px 0; text-align: center; color: #999; font-size: 13px; }
.site-footer p { margin-bottom: 4px; }

/* 服务保障条 */
.service-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; background: #fff; border-radius: 14px; padding: 20px 24px; margin-bottom: 28px; border: 1px solid #f0f1f5; }
.service-item { display: flex; align-items: center; gap: 12px; }
.sv-icon { width: 40px; height: 40px; border-radius: 12px; background: #eff6ff; color: #2563eb; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 700; flex-shrink: 0; }
.service-item b { font-size: 14px; color: #222; display: block; }
.service-item p { font-size: 12px; color: #999; margin-top: 2px; }

/* 轮播精致化 */
.banner-wrap { border-radius: 16px; box-shadow: 0 8px 28px rgba(37,99,235,.10); }
.banner-slider { height: 340px; }

/* 区块标题 */
.section-title h2 { font-size: 19px; font-weight: 700; }

@media (max-width: 900px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .product-detail { grid-template-columns: 1fr; }
  .banner-slider { height: 180px; }
  .header-inner { gap: 12px; }
  .main-nav { gap: 10px; font-size: 13px; }
  .header-right { gap: 8px; font-size: 13px; }
  .form-grid, .grid-2, .detail-grid { grid-template-columns: 1fr; }
  .service-bar { grid-template-columns: repeat(2, 1fr); gap: 14px; padding: 16px; }
  .banner-slider { height: 200px; }
}

/* 悬浮客服按钮 */
.float-service { position: fixed; right: 20px; bottom: 90px; z-index: 900; }
.float-btn { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 56px; height: 56px; border-radius: 50%; background: #07c160; color: #fff; border: none; cursor: pointer; box-shadow: 0 4px 16px rgba(7,193,96,.4); font-size: 12px; line-height: 1; }
.float-btn:hover { transform: scale(1.05); }
.cs-mask { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 20px; }
.cs-panel { background: #fff; border-radius: 16px; padding: 28px 24px; width: 100%; max-width: 360px; position: relative; text-align: center; }
.cs-close { position: absolute; right: 12px; top: 8px; background: none; border: none; font-size: 28px; color: #999; cursor: pointer; line-height: 1; }
.cs-icon { width: 64px; height: 64px; border-radius: 50%; background: #e8f9ef; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; }
.cs-panel h3 { font-size: 18px; color: #222; margin-bottom: 6px; }
.cs-tip { color: #888; font-size: 13px; margin-bottom: 18px; }
.cs-row { display: flex; align-items: center; justify-content: space-between; background: #f5f6fa; border-radius: 8px; padding: 10px 14px; margin-bottom: 10px; }
.cs-row span { color: #666; font-size: 13px; }
.cs-row code { color: #222; font-weight: 600; font-size: 14px; }
.cs-note { color: #aaa; font-size: 12px; margin-top: 14px; }
.btn-sm { padding: 6px 14px; font-size: 13px; }
.cs-mask[hidden] { display: none !important; }

/* 客服聊天窗 */
.cs-chat { position: fixed; right: 20px; bottom: 160px; width: 360px; max-width: calc(100vw - 40px); height: 500px; max-height: calc(100vh - 200px); background: #fff; border-radius: 14px; box-shadow: 0 10px 40px rgba(0,0,0,.18); z-index: 1000; display: flex; flex-direction: column; overflow: hidden; }
.cs-chat[hidden] { display: none !important; }
.cs-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; background: #07c160; color: #fff; }
.cs-head-left { display: flex; align-items: center; gap: 10px; }
.cs-avatar { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.25); display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 700; }
.cs-name { font-size: 15px; font-weight: 600; line-height: 1.2; }
.cs-status { font-size: 12px; opacity: .9; display: flex; align-items: center; gap: 4px; }
.cs-status .dot { width: 6px; height: 6px; border-radius: 50%; background: #fff; display: inline-block; }
.cs-close { background: none; border: none; color: #fff; font-size: 24px; cursor: pointer; line-height: 1; padding: 0 4px; }
.cs-body { flex: 1; overflow-y: auto; padding: 16px; background: #f5f6fa; }
.cs-msg { margin-bottom: 12px; display: flex; }
.cs-msg.cs-in { justify-content: flex-start; }
.cs-msg.cs-out { justify-content: flex-end; }
.cs-bubble { max-width: 80%; padding: 10px 14px; border-radius: 12px; font-size: 14px; line-height: 1.6; word-break: break-word; }
.cs-in .cs-bubble { background: #fff; color: #333; border-top-left-radius: 4px; box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.cs-out .cs-bubble { background: #07c160; color: #fff; border-top-right-radius: 4px; }
.cs-quick { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 8px; }
.cs-quick button { background: #fff; border: 1px solid #07c160; color: #07c160; padding: 6px 12px; border-radius: 16px; font-size: 13px; cursor: pointer; }
.cs-quick button:hover { background: #07c160; color: #fff; }
.cs-input { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid #eee; background: #fff; }
.cs-input input { flex: 1; border: 1px solid #e0e0e0; border-radius: 20px; padding: 8px 14px; font-size: 14px; outline: none; }
.cs-input input:focus { border-color: #07c160; }
.cs-input button { background: #07c160; color: #fff; border: none; border-radius: 20px; padding: 8px 18px; font-size: 14px; cursor: pointer; }
.cs-input button:hover { background: #06ad56; }
@media (max-width: 480px) { .cs-chat { right: 10px; bottom: 140px; width: calc(100vw - 20px); } }

/* 静态页面 */
.page-panel { background:#fff; padding:30px; border-radius:10px; margin:20px 0; line-height:1.8; }
.page-panel h1 { font-size:24px; margin-bottom:10px; }
.page-panel h3 { font-size:16px; margin:20px 0 8px; color:#333; }
.page-panel p { color:#555; margin-bottom:10px; }
.page-panel .muted { color:#999; font-size:13px; }

/* ===== 本轮UI/合规优化 ===== */
/* 公告栏 */
.notice-bar { display:flex; align-items:center; gap:10px; background:#fff8e6; border:1px solid #ffe9a8; color:#8a5a00; border-radius:10px; padding:10px 16px; margin:16px 0; font-size:13px; overflow:hidden; }
.notice-icon { flex-shrink:0; font-size:16px; }
.notice-text { overflow:hidden; white-space:nowrap; }
.notice-text span { display:inline-block; }

/* 分类入口 */
.cate-entry { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; margin:0 0 28px; }
.cate-entry-item { display:flex; align-items:center; justify-content:space-between; background:#fff; border:1px solid #f0f1f5; border-radius:12px; padding:18px 20px; transition:.2s; }
.cate-entry-item:hover { border-color:#2563eb; box-shadow:0 6px 18px rgba(37,99,235,.10); transform:translateY(-2px); }
.cate-entry-name { font-size:16px; font-weight:600; color:#222; }
.cate-entry-go { font-size:13px; color:#2563eb; }

/* 店铺简介 */
.shop-intro { background:linear-gradient(135deg,#eff6ff,#f0fdf4); border-radius:16px; padding:30px 32px; margin:10px 0 28px; }
.shop-intro h2 { font-size:20px; color:#1e3a8a; margin-bottom:10px; }
.shop-intro p { color:#444; line-height:1.8; font-size:14px; }
.shop-intro-tags { margin-top:14px; display:flex; flex-wrap:wrap; gap:10px; }
.shop-intro-tags span { background:#fff; border:1px solid #dbeafe; color:#2563eb; border-radius:20px; padding:5px 14px; font-size:13px; }

/* 页脚四栏 */
.footer-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:24px; text-align:left; padding-bottom:20px; border-bottom:1px solid #eee; }
.footer-col h4 { color:#222; font-size:14px; margin-bottom:12px; }
.footer-col a, .footer-col span { display:block; color:#666; font-size:13px; line-height:2; text-decoration:none; }
.footer-col a:hover { color:#2563eb; }
.footer-bottom { padding-top:16px; text-align:center; }
.footer-bottom p { color:#999; font-size:12px; line-height:1.8; }
.footer-tip { color:#aaa !important; font-size:11px !important; }

/* 资质公示表格 */
.license-table { width:100%; border-collapse:collapse; margin:10px 0; }
.license-table th { width:180px; background:#f7f8fa; color:#555; font-weight:600; text-align:left; padding:12px 14px; border:1px solid #eee; font-size:14px; }
.license-table td { padding:12px 14px; border:1px solid #eee; color:#333; font-size:14px; }

/* 划线价说明 */
.price-note { font-size:12px; color:#999; margin-top:14px; line-height:1.7; }

/* 手机端：导航横向滚动不挤压 */
@media (max-width: 768px) {
  .header-inner { flex-wrap:nowrap; gap:8px; height:auto; padding:8px 0; }
  .logo { font-size:16px; white-space:nowrap; flex-shrink:0; }
  .logo img { width:26px !important; height:26px !important; }
  .main-nav { order:3; width:100%; gap:0; overflow-x:auto; -webkit-overflow-scrolling:touch; scrollbar-width:none; padding-bottom:2px; }
  .main-nav::-webkit-scrollbar { display:none; }
  .main-nav a { white-space:nowrap; padding:6px 12px; font-size:14px; flex-shrink:0; }
  .header-right { margin-left:auto; flex-shrink:0; font-size:13px; gap:10px; }
  .cate-entry { grid-template-columns:repeat(2,1fr); gap:10px; }
  .cate-entry-item { padding:14px 16px; }
  .footer-grid { grid-template-columns:repeat(2,1fr); gap:18px; }
  .shop-intro { padding:22px 18px; }
  /* 客服按钮手机端缩小、抬高，避免遮挡 */
  .float-service { right:12px; bottom:70px; }
  .float-btn { width:48px; height:48px; font-size:11px; }
  .float-btn svg { width:19px; height:19px; }
  .cs-chat { bottom:130px; }
  .notice-bar { font-size:12px; }
}

/* 详情页服务承诺 */
.detail-service { margin-top:18px; padding:14px 16px; background:#f7f9fc; border-radius:10px; }
.detail-service p { font-size:13px; color:#555; line-height:1.8; margin-bottom:6px; }
.detail-service b { color:#222; }

/* ===== 物流轨迹时间线 ===== */
.logistics-head{display:flex;justify-content:space-between;align-items:center;padding:4px 0 16px;border-bottom:1px solid #f0f0f0;margin-bottom:8px}
.lg-route{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}
.lg-company{font-size:16px;font-weight:700;color:#222}
.lg-no{font-size:13px;color:#999;letter-spacing:.5px}
.lg-copy-btn{border:1px solid #e5e5e5;background:#fff;color:#666;font-size:12px;padding:5px 12px;border-radius:14px;cursor:pointer}
.lg-copy-btn:active{background:#f5f5f5}
.logistics-track{padding:8px 0 4px}
.track-item{position:relative;padding:0 0 18px 26px}
.track-item::before{content:"";position:absolute;left:5px;top:14px;bottom:-4px;width:1.5px;background:#eee}
.track-item:last-child::before{display:none}
.track-dot{position:absolute;left:0;top:5px;width:11px;height:11px;border-radius:50%;background:#fff;border:2px solid #ccc;box-sizing:border-box;z-index:1}
.track-item.current .track-dot{background:#ff6a00;border-color:#ff6a00;width:13px;height:13px;top:4px}
.track-body{min-height:20px}
.track-time{font-size:12px;color:#aaa;margin-bottom:3px}
.track-title{font-size:14px;font-weight:700;color:#333;margin-bottom:3px}
.track-item.current .track-title{color:#ff6a00}
.track-text{font-size:13px;color:#555;line-height:1.6}
@media(max-width:640px){
  .logistics-head{flex-direction:row}
  .track-item{padding-left:22px}
}
