/* ========================================
   微店系统 - 全局样式 (移动端优先 H5)
   ======================================== */

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --primary: #07c160;
    --primary-dark: #06ad56;
    --danger: #ee0a24;
    --warning: #ff976a;
    --bg: #f5f5f5;
    --card-bg: #fff;
    --text: #333;
    --text-secondary: #666;
    --text-light: #999;
    --border: #ebedf0;
    --radius: 8px;
    --shadow: 0 2px 8px rgba(0,0,0,.08);
    --max-width: 400px;
}

html { font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a { color: var(--primary); text-decoration: none; }
a:hover { opacity: .8; }
img { max-width: 100%; height: auto; display: block; }

/* Layout */
.app { max-width: var(--max-width); margin: 0 auto; min-height: 100vh; display: flex; flex-direction: column; background: var(--card-bg); }

.header { background: var(--primary); color: #fff; position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 4px rgba(0,0,0,.1); }
.header-inner { max-width: var(--max-width); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; height: 48px; }
.header-logo { color: #fff; font-size: 18px; font-weight: 700; }
.header-nav { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.nav-link { color: rgba(255,255,255,.9); padding: 4px 0; }
.nav-link:hover { color: #fff; opacity: 1; }

/* 下拉菜单 */
.nav-dropdown { position: relative; }
.nav-dropdown-menu { display: none; position: absolute; top: 100%; right: 0; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); min-width: 140px; padding: 4px 0; z-index: 200; }
.nav-dropdown:hover .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a { display: block; padding: 8px 16px; color: var(--text); font-size: 14px; white-space: nowrap; }
.nav-dropdown-menu a:hover { background: var(--bg); }

.main { flex: 1; padding-bottom: 20px; }

.footer { text-align: center; padding: 20px; color: var(--text-light); font-size: 13px; border-top: 1px solid var(--border); }

/* Page Title */
.page-title-bar { padding: 16px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border); }
.page-title { font-size: 20px; font-weight: 600; }
.page-actions { display: flex; gap: 8px; }

/* Buttons */
.btn { display: inline-block; padding: 10px 20px; border-radius: var(--radius); font-size: 15px; border: 1px solid transparent; cursor: pointer; text-align: center; transition: all .2s; line-height: 1.4; }
.btn-primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); }
.btn-outline { background: #fff; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: #f0fff5; }
.btn-danger { background: var(--danger); color: #fff; border-color: var(--danger); }
.btn-danger:hover { background: #d40820; }
.btn-secondary { background: #f5f5f5; color: var(--text); border-color: var(--border); }
.btn-block { display: block; width: 100%; }
.btn-lg { padding: 14px 24px; font-size: 17px; }
.btn-sm { padding: 5px 12px; font-size: 13px; }

/* Forms */
.form-card { padding: 16px; background: var(--card-bg); }
.current-image { margin-bottom: 8px; }
.current-image img { max-width: 200px; max-height: 120px; border-radius: 8px; border: 1px solid var(--border-color); display: block; }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 14px; color: var(--text-secondary); margin-bottom: 6px; }
.form-input, .form-textarea, select.form-input {
    width: 100%; padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--radius);
    font-size: 15px; color: var(--text); background: #fff; outline: none; transition: border-color .2s;
    -webkit-appearance: none;
}
.form-input:focus, .form-textarea:focus { border-color: var(--primary); }
.form-textarea { resize: vertical; min-height: 80px; }
.form-row { display: flex; gap: 12px; flex-wrap: wrap; }
.form-row .form-group { flex: 1; min-width: 120px; }
.form-actions { display: flex; gap: 12px; margin-top: 16px; }
.required { color: var(--danger); }

/* Alerts */
.alert { padding: 12px 16px; border-radius: var(--radius); margin: 12px 16px; font-size: 14px; }
.alert-success { background: #f0fff5; color: #07c160; border: 1px solid #b7eb8f; }
.alert-error { background: #fff2f0; color: #ee0a24; border: 1px solid #ffccc7; }
.alert-warning { background: #fffbe6; color: #d48806; border: 1px solid #ffe58f; }

/* Filter Bar */
.filter-bar { padding: 12px 16px; background: #fff; border-bottom: 1px solid var(--border); }
.filter-form { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-form .form-input { flex: 1; min-width: 100px; }
.filter-form .btn { flex-shrink: 0; }

/* Product Grid */
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 16px; }
.product-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.product-card-cover { position: relative; width: 100%; height: 0; padding-bottom: 75%; overflow: hidden; background: #f0f0f0; }
.product-card-cover img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.no-cover { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: #ccc; font-size: 14px; }
.product-status { position: absolute; top: 8px; right: 8px; padding: 2px 8px; border-radius: 4px; font-size: 11px; }
.product-status.on { background: var(--primary); color: #fff; }
.product-status.off { background: #999; color: #fff; }
.product-card-info { padding: 10px 12px; flex: 1; }
.product-card-title { font-size: 14px; font-weight: 600; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--text); }
.product-card-price { color: var(--danger); font-size: 18px; font-weight: 700; margin: 6px 0; }
.product-card-meta { display: flex; gap: 12px; font-size: 12px; color: var(--text-light); }
.product-card-actions { padding: 8px 12px 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.original-price { color: var(--text-light); font-size: 13px; text-decoration: line-through; margin-left: 6px; font-weight: 400; }

/* Order List */
.order-list { padding: 12px 16px; }
.order-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 12px; overflow: hidden; }
.order-header { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--border); font-size: 13px; }
.order-no { color: var(--text-light); }
.order-time { color: var(--text-light); }
.order-status { font-size: 12px; padding: 2px 8px; border-radius: 4px; }
.status-pending { background: #fff7e6; color: #d48806; }
.status-paid { background: #e6f7ff; color: #1890ff; }
.status-confirmed { background: #f0fff5; color: #07c160; }
.status-completed { background: #f5f5f5; color: #666; }
.status-cancelled { background: #fff2f0; color: #ee0a24; }
.order-body { padding: 12px 14px; display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.order-product { display: flex; gap: 10px; align-items: flex-start; flex: 1; }
.order-product-img { width: 60px; height: 60px; border-radius: 6px; object-fit: cover; }
.order-product-title { font-size: 14px; font-weight: 500; }
.order-product-meta { font-size: 12px; color: var(--text-light); margin-top: 4px; }
.order-info { font-size: 13px; color: var(--text-secondary); text-align: right; line-height: 1.8; }
.order-actions { padding: 8px 14px 12px; display: flex; gap: 8px; justify-content: flex-end; }

/* Table */
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { background: #fafafa; padding: 10px 12px; text-align: left; font-weight: 500; border-bottom: 1px solid var(--border); }
.table td { padding: 10px 12px; border-bottom: 1px solid var(--border); }

/* Pagination */
.pagination { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 16px; flex-wrap: wrap; }
.page-btn, .page-num { padding: 6px 12px; border: 1px solid var(--border); border-radius: 4px; font-size: 13px; color: var(--text-secondary); background: #fff; }
.page-num.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.page-dots { padding: 6px 4px; color: var(--text-light); }
.page-info { font-size: 12px; color: var(--text-light); margin-left: 8px; }

/* Empty State */
.empty-state { text-align: center; padding: 60px 20px; color: var(--text-light); font-size: 15px; }
.empty-state a { color: var(--primary); }

/* Section */
.section { padding: 16px; }
.section-title { font-size: 16px; font-weight: 600; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 2px solid var(--primary); display: inline-block; }

/* Card Grid */
.card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }

/* Detail Card */
.detail-card { padding: 16px; }
.detail-section { margin-bottom: 20px; }
.detail-section h3 { font-size: 16px; font-weight: 600; margin-bottom: 10px; padding-bottom: 6px; border-bottom: 1px solid var(--border); }
.info-table { width: 100%; font-size: 14px; }
.info-table td { padding: 6px 4px; vertical-align: top; }
.info-table .label { color: var(--text-light); width: 80px; white-space: nowrap; }

/* Home Page */
.home-hero { text-align: center; padding: 60px 20px 40px; background: linear-gradient(135deg, #07c160, #00a854); color: #fff; }
.home-hero h1 { font-size: 28px; margin-bottom: 12px; }
.hero-desc { font-size: 15px; opacity: .9; margin-bottom: 24px; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-actions .btn-outline { border-color: #fff; color: #fff; }
.hero-actions .btn-outline:hover { background: rgba(255,255,255,.2); }
.home-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; padding: 24px 16px; }
.feature-card { text-align: center; padding: 20px 12px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.feature-icon { font-size: 32px; margin-bottom: 8px; }
.feature-card h3 { font-size: 15px; margin-bottom: 6px; }
.feature-card p { font-size: 13px; color: var(--text-light); }

/* Auth */
.auth-page { display: flex; align-items: center; justify-content: center; min-height: 60vh; padding: 20px; }
.auth-card { width: 100%; max-width: 360px; background: #fff; border-radius: 12px; padding: 30px 24px; box-shadow: var(--shadow); }
.auth-title { text-align: center; font-size: 20px; margin-bottom: 24px; }
.auth-tip { text-align: center; font-size: 12px; color: var(--text-light); margin-top: 16px; }
.auth-form .form-input { padding: 12px; }

/* 微信登录 */
.auth-divider {
    display: flex; align-items: center; margin: 20px 0; color: var(--text-light); font-size: 13px;
}
.auth-divider::before, .auth-divider::after {
    content: ''; flex: 1; height: 1px; background: var(--border);
}
.auth-divider span {
    margin: 0 12px; white-space: nowrap;
}
.btn-wechat {
    background: #07c160; color: #fff; display: flex; align-items: center; justify-content: center;
    gap: 8px; border: none; cursor: pointer; font-size: 15px; padding: 12px 20px;
    border-radius: var(--radius); width: 100%; transition: background .2s;
}
.btn-wechat:hover { background: #06ad56; }
.btn-wechat svg { flex-shrink: 0; }

/* Order Success */
.order-success { text-align: center; padding: 60px 20px; }
.success-icon { font-size: 48px; margin-bottom: 16px; }
.order-success h2 { margin-bottom: 12px; }
.order-success p { color: var(--text-secondary); margin-bottom: 8px; }
.success-actions { display: flex; gap: 12px; justify-content: center; margin-top: 24px; }
.order-call-tip {
    margin: 28px auto 0; max-width: 320px;
    background: #f0fbf5; border: 1px solid #07c160; border-radius: 12px;
    padding: 14px 16px; display: flex; align-items: center; justify-content: center; gap: 8px;
    color: #07a050; font-size: 14px; font-weight: 600; line-height: 1.4;
}
.order-call-icon { font-size: 18px; }

/* Product Preview */
.product-preview { padding: 16px; }
.preview-cover { border-radius: var(--radius); }
.preview-images { display: flex; gap: 8px; margin-top: 8px; overflow-x: auto; }
.preview-images img { width: 100px; height: 75px; object-fit: cover; border-radius: 6px; }
.preview-info h2 { font-size: 20px; margin: 16px 0 8px; }
.preview-subtitle { color: var(--text-secondary); }
.preview-price { margin: 12px 0; }
.current-price { font-size: 24px; color: var(--danger); font-weight: 700; }
.preview-meta { display: flex; gap: 16px; color: var(--text-light); font-size: 14px; margin: 8px 0; }
.preview-section { margin-top: 20px; }
.preview-section h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.preview-content { font-size: 14px; line-height: 1.8; color: var(--text-secondary); }

/* Product Detail (Buyer) */
.product-detail-page { padding: 0 0 20px; }
.detail-gallery { background: #000; }
.detail-main-img { width: 100%; max-height: 400px; object-fit: contain; }
.detail-img-list { display: flex; gap: 6px; padding: 8px 12px; overflow-x: auto; }
.detail-img-list img { width: 60px; height: 60px; object-fit: cover; border-radius: 4px; border: 2px solid transparent; }
.detail-info { padding: 16px; }
.detail-info h2 { font-size: 20px; margin-bottom: 8px; }
.detail-subtitle { color: var(--text-secondary); }
.detail-price-box { margin: 12px 0; }
.detail-price { font-size: 28px; color: var(--danger); font-weight: 700; }
.detail-original-price { color: var(--text-light); text-decoration: line-through; font-size: 15px; margin-left: 8px; }
.detail-meta { display: flex; gap: 16px; color: var(--text-light); font-size: 13px; }
.detail-order-section { padding: 16px; border-top: 8px solid var(--bg); }
.detail-order-section h3 { font-size: 16px; margin-bottom: 12px; }
.detail-section { padding: 16px; border-top: 8px solid var(--bg); }
.detail-section h3 { font-size: 16px; font-weight: 600; margin-bottom: 10px; }
.detail-content { font-size: 14px; line-height: 1.8; color: var(--text-secondary); white-space: pre-wrap; }

/* Shop Page (Buyer) */
.shop-page {}
.shop-banner img { width: 100%; height: 200px; object-fit: cover; }
.shop-info-bar { display: flex; align-items: center; gap: 12px; padding: 16px; background: #fff; }
.shop-logo { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; box-shadow: var(--shadow); }
.shop-info-bar h1 { font-size: 18px; }
.shop-desc { color: var(--text-secondary); font-size: 13px; margin-top: 4px; }
.shop-notice { padding: 10px 16px; background: #fffbe6; font-size: 13px; color: #d48806; }
.shop-nav { display: flex; gap: 1px; background: var(--border); }
.shop-nav-item { flex: 1; text-align: center; padding: 12px; background: #fff; font-size: 14px; color: var(--text); }
.highlights-scroll { display: flex; gap: 12px; overflow-x: auto; padding: 8px 0; }
.highlight-item { flex: 0 0 240px; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.highlight-item img { width: 100%; height: 120px; object-fit: cover; }
.highlight-item h4 { font-size: 14px; padding: 8px 10px 0; }
.highlight-item p { font-size: 12px; color: var(--text-light); padding: 4px 10px 10px; }

/* Store Preview (Seller) */
.store-preview {}
.store-header {}
.store-banner img { width: 100%; height: 160px; object-fit: cover; }
.store-info-bar { display: flex; align-items: center; gap: 12px; padding: 16px; }
.store-logo { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; }
.store-info-bar h2 { font-size: 18px; }

/* Share */
.share-page { padding: 16px; }
.share-card { background: #fff; border-radius: var(--radius); padding: 20px; margin-bottom: 16px; box-shadow: var(--shadow); }
.share-card h3 { font-size: 16px; margin-bottom: 12px; }
.share-url-box { display: flex; gap: 8px; }
.share-url-box input { flex: 1; }
.share-tip { font-size: 12px; color: var(--text-light); margin-top: 8px; }
.share-stats { text-align: center; margin-top: 12px; }
.stat-item { padding: 12px; }
.stat-num { font-size: 24px; font-weight: 700; color: var(--primary); }
.stat-label { font-size: 13px; color: var(--text-light); }
.share-channels { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 12px; }
.channel-item { padding: 12px; background: var(--bg); border-radius: var(--radius); text-align: center; font-size: 14px; }

/* Video */
.video-page { padding: 16px; }
.video-list { display: flex; flex-direction: column; gap: 12px; }
.video-card-large { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.video-cover img { width: 100%; height: 180px; object-fit: cover; }
.video-info { padding: 12px; }
.video-info h3 { font-size: 15px; margin-bottom: 8px; }
.video-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.video-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.video-card img { width: 100%; height: 120px; object-fit: cover; }
.video-card h4 { font-size: 13px; padding: 8px 10px; }
.video-card .btn { margin: 0 10px 10px; }

/* Highlight Card */
.highlight-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); padding-bottom: 10px; }
.highlight-card img { width: 100%; height: 100px; object-fit: cover; }
.highlight-card h4 { font-size: 14px; padding: 8px 10px 0; }
.highlight-card p { font-size: 12px; color: var(--text-light); padding: 4px 10px; }

/* Review */
.review-list { padding: 16px; }
.review-card { background: #fff; border-radius: var(--radius); padding: 14px; margin-bottom: 12px; box-shadow: var(--shadow); }
.review-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; font-size: 14px; }
.review-stars { font-size: 12px; }
.review-time { font-size: 12px; color: var(--text-light); }
.review-product { font-size: 12px; color: var(--text-light); margin-bottom: 6px; }
.review-content { font-size: 14px; line-height: 1.6; }
.review-images { display: flex; gap: 6px; margin-top: 8px; }
.review-images img { width: 80px; height: 80px; object-fit: cover; border-radius: 4px; }

/* Consult / Chat */
.consult-page { display: flex; flex-direction: column; height: calc(100vh - 48px); }
.chat-box { flex: 1; overflow-y: auto; padding: 16px; }
.chat-msg { margin-bottom: 16px; max-width: 80%; }
.chat-msg-left { align-self: flex-start; }
.chat-msg-right { margin-left: auto; text-align: right; }
.chat-msg-name { font-size: 12px; color: var(--text-light); margin-bottom: 4px; }
.chat-msg-text { padding: 10px 14px; border-radius: 12px; font-size: 14px; display: inline-block; }
.chat-msg-left .chat-msg-text { background: #f0f0f0; border-bottom-left-radius: 4px; }
.chat-msg-right .chat-msg-text { background: var(--primary); color: #fff; border-bottom-right-radius: 4px; }
.chat-msg-time { font-size: 11px; color: var(--text-light); margin-top: 4px; }
.chat-form { display: flex; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--border); background: #fff; }
.chat-form input { flex: 1; }

/* My Page */
.my-page {}
.my-header { text-align: center; padding: 30px 20px; background: linear-gradient(135deg, #07c160, #00a854); color: #fff; }
.my-avatar { width: 70px; height: 70px; margin: 0 auto 12px; }
.my-avatar img { width: 70px; height: 70px; border-radius: 50%; object-fit: cover; border: 3px solid rgba(255,255,255,.3); }
.avatar-placeholder { width: 70px; height: 70px; border-radius: 50%; background: rgba(255,255,255,.3); display: flex; align-items: center; justify-content: center; font-size: 28px; color: #fff; }
.my-header h2 { font-size: 20px; }
.my-role { font-size: 13px; opacity: .8; }
.my-stats { display: flex; background: #fff; }
.my-stats .stat-item { flex: 1; text-align: center; padding: 16px; border-right: 1px solid var(--border); color: var(--text); }
.my-stats .stat-item:last-child { border-right: none; }
.my-menu { background: #fff; margin-top: 12px; }
.my-menu-item { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--border); font-size: 15px; color: var(--text); }

/* Rights */
.rights-page { padding: 16px; }
.rights-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.rights-card { background: #fff; border-radius: var(--radius); padding: 20px 16px; text-align: center; box-shadow: var(--shadow); }
.rights-icon { font-size: 28px; margin-bottom: 8px; }
.rights-card h3 { font-size: 14px; color: var(--text-secondary); margin-bottom: 6px; }
.rights-value { font-size: 20px; font-weight: 700; color: var(--primary); }
.rights-card p { font-size: 12px; color: var(--text-light); margin-top: 6px; }

/* Guide */
.guide-page { padding: 16px; }
.guide-hero { text-align: center; padding: 24px; margin-bottom: 20px; }
.guide-hero h2 { font-size: 22px; margin-bottom: 8px; }
.guide-hero p { color: var(--text-secondary); }
.guide-steps { display: flex; flex-direction: column; gap: 16px; }
.guide-step { display: flex; gap: 14px; background: #fff; border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); }
.step-num { width: 36px; height: 36px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 700; flex-shrink: 0; }
.step-content h4 { font-size: 15px; margin-bottom: 6px; }
.step-content p { font-size: 13px; color: var(--text-secondary); margin-bottom: 10px; }

/* Current Image Preview */
.current-image { margin-bottom: 8px; }

/* Responsive */
@media (max-width: 480px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .form-row { flex-direction: column; }
    .card-grid { grid-template-columns: 1fr; }
}

/* ========================================
   商家后台主页（工作台）
   ======================================== */
.seller-dashboard {
    min-height: 100vh;
    background: linear-gradient(180deg, #eef1ff 0%, #f7f8ff 40%, #f5f5f5 100%);
    padding: 16px 16px 90px;
    position: relative;
}

.main-full { padding: 0 !important; }

/* Header */
.sd-header {
    padding-top: 8px;
    margin-bottom: 16px;
}
.sd-header-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}
.sd-store-info {
    display: flex;
    align-items: center;
    gap: 12px;
}
.sd-avatar {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, #6b6bff, #4a4aff);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 4px 12px rgba(75, 75, 255, 0.25);
    flex-shrink: 0;
}
.sd-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 16px;
    object-fit: cover;
}
.sd-avatar svg {
    width: 28px;
    height: 28px;
    color: #fff;
    stroke-width: 2;
}
.sd-vip-badge {
    position: absolute;
    right: -4px;
    bottom: -4px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #5b6cff;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #eef1ff;
}
.sd-store-name h1 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1d3d;
    margin-bottom: 6px;
    line-height: 1.2;
}
.sd-store-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.sd-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #fff;
    color: #5b6cff;
    font-size: 13px;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 500;
    box-shadow: 0 2px 6px rgba(91, 108, 255, 0.12);
}
.sd-link-btn .arrow { font-size: 11px; }
.sd-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: #1a1d3d;
    background: rgba(255,255,255,0.6);
    padding: 4px 10px;
    border-radius: 20px;
}
.sd-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2ecc71;
    box-shadow: 0 0 0 2px rgba(46, 204, 113, 0.2);
}
.sd-settings {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1d3d;
    background: rgba(255,255,255,0.7);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.sd-settings svg { width: 22px; height: 22px; }

/* VIP Card */
.sd-vip-card {
    background: linear-gradient(135deg, #1a1d3d 0%, #2d3263 100%);
    border-radius: 18px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(26, 29, 61, 0.25);
}
.sd-vip-content { position: relative; z-index: 2; }
.sd-vip-title {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffd700;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}
.sd-diamond {
    width: 22px;
    height: 22px;
    color: #6ce0ff;
    fill: rgba(108, 224, 255, 0.15);
}
.sd-vip-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 18px;
    background: rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.8);
    border-radius: 6px;
    font-size: 11px;
    margin-left: 4px;
    font-weight: 500;
}
.sd-vip-meta {
    font-size: 13px;
    color: rgba(255,255,255,0.55);
}
.sd-vip-decoration {
    position: absolute;
    right: -10px;
    bottom: -10px;
    width: 140px;
    height: 90px;
    z-index: 1;
    opacity: 0.9;
}
.sd-vip-decoration svg { width: 100%; height: 100%; }

/* Board */
.sd-board {
    background: #fff;
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.04);
    margin-bottom: 16px;
}
.sd-board-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}
.sd-board-icon {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    background: linear-gradient(135deg, #5b6cff, #8a6cff);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}
.sd-board-icon svg { width: 16px; height: 16px; }
.sd-board-title h2 {
    font-size: 17px;
    font-weight: 700;
    color: #1a1d3d;
}
.sd-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    overflow-x: auto;
    padding-bottom: 4px;
}
.sd-tab {
    flex-shrink: 0;
    padding: 7px 16px;
    border-radius: 20px;
    border: none;
    background: #f5f6ff;
    color: #666;
    font-size: 14px;
    cursor: pointer;
    transition: all .2s;
    font-weight: 500;
}
.sd-tab.active {
    background: linear-gradient(135deg, #5b6cff, #6b7cff);
    color: #fff;
    box-shadow: 0 4px 12px rgba(91, 108, 255, 0.25);
}
.sd-tab-panels {}
.sd-panel { display: none; }
.sd-panel.active { display: block; animation: fadeIn .25s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

.sd-metrics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.sd-metric {
    background: #fafaff;
    border-radius: 14px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
    min-height: 96px;
    color: inherit;
    transition: transform .15s;
}
.sd-metric:active { transform: scale(0.98); }
.sd-metric-label {
    font-size: 13px;
    color: #888;
    display: flex;
    align-items: center;
    gap: 4px;
}
.sd-metric-label .arrow { font-size: 11px; color: #bbb; }
.sd-metric-value {
    font-size: 22px;
    font-weight: 800;
    color: #1a1d3d;
    line-height: 1;
}
.sd-metric-icon {
    position: absolute;
    right: 12px;
    top: 12px;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sd-metric-icon svg { width: 18px; height: 18px; }
.sd-metric-icon.blue { background: #e8eeff; color: #5b6cff; }
.sd-metric-icon.pink { background: #ffe8f0; color: #ff6b9d; }
.sd-metric-icon.gold { background: #fff4e0; color: #ffa02e; }
.sd-metric-icon.purple { background: #f0e8ff; color: #9b6cff; }
.sd-metric-icon.green { background: #e8f9f0; color: #2ecc71; }
.sd-metric-icon.red { background: #ffe8e8; color: #ff5b5b; }
.sd-metric-icon.orange { background: #fff0e0; color: #ff8a2e; }

/* Share */
.sd-share { margin-bottom: 20px; }
.sd-share-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(100deg, #ff8fa3 0%, #ffb8c4 60%, #ffd1d8 100%);
    border-radius: 18px;
    padding: 20px;
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(255, 143, 163, 0.25);
}
.sd-share-text { position: relative; z-index: 2; }
.sd-share-text h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
}
.sd-share-text p {
    font-size: 13px;
    opacity: 0.9;
    margin-bottom: 14px;
}
.sd-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(255,255,255,0.95);
    color: #ff6b8a;
    font-size: 14px;
    font-weight: 600;
    padding: 7px 16px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.sd-share-btn .arrow { font-size: 11px; }
.sd-share-gift {
    width: 110px;
    height: 90px;
    position: relative;
    z-index: 2;
}
.sd-share-gift svg { width: 100%; height: 100%; filter: drop-shadow(0 4px 8px rgba(0,0,0,0.08)); }

/* Tabbar */
.sd-tabbar {
    position: fixed;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 100%;
    max-width: var(--max-width);
    background: #fff;
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    padding: 6px 0 10px;
    box-shadow: 0 -2px 16px rgba(0,0,0,0.06);
    border-top: 1px solid rgba(0,0,0,0.04);
    z-index: 100;
}
.sd-tab-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: #999;
    font-size: 11px;
    padding: 4px 0;
    transition: color .2s;
}
.sd-tab-item svg {
    width: 22px;
    height: 22px;
    stroke-width: 2;
}
.sd-tab-item.active { color: #5b6cff; }
.sd-tab-item.active svg { stroke-width: 2.2; }
.sd-tab-publish {
    position: relative;
    margin-top: -22px;
}
.sd-publish-btn {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: linear-gradient(135deg, #5b6cff, #7a6cff);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(91, 108, 255, 0.35);
    margin-bottom: 2px;
}
.sd-publish-btn svg { width: 26px; height: 26px; stroke-width: 2.5; }

/* 商家主页隐藏默认 footer */
.seller-dashboard ~ .footer { display: none; }

/* 分享店铺弹窗 */
.sd-share-modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: none;
    flex-direction: column;
    justify-content: flex-end;
}
.sd-share-modal.open { display: flex; }
.sd-share-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    transition: opacity .3s ease;
}
.sd-share-modal.open .sd-share-overlay { opacity: 1; }
.sd-share-sheet {
    position: relative;
    background: #fff;
    border-radius: 24px 24px 0 0;
    padding: 20px 16px 34px;
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    transform: translateY(100%);
    transition: transform .3s ease-out;
    box-shadow: 0 -4px 24px rgba(0,0,0,0.12);
}
.sd-share-modal.open .sd-share-sheet { transform: translateY(0); }


.sd-share-sheet-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}
.sd-share-sheet-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a3a;
}
.sd-share-close {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: #f5f6fa;
    color: #666;
    font-size: 24px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.sd-share-poster {
    background: #f8f9fc;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 20px;
}
.sd-share-poster-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: linear-gradient(135deg, #e0e7ff, #f0e8ff);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.sd-share-poster-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.sd-share-poster-placeholder {
    color: #a0a8c0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sd-share-poster-placeholder svg { width: 48px; height: 48px; }
.sd-share-poster-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
}
.sd-share-poster-text h4 {
    font-size: 17px;
    font-weight: 700;
    color: #1a1a3a;
    margin-bottom: 6px;
}
.sd-share-poster-text p {
    font-size: 14px;
    color: #999;
}
.sd-share-poster-qr {
    width: 72px;
    height: 72px;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    flex-shrink: 0;
}
.sd-share-poster-qr img { width: 100%; height: 100%; }
.sd-share-actions {
    display: flex;
    justify-content: space-around;
    padding: 0 10px;
}
.sd-share-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    color: #1a1a3a;
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
}
.sd-share-action-icon {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sd-share-action-icon.orange { background: #fff4e8; color: #ff8a2e; }
.sd-share-action-icon.blue { background: #e8eeff; color: #5b6cff; }
.sd-share-action-icon svg { width: 26px; height: 26px; }

/* 店铺码海报预览 */
.sd-poster-modal {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0,0,0,0.9);
}
.sd-poster-modal.open { display: flex; }
.sd-poster-overlay { position: absolute; inset: 0; }
.sd-poster-wrap {
    position: relative;
    width: 100%;
    max-width: 360px;
}
.sd-poster-tip {
    color: #fff;
    font-size: 14px;
    text-align: center;
    margin-bottom: 16px;
    line-height: 1.5;
}
.sd-poster-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}
.sd-poster-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: linear-gradient(135deg, #e0e7ff, #f0e8ff);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.sd-poster-img img { width: 100%; height: 100%; object-fit: cover; }
.sd-poster-placeholder {
    color: #a0a8c0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sd-poster-placeholder svg { width: 56px; height: 56px; }
.sd-poster-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px;
}
.sd-poster-text h4 {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a3a;
    margin-bottom: 6px;
}
.sd-poster-text p {
    font-size: 15px;
    color: #999;
}
.sd-poster-qr {
    width: 84px;
    height: 84px;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    flex-shrink: 0;
}
.sd-poster-qr img { width: 100%; height: 100%; }

/* 产品列表页 */
.pl-page { padding: 16px 16px 90px; }
.pl-page ~ .footer { display: none; }

/* 顶部统计卡片 */
.pl-stats-card {
    background: linear-gradient(135deg, #1e2030 0%, #2a2d45 100%);
    border-radius: 20px;
    padding: 18px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff;
    box-shadow: 0 8px 24px rgba(30,32,48,0.25);
    margin-bottom: 18px;
}
.pl-stat-item { flex: 1; text-align: center; text-decoration: none; color: #fff; }
.pl-stat-value {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 4px;
}
.pl-stat-value.gold { color: #ffd95b; }
.pl-stat-label {
    font-size: 12px;
    color: rgba(255,255,255,0.7);
}
.pl-stat-label .arrow { font-size: 10px; margin-left: 2px; }
.pl-stat-divider { width: 1px; height: 32px; background: rgba(255,255,255,0.12); }

/* 快捷入口 */
.pl-quick-actions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 18px;
}
.pl-quick-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #1a1a3a;
    font-size: 12px;
}
.pl-quick-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pl-quick-icon svg { width: 26px; height: 26px; }
.pl-quick-icon.blue { background: #e8f4ff; color: #4a9eff; }
.pl-quick-icon.purple { background: #f0e8ff; color: #9b6cff; }
.pl-quick-icon.green { background: #e8f9f0; color: #2ecc71; }
.pl-quick-icon.orange { background: #fff4e8; color: #ff8a2e; }

/* 搜索栏 */
.pl-search-section { margin-bottom: 14px; }
.pl-search-box {
    display: flex;
    align-items: center;
    background: #f2f3f7;
    border-radius: 24px;
    padding: 0 16px;
    height: 46px;
}
.pl-search-icon {
    width: 18px;
    height: 18px;
    color: #999;
    margin-right: 10px;
    flex-shrink: 0;
}
.pl-search-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 14px;
    color: #333;
    outline: none;
}
.pl-search-input::placeholder { color: #aaa; }

/* 标签栏 */
.pl-tabs-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}
.pl-tabs { display: flex; gap: 18px; }
.pl-tab {
    font-size: 16px;
    color: #999;
    text-decoration: none;
    padding-bottom: 6px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 5px;
}
.pl-tab.active { color: #1a1a3a; font-weight: 700; }
.pl-tab.active::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: #5b6cff;
    border-radius: 2px;
}
.pl-tab-count {
    font-size: 13px;
    color: #999;
    font-weight: 500;
}
.pl-tab.active .pl-tab-count { color: #5b6cff; }
.pl-filter { position: relative; }
.pl-filter-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    background: #f2f3f7;
    border: none;
    border-radius: 18px;
    padding: 7px 14px;
    font-size: 14px;
    color: #666;
    cursor: pointer;
}
.pl-filter-btn svg { width: 14px; height: 14px; }

/* 综合筛选弹窗 */
.pl-filter-modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: none;
    flex-direction: column;
    justify-content: flex-end;
}
.pl-filter-modal.open { display: flex; }
.pl-filter-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    transition: opacity .3s ease;
}
.pl-filter-modal.open .pl-filter-overlay { opacity: 1; }
.pl-filter-sheet {
    position: relative;
    background: #fff;
    border-radius: 24px 24px 0 0;
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    max-height: 82vh;
    display: flex;
    flex-direction: column;
    transform: translateY(100%);
    transition: transform .3s ease-out;
    box-shadow: 0 -4px 24px rgba(0,0,0,0.12);
}
.pl-filter-modal.open .pl-filter-sheet { transform: translateY(0); }
.pl-filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px 14px;
    border-bottom: 1px solid #f2f3f7;
    flex-shrink: 0;
}
.pl-filter-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a3a;
}
.pl-filter-close {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: #f5f6fa;
    color: #666;
    font-size: 26px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.pl-filter-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 20px;
}
.pl-filter-group { margin-bottom: 22px; }
.pl-filter-group:last-child { margin-bottom: 0; }
.pl-filter-title {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a3a;
    margin-bottom: 14px;
}
.pl-filter-tip {
    font-size: 13px;
    color: #999;
    font-weight: 500;
    margin-left: 6px;
}
.pl-filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.pl-filter-option-radio,
.pl-filter-option-checkbox {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 22px;
    background: #f5f6fa;
    color: #666;
    font-size: 14px;
    cursor: pointer;
    transition: all .2s;
    border: 1px solid transparent;
    user-select: none;
}
.pl-filter-option-radio input,
.pl-filter-option-checkbox input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
.pl-filter-option-radio.active,
.pl-filter-option-checkbox.active {
    background: #5b6cff;
    color: #fff;
    box-shadow: 0 4px 12px rgba(91,108,255,0.25);
}
.pl-filter-footer {
    display: flex;
    gap: 12px;
    padding: 14px 20px 30px;
    border-top: 1px solid #f2f3f7;
    flex-shrink: 0;
}
.pl-filter-reset,
.pl-filter-submit {
    flex: 1;
    height: 46px;
    border-radius: 24px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    cursor: pointer;
}
.pl-filter-reset {
    background: #f5f6fa;
    color: #1a1a3a;
}
.pl-filter-submit {
    background: linear-gradient(90deg, #5b6cff, #7a6cff);
    color: #fff;
    box-shadow: 0 4px 12px rgba(91,108,255,0.25);
}

/* 产品列表 */
.pl-product-list { display: flex; flex-direction: column; gap: 14px; }
.pl-empty {
    text-align: center;
    padding: 60px 20px;
    color: #999;
    font-size: 14px;
}
.pl-empty a { color: #5b6cff; }

.pl-card {
    background: #fff;
    border-radius: 18px;
    padding: 14px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.pl-card-main { display: flex; gap: 12px; margin-bottom: 12px; }
.pl-card-cover {
    width: 86px;
    height: 86px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f2f3f7;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pl-card-cover img { width: 100%; height: 100%; object-fit: cover; }
.pl-card-noimg {
    font-size: 12px;
    color: #999;
}
.pl-card-info { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; }
.pl-card-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 6px;
}
.pl-card-title {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a3a;
    line-height: 1.4;
    flex: 1;
}
.pl-sched-badge {
    flex-shrink: 0;
    font-size: 11px;
    font-weight: 600;
    color: #07c160;
    background: #e8f9f0;
    padding: 2px 7px;
    border-radius: 10px;
    white-space: nowrap;
    margin-top: 2px;
}
.pl-card-price-unit {
    font-size: 12px;
    font-weight: 400;
    color: #999;
    margin-left: 2px;
}
.pl-delete-form { line-height: 1; }
.pl-card-delete {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: none;
    background: #f2f3f7;
    color: #999;
    font-size: 18px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.pl-card-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.pl-card-price {
    font-size: 20px;
    font-weight: 700;
    color: #ff5b5b;
}
.pl-status-form { line-height: 1; }
.pl-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f2f3f7;
    border: none;
    border-radius: 20px;
    padding: 4px 4px 4px 10px;
    font-size: 12px;
    color: #999;
    cursor: pointer;
}
.pl-toggle.on { background: #e8eeff; color: #5b6cff; }
.pl-toggle i {
    width: 22px;
    height: 14px;
    border-radius: 7px;
    background: #ccc;
    position: relative;
    transition: background .2s;
}
.pl-toggle i::after {
    content: '';
    position: absolute;
    left: 2px;
    top: 2px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #fff;
    transition: transform .2s;
}
.pl-toggle.on i { background: #5b6cff; }
.pl-toggle.on i::after { transform: translateX(8px); }

/* 卡片统计 */
.pl-card-stats {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-top: 1px solid #f2f3f7;
    border-bottom: 1px solid #f2f3f7;
    margin-bottom: 12px;
}
.pl-card-stat {
    flex: 1;
    text-align: center;
    font-size: 13px;
    color: #666;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.pl-card-stat + .pl-card-stat { border-left: 1px solid #f2f3f7; }
.pl-stat-item {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}
.pl-stat-num { font-weight: 700; color: #1a1a3a; font-size: 13px; }
.pl-stat-num.blue { color: #5b6cff; }
.pl-stat-num.orange { color: #ff8a2e; }
.pl-stat-text { color: #999; font-size: 13px; }
.pl-stat-text.orange { color: #ff8a2e; }

/* 卡片操作按钮 */
.pl-card-actions {
    display: flex;
    gap: 10px;
}
.pl-action-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    height: 38px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid #ebedf0;
    background: #fff;
    color: #1a1a3a;
}
.pl-action-btn.outline { color: #1a1a3a; }
.pl-action-btn.orange { color: #ff8a2e; border-color: #ffefe0; background: #ffefe0; }
.pl-action-btn.primary {
    flex: 1.4;
    background: linear-gradient(90deg, #5b6cff, #7a6cff);
    color: #fff;
    border: none;
    box-shadow: 0 4px 12px rgba(91,108,255,0.25);
}
.pl-action-btn svg { width: 16px; height: 16px; }

/* ========================================
   订单列表页（手机端）
   ======================================== */
.ol-page { padding: 16px 16px 90px; }
.ol-page ~ .footer { display: none; }

/* 搜索栏 */
.ol-search-bar { margin-bottom: 16px; }
.ol-search-wrap {
    display: flex;
    align-items: center;
    background: #f5f6fa;
    border-radius: 24px;
    padding: 0 16px;
    height: 44px;
    position: relative;
}
.ol-search-icon { width: 18px; height: 18px; color: #999; flex-shrink: 0; margin-right: 8px; }
.ol-search-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 15px;
    color: #1a1a3a;
    outline: none;
}
.ol-search-input::placeholder { color: #bbb; }
.ol-search-clear {
    width: 22px; height: 22px;
    border-radius: 50%;
    border: none;
    background: #ddd;
    color: #fff;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-left: 8px;
}

/* 状态标签 */
.ol-tabs {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 18px;
    border-bottom: 1px solid #f0f0f0;
}
.ol-tabs-inner {
    display: flex;
    gap: 20px;
    flex: 1;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 4px 0 10px;
}
.ol-tab {
    flex: none;
    text-align: center;
    padding: 6px 0;
    font-size: 15px;
    font-weight: 600;
    color: #666;
    text-decoration: none;
    transition: all .2s;
    white-space: nowrap;
    position: relative;
}
.ol-tab.active {
    color: #5b6cff;
    background: none;
    box-shadow: none;
}
.ol-tab.active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -10px;
    height: 3px;
    background: #5b6cff;
    border-radius: 2px;
}
.ol-tab-count {
    font-weight: 400;
    font-size: 13px;
    color: #999;
    margin-left: 4px;
}
.ol-tab.active .ol-tab-count { color: #5b6cff; }
.ol-filter-btn {
    flex: none;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    background: #f5f6fa;
    border: 1px solid #ebedf0;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 500;
    color: #1a1a3a;
    margin-left: 12px;
    cursor: pointer;
    margin-bottom: 10px;
}
.ol-filter-btn svg { width: 14px; height: 14px; }

/* 筛选弹窗 */
.ol-filter-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: flex-end;
    justify-content: center;
}
.ol-filter-modal.show { display: flex; }
.ol-filter-mask {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    opacity: 0;
    transition: opacity .3s;
}
.ol-filter-modal.show .ol-filter-mask { opacity: 1; }
.ol-filter-panel {
    position: relative;
    width: 100%;
    max-height: 85vh;
    background: #fff;
    border-radius: 24px 24px 0 0;
    display: flex;
    flex-direction: column;
    transform: translateY(100%);
    transition: transform .3s ease-out;
}
.ol-filter-modal.show .ol-filter-panel { transform: translateY(0); }
.ol-filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px 12px;
    border-bottom: 1px solid #f2f3f7;
}
.ol-filter-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #1a1a3a;
}
.ol-filter-close {
    width: 32px;
    height: 32px;
    border: none;
    background: #f5f6fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #666;
}
.ol-filter-close svg { width: 18px; height: 18px; }
.ol-filter-body {
    flex: 1;
    overflow-y: auto;
    padding: 10px 20px 20px;
    -webkit-overflow-scrolling: touch;
}
.ol-filter-section { margin-top: 20px; }
.ol-filter-section h4 {
    margin: 0 0 12px;
    font-size: 15px;
    font-weight: 700;
    color: #1a1a3a;
}
.ol-filter-input,
.ol-filter-date {
    width: 100%;
    height: 44px;
    border: none;
    background: #f5f6fa;
    border-radius: 10px;
    padding: 0 14px;
    font-size: 14px;
    color: #1a1a3a;
    outline: none;
}
.ol-filter-input::placeholder,
.ol-filter-date::placeholder { color: #bbb; }
.ol-filter-range {
    display: flex;
    align-items: center;
    gap: 10px;
}
.ol-filter-range input { flex: 1; text-align: center; }
.ol-filter-range span { color: #999; font-size: 14px; }
.ol-filter-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.ol-filter-option {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    border-radius: 10px;
    background: #f5f6fa;
    color: #666;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all .2s;
}
.ol-filter-option input { display: none; }
.ol-filter-option.active {
    background: linear-gradient(90deg, #5b6cff, #7a6cff);
    color: #fff;
    box-shadow: 0 4px 12px rgba(91,108,255,0.2);
}
.ol-filter-footer {
    display: flex;
    gap: 12px;
    padding: 12px 20px 24px;
    border-top: 1px solid #f2f3f7;
    background: #fff;
}
.ol-filter-btn-reset,
.ol-filter-btn-submit {
    flex: 1;
    height: 46px;
    border-radius: 24px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border: none;
}
.ol-filter-btn-reset {
    background: #f5f6fa;
    color: #1a1a3a;
    border: 1px solid #ebedf0;
}
.ol-filter-btn-submit {
    background: linear-gradient(90deg, #5b6cff, #7a6cff);
    color: #fff;
    box-shadow: 0 4px 12px rgba(91,108,255,0.2);
}

/* 订单详情弹窗 */
.ol-detail-modal {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: none;
    align-items: flex-end;
    justify-content: center;
}
.ol-detail-modal.show { display: flex; }
.ol-detail-mask {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    opacity: 0;
    transition: opacity .3s;
}
.ol-detail-modal.show .ol-detail-mask { opacity: 1; }
.ol-detail-panel {
    position: relative;
    width: 100%;
    max-height: 90vh;
    background: #fff;
    border-radius: 24px 24px 0 0;
    display: flex;
    flex-direction: column;
    transform: translateY(100%);
    transition: transform .3s ease-out;
    overflow: hidden;
}
.ol-detail-modal.show .ol-detail-panel { transform: translateY(0); }
.ol-detail-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px 14px;
    border-bottom: 1px solid #f2f3f7;
}
.ol-detail-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
    color: #1a1a3a;
}
.ol-detail-close {
    width: 34px;
    height: 34px;
    border: none;
    background: #f5f6fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #666;
}
.ol-detail-close svg { width: 20px; height: 20px; }
.ol-detail-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 20px 24px;
    -webkit-overflow-scrolling: touch;
    background: #f8f9fc;
}
.ol-detail-loading {
    text-align: center;
    padding: 40px 0;
    color: #999;
    font-size: 14px;
}
.ol-detail-status {
    margin-bottom: 16px;
}
.ol-detail-status-text {
    display: inline-block;
    padding: 10px 16px;
    border-radius: 14px;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(90deg, #ff7a45, #ff9a6b);
}
.ol-detail-status-text.status-pending { background: #ffc107; color: #333; }
.ol-detail-status-text.status-paid { background: linear-gradient(90deg, #ff7a45, #ff9a6b); }
.ol-detail-status-text.status-confirmed { background: linear-gradient(90deg, #52c41a, #73d13d); }
.ol-detail-status-text.status-completed { background: linear-gradient(90deg, #52c41a, #73d13d); }
.ol-detail-status-text.status-cancelled { background: #999; }
.ol-detail-info {
    background: #fff;
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 12px;
}
.ol-detail-info-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
}
.ol-detail-info-label { color: #999; }
.ol-detail-info-value { color: #1a1a3a; font-weight: 500; text-align: right; }
.ol-detail-product {
    background: #fff;
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 12px;
}
.ol-detail-product-title {
    font-size: 17px;
    font-weight: 700;
    color: #1a1a3a;
    line-height: 1.5;
    margin-bottom: 12px;
}
.ol-detail-product-meta {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: #666;
}
.ol-detail-product-meta span { display: flex; align-items: center; gap: 6px; }
.ol-detail-product-meta svg { width: 16px; height: 16px; color: #5b6cff; }
.ol-detail-price-section {
    background: #fff;
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 12px;
}
.ol-detail-price-section h4 {
    margin: 0 0 12px;
    font-size: 16px;
    font-weight: 700;
    color: #1a1a3a;
}
.ol-detail-price-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
    color: #666;
    border-bottom: 1px dashed #f0f0f0;
}
.ol-detail-price-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
    font-size: 16px;
    font-weight: 700;
    color: #1a1a3a;
}
.ol-detail-price-num { color: #ff4d4f; font-size: 20px; }
.ol-detail-contact-card,
.ol-detail-tourist-card {
    background: #fff8f5;
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 12px;
}
.ol-detail-contact-title,
.ol-detail-tourist-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 700;
    color: #ff7a45;
    margin-bottom: 12px;
}
.ol-detail-contact-title svg,
.ol-detail-tourist-title svg { width: 20px; height: 20px; }
.ol-detail-contact-row,
.ol-detail-tourist-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 15px;
}
.ol-detail-contact-label { color: #999; width: 60px; }
.ol-detail-contact-value { color: #1a1a3a; font-weight: 500; flex: 1; }
.ol-detail-copy {
    margin-left: 10px;
    padding: 4px 10px;
    border: 1px solid #ffccc7;
    background: #fff;
    color: #ff4d4f;
    border-radius: 10px;
    font-size: 12px;
    cursor: pointer;
}
.ol-detail-tourist-title { color: #52c41a; }
.ol-detail-tourist-row { color: #666; }
.ol-detail-remark {
    background: #fff;
    border-radius: 16px;
    padding: 16px;
}
.ol-detail-remark h4 { margin: 0 0 8px; font-size: 16px; color: #1a1a3a; }
.ol-detail-remark p { margin: 0; color: #666; font-size: 14px; line-height: 1.6; }

.ol-empty {
    text-align: center;
    padding: 80px 20px;
    color: #bbb;
}
.ol-empty svg { margin-bottom: 16px; }
.ol-empty p { font-size: 15px; }

/* 订单列表 */
.ol-list { display: flex; flex-direction: column; gap: 14px; }

/* 订单卡片 */
.ol-card {
    background: #fff;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

/* 卡片顶部：封面 + 信息 */
.ol-card-top {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}
.ol-card-cover {
    width: 72px;
    height: 72px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f5f6fa;
    display: block;
}
.ol-card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ol-cover-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f6fa;
}
.ol-cover-placeholder svg { width: 28px; height: 28px; }
.ol-card-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
}
.ol-card-title {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a3a;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}
.ol-card-date {
    font-size: 13px;
    color: #666;
}
.ol-card-counts {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: #999;
}

/* 价格行 */
.ol-card-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-top: 1px solid #f2f3f7;
    margin-bottom: 10px;
}
.ol-card-price {
    display: flex;
    align-items: baseline;
}
.ol-price-yuan {
    font-size: 14px;
    font-weight: 700;
    color: #ff5b5b;
}
.ol-price-num {
    font-size: 24px;
    font-weight: 800;
    color: #ff5b5b;
    line-height: 1;
}
.ol-status-tag {
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 4px;
    background: #f5f6fa;
    color: #999;
}
.ol-status-tag.ol-status-warn {
    background: #fff3e0;
    color: #ff8a2e;
}
.ol-status-tag.ol-status-ok {
    background: #e8f5e9;
    color: #4caf50;
}
.ol-status-tag.ol-status-cancel {
    background: #f5f5f5;
    color: #bbb;
}

/* 订单详情行 */
.ol-card-detail {
    margin-bottom: 14px;
}
.ol-detail-row {
    display: flex;
    align-items: center;
    padding: 6px 0;
    font-size: 13px;
}
.ol-detail-label {
    color: #999;
    flex-shrink: 0;
    width: 52px;
}
.ol-detail-value {
    color: #333;
    word-break: break-all;
}

/* 操作按钮 */
.ol-card-actions {
    display: flex;
    gap: 10px;
    padding-top: 12px;
    border-top: 1px solid #f2f3f7;
}
.ol-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: opacity .2s;
}
.ol-btn:hover { opacity: 0.85; }
.ol-btn-outline {
    background: #f5f6fa;
    color: #1a1a3a;
    border: 1px solid #ebedf0;
}
.ol-btn-primary {
    background: linear-gradient(90deg, #5b6cff, #7a6cff);
    color: #fff;
    box-shadow: 0 4px 12px rgba(91,108,255,0.2);
}
.ol-btn-primary:disabled { background: #ccc; box-shadow: none; cursor: not-allowed; }
.ol-btn-danger {
    background: #fff0f0;
    color: #ff4d4f;
    border: 1px solid #ffccc7;
}
.ol-btn-danger:disabled { background: #f5f5f5; color: #bbb; border-color: #e8e8e8; cursor: not-allowed; }
.ol-form-inline { display: flex; flex: 1; }

/* 分页 */
.ol-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 20px 0 10px;
}
.ol-page-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #f5f6fa;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all .2s;
}
.ol-page-btn.active {
    background: #5b6cff;
    color: #fff;
}

/* ========================================
   店铺首页 V2（移动端旅游风）
   ======================================== */
.shop-page-v2 {
    min-height: 100vh;
    background: #f5f7fa;
    padding-bottom: 70px;
    position: relative;
}

/* 顶部搜索栏 */
.sp2-header {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.05) 100%);
}
.sp2-search-bar {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: rgba(255,255,255,0.95);
    border-radius: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.sp2-search-icon {
    width: 18px;
    height: 18px;
    color: #999;
    flex-shrink: 0;
}
.sp2-search-input {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    font-size: 14px;
    color: #333;
    min-width: 0;
}
.sp2-search-input::placeholder {
    color: #999;
}
.sp2-search-btn {
    flex-shrink: 0;
    padding: 9px 16px;
    background: #07c160;
    color: #fff;
    border: none;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(7, 193, 96, 0.25);
}
.sp2-switch-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
    background: rgba(255,255,255,0.95);
    border: none;
    border-radius: 20px;
    font-size: 13px;
    color: #333;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    cursor: pointer;
    flex-shrink: 0;
}
.sp2-magic-icon {
    width: 14px;
    height: 14px;
    color: #07c160;
}

/* Banner */
.sp2-banner-wrap {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    margin-top: -56px;
}
.sp2-banner {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.sp2-banner-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #c2b9a8 0%, #d7cbb8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
}
.sp2-banner-placeholder svg {
    width: 60px;
    height: 60px;
}

/* 主体内容 */
.sp2-body {
    position: relative;
    z-index: 2;
    margin-top: -24px;
    padding: 20px 16px 24px;
    background: #f5f7fa;
    border-radius: 24px 24px 0 0;
}

/* 定制卡片 */
.sp2-custom-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    background: linear-gradient(90deg, #52c41a, #73d13d);
    border-radius: 18px;
    color: #fff;
    text-decoration: none;
    margin-bottom: 14px;
    box-shadow: 0 6px 18px rgba(82,196,26,0.2);
}
.sp2-custom-title {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 6px;
}
.sp2-custom-badge {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    padding: 2px 8px;
    background: rgba(255,255,255,0.25);
    border-radius: 10px;
    margin-left: 4px;
    vertical-align: middle;
}
.sp2-custom-sub {
    font-size: 14px;
    opacity: 0.95;
}
.sp2-custom-arrow {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
}
.sp2-custom-arrow svg {
    width: 20px;
    height: 20px;
}

/* 滚动通知 */
.sp2-ticker {
    overflow: hidden;
    height: 28px;
    margin-bottom: 18px;
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.sp2-ticker-track {
    display: inline-flex;
    gap: 24px;
    white-space: nowrap;
    animation: tickerScroll 16s linear infinite;
    font-size: 13px;
    line-height: 28px;
    color: #666;
}
.sp2-ticker-name {
    color: #07c160;
    font-weight: 600;
    margin-right: 6px;
}
.sp2-ticker-user {
    color: #999;
}
@keyframes tickerScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}



/* 分类入口 */
.sp2-category-bar {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 24px;
}
.sp2-category-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}
.sp2-category-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.sp2-category-icon svg {
    width: 28px;
    height: 28px;
    color: #fff;
}
.sp2-cat-1 { background: linear-gradient(135deg, #a78bfa, #8b5cf6); }
.sp2-cat-2 { background: linear-gradient(135deg, #4ade80, #22c55e); }
.sp2-cat-3 { background: linear-gradient(135deg, #60a5fa, #3b82f6); }
.sp2-cat-4 { background: linear-gradient(135deg, #f472b6, #ec4899); }
.sp2-category-name {
    font-size: 13px;
    color: #333;
    font-weight: 500;
}

/* 热门精选 */
.sp2-section {
    background: #fff;
    border-radius: 20px;
    padding: 18px 14px 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}
.sp2-section-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 18px;
}
.sp2-section-title {
    font-size: 36px;
    font-weight: 900;
    color: #0d0d2b;
    letter-spacing: -1px;
    line-height: 1.1;
}
.sp2-section-count {
    font-size: 14px;
    color: #999;
}

/* 筛选标签 */
.sp2-filter-wrap {
    overflow-x: auto;
    margin: 0 -14px 16px;
    padding: 0 14px;
    -webkit-overflow-scrolling: touch;
}
.sp2-filter-wrap::-webkit-scrollbar { display: none; }
.sp2-filter-tabs {
    display: inline-flex;
    gap: 10px;
    white-space: nowrap;
}
.sp2-filter-tab {
    padding: 9px 20px;
    border-radius: 999px;
    border: none;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    font-size: 14px;
    font-weight: 500;
    color: #1a1a3a;
    text-decoration: none;
    cursor: pointer;
    transition: all .2s;
    -webkit-tap-highlight-color: transparent;
    flex-shrink: 0;
}
.sp2-filter-tab:active { transform: scale(0.96); }
.sp2-filter-tab.active {
    background: #2bb673;
    color: #fff;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(43,182,115,0.3);
}

/* 产品网格 */
.sp2-product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}
.sp2-product-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    /* 阴影带品牌色 tint，避免纯黑投影（taste-skill §4.4） */
    box-shadow: 0 4px 14px rgba(26, 26, 58, 0.07);
    display: flex;
    flex-direction: column;
    transition: transform .25s ease, box-shadow .25s ease;
    animation: sp2-card-in .5s ease both;
    will-change: transform;
}
.sp2-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 26px rgba(26, 26, 58, 0.13);
}
.sp2-product-card:active {
    transform: scale(0.985);
}
.sp2-product-cover {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f0f0f0;
}
.sp2-product-cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.sp2-product-card:hover .sp2-product-cover img {
    transform: scale(1.05);
}
/* PDF 行程文档封面：完整显示第一页，不裁剪 */
.sp2-product-cover--pdf {
    background: #fff;
    aspect-ratio: auto;
}
.sp2-product-cover--pdf img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: initial;
    transform: none;
}
.sp2-product-noimg {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: 13px;
}
/* 标签徽章：与页面唯一绿色 accent 一致（taste-skill §4.2 Color Consistency Lock） */
.sp2-product-badge {
    position: absolute;
    top: 0;
    left: 0;
    padding: 5px 10px 5px 9px;
    background: linear-gradient(135deg, #2bb673, #25a063);
    color: #fff;
    font-size: 11px;
    border-radius: 0 0 12px 0;
    font-weight: 700;
    line-height: 1.2;
    max-width: 70%;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.sp2-product-location {
    position: absolute;
    left: 8px;
    bottom: 8px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 4px 9px;
    background: rgba(13, 13, 43, 0.5);
    backdrop-filter: blur(4px);
    color: #fff;
    font-size: 12px;
    border-radius: 12px;
    font-weight: 500;
}
.sp2-product-location svg {
    width: 12px;
    height: 12px;
}
.sp2-product-info {
    padding: 11px 12px 13px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.sp2-product-title {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a3a;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 10px;
    min-height: 40px;
}
.sp2-product-bottom {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.sp2-product-price {
    display: flex;
    align-items: baseline;
    gap: 1px;
}
/* 价格使用页面唯一绿色 accent */
.sp2-price-symbol {
    font-size: 12px;
    color: #2bb673;
    font-weight: 700;
}
.sp2-price-num {
    font-size: 20px;
    color: #2bb673;
    font-weight: 800;
}
.sp2-price-inquiry {
    font-size: 20px;
    color: #2bb673;
    font-weight: 800;
}
.sp2-price-unit {
    font-size: 12px;
    color: #999;
    margin-left: 2px;
}
.sp2-product-likes {
    display: flex;
    align-items: center;
    gap: 3px;
    color: #999;
    font-size: 12px;
}
.sp2-product-likes svg {
    width: 15px;
    height: 15px;
    fill: none;
}
@keyframes sp2-card-in {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
    .sp2-product-card { animation: none; transition: none; transform: none; }
    .sp2-product-cover img { transition: none; }
}
.sp2-empty {
    text-align: center;
    padding: 60px 20px;
    color: #999;
    font-size: 14px;
}

/* 底部固定导航 */
.sp2-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 400px;
    height: 70px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0;
    background: #fff;
    border-top: 1px solid #f0f0f0;
    box-shadow: 0 -2px 12px rgba(0,0,0,0.05);
    z-index: 200;
}
.sp2-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    text-decoration: none;
    color: #999;
    font-size: 10px;
    min-width: 50px;
}
.sp2-nav-item.active {
    color: #07c160;
}
.sp2-nav-item svg {
    width: 18px;
    height: 18px;
}
.sp2-nav-center {
    position: relative;
    top: -12px;
}
.sp2-nav-center-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, #07c160, #05a350);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(7,193,96,0.35);
    color: #fff;
}
.sp2-nav-center-btn svg {
    width: 22px;
    height: 22px;
}
.sp2-nav-center span {
    color: #07c160;
    font-weight: 600;
}

/* 隐藏默认 header/footer 后的调整 */
.main-full { padding: 0 !important; }

/* ========================================
   产品详情页（旅游风格）
   ======================================== */
.pdt-page { padding-bottom: 80px; background: #f5f5f5; min-height: 100vh; position: relative; }
.pdt-page ~ .footer { display: none; }

/* 顶部悬浮栏 */
.pdt-top-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0) 100%);
}
.pdt-top-actions { display: flex; gap: 10px; }
.pdt-top-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.pdt-top-btn svg { width: 20px; height: 20px; }

/* 大图 Banner */
.pdt-hero {
    position: relative;
    width: 100%;
    height: 520px;
    overflow: hidden;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}
.pdt-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.pdt-hero-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
}
.pdt-hero-placeholder svg { width: 80px; height: 80px; }
.pdt-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.45) 60%, rgba(0,0,0,0.7) 100%);
    display: flex;
    align-items: flex-end;
    padding: 90px 20px 110px;
}
.pdt-hero-main { width: 100%; color: #fff; }
.pdt-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: linear-gradient(90deg, #ff6b6b, #ff8e53);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.pdt-hero-title {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 8px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.pdt-hero-subtitle {
    font-size: 15px;
    opacity: 0.95;
    margin-bottom: 8px;
    line-height: 1.5;
}
.pdt-hero-route {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(4px);
    padding: 5px 12px;
    border-radius: 20px;
    margin-top: 8px;
}
.pdt-hero-route svg { width: 14px; height: 14px; }

/* 左下角浮层标签 */
.pdt-hero-tags {
    position: absolute;
    left: 16px;
    bottom: 70px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 10;
}
.pdt-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 20px;
    font-size: 12px;
    color: #fff;
    font-weight: 500;
    backdrop-filter: blur(6px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}
.pdt-hero-tag.blue { background: linear-gradient(90deg, #3b82f6, #60a5fa); }
.pdt-hero-tag.gold { background: linear-gradient(90deg, #d97706, #f59e0b); }
.pdt-hero-tag-num { font-size: 16px; font-weight: 800; }
.pdt-hero-tag-divider {
    width: 1px;
    height: 12px;
    background: rgba(255,255,255,0.5);
}

/* 主体内容 */
.pdt-body {
    position: relative;
    z-index: 20;
    margin-top: -40px;
    background: #f5f5f5;
    border-radius: 24px 24px 0 0;
    padding: 20px 16px 24px;
    min-height: 300px;
}

/* 评分卡片 */
.pdt-rating-card {
    background: #fff;
    border-radius: 16px;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    margin-bottom: 16px;
}
.pdt-rating-left { text-align: center; }
.pdt-rating-score {
    font-size: 34px;
    font-weight: 800;
    color: #07c160;
    line-height: 1;
}
.pdt-rating-label {
    font-size: 15px;
    font-weight: 700;
    color: #333;
    margin-top: 4px;
}
.pdt-rating-count {
    font-size: 12px;
    color: #999;
    margin-top: 2px;
}
.pdt-rating-mid {
    flex: 1;
    font-size: 13px;
    color: #999;
    line-height: 1.5;
}
.pdt-rating-right {
    display: flex;
    align-items: center;
    gap: 2px;
    font-size: 14px;
    color: #666;
    text-decoration: none;
}
.pdt-rating-right svg { width: 16px; height: 16px; }

/* 产品卖点 */
.pdt-highlights {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}
.pdt-highlight-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    background: #fff;
    border-radius: 12px;
    padding: 12px 6px;
    font-size: 12px;
    color: #555;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.pdt-highlight-item svg { width: 22px; height: 22px; color: #07c160; }

/* Tab 栏 */
.pdt-tabs-bar {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    justify-content: space-around;
    border-bottom: 1px solid #ebedf0;
    background: #fff;
    margin: 0 -16px 16px;
    padding: 0 16px;
}
.pdt-tab {
    flex: 1;
    text-align: center;
    position: relative;
    padding: 12px 0;
    font-size: 15px;
    color: #999;
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 500;
}
.pdt-tab.active { color: #333; font-weight: 700; }
.pdt-tab.active::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 24px;
    height: 3px;
    background: #07c160;
    border-radius: 2px;
}

/* Tab 内容 */
.pdt-tab-content { margin-bottom: 20px; }
.pdt-panel { display: none; }
.pdt-panel.active { display: block; animation: fadeIn .25s ease; }
.pdt-content {
    background: #fff;
    border-radius: 16px;
    padding: 18px;
    font-size: 14px;
    line-height: 1.8;
    color: #555;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    white-space: pre-wrap;
}

/* 评价列表 */
.pdt-review-list { display: flex; flex-direction: column; gap: 12px; }

.pdt-review-item {
    background: #fff;
    border-radius: 14px;
    padding: 14px 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.pdt-review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 14px;
}
.pdt-review-user { font-weight: 500; color: #333; }
.pdt-review-stars { font-size: 12px; }
.pdt-review-text { font-size: 14px; color: #555; line-height: 1.6; }

/* 班期预览 */
.pdt-schedule-preview {
    background: #fff;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    margin-bottom: 20px;
}
.pdt-schedule-title {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
}
.pdt-schedule-list {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
}
.pdt-schedule-chip {
    flex: 0 0 auto;
    min-width: 90px;
    border: 1px solid #ebedf0;
    border-radius: 12px;
    padding: 10px 12px;
    text-align: center;
    cursor: pointer;
    transition: all .2s;
}
.pdt-schedule-chip:active { transform: scale(0.96); }
.pdt-schedule-date { font-size: 13px; color: #333; font-weight: 500; }
.pdt-schedule-price { font-size: 16px; color: #ff4d4f; font-weight: 700; margin: 4px 0; }
.pdt-schedule-stock { font-size: 11px; color: #999; }

/* 底部预订栏 */
.pdt-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 400px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px 8px 16px;
    background: #fff;
    border-top: 1px solid #f0f0f0;
    box-shadow: 0 -2px 12px rgba(0,0,0,0.05);
    z-index: 200;
}
.pdt-bottom-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    background: none;
    border: none;
    color: #999;
    font-size: 11px;
    text-decoration: none;
    min-width: 40px;
    cursor: pointer;
}
.pdt-bottom-item svg { width: 22px; height: 22px; }
.pdt-bottom-price {
    flex: 1;
    display: flex;
    align-items: baseline;
    justify-content: flex-start;
    padding-left: 6px;
}
.pdt-price-symbol { font-size: 14px; color: #ff4d4f; font-weight: 700; }
.pdt-price-num { font-size: 28px; color: #ff4d4f; font-weight: 800; line-height: 1; }
.pdt-price-inquiry { font-size: 24px; color: #ff4d4f; font-weight: 800; }
.pdt-price-unit { font-size: 12px; color: #999; margin-left: 2px; }
.pdt-book-btn {
    flex: 0 0 auto;
    background: linear-gradient(90deg, #07c160, #05a350);
    color: #fff;
    border: none;
    border-radius: 24px;
    padding: 12px 28px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(7,193,96,0.35);
}
.pdt-book-btn:disabled { background: #ccc; box-shadow: none; cursor: not-allowed; }

/* 预订弹窗 */
.pdt-booking-modal {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: none;
    align-items: flex-end;
    justify-content: center;
}
.pdt-booking-modal.open { display: flex; }
.pdt-booking-mask {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    transition: opacity .3s;
}
.pdt-booking-modal.open .pdt-booking-mask { opacity: 1; }
.pdt-booking-sheet {
    position: relative;
    width: 100%;
    max-width: 400px;
    max-height: 85vh;
    background: #fff;
    border-radius: 24px 24px 0 0;
    display: flex;
    flex-direction: column;
    transform: translateY(100%);
    transition: transform .3s ease-out;
    overflow: hidden;
}
.pdt-booking-modal.open .pdt-booking-sheet { transform: translateY(0); }
.pdt-booking-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #f2f3f7;
    flex-shrink: 0;
}
.pdt-booking-header h3 { margin: 0; font-size: 18px; font-weight: 700; color: #333; }
.pdt-booking-close {
    width: 32px;
    height: 32px;
    border: none;
    background: #f5f6fa;
    border-radius: 50%;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pdt-booking-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 20px 24px;
    -webkit-overflow-scrolling: touch;
}
.pdt-booking-info {
    display: flex;
    gap: 12px;
    margin-bottom: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f2f3f7;
}
.pdt-booking-cover {
    width: 70px;
    height: 70px;
    border-radius: 10px;
    object-fit: cover;
    background: #f2f3f7;
}
.pdt-booking-text { flex: 1; min-width: 0; }
.pdt-booking-title {
    font-size: 15px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.pdt-booking-price { display: flex; align-items: baseline; gap: 2px; }

.pdt-form-group { margin-bottom: 14px; }
.pdt-form-group label {
    display: block;
    font-size: 14px;
    color: #666;
    margin-bottom: 6px;
}
.pdt-form-row { display: flex; gap: 12px; }
.pdt-form-row .pdt-form-group { flex: 1; }
.pdt-form-input, .pdt-form-textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #ebedf0;
    border-radius: 10px;
    font-size: 15px;
    color: #333;
    background: #fff;
    outline: none;
    -webkit-appearance: none;
}
.pdt-form-input:focus, .pdt-form-textarea:focus { border-color: #07c160; }
.pdt-form-textarea { resize: vertical; min-height: 70px; }
.pdt-form-total {
    padding: 10px 14px;
    background: #fff7f0;
    border-radius: 10px;
    font-size: 18px;
    color: #ff4d4f;
    font-weight: 700;
}
.pdt-booking-submit {
    width: 100%;
    padding: 14px 0;
    background: linear-gradient(90deg, #07c160, #05a350);
    color: #fff;
    border: none;
    border-radius: 24px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 8px;
    box-shadow: 0 4px 14px rgba(7,193,96,0.3);
}

/* ---- 预订弹窗：新版（日期卡片 + 人数计数器 + 分Tab） ---- */
.pdt-booking-tabs { display: flex; gap: 20px; }
.pdt-tab-btn {
    position: relative;
    border: none;
    background: none;
    padding: 4px 0;
    font-size: 16px;
    font-weight: 600;
    color: #999;
    cursor: pointer;
}
.pdt-tab-btn.active { color: #333; font-weight: 700; }
.pdt-tab-btn.active::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -6px;
    transform: translateX(-50%);
    width: 24px;
    height: 3px;
    border-radius: 2px;
    background: #07c160;
}
.pdt-booking-tab-panel { display: none; }
.pdt-booking-tab-panel.active { display: block; }

.pdt-section { margin-bottom: 20px; }
.pdt-section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
}
.pdt-section-tag {
    font-size: 12px;
    font-weight: 400;
    color: #ff9500;
    background: #fff7ec;
    padding: 2px 8px;
    border-radius: 10px;
}
.pdt-required { color: #ff4d4f; }

.pdt-date-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.pdt-date-card-rest { display: none; }
.pdt-date-cards.expanded .pdt-date-card-rest { display: block; }
.pdt-date-more {
    flex: 0 0 auto;
    margin-left: auto;
    min-width: 64px;
    padding: 8px 6px;
    border: 1.5px dashed #c8cbd0;
    border-radius: 12px;
    background: #fff;
    color: #07c160;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}
.pdt-date-more:active { background: #f5f6fa; }
.pdt-date-card {
    flex: 0 0 auto;
    min-width: 76px;
    padding: 8px 6px;
    border: 1.5px solid #ebedf0;
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    text-align: center;
    transition: all .15s;
}
.pdt-date-card.active {
    border-color: #07c160;
    background: #f0fbf5;
}
.pdt-date-card-date { font-size: 12px; color: #666; margin-bottom: 3px; }
.pdt-date-card.active .pdt-date-card-date { color: #333; }
.pdt-date-card-price { font-size: 14px; font-weight: 700; color: #ff4d4f; }

.pdt-passenger-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #f5f6fa;
}
.pdt-passenger-type { font-size: 15px; font-weight: 600; color: #333; margin-bottom: 2px; }
.pdt-passenger-price { font-size: 13px; color: #ff4d4f; }
.pdt-passenger-counter { display: flex; align-items: center; gap: 14px; }
.pdt-counter-btn {
    width: 28px;
    height: 28px;
    border: 1.5px solid #ebedf0;
    border-radius: 50%;
    background: #fff;
    color: #666;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pdt-counter-btn:active { background: #f5f6fa; }
.pdt-counter-num { min-width: 20px; text-align: center; font-size: 16px; font-weight: 700; color: #333; }

.pdt-seller-info {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 12px;
    margin-bottom: 20px;
    background: #fffaf0;
    border-radius: 10px;
    font-size: 13px;
    color: #a9743a;
}
.pdt-seller-icon { font-size: 16px; }

.pdt-booking-footer {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 20px;
    border-top: 1px solid #f2f3f7;
    flex-shrink: 0;
}
.pdt-booking-total { flex: 1; }
.pdt-total-label { font-size: 12px; color: #999; }
.pdt-total-price { font-size: 22px; font-weight: 700; color: #ff4d4f; }
.pdt-booking-footer .pdt-booking-submit { width: auto; margin-top: 0; padding: 12px 40px; }

/* ---- 日历弹窗 ---- */
.pdt-calendar-modal { display: none; position: fixed; inset: 0; z-index: 2000; }
.pdt-calendar-modal.open { display: flex; flex-direction: column; justify-content: flex-end; }
.pdt-calendar-mask { position: absolute; inset: 0; background: rgba(0,0,0,0.5); }
.pdt-calendar-sheet {
    position: relative;
    max-width: 400px; margin: 0 auto; width: 100%;
    background: #fff; border-radius: 16px 16px 0 0;
    max-height: 80vh; overflow-y: auto;
    animation: slideUp .25s ease;
}
@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
.pdt-calendar-header { display: flex; align-items: center; justify-content: center; padding: 16px 20px 8px; position: relative; }
.pdt-calendar-title { font-size: 17px; font-weight: 700; color: #333; }
.pdt-calendar-close {
    position: absolute; right: 16px; top: 12px; width: 28px; height: 28px; border: none; background: #f2f3f7; border-radius: 50%;
    font-size: 20px; color: #666; cursor: pointer; display: flex; align-items: center; justify-content: center; line-height: 1;
}
.pdt-calendar-month-bar { display: flex; align-items: center; justify-content: center; gap: 16px; padding: 8px 0 4px; }
.pdt-calendar-prev, .pdt-calendar-next { border: none; background: none; padding: 4px; cursor: pointer; color: #666; }
.pdt-calendar-prev svg, .pdt-calendar-next svg { width: 18px; height: 18px; }
.pdt-calendar-month-label { font-size: 16px; font-weight: 700; color: #333; }
.pdt-calendar-weekdays { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; padding: 8px 12px; }
.pdt-calendar-weekdays span { font-size: 12px; color: #999; }
.pdt-calendar-days { display: grid; grid-template-columns: repeat(7, 1fr); padding: 0 12px 16px; gap: 4px; }
.pdt-calendar-day {
    aspect-ratio: 1 / 1.1;
    border-radius: 10px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center; cursor: pointer; position: relative;
    padding: 4px 0;
}
.pdt-calendar-day.empty { cursor: default; }
.pdt-calendar-day .day-num { font-size: 15px; font-weight: 600; color: #333; line-height: 1; }
.pdt-calendar-day .day-price { font-size: 11px; font-weight: 700; color: #ff4d4f; margin-top: 2px; line-height: 1; }
.pdt-calendar-day:not(.has-schedule) { cursor: default; }
.pdt-calendar-day:not(.has-schedule) .day-num { color: #ccc; }
.pdt-calendar-day:not(.has-schedule) .day-price { display: none; }
.pdt-calendar-day.active {
    border: 1.5px solid #07c160;
    background: #f0fbf5;
}
.pdt-calendar-day.active .day-num { color: #07c160; }
.pdt-calendar-day.active .day-price { color: #07c160; }
.pdt-calendar-day.past { cursor: default; }
.pdt-calendar-day.past .day-num { color: #ccc; }
.pdt-calendar-day.past .day-price { display: none; }

/* ========================================
   产品详情页（旅游风格）
   ======================================== */
.pdt-page { padding-bottom: 80px; background: #f5f5f5; min-height: 100vh; position: relative; }
.pdt-page ~ .footer { display: none; }

/* 顶部悬浮栏 */
.pdt-top-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0) 100%);
}
.pdt-top-actions { display: flex; gap: 10px; }
.pdt-top-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.pdt-top-btn svg { width: 20px; height: 20px; }

/* 大图 Banner */
.pdt-hero {
    position: relative;
    width: 100%;
    height: 520px;
    overflow: hidden;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}
.pdt-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.pdt-hero-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
}
.pdt-hero-placeholder svg { width: 80px; height: 80px; }
.pdt-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.45) 60%, rgba(0,0,0,0.7) 100%);
    display: flex;
    align-items: flex-end;
    padding: 90px 20px 110px;
}
.pdt-hero-main { width: 100%; color: #fff; }
.pdt-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: linear-gradient(90deg, #ff6b6b, #ff8e53);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.pdt-hero-title {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 8px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.pdt-hero-subtitle {
    font-size: 15px;
    opacity: 0.95;
    margin-bottom: 8px;
    line-height: 1.5;
}
.pdt-hero-route {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(4px);
    padding: 5px 12px;
    border-radius: 20px;
    margin-top: 8px;
}
.pdt-hero-route svg { width: 14px; height: 14px; }

/* 左下角浮层标签 */
.pdt-hero-tags {
    position: absolute;
    left: 16px;
    bottom: 70px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 10;
}
.pdt-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 20px;
    font-size: 12px;
    color: #fff;
    font-weight: 500;
    backdrop-filter: blur(6px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}
.pdt-hero-tag.blue { background: linear-gradient(90deg, #3b82f6, #60a5fa); }
.pdt-hero-tag.gold { background: linear-gradient(90deg, #d97706, #f59e0b); }
.pdt-hero-tag-num { font-size: 16px; font-weight: 800; }
.pdt-hero-tag-divider {
    width: 1px;
    height: 12px;
    background: rgba(255,255,255,0.5);
}

/* 主体内容 */
.pdt-body {
    position: relative;
    z-index: 20;
    margin-top: -40px;
    background: #f5f5f5;
    border-radius: 24px 24px 0 0;
    padding: 20px 16px 24px;
    min-height: 300px;
}

/* 评分卡片 */
.pdt-rating-card {
    background: #fff;
    border-radius: 16px;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    margin-bottom: 16px;
}
.pdt-rating-left { text-align: center; }
.pdt-rating-score {
    font-size: 34px;
    font-weight: 800;
    color: #07c160;
    line-height: 1;
}
.pdt-rating-label {
    font-size: 15px;
    font-weight: 700;
    color: #333;
    margin-top: 4px;
}
.pdt-rating-count {
    font-size: 12px;
    color: #999;
    margin-top: 2px;
}
.pdt-rating-mid {
    flex: 1;
    font-size: 13px;
    color: #999;
    line-height: 1.5;
}
.pdt-rating-right {
    display: flex;
    align-items: center;
    gap: 2px;
    font-size: 14px;
    color: #666;
    text-decoration: none;
}
.pdt-rating-right svg { width: 16px; height: 16px; }

/* 产品卖点 */
.pdt-highlights {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}
.pdt-highlight-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    background: #fff;
    border-radius: 12px;
    padding: 12px 6px;
    font-size: 12px;
    color: #555;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.pdt-highlight-item svg { width: 22px; height: 22px; color: #07c160; }

.pdt-empty {
    text-align: center;
    padding: 50px 20px;
    color: #999;
    font-size: 14px;

    background: #fff;
    border-radius: 16px;
}

/* 评价列表 */
.pdt-review-list { display: flex; flex-direction: column; gap: 12px; }
.pdt-review-item {
    background: #fff;
    border-radius: 14px;
    padding: 14px 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.pdt-review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 14px;
}
.pdt-review-user { font-weight: 500; color: #333; }
.pdt-review-stars { font-size: 12px; }
.pdt-review-text { font-size: 14px; color: #555; line-height: 1.6; }

/* 班期预览 */
.pdt-schedule-preview {
    background: #fff;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    margin-bottom: 20px;
}
.pdt-schedule-title {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
}
.pdt-schedule-list {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
}
.pdt-schedule-chip {
    flex: 0 0 auto;
    min-width: 90px;
    border: 1px solid #ebedf0;
    border-radius: 12px;
    padding: 10px 12px;
    text-align: center;
    cursor: pointer;
    transition: all .2s;
}
.pdt-schedule-chip:active { transform: scale(0.96); }
.pdt-schedule-date { font-size: 13px; color: #333; font-weight: 500; }
.pdt-schedule-price { font-size: 16px; color: #ff4d4f; font-weight: 700; margin: 4px 0; }
.pdt-schedule-stock { font-size: 11px; color: #999; }

/* 底部预订栏 */
.pdt-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 400px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px 8px 16px;
    background: #fff;
    border-top: 1px solid #f0f0f0;
    box-shadow: 0 -2px 12px rgba(0,0,0,0.05);
    z-index: 200;
}
.pdt-bottom-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    background: none;
    border: none;
    color: #999;
    font-size: 11px;
    text-decoration: none;
    min-width: 40px;
    cursor: pointer;
}
.pdt-bottom-item svg { width: 22px; height: 22px; }
.pdt-bottom-price {
    flex: 1;
    display: flex;
    align-items: baseline;
    justify-content: flex-start;
    padding-left: 6px;
}
.pdt-price-symbol { font-size: 14px; color: #ff4d4f; font-weight: 700; }
.pdt-price-num { font-size: 28px; color: #ff4d4f; font-weight: 800; line-height: 1; }
.pdt-price-inquiry { font-size: 24px; color: #ff4d4f; font-weight: 800; }
.pdt-price-unit { font-size: 12px; color: #999; margin-left: 2px; }
.pdt-book-btn {
    flex: 0 0 auto;
    background: linear-gradient(90deg, #07c160, #05a350);
    color: #fff;
    border: none;
    border-radius: 24px;
    padding: 12px 28px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(7,193,96,0.35);
}
.pdt-book-btn:disabled { background: #ccc; box-shadow: none; cursor: not-allowed; }

/* 预订弹窗 */
.pdt-booking-modal {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: none;
    align-items: flex-end;
    justify-content: center;
}
.pdt-booking-modal.open { display: flex; }
.pdt-booking-mask {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    transition: opacity .3s;
}
.pdt-booking-modal.open .pdt-booking-mask { opacity: 1; }
.pdt-booking-sheet {
    position: relative;
    width: 100%;
    max-width: 400px;
    max-height: 85vh;
    background: #fff;
    border-radius: 24px 24px 0 0;
    display: flex;
    flex-direction: column;
    transform: translateY(100%);
    transition: transform .3s ease-out;
    overflow: hidden;
}
.pdt-booking-modal.open .pdt-booking-sheet { transform: translateY(0); }
.pdt-booking-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #f2f3f7;
    flex-shrink: 0;
}
.pdt-booking-header h3 { margin: 0; font-size: 18px; font-weight: 700; color: #333; }
.pdt-booking-close {
    width: 32px;
    height: 32px;
    border: none;
    background: #f5f6fa;
    border-radius: 50%;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pdt-booking-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 20px 24px;
    -webkit-overflow-scrolling: touch;
}
.pdt-booking-info {
    display: flex;
    gap: 12px;
    margin-bottom: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f2f3f7;
}
.pdt-booking-cover {
    width: 70px;
    height: 70px;
    border-radius: 10px;
    object-fit: cover;
    background: #f2f3f7;
}
.pdt-booking-text { flex: 1; min-width: 0; }
.pdt-booking-title {
    font-size: 15px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.pdt-booking-price { display: flex; align-items: baseline; gap: 2px; }

.pdt-form-group { margin-bottom: 14px; }
.pdt-form-group label {
    display: block;
    font-size: 14px;
    color: #666;
    margin-bottom: 6px;
}
.pdt-form-row { display: flex; gap: 12px; }
.pdt-form-row .pdt-form-group { flex: 1; }
.pdt-form-input, .pdt-form-textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #ebedf0;
    border-radius: 10px;
    font-size: 15px;
    color: #333;
    background: #fff;
    outline: none;
    -webkit-appearance: none;
}
.pdt-form-input:focus, .pdt-form-textarea:focus { border-color: #07c160; }
.pdt-form-textarea { resize: vertical; min-height: 70px; }
.pdt-form-total {
    padding: 10px 14px;
    background: #fff7f0;
    border-radius: 10px;
    font-size: 18px;
    color: #ff4d4f;
    font-weight: 700;
}
.pdt-booking-submit {
    width: 100%;
    padding: 14px 0;
    background: linear-gradient(90deg, #07c160, #05a350);
    color: #fff;
    border: none;
    border-radius: 24px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 8px;
    box-shadow: 0 4px 14px rgba(7,193,96,0.3);
}



/* PDF 文档预览（服务端转图为图片，任意环境均可显示） */
.pdt-pdf-viewer {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.pdt-pdf-pages {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 12px;
    background: #f5f5f5;
}
.pdt-pdf-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* 行程文档图片查看改用 PhotoSwipe（见 assets/photoswipe），无需自定义遮罩样式 */
.pdt-pdf-gallery .pdt-pdf-thumb {
    display: block;
    cursor: zoom-in;
}
.pdt-pdf-loading {
    text-align: center;
    padding: 40px;
    color: #999;
    font-size: 14px;
}
.pdt-pdf-link {
    display: block;
    text-align: center;
    padding: 12px;
    font-size: 14px;
    color: #07c160;
    text-decoration: none;
    border-top: 1px solid #f0f0f0;
    background: #fafafa;
}

.pdt-pdf-collapse {
    display: block;
    width: 100%;
    text-align: center;
    background: #fafafa;
    border: none;
    border-top: 1px solid #f0f0f0;
    color: #666;
    font-size: 14px;
    padding: 10px 0;
    cursor: pointer;
}
/* 费用说明 */
.pdt-fee-section {
    border-top: 1px solid #f0f0f0;
    padding: 16px;
    background: #fff;
}
.pdt-fee-heading {
    margin: 0 0 16px;
    font-size: 20px;
    font-weight: 700;
    color: #333;
    text-align: center;
}
.pdt-fee-card {
    border-radius: 16px;
    padding: 18px;
    margin-bottom: 30px;
}
.pdt-fee-include {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
}
.pdt-fee-include .pdt-fee-title {
    color: #07c160;
}
.pdt-fee-exclude {
    background: #fafafa;
    border: 1px solid #e8e8e8;
}
.pdt-fee-exclude .pdt-fee-title {
    color: #333;
}
.pdt-fee-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 14px;
}
.pdt-fee-title svg {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
}
.pdt-fee-list {
    color: #555;
    font-size: 14px;
    line-height: 1.8;
}
.pdt-fee-list p {
    margin: 0 0 6px;
}
.pdt-fee-open-link {
    display: block;
    text-align: center;
    margin-top: 16px;
    color: #666;
    font-size: 14px;
    text-decoration: underline;
}

/* 预订须知 */
.pdt-notice-section {
    background: #fff;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.pdt-notice-heading {
    margin: 0 0 16px;
    font-size: 18px;
    font-weight: 700;
    color: #333;
    text-align: center;
}
.pdt-notice-list {
    color: #555;
    font-size: 14px;
    line-height: 1.8;
}
.pdt-notice-list p {
    margin: 0 0 10px;
}

/* 产品主标题（位于评分卡片与 Tab 栏之间） */
.pdt-main-title {
    font-size: 20px;
    font-weight: 800;
    color: #333;
    margin: 0 0 16px;
    line-height: 1.4;
}

/* 顶部无 Banner 时的布局调整 */
.pdt-page {
    background: #f5f5f5;
    min-height: 100vh;
}
.pdt-top-bar {
    display: none;
}
.pdt-body {
    margin-top: 0;
    border-radius: 24px 24px 0 0;
}

/* 评价卡片 */
.pdt-review-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.pdt-review-item {
    background: #fff;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.pdt-review-date {
    display: inline-block;
    color: #07c160;
    font-size: 13px;
    background: #f0fdf4;
    border: 1px solid #d1f4e0;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 12px;
}
.pdt-review-text {
    font-size: 15px;
    color: #333;
    line-height: 1.7;
    margin-bottom: 16px;
}
.pdt-review-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f5f5f5;
    padding-top: 12px;
}
.pdt-review-user {
    display: flex;
    align-items: center;
    gap: 8px;
}
.pdt-review-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #e8e8e8;
    color: #666;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.pdt-review-name {
    font-size: 14px;
    color: #666;
}
.pdt-review-likes {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #999;
    font-size: 13px;
}
.pdt-review-likes svg {
    width: 16px;
    height: 16px;
}

/* 分享海报弹窗（与卖家端分享拓客弹窗一致） */
.share-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 200;
    align-items: flex-end;
    justify-content: center;
}
.share-modal.open { display: flex; }
.share-mask {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
}
.share-sheet,
.share-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 400px;
    height: 90vh;
    background: #fff;
    border-radius: 20px 20px 0 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.share-sheet-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #f0f0f0;
    flex-shrink: 0;
}
.share-sheet-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a3a;
}
.share-sheet-close {
    background: none;
    border: none;
    font-size: 28px;
    color: #999;
    cursor: pointer;
    line-height: 1;
}
.share-sheet-body {
    flex: 1;
    overflow-y: auto;
    min-height: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
}
.share-sheet-actions {
    display: flex;
    padding: 16px 20px 12px;
    flex-shrink: 0;
}
.share-sheet-actions .share-act-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px 0;
    border-radius: 16px;
    border: none;
    background: #f8f9fc;
    color: #1a1a3a;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}
.share-sheet-actions .share-act-btn + .share-act-btn {
    margin-left: 14px;
}
.share-sheet-actions .share-act-btn svg {
    width: 28px;
    height: 28px;
    margin-bottom: 8px;
    flex-shrink: 0;
}
.share-sheet-actions .share-act-btn.primary {
    background: linear-gradient(135deg, #5b6cff, #7b8aff);
    color: #fff;
}
.share-sheet-actions .share-act-btn.primary svg {
    color: #fff;
}
.share-sheet-footer {
    padding: 0 20px 20px;
    flex-shrink: 0;
}
.share-sheet-footer button {
    width: 100%;
    height: 46px;
    border-radius: 24px;
    border: 1.5px solid #e8eaef;
    background: #fff;
    color: #666;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.share-poster {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    box-shadow: 0 12px 40px rgba(0,0,0,0.25);
}
.share-poster-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.share-poster-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.1) 40%, rgba(0,0,0,0.55) 100%);
}
.share-poster-header {
    position: absolute;
    top: 24px;
    left: 20px;
    right: 20px;
    color: #fff;
    text-align: center;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.share-poster-title {
    font-size: 22px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 8px;
}
.share-poster-subtitle {
    font-size: 14px;
    opacity: 0.95;
    line-height: 1.5;
}

.share-poster-footer {
    position: absolute;
    bottom: 16px;
    right: 16px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}
.share-poster-badges {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.share-badge {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: #fff;
    padding: 6px 10px;
    border-radius: 20px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    line-height: 1.2;
}
.share-badge.blue {
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
}
.share-badge.gold {
    background: linear-gradient(90deg, #b45309, #d97706);
}
.share-badge-num {
    font-size: 14px;
    font-weight: 800;
}
.share-badge-divider {
    width: 1px;
    height: 12px;
    background: rgba(255,255,255,0.5);
    margin: 0 2px;
}

.share-poster-qr {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    background: rgba(255,255,255,0.95);
    padding: 8px;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
.share-poster-qr > div {
    width: 45px;
    height: 45px;
}
.share-poster-qr img {
    width: 45px;
    height: 45px;
    display: block;
    border-radius: 4px;
}
.share-poster-qr > span {
    font-size: 11px;
    color: #666;
    line-height: 1;
}

/* 产品分享海报：图片在上 + 底部信息区分左右 */
.product-share-poster {
    width: 280px;
    max-width: 100%;
    background: #f8f9fa;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}
.product-share-poster .share-poster-img {
    position: static;
    width: 100%;
    height: auto;
    display: block;
}
.product-share-poster .share-poster-overlay {
    display: none;
}
.product-share-poster .share-poster-footer {
    display: none;
}
#pdtPoster {
    width: 100%;
    max-width: 360px;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    display: block;
}
.share-poster-info {
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8f9fa;
}
.share-poster-text {
    flex: 1;
    min-width: 0;
}
.share-poster-text .share-poster-title {
    font-size: 17px;
    font-weight: 700;
    color: #1a1a3a;
    line-height: 1.4;
    margin-bottom: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.share-poster-text p {
    font-size: 13px;
    color: #999;
    margin: 0;
}
.product-share-qr {
    background: none;
    box-shadow: none;
    padding: 0;
    border-radius: 0;
}

/* 让 HTML 中实际使用的 .share-content 容器适配内容高度，避免底部按钮被裁切 */
.share-content {
    height: auto;
    max-height: 90vh;
    padding: 20px;
    gap: 20px;
    overflow-y: auto;
}
.share-content > * { flex-shrink: 0; }

.share-options {
    display: flex;
    justify-content: center;
    gap: 36px;
    width: 100%;
    padding: 0 8px;
}
.share-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 13px;
    cursor: pointer;
    transition: opacity .2s;
}
.share-option:active { opacity: .7; }
.share-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.share-icon svg {
    width: 26px;
    height: 26px;
}
.share-icon.wechat {
    background: #07c160;
    color: #fff;
}
.share-icon.poster {
    background: #ffc107;
    color: #fff;
}
.share-icon.link {
    background: #3b82f6;
    color: #fff;
}

.share-cancel {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    border: none;
    background: #fff;
    color: #333;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: opacity .2s;
}

/* 咨询客服弹窗（底部抽屉） */
.consult-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 300;
}
.consult-modal.open { display: block; }
.consult-mask {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
}
.consult-sheet {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    border-radius: 18px 18px 0 0;
    padding: 18px 16px calc(18px + env(safe-area-inset-bottom));
    animation: consultUp .25s ease;
}
@keyframes consultUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}
.consult-sheet-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
}
.consult-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff7a45, #ff4d4f);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 600;
    flex-shrink: 0;
}
.consult-head-text { flex: 1; min-width: 0; }
.consult-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a1d3d;
}
.consult-sub {
    font-size: 12px;
    color: #999;
    margin-top: 3px;
}
.consult-close {
    border: none;
    background: none;
    font-size: 26px;
    line-height: 1;
    color: #bbb;
    padding: 0 4px;
    cursor: pointer;
}
.consult-action {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 2px;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid #f5f5f5;
    cursor: pointer;
}
.consult-action:last-child { border-bottom: none; }
.consult-action-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.consult-action-icon svg { width: 22px; height: 22px; }
.consult-action-icon.phone { background: #e8f8ef; color: #07c160; }
.consult-action-icon.wechat { background: #e8f8ef; color: #07c160; }
.consult-action-icon.chat { background: #eaf2ff; color: #3b82f6; }
.consult-action-text { flex: 1; min-width: 0; }
.consult-action-name {
    font-size: 15px;
    color: #1a1d3d;
    font-weight: 500;
}
.consult-action-desc {
    font-size: 13px;
    color: #999;
    margin-top: 2px;
}
.consult-action-arrow {
    font-size: 14px;
    color: #07c160;
    font-weight: 500;
    flex-shrink: 0;
}

/* 个人中心 */
.my-page {
    min-height: 100vh;
    background: #f5f7fa;
    padding-bottom: 80px;
}
.my-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px 20px 24px;
    background: #fff;
    border-radius: 0 0 24px 24px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}
.my-user {
    display: flex;
    align-items: center;
    gap: 16px;
}
.my-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    background: #e8f5e9;
    color: #4caf50;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(76,175,80,0.15);
}
.my-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.my-avatar svg {
    width: 32px;
    height: 32px;
}
.my-user-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.my-nickname {
    font-size: 20px;
    font-weight: 700;
    color: #333;
}
.my-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border: 1px solid #4caf50;
    border-radius: 20px;
    font-size: 12px;
    color: #4caf50;
    font-weight: 500;
}
.my-settings {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}
.my-settings svg {
    width: 24px;
    height: 24px;
}
.my-settings:active { color: #4caf50; }

.my-stats {
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin: 16px;
    padding: 20px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.my-stat-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #333;
    text-decoration: none;
}
.my-stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}
.my-stat-item:first-child .my-stat-icon { background: #ff9800; }
.my-stat-item:last-child .my-stat-icon { background: #4caf50; }
.my-stat-icon svg {
    width: 20px;
    height: 20px;
}
.my-stat-label {
    font-size: 14px;
    color: #666;
}
.my-stat-divider {
    width: 1px;
    height: 32px;
    background: #eee;
}

.my-menu {
    margin: 16px;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.my-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 14px;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #f5f5f5;
}
.my-menu-item:last-child { border-bottom: none; }
.my-menu-item:active { background: #f9f9f9; }
.my-menu-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}
.my-menu-icon svg {
    width: 20px;
    height: 20px;
}
.my-menu-icon.green { background: #4caf50; }
.my-menu-icon.blue { background: #3b82f6; }
.my-menu-icon.gold { background: #ff9800; }
.my-menu-icon.purple { background: #9c27b0; }
.my-menu-text {
    flex: 1;
    font-size: 15px;
    color: #333;
}
.my-menu-arrow {
    width: 18px;
    height: 18px;
    color: #ccc;
}

.my-profile-info {
    margin: 16px;
    background: #fff;
    border-radius: 16px;
    padding: 8px 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.my-info-row {
    display: flex;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid #f5f5f5;
    font-size: 15px;
}
.my-info-row:last-of-type {
    border-bottom: none;
}
.my-info-label {
    width: 60px;
    color: #333;
    flex-shrink: 0;
}
.my-info-label.required::before {
    content: '* ';
    color: #e53935;
}
.my-info-value {
    flex: 1;
    color: #888;
    text-align: left;
}
.my-info-input {
    flex: 1;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 9px 12px;
    font-size: 15px;
    color: #333;
    outline: none;
    background: #fff;
}
.my-info-input::placeholder {
    color: #bbb;
}
.my-info-input:focus {
    border-color: #f2994a;
}
.my-info-radio-group {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 20px;
}
.my-info-radio {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #666;
    font-size: 15px;
    cursor: pointer;
}
.my-info-radio input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: #3b82f6;
    cursor: pointer;
}
.profile-msg {
    margin: 8px 0 4px;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 14px;
    text-align: center;
}
.profile-msg.success {
    background: #e8f5e9;
    color: #2e7d32;
}
.profile-msg.error {
    background: #ffebee;
    color: #c62828;
}
.my-edit-btn {
    display: block;
    width: 100%;
    margin-top: 16px;
    padding: 14px 0;
    background: #f2994a;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    border-radius: 10px;
    border: none;
}
.my-edit-btn:active {
    opacity: .9;
}
.my-logout-btn {
    display: block;
    width: 100%;
    margin-top: 12px;
    padding: 14px 0;
    background: #f5f5f5;
    color: #999;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    border-radius: 10px;
    border: none;
}
.my-logout-btn:active {
    opacity: .8;
}

/* 编辑资料页 */
.profile-edit-page {
    min-height: 100vh;
    background: #fff;
    padding-bottom: 80px;
}
.profile-msg {
    margin: 12px 16px 0;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    text-align: center;
}
.profile-msg.success {
    background: #e8f5e9;
    color: #2e7d32;
}
.profile-msg.error {
    background: #ffebee;
    color: #c62828;
}
.profile-edit-form {
    padding-top: 8px;
}
.profile-edit-row {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 15px;
}
.profile-edit-label {
    width: 70px;
    color: #333;
    flex-shrink: 0;
    font-size: 15px;
}
.profile-edit-label.required::before {
    content: '* ';
    color: #e53935;
}
.profile-edit-input {
    flex: 1;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 15px;
    color: #333;
    outline: none;
    background: #fff;
}
.profile-edit-input::placeholder {
    color: #bbb;
}
.profile-edit-input:focus {
    border-color: #f2994a;
}
.profile-edit-radio-group {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 20px;
}
.profile-edit-radio {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #666;
    font-size: 15px;
    cursor: pointer;
}
.profile-edit-radio input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: #3b82f6;
    cursor: pointer;
}
.profile-save-btn {
    display: block;
    width: calc(100% - 32px);
    margin: 24px 16px 0;
    padding: 14px 0;
    background: #f2994a;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    border: none;
    border-radius: 10px;
    cursor: pointer;
}
.profile-save-btn:active {
    opacity: .9;
}

.my-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: space-around;
    box-shadow: 0 -1px 8px rgba(0,0,0,0.06);
    z-index: 100;
}
.my-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: #999;
    font-size: 12px;
    text-decoration: none;
}
.my-nav-item svg {
    width: 24px;
    height: 24px;
}
.my-nav-item.active {
    color: #4caf50;
    font-weight: 600;
}

/* ========================================
   管理后台布局
   ======================================== */
.admin-layout {
    display: flex;
    min-height: 100vh;
    background: #f0f2f5;
}

/* 左侧导航 */
.admin-sidebar {
    width: 220px;
    background: #001529;
    color: #fff;
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 100;
    overflow-y: auto;
}
.admin-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px 20px 16px;
    font-size: 17px;
    font-weight: 700;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.admin-logo svg { width: 28px; height: 28px; color: #1890ff; }
.admin-nav {
    flex: 1;
    padding: 12px 0;
}
.admin-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    color: rgba(255,255,255,.65);
    font-size: 14px;
    text-decoration: none;
    transition: all .2s;
}
.admin-nav-item:hover { color: #fff; background: rgba(255,255,255,.08); }
.admin-nav-item.active { color: #fff; background: #1890ff; }
.admin-nav-item svg { width: 18px; height: 18px; flex-shrink: 0; }
.admin-sidebar-footer {
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 8px 0;
}
.admin-sidebar-footer .admin-nav-item { font-size: 13px; }

/* 主内容区 */
.admin-main {
    flex: 1;
    margin-left: 220px;
    min-width: 0;
}
.admin-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    background: #fff;
    border-bottom: 1px solid #e8e8e8;
    position: sticky;
    top: 0;
    z-index: 50;
}
.admin-topbar h1 {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
}
.admin-topbar-right {
    display: flex;
    align-items: center;
    gap: 16px;
}
.admin-user {
    font-size: 14px;
    color: #666;
}

.admin-content {
    padding: 20px 24px;
}

/* 指标卡片网格 */
.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}
.admin-stat-card {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,.06);
}
.admin-stat-card.blue .admin-stat-icon { color: #1890ff; background: #e6f7ff; }
.admin-stat-card.green .admin-stat-icon { color: #07c160; background: #f0fff5; }
.admin-stat-card.orange .admin-stat-icon { color: #fa8c16; background: #fff7e6; }
.admin-stat-card.purple .admin-stat-icon { color: #722ed1; background: #f9f0ff; }

.admin-stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.admin-stat-icon svg { width: 22px; height: 22px; }
.admin-stat-value {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
}
.admin-stat-label {
    font-size: 13px;
    color: #999;
    margin-top: 2px;
}
.admin-stat-sub {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: #999;
    padding-top: 8px;
    border-top: 1px solid #f0f0f0;
}

/* 卡片 */
.admin-row {
    margin-bottom: 20px;
}
.admin-row-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.admin-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,.06);
    margin-bottom: 16px;
}
.admin-card h3 {
    padding: 16px 20px 0;
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.admin-card-link { font-size: 13px; font-weight: 400; }
.admin-table-wrap { padding: 12px 20px 16px; overflow-x: auto; }

/* 迷你统计 */
.admin-mini-stats {
    display: flex;
    gap: 20px;
    padding: 16px 20px 20px;
}
.admin-mini-stat {
    text-align: center;
    flex: 1;
}
.ams-val { display: block; font-size: 22px; font-weight: 700; color: #1a1a1a; }
.ams-label { display: block; font-size: 12px; color: #999; margin-top: 4px; }

/* 订单状态分布条 */
.admin-order-status {
    padding: 8px 20px 20px;
}
.aos-item {
    margin-bottom: 12px;
}
.aos-bar {
    height: 8px;
    border-radius: 4px;
    background: #f0f0f0;
    margin-bottom: 6px;
    position: relative;
    overflow: hidden;
}
.aos-bar::after {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: var(--w);
    max-width: 100%;
    background: var(--c, #1890ff);
    border-radius: 4px;
    transition: width .4s;
}
.aos-info {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #666;
}

/* 统计行 */
.admin-stats-row {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}
.admin-stats-row-item {
    background: #fff;
    border-radius: 8px;
    padding: 14px 20px;
    text-align: center;
    flex: 1;
    box-shadow: 0 1px 3px rgba(0,0,0,.06);
}
.admin-stats-row-item.green .asr-val { color: #07c160; }
.admin-stats-row-item.red .asr-val { color: #ee0a24; }
.admin-stats-row-item.blue .asr-val { color: #1890ff; }
.asr-val { display: block; font-size: 22px; font-weight: 700; color: #1a1a1a; }
.asr-label { display: block; font-size: 12px; color: #999; margin-top: 2px; }

/* 筛选表单 */
.admin-filter-form {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
    padding: 16px 20px;
    justify-content: flex-end;
}
.admin-filter-form .form-input {
    width: auto;
    flex: 0 0 auto;
}

/* 标签 */
.admin-tabs {
    display: flex;
    gap: 0;
    padding: 0 20px 16px;
    flex-wrap: wrap;
}
.admin-tab {
    padding: 6px 16px;
    border: 1px solid #e8e8e8;
    border-right: none;
    font-size: 13px;
    color: #666;
    text-decoration: none;
    background: #fff;
    transition: all .2s;
}
.admin-tab:first-child { border-radius: 4px 0 0 4px; }
.admin-tab:last-child { border-radius: 0 4px 4px 0; border-right: 1px solid #e8e8e8; }
.admin-tab:hover { color: #1890ff; }
.admin-tab.active { background: #1890ff; color: #fff; border-color: #1890ff; }
.admin-tab-count {
    margin-left: 4px;
    font-size: 11px;
    opacity: .8;
}

/* 徽章 */
.admin-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 500;
}
.admin-badge.green { background: #f0fff5; color: #07c160; }
.admin-badge.red { background: #fff2f0; color: #ee0a24; }
.admin-badge.gray { background: #f5f5f5; color: #999; }
.admin-badge.status-pending { background: #fffbe6; color: #d48806; }
.admin-badge.status-paid { background: #e6f7ff; color: #1890ff; }
.admin-badge.status-confirmed { background: #f0fff5; color: #07c160; }
.admin-badge.status-completed { background: #f5f5f5; color: #666; }
.admin-badge.status-cancelled { background: #fff2f0; color: #ee0a24; }

/* 表格 */
.admin-card .table { margin-bottom: 0; }
.admin-card .table th { font-size: 13px; color: #666; background: #fafafa; padding: 10px 12px; }
.admin-card .table td { font-size: 14px; padding: 10px 12px; }
.text-sm { font-size: 13px; }
.text-light { color: #999; font-size: 12px; }
.empty-cell { text-align: center; color: #ccc; padding: 40px !important; }

/* 用户单元格 */
.admin-user-cell { line-height: 1.4; }
.admin-user-name { display: block; font-weight: 500; }
.admin-user-sub { display: block; font-size: 12px; color: #999; }

/* 产品缩略图 */
.admin-product-cell { display: flex; align-items: center; gap: 10px; }
.admin-product-thumb { width: 40px; height: 40px; border-radius: 4px; object-fit: cover; }

/* 分页区域 */
.admin-card .pagination { padding: 12px 20px 20px; }

/* 响应式 */
@media (max-width: 900px) {
    .admin-sidebar { width: 60px; }
    .admin-sidebar .admin-logo span,
    .admin-nav-item span,
    .admin-sidebar-footer .admin-nav-item span { display: none; }
    .admin-logo { justify-content: center; padding: 16px 8px; }
    .admin-nav-item { justify-content: center; padding: 14px; }
    .admin-main { margin-left: 60px; }
    .admin-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .admin-row-2col { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .admin-sidebar { width: 50px; }
    .admin-main { margin-left: 50px; }
    .admin-stats-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .admin-content { padding: 12px; }
    .admin-stats-row { flex-wrap: wrap; }
    .admin-stats-row-item { flex: 1 1 calc(50% - 8px); min-width: 100px; }
}

.admin-stats-row-item.orange .asr-val { color: #fa8c16; }

/* 设置期限弹窗 */
.admin-modal-mask {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}
.admin-modal-mask.show { display: flex; }
.admin-modal {
    background: #fff;
    width: 440px;
    max-width: 92%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,.2);
}
.admin-modal-header {
    padding: 16px 20px;
    font-weight: 600;
    font-size: 16px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.admin-modal-close {
    cursor: pointer;
    font-size: 22px;
    color: #999;
    line-height: 1;
}
.admin-modal-body { padding: 20px; }
.admin-modal-footer {
    padding: 12px 20px 20px;
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}
.admin-quick-btns {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 14px;
}
.admin-quick-btns .btn { flex: 1; min-width: 90px; }
@media (max-width: 600px) {
    .admin-modal { width: 100%; margin: 0 16px; }
}

/* 商家使用到期提醒 */
.seller-expire-notice {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 10px 12px 0;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.5;
}
.seller-expire-notice .sen-icon { font-size: 16px; flex-shrink: 0; }
.seller-expire-notice .sen-text { flex: 1; }
.seller-expire-notice b { font-weight: 700; }
.seller-expire-notice.warn {
    background: #fff7e6;
    border: 1px solid #ffd591;
    color: #ad6800;
}
.seller-expire-notice.warn b { color: #d4380d; }
.seller-expire-notice.info {
    background: #e6f4ff;
    border: 1px solid #91caff;
    color: #0958d9;
}
@media (max-width: 600px) {
    .seller-expire-notice { margin: 8px 10px 0; font-size: 13px; }
}









