:root {
  --primary: #07c160;
  --primary-dark: #06ad56;
  --text: #333;
  --text-secondary: #666;
  --text-light: #999;
  --bg: #f5f5f5;
  --white: #fff;
  --border: #eee;
  --price: #ff4d4f;
  --shadow: 0 1px 4px rgba(0,0,0,0.08);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif; background: var(--bg); color: var(--text); font-size: 14px; max-width: 500px; margin: 0 auto; min-height: 100vh; position: relative; }
a { color: var(--primary); text-decoration: none; }
img { max-width: 100%; display: block; }
input, textarea, select { font-size: 14px; outline: none; border: 1px solid #ddd; border-radius: 6px; padding: 8px 12px; }
input:focus, textarea:focus { border-color: var(--primary); }

/* ===== 底部 Tab 栏 ===== */
.tab-bar { position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 500px; height: 56px; background: var(--white); display: flex; border-top: 1px solid var(--border); z-index: 100; }
.tab-bar .tab-item { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--text-light); font-size: 10px; cursor: pointer; transition: color .2s; }
.tab-bar .tab-item.active { color: var(--primary); }
.tab-bar .tab-item .tab-icon { font-size: 22px; margin-bottom: 2px; }

/* ===== 页面容器 ===== */
.page { display: none; padding-bottom: 66px; min-height: 100vh; }
.page.active { display: block; }
.page-content { padding: 12px; }

/* ===== 顶部导航 ===== */
.page-header { background: var(--primary); color: var(--white); padding: 12px 16px; display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 50; }
.page-header .title { font-size: 17px; font-weight: 600; }
.page-header .back-btn { cursor: pointer; font-size: 20px; padding: 4px 8px; }

/* ===== 搜索栏（绿色背景） ===== */
.search-bar { padding: 10px 12px; background: var(--white); }
.search-bar input { width: 100%; background: #f5f5f5; border: none; border-radius: 20px; padding: 8px 16px; font-size: 14px; }
.search-bar-green { background: linear-gradient(135deg, var(--primary), #4cd964); padding: 12px 16px; }
.search-box-white { display: flex; align-items: center; background: var(--white); border-radius: 20px; padding: 6px 14px; }
.search-box-white .search-icon-inner { color: #999; margin-right: 8px; font-size: 16px; }
.search-box-white input { flex: 1; border: none; font-size: 14px; outline: none; background: transparent; }

/* ===== 公告栏 ===== */
.notice-bar { display: flex; align-items: center; padding: 10px 16px; background: #fffbe6; border-bottom: 1px solid #fff1b8; font-size: 13px; color: #ad6800; }
.notice-bar .notice-icon { margin-right: 8px; font-size: 16px; }
.notice-bar .notice-text { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ===== 轮播图 ===== */
.banner-wrap { position: relative; overflow: hidden; border-radius: 8px; margin: 12px; }
.banner-slider { display: flex; transition: transform .5s ease; }
.banner-slide { min-width: 100%; height: 160px; background: linear-gradient(135deg, var(--primary), #4cd964); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 20px; font-weight: 700; border-radius: 8px; }
.banner-dots { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; }
.banner-dots .dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.5); }
.banner-dots .dot.active { background: #fff; width: 16px; border-radius: 3px; }

/* ===== 分类导航（横向滚动） ===== */
.cat-scroll { white-space: nowrap; overflow-x: auto; background: var(--white); padding: 12px; display: flex; gap: 12px; -webkit-overflow-scrolling: touch; }
.cat-scroll::-webkit-scrollbar { display: none; }
.cat-item { display: inline-flex; flex-direction: column; align-items: center; min-width: 64px; cursor: pointer; }
.cat-item .cat-icon { width: 48px; height: 48px; background: #f0faf4; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 4px; }
.cat-item .cat-name { font-size: 12px; color: var(--text); }
.cat-item.active .cat-icon { background: var(--primary); }
.cat-item.active .cat-name { color: var(--primary); font-weight: 600; }

/* ===== 分类网格（五列三排） ===== */
.cat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px 4px; padding: 14px 8px 10px; background: var(--white); }
.cat-item-grid { display: flex; flex-direction: column; align-items: center; cursor: pointer; padding: 6px 0; border-radius: 10px; transition: transform .15s; }
.cat-item-grid:active { transform: scale(0.94); }
.cat-item-grid .cat-icon-circle { width: 48px; height: 48px; border-radius: 16px; background: linear-gradient(145deg, #f0faf4, #e3f6ea); display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 6px; overflow: hidden; box-shadow: 0 1px 3px rgba(7, 193, 96, 0.12); }
.cat-item-grid:active .cat-icon-circle { background: linear-gradient(145deg, var(--primary), #4cd964); transform: scale(0.94); transition: .15s; }
.cat-item-grid .cat-name { font-size: 11px; color: var(--text); white-space: nowrap; }

/* ===== 热销横向滚动 ===== */
.section-card { background: var(--white); margin: 10px 12px; border-radius: 10px; overflow: hidden; box-shadow: var(--shadow); }
.hot-scroll { display: flex; gap: 12px; overflow-x: auto; padding: 0 12px 12px; -webkit-overflow-scrolling: touch; }
.hot-scroll::-webkit-scrollbar { display: none; }
.hot-item { flex-shrink: 0; width: 120px; cursor: pointer; }
.hot-item .hot-img { width: 120px; height: 120px; background: #f0f0f0; border-radius: 8px; overflow: hidden; display: flex; align-items: center; justify-content: center; font-size: 40px; }
.hot-item .hot-img img { width: 100%; height: 100%; object-fit: cover; }
.hot-item .hot-info { padding: 6px 0; }
.hot-item .hot-name { font-size: 13px; line-height: 1.4; }
.hot-item .hot-price-row { margin-top: 4px; display: flex; align-items: baseline; }
.hot-item .hot-price-row .price { color: var(--price); font-size: 16px; font-weight: 700; }
.hot-item .hot-price-row .price-unit { font-size: 11px; color: var(--text-light); margin-left: 2px; }

/* ===== 商品卡片价格单位 ===== */
.card-price.unit { font-size: 12px; color: var(--text-light); font-weight: 400; }

/* ===== 商品卡片 ===== */
.section-title { padding: 16px 12px 10px; font-size: 16px; font-weight: 700; display: flex; justify-content: space-between; align-items: center; }
.section-title .title-icon { margin-right: 6px; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 0 12px 14px; }
.product-card { background: var(--white); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); cursor: pointer; transition: transform .2s, box-shadow .2s; }
.product-card:active { transform: scale(0.97); box-shadow: 0 2px 8px rgba(0,0,0,0.12); }
.product-card .card-img { width: 100%; height: 105px; background: #f0f0f0; display: flex; align-items: center; justify-content: center; color: #ccc; font-size: 40px; position: relative; }
.product-card .card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-new-badge { position: absolute; top: 6px; left: 6px; background: linear-gradient(135deg, #ff6b6b, #ff4d4f); color: #fff; font-size: 9px; padding: 2px 7px; border-radius: 8px 8px 8px 2px; box-shadow: 0 1px 3px rgba(255, 77, 79, 0.4); }
.product-card .card-info { padding: 8px; }
.product-card .card-name { font-size: 12px; font-weight: 500; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 33px; }
.product-card .card-tags { margin-top: 4px; display: flex; gap: 4px; flex-wrap: wrap; }
.product-card .card-tags .tag { font-size: 9px; color: var(--primary); background: #f0faf4; padding: 1px 5px; border-radius: 3px; }
.product-card .card-bottom { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 6px; }
.product-card .card-price { color: var(--price); font-size: 15px; font-weight: 700; }
.product-card .card-price .unit { font-size: 10px; color: var(--text-light); font-weight: 400; }
.product-card .card-original { font-size: 10px; color: #ccc; text-decoration: line-through; }
.product-card .card-sales { font-size: 10px; color: var(--text-light); }

/* ===== 下拉加载提示 ===== */
.load-more { text-align: center; font-size: 12px; color: var(--text-light); padding: 10px 0 14px; }

/* ===== 底部悬浮登录条 ===== */
.login-float-bar { position: fixed; bottom: 64px; left: 50%; transform: translateX(-50%); width: calc(100% - 32px); max-width: 468px; display: flex; align-items: center; gap: 8px; background: linear-gradient(135deg, #07c160, #00a04d); color: #fff; border-radius: 24px; padding: 10px 8px 10px 16px; box-shadow: 0 4px 16px rgba(7, 193, 96, 0.35); z-index: 90; cursor: pointer; animation: floatUp .4s ease; }
@keyframes floatUp { from { transform: translate(-50%, 20px); opacity: 0; } to { transform: translate(-50%, 0); opacity: 1; } }
.login-float-bar .float-lock { font-size: 16px; }
.login-float-bar .float-text { flex: 1; font-size: 13px; }
.login-float-bar .float-btn { background: #fff; color: #07c160; font-size: 12px; font-weight: 600; padding: 5px 14px; border-radius: 15px; flex-shrink: 0; }

/* 热销/分类划线原价 */
.hot-original-price { font-size: 10px; color: #bbb; text-decoration: line-through; margin-right: 4px; }
/* 限时抢购：倒计时角标 + 红色价格 + 详情页标识 */
.flash-item { position: relative; }
.flash-cd { position: absolute; top: 4px; left: 4px; background: linear-gradient(90deg, #ff4d4f, #ff7a45); color: #fff; font-size: 10px; padding: 2px 6px; border-radius: 4px; z-index: 2; white-space: nowrap; }
.flash-price { color: #ff4d4f; font-size: 16px; font-weight: 700; }
.flash-badge-h5 { font-size: 11px; color: #fff; background: linear-gradient(90deg, #ff4d4f, #ff7a45); padding: 2px 8px; border-radius: 4px; margin-left: 8px; vertical-align: middle; flex-shrink: 0; }
.cat-original { font-size: 11px; color: #bbb; text-decoration: line-through; margin-right: 6px; }

/* ===== 商品列表（分类页用） ===== */
.product-list-item { display: flex; background: var(--white); padding: 12px; margin-bottom: 1px; cursor: pointer; }
.product-list-item .item-img { width: 100px; height: 100px; background: #f0f0f0; border-radius: 8px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 36px; color: #ccc; overflow: hidden; }
.product-list-item .item-img img { width: 100%; height: 100%; object-fit: cover; }
.product-list-item .item-info { flex: 1; margin-left: 12px; display: flex; flex-direction: column; justify-content: space-between; }
.product-list-item .item-name { font-size: 14px; font-weight: 500; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-list-item .item-desc { font-size: 12px; color: var(--text-light); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.product-list-item .item-bottom { display: flex; justify-content: space-between; align-items: flex-end; }
.product-list-item .item-price { color: var(--price); font-size: 18px; font-weight: 700; }

/* ===== 分类页布局 ===== */
.category-page { display: flex; height: calc(100vh - 56px); }
.category-left { width: 90px; background: #f8f8f8; overflow-y: auto; flex-shrink: 0; }
.category-left .cat-item { padding: 14px 8px; font-size: 13px; text-align: center; color: var(--text-secondary); cursor: pointer; border-left: 3px solid transparent; min-width: auto; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.category-left .cat-item .cat-item-icon { width: 32px; height: 32px; border-radius: 8px; overflow: hidden; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.category-left .cat-item .cat-item-name { font-size: 12px; line-height: 1; }
.category-left .cat-item.active { background: var(--white); color: var(--primary); font-weight: 600; border-left-color: var(--primary); }
.category-right { flex: 1; overflow-y: auto; background: var(--white); }
.category-right .cat-result-hint { padding: 10px 12px; font-size: 13px; color: var(--text-light); background: #f8f8f8; }
.category-right .cat-right-header { padding: 10px 12px; font-size: 13px; color: var(--text-light); border-bottom: 1px solid var(--border); }
.category-right .item-tags { display: flex; gap: 4px; margin-top: 4px; }
.category-right .item-tags .tag { font-size: 10px; color: var(--primary); background: #f0faf4; padding: 1px 6px; border-radius: 3px; }
.category-right .cat-add-btn { width: 28px; height: 28px; background: var(--primary); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; cursor: pointer; flex-shrink: 0; }

/* ===== 商品详情 ===== */
.detail-images { width: 100%; height: 300px; background: #f0f0f0; display: flex; align-items: center; justify-content: center; font-size: 64px; color: #ccc; overflow: hidden; }
.detail-images img { width: 100%; height: 100%; object-fit: cover; }
.detail-info { background: var(--white); padding: 16px; }
.detail-info .price-row { display: flex; align-items: baseline; gap: 8px; }
.detail-info .detail-price { color: var(--price); font-size: 28px; font-weight: 700; }
.detail-info .detail-original { color: #ccc; text-decoration: line-through; font-size: 14px; }
.detail-info .detail-name { font-size: 18px; font-weight: 600; margin-top: 10px; line-height: 1.4; }
.detail-info .detail-desc { color: var(--text-light); font-size: 13px; margin-top: 6px; }
.detail-info .detail-meta { display: flex; gap: 16px; margin-top: 10px; font-size: 13px; color: var(--text-light); }
.detail-section { background: var(--white); margin-top: 10px; padding: 16px; }
.detail-section .section-label { font-size: 15px; font-weight: 600; margin-bottom: 10px; }
.detail-section .section-content { font-size: 14px; color: var(--text-secondary); line-height: 1.8; }
.detail-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.detail-tags .tag { font-size: 12px; color: var(--primary); background: #f0faf4; padding: 2px 10px; border-radius: 12px; }

/* ===== 服务保障 ===== */
.service-info { display: flex; flex-wrap: wrap; padding: 12px 16px; background: var(--white); margin-top: 10px; gap: 8px; }
.service-item { display: flex; align-items: center; gap: 4px; font-size: 13px; color: var(--text-secondary); width: calc(50% - 4px); }
.service-item span:first-child { font-size: 16px; }

/* ===== 详情页数量控制 ===== */
.qty-control-detail { display: flex; align-items: center; gap: 0; }
.qty-btn-detail { width: 32px; height: 32px; border: 1px solid #ddd; background: #f8f8f8; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 18px; color: var(--text); border-radius: 0; }
.qty-btn-detail:first-child { border-radius: 16px 0 0 16px; }
.qty-btn-detail:last-child { border-radius: 0 16px 16px 0; }
.qty-num-detail { width: 40px; height: 32px; border-top: 1px solid #ddd; border-bottom: 1px solid #ddd; display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 600; }

.detail-bottom-bar { position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 500px; background: var(--white); display: flex; align-items: center; padding: 8px 12px; border-top: 1px solid var(--border); z-index: 50; gap: 8px; }
.detail-bottom-bar .action-btn { flex: 1; padding: 10px; text-align: center; border-radius: 22px; font-size: 14px; font-weight: 500; cursor: pointer; border: none; }
.detail-bottom-bar .btn-cart { background: #fff7e6; color: #fa8c16; border: 1px solid #ffd591; }
.detail-bottom-bar .btn-buy { background: var(--primary); color: var(--white); }

/* ===== 购物车 ===== */
.cart-item { display: flex; background: var(--white); padding: 12px; margin-bottom: 1px; align-items: center; }
.cart-item .cart-check { width: 24px; height: 24px; border: 2px solid #ddd; border-radius: 50%; cursor: pointer; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 14px; color: transparent; }
.cart-item .cart-check.checked { background: var(--primary); border-color: var(--primary); color: #fff; }
.cart-item .cart-img { width: 80px; height: 80px; background: #f0f0f0; border-radius: 8px; margin: 0 12px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 30px; color: #ccc; overflow: hidden; }
.cart-item .cart-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item .cart-info { flex: 1; }
.cart-item .cart-name { font-size: 14px; font-weight: 500; }
.cart-item .cart-price-row { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.cart-item .cart-price { color: var(--price); font-size: 16px; font-weight: 600; }
.cart-item .cart-delete { font-size: 20px; cursor: pointer; padding: 4px 8px; flex-shrink: 0; opacity: 0.6; }
.cart-item .cart-delete:active { opacity: 1; }
.cart-item .qty-control { display: flex; align-items: center; gap: 0; }
.cart-item .qty-btn { width: 28px; height: 28px; border: 1px solid #ddd; background: #f8f8f8; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 16px; }
.cart-item .qty-num { width: 36px; height: 28px; border-top: 1px solid #ddd; border-bottom: 1px solid #ddd; display: flex; align-items: center; justify-content: center; font-size: 14px; }
.cart-bar { position: fixed; bottom: 56px; left: 50%; transform: translateX(-50%); width: 100%; max-width: 500px; background: var(--white); display: flex; align-items: center; padding: 10px 12px; border-top: 1px solid var(--border); z-index: 50; }
.cart-bar .check-all { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.cart-bar .total-info { flex: 1; text-align: right; margin-right: 12px; }
.cart-bar .total-price { color: var(--price); font-size: 18px; font-weight: 700; }
.cart-bar .checkout-btn { background: var(--primary); color: var(--white); padding: 10px 24px; border-radius: 22px; font-size: 14px; font-weight: 500; cursor: pointer; border: none; }

/* ===== 订单确认 ===== */
.confirm-address { background: var(--white); padding: 16px; margin-bottom: 10px; }
.confirm-address .addr-name { font-weight: 600; font-size: 15px; }
.confirm-address .addr-phone { color: var(--text-secondary); margin-left: 12px; }
.confirm-address .addr-detail { color: var(--text-secondary); font-size: 13px; margin-top: 6px; }
.confirm-items { background: var(--white); padding: 12px 16px; margin-bottom: 10px; }
.confirm-item { display: flex; padding: 8px 0; align-items: center; }
.confirm-item .ci-img { width: 60px; height: 60px; background: #f0f0f0; border-radius: 6px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.confirm-item .ci-info { flex: 1; margin-left: 12px; }
.confirm-item .ci-name { font-size: 14px; }
.confirm-item .ci-meta { display: flex; justify-content: space-between; margin-top: 4px; font-size: 13px; }
.confirm-item .ci-price { color: var(--price); }
.confirm-remark { background: var(--white); padding: 12px 16px; margin-bottom: 10px; }
.confirm-remark textarea { width: 100%; border: none; font-size: 14px; resize: none; height: 40px; }
.confirm-footer { position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 500px; background: var(--white); display: flex; align-items: center; justify-content: flex-end; padding: 10px 16px; border-top: 1px solid var(--border); z-index: 50; }
.confirm-footer .total { margin-right: 16px; }
.confirm-footer .total .label { font-size: 13px; color: var(--text-secondary); }
.confirm-footer .total .amount { color: var(--price); font-size: 20px; font-weight: 700; }
.confirm-footer .submit-btn { background: var(--primary); color: var(--white); padding: 10px 32px; border-radius: 22px; font-size: 15px; font-weight: 500; cursor: pointer; border: none; }

/* ===== 订单列表 ===== */
.order-tabs { display: flex; background: var(--white); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 10; }
.order-tabs .tab { flex: 1; text-align: center; padding: 12px 0; font-size: 14px; color: var(--text-secondary); cursor: pointer; position: relative; }
.order-tabs .tab.active { color: var(--primary); font-weight: 600; }
.order-tabs .tab.active::after { content: ''; position: absolute; bottom: 0; left: 30%; right: 30%; height: 2px; background: var(--primary); border-radius: 1px; }
.order-card { background: var(--white); margin: 10px 12px; border-radius: 10px; box-shadow: var(--shadow); overflow: hidden; cursor: pointer; }
.order-card .order-header { display: flex; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--border); }
.order-card .order-no { font-size: 13px; color: var(--text-light); }
.order-card .order-status { font-size: 13px; font-weight: 500; }
.order-card .order-product { display: flex; padding: 10px 16px; align-items: center; }
.order-card .op-img { width: 60px; height: 60px; background: #f0f0f0; border-radius: 6px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.order-card .op-info { flex: 1; margin-left: 10px; }
.order-card .op-name { font-size: 14px; }
.order-card .op-meta { font-size: 13px; color: var(--text-light); margin-top: 2px; }
.order-card .order-footer { display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; border-top: 1px solid var(--border); }
.order-card .order-total { font-size: 14px; }
.order-card .order-total .amount { color: var(--price); font-weight: 600; }
.order-card .order-actions { display: flex; gap: 8px; }
.order-card .order-action { padding: 5px 14px; border-radius: 14px; font-size: 12px; cursor: pointer; border: 1px solid #ddd; background: var(--white); }
.order-card .order-action.primary { background: var(--primary); color: var(--white); border-color: var(--primary); }

/* ===== 配送状态条 ===== */
.delivery-strip { display: flex; align-items: center; gap: 6px; padding: 8px 16px; background: #e6f7ff; border-top: 1px solid #bae7ff; font-size: 13px; color: #1890ff; }

/* ===== 订单详情 ===== */
.order-status-header { background: linear-gradient(135deg, var(--primary), #4cd964); color: #fff; padding: 24px 16px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.order-status-header .status-icon-big { font-size: 48px; margin-bottom: 8px; }
.order-status-header .status-text { font-size: 22px; font-weight: 700; }
.order-status-header .status-desc { font-size: 13px; opacity: 0.85; margin-top: 4px; }
.tracking-card { background: var(--white); margin: 10px 12px; border-radius: 10px; padding: 16px; box-shadow: var(--shadow); }
.tracking-card .tracking-title { font-size: 15px; font-weight: 600; margin-bottom: 12px; }
.tracking-step { display: flex; gap: 10px; padding-bottom: 16px; position: relative; }
.tracking-step:last-child { padding-bottom: 0; }
.tracking-step::before { content: ''; position: absolute; left: 7px; top: 18px; bottom: 0; width: 2px; background: #e8e8e8; }
.tracking-step:last-child::before { display: none; }
.tracking-dot { width: 16px; height: 16px; border-radius: 50%; background: #e8e8e8; flex-shrink: 0; margin-top: 2px; }
.tracking-dot.active { background: var(--primary); }
.tracking-info .step-title { font-size: 14px; font-weight: 500; }
.tracking-info .step-desc { font-size: 12px; color: var(--text-light); margin-top: 2px; }
.tracking-info .step-time { font-size: 12px; color: var(--primary); margin-top: 2px; }

/* ===== 个人中心 ===== */
.user-header { background: linear-gradient(135deg, var(--primary), #4cd964); padding: 32px 20px; color: #fff; display: flex; align-items: center; gap: 16px; }
.user-avatar { width: 64px; height: 64px; border-radius: 50%; background: rgba(255,255,255,0.3); display: flex; align-items: center; justify-content: center; font-size: 32px; }
.user-info .user-name { font-size: 18px; font-weight: 600; }
.user-info .user-id { font-size: 12px; opacity: 0.8; margin-top: 4px; }
.order-shortcuts { background: var(--white); display: flex; padding: 16px; margin-bottom: 10px; }
.order-shortcut { flex: 1; text-align: center; cursor: pointer; }
.order-shortcut .shortcut-icon { font-size: 24px; }
.order-shortcut .shortcut-label { font-size: 12px; color: var(--text-secondary); margin-top: 4px; }
.order-shortcut .shortcut-count { font-size: 11px; color: var(--price); }
.menu-list { background: var(--white); }
.menu-item { display: flex; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--border); cursor: pointer; }
.menu-item:last-child { border-bottom: none; }
.menu-item .menu-icon { font-size: 20px; margin-right: 12px; }
.menu-item .menu-text { flex: 1; font-size: 14px; }
.menu-item .menu-arrow { color: #ccc; }

/* ===== 空状态 ===== */
.empty-state { text-align: center; padding: 60px 20px; color: var(--text-light); }
.empty-state .empty-icon { font-size: 64px; margin-bottom: 12px; }
.empty-state .empty-text { font-size: 14px; }

/* ===== 通用 ===== */
.card { background: var(--white); border-radius: 10px; box-shadow: var(--shadow); margin: 10px 12px; overflow: hidden; }
.price { color: var(--price); font-weight: 600; }
.text-ellipsis { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.mt-10 { margin-top: 10px; }
.loading { text-align: center; padding: 40px; color: var(--text-light); }

/* ===== Toast ===== */
.toast { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); background: rgba(0,0,0,0.75); color: #fff; padding: 10px 24px; border-radius: 8px; font-size: 14px; z-index: 9999; display: none; }
.toast.show { display: block; }

/* ===== 地址信息卡 ===== */
.info-card { background: var(--white); margin: 10px 12px; border-radius: 10px; padding: 16px; box-shadow: var(--shadow); }
.info-card .info-title { font-size: 15px; font-weight: 600; margin-bottom: 10px; }
.info-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 14px; }
.info-row .label { color: var(--text-light); }
.info-row .value { color: var(--text); }
.divider { height: 1px; background: var(--border); margin: 10px 0; }

/* ===== 价格隐藏标签（未注册，与小程序一致） ===== */
.login-required {
  display: inline-block;
  font-size: 12px;
  color: var(--primary);
  background: #e8f8ef;
  border: 1px solid var(--primary);
  padding: 2px 8px;
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
  vertical-align: middle;
}
.detail-info .login-required { font-size: 14px; padding: 4px 12px; border-radius: 8px; }

/* ===== 价格单位（登录后显示） ===== */
.product-card .price-unit { font-size: 12px; color: var(--text-light); font-weight: 400; }
.item-bottom .price-unit { font-size: 12px; color: var(--text-light); font-weight: 400; }
.detail-info .price-unit { font-size: 14px; color: var(--text-light); font-weight: 400; }

/* ===== 用户中心登录按钮 ===== */
.user-login-btn {
  margin-left: auto;
  background: rgba(255,255,255,0.25);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.6);
  padding: 8px 24px;
  border-radius: 20px;
  font-size: 14px;
  cursor: pointer;
  flex-shrink: 0;
}

/* ===== 登录弹窗（H5 仅账号登录） ===== */
.login-mask {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
}
.login-box-h5 {
  position: relative;
  width: 82%;
  max-width: 360px;
  background: #fff;
  border-radius: 16px;
  padding: 32px 24px 24px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}
.login-box-h5 .login-title { font-size: 20px; font-weight: 700; text-align: center; color: #333; }
.login-box-h5 .login-sub { font-size: 12px; color: var(--text-light); text-align: center; margin: 8px 0 24px; }
.login-field { margin-bottom: 16px; }
.login-field label { display: block; font-size: 13px; color: var(--text-secondary); margin-bottom: 8px; }
.login-field input { width: 100%; height: 44px; background: #f7f7f7; border: none; border-radius: 8px; padding: 0 12px; font-size: 14px; box-sizing: border-box; }
.login-btn-h5 {
  width: 100%;
  height: 44px;
  margin-top: 8px;
  background: var(--primary);
  color: #fff;
  font-size: 15px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}
.login-btn-h5:active { opacity: 0.8; }
.login-tip { text-align: center; font-size: 13px; color: var(--primary); margin-top: 16px; }
.login-close { position: absolute; top: 12px; right: 16px; font-size: 24px; color: #999; cursor: pointer; padding: 4px; }

