/* ============================================================
   load.css - 优化精简版
   ============================================================ */

/* ---------- 全局重置 ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
    background: #f5f5f5;
    color: #1a1a1a;
    padding-bottom: 70px;
    min-height: 100vh;
}

/* 拼团记录卡片样式 */
.groupon-order-card {
    transition: all 0.3s ease;
}
.groupon-order-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.groupon-order-card .progress-bar {
    transition: width 0.5s ease;
}

/* 加载动画 */
.loading-profile {
    text-align: center;
    padding: 20px;
    color: #999;
}
.loading-profile::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #d4af37;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 8px;
    vertical-align: middle;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 统计卡片点击效果 */
.stat-card[onclick] {
    cursor: pointer;
}
.stat-card[onclick]:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
/* ---------- 导航栏 ---------- */
.navbar {
    background: #1a1a2e;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-family: 'Jost', 'Montserrat', 'Helvetica Neue', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
}

.nav-links {
    display: flex;
    gap: 8px;
    align-items: center;
}

.nav-links button,
.nav-links a {
    text-decoration: none;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    font-size: 0.75rem;
    color: #ddd;
    padding: 6px 12px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s;
}

.nav-links button:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #d4af37;
}

.nav-links .active-nav {
    background: #d4af37;
    color: #1a1a2e;
}

/* ---------- 头像（导航 & 用户卡片） ---------- */
.nav-avatar {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 5px 12px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.1);
    transition: background 0.3s ease;
}

.nav-avatar:hover {
    background: rgba(255, 255, 255, 0.2);
}

.nav-avatar span {
    font-size: 0.9rem;
}

.nav-avatar-img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

/* 管理员头像样式 - 只显示图标 */
.nav-avatar.admin-only {
    padding: 5px 8px !important;
}

.nav-avatar.admin-only .nav-avatar-img {
    width: 36px;
    height: 36px;
}

.nav-avatar.admin-only span {
    display: none;
}

/* ---------- 通用容器 ---------- */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 12px;
    width: 95%;
}

/* ---------- 搜索栏 ---------- */
.search-bar {
    position: relative;
    margin-bottom: 20px;
}

.search-bar input {
    width: 100%;
    padding: 14px 20px;
    padding-right: 40px;
    border: 1px solid #e0e0e0;
    border-radius: 30px;
    font-size: 0.9rem;
    background: #fff;
    transition: all 0.2s;
}

.search-bar input:focus {
    outline: none;
    border-color: #d4af37;
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}

.search-clear {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: #999;
    padding: 5px;
}

.search-empty {
    text-align: center;
    padding: 40px;
    color: #999;
    font-size: 0.85rem;
}

/* ---------- 商品网格 ---------- */
.product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

/* ---------- 商品卡片 ---------- */
.product-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.product-card:active {
    transform: scale(0.98);
}

.product-card .img-wrap {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #f8f8f8;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card .img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.sam-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #d4af37;
    color: #1a1a2e;
    font-size: 0.6rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    z-index: 2;
}

.card-body {
    padding: 10px 12px 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-body h3 {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: #1a1a2e;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-desc {
    font-size: 0.65rem;
    color: #999;
    margin-bottom: 8px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.price-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 4px;
}

.price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #d4af37;
}

.unit-price {
    font-size: 0.6rem;
    color: #999;
}

.stock-info {
    font-size: 0.6rem;
    color: #28a745;
}

/* ---------- 按钮 ---------- */
.btn-add {
    background: #1a1a2e;
    color: #d4af37;
    border: 1px solid #d4af37;
    padding: 8px 0;
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    width: 100%;
    margin-top: auto;
}

.btn-add:active {
    transform: scale(0.97);
    background: #d4af37;
    color: #1a1a2e;
}

.btn-add-disabled {
    background: #ccc;
    color: #666;
    border: 1px solid #aaa;
    padding: 8px 0;
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: 600;
    width: 100%;
    margin-top: auto;
    cursor: not-allowed;
}

.btn-outline {
    background: transparent;
    border: 1px solid #d4af37;
    color: #d4af37;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.75rem;
    cursor: pointer;
}

.btn-primary {
    background: #1a1a2e;
    color: #d4af37;
    border: none;
    padding: 10px 24px;
    border-radius: 30px;
    cursor: pointer;
}

.btn-primary:hover {
    background: #2d2d44;
}

.login-btn {
    background: #1a1a2e;
    color: #d4af37;
    border: none;
    padding: 12px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: bold;
    width: 100%;
    transition: all 0.2s;
}

.login-btn:hover {
    background: #2d2d44;
}

.btn-icon {
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.btn-icon i {
    font-size: 1rem;
}

.btn-edit {
    color: #3b82f6;
    background: #eff6ff;
}

.btn-edit:hover {
    background: #3b82f6;
    color: #fff;
    transform: translateY(-2px);
}

.btn-recharge {
    color: #f59e0b;
    background: #fffbeb;
}

.btn-recharge:hover {
    background: #f59e0b;
    color: #fff;
    transform: translateY(-2px);
}

.btn-set-admin {
    color: #d4af37;
    background: #fef9e6;
}

.btn-set-admin:hover {
    background: #d4af37;
    color: #1a1a2e;
    transform: translateY(-2px);
}

.btn-cancel-admin {
    color: #dc3545;
    background: #fee2e2;
}

.btn-cancel-admin:hover {
    background: #dc3545;
    color: #fff;
    transform: translateY(-2px);
}

.btn-delete {
    color: #dc3545;
    background: #fee2e2;
}

.btn-delete:hover {
    background: #dc3545;
    color: #fff;
    transform: translateY(-2px);
}

.btn-remove-idcard {
    background: none;
    border: 1px solid #dc3545;
    color: #dc3545;
    margin-left: 8px;
}

.btn-remove-idcard:hover {
    background: #dc3545;
    color: #fff;
}

/* ---------- 导出按钮 ---------- */
.export-btn {
    background: #28a745;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 0.8rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.export-btn:hover {
    background: #218838;
}

.add-member-btn {
    background: #17a2b8;
}

.add-member-btn:hover {
    background: #138496;
}

/* ---------- 标签页 ---------- */
.tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    background: #fff;
    padding: 6px;
    border-radius: 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.tab-btn {
    flex: 1;
    padding: 10px 20px;
    border: none;
    background: transparent;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.9rem;
}

.tab-btn.active {
    background: #1a1a2e;
    color: #d4af37;
}

/* ---------- 模态框 ---------- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    display: none;
    overflow-y: auto;
}

.modal-overlay.show {
    display: block;
}

.login-modal {
    background: #fff;
    border-radius: 28px;
    padding: 32px 28px;
    width: 90%;
    max-width: 400px;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.95);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.login-overlay.show .login-modal {
    transform: scale(1);
}

.login-modal .close-btn {
    position: absolute;
    top: 18px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    background: none;
    border: none;
    color: #999;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.login-modal .close-btn:hover {
    background: #f0f0f0;
    color: #333;
}

.login-title {
    text-align: center;
    font-size: 1.4rem;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.login-subtitle {
    text-align: center;
    font-size: 0.75rem;
    color: #999;
    margin-bottom: 28px;
}

/* ---------- 表单 ---------- */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 0.8rem;
    color: #666;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 14px;
    font-size: 0.9rem;
    transition: all 0.2s;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #d4af37;
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.1);
}

.form-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

/* ---------- 身份证预览 ---------- */
.id-card-preview {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    cursor: pointer;
    border: 1px solid #eee;
}

.id-card-preview-wrapper {
    position: relative;
    display: inline-block;
    margin-top: 8px;
}

.remove-preview-btn {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #dc3545;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    cursor: pointer;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ---------- 会员表格 ---------- */
.member-table {
    overflow-x: auto;
    margin-top: 16px;
    width: 100%;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.member-table table {
    min-width: 1000px;
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.member-table th,
.member-table td {
    padding: 8px 4px;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
    color: #333;
    word-break: break-word;
    white-space: normal;
    font-size: 0.7rem;
}

.member-table th {
    background: #1a1a2e;
    color: #d4af37;
    font-weight: 600;
}

.member-table tbody tr:hover {
    background: #f8f5f0;
    transition: background 0.2s ease;
}

.member-table .actions {
    display: flex;
    gap: 3px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---------- 会员编辑模态框 ---------- */
.member-edit-modal {
    max-width: 550px;
    max-height: 85vh;
    overflow-y: auto;
}

/* ---------- 状态徽章 ---------- */
.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 500;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-paid {
    background: #d4edda;
    color: #155724;
}

.status-delivering {
    background: #cfe2ff;
    color: #004085;
}

.status-completed {
    background: #e8f5e9;
    color: #2e7d32;
}

.status-cancelled {
    background: #f8d7da;
    color: #721c24;
}

/* ---------- 管理员徽章 ---------- */
.admin-badge {
    background: #d4af37;
    color: #1a1a2e;
    padding: 2px 6px;
    border-radius: 20px;
    font-size: 0.7rem;
    margin-left: 5px;
    display: inline-block;
}

.super-admin-badge {
    background: #dc3545;
    color: #fff;
    padding: 2px 6px;
    border-radius: 20px;
    font-size: 0.7rem;
    margin-left: 5px;
    display: inline-block;
}

/* ---------- 订单卡片 ---------- */
.order-card {
    background: #fff;
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.order-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 8px;
}

.order-id {
    color: #666;
    font-size: 0.7rem;
}

.order-total {
    font-weight: 700;
    color: #d4af37;
    font-size: 1rem;
}

.order-items {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 12px;
    line-height: 1.5;
}

.order-room-info {
    background: #f8f5f0;
    padding: 10px 12px;
    border-radius: 12px;
    margin: 12px 0;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ---------- 订单进度 ---------- */
.order-progress {
    background: #f8f5f0;
    border-radius: 20px;
    padding: 16px;
    margin: 12px 0;
}

.progress-steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    margin-bottom: 12px;
}

.progress-steps::before {
    content: '';
    position: absolute;
    top: 18px;
    left: 12%;
    right: 12%;
    height: 3px;
    background: #e0e0e0;
    z-index: 1;
}

.progress-step {
    position: relative;
    z-index: 2;
    text-align: center;
    flex: 1;
}

.progress-step .step-icon {
    width: 36px;
    height: 36px;
    background: #e0e0e0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 6px;
    font-size: 1rem;
    transition: all 0.3s;
}

.progress-step .step-label {
    font-size: 0.6rem;
    color: #999;
}

.progress-step.active .step-icon {
    background: #d4af37;
    color: #1a1a2e;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.3);
}

.progress-step.active .step-label {
    color: #d4af37;
    font-weight: 600;
}

.progress-step.completed .step-icon {
    background: #28a745;
    color: #fff;
}

.progress-step.completed .step-label {
    color: #28a745;
}

.progress-percent {
    margin-top: 12px;
    background: #e0e0e0;
    border-radius: 20px;
    height: 6px;
    overflow: hidden;
}

.progress-percent-bar {
    height: 100%;
    background: linear-gradient(90deg, #d4af37, #c49b2a);
    border-radius: 20px;
    transition: width 0.5s ease;
    width: 0%;
}

.progress-text {
    text-align: right;
    font-size: 0.6rem;
    color: #999;
    margin-top: 6px;
}

/* ---------- 配送标签 ---------- */
.delivery-tag {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 0.55rem;
    margin-left: 4px;
    white-space: nowrap;
}

.delivery-tag.same-day {
    background: #d4edda;
    color: #155724;
}

.delivery-tag.next-day {
    background: #fff3cd;
    color: #856404;
}

/* ---------- 管理员信息 ---------- */
.admin-user-info {
    background: #f8f5f0;
    padding: 10px 12px;
    border-radius: 12px;
    margin: 8px 0;
}

.admin-address-info {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: #333;
    background: #f0f0f0;
    padding: 6px 12px;
    border-radius: 20px;
    flex: 1;
    min-width: 0;
}

.call-link {
    background: #1a1a2e;
    color: #d4af37;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.75rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    border: none;
    white-space: nowrap;
    flex-shrink: 0;
}

.call-link:hover {
    background: #2d2d44;
}

/* ---------- 产品详情 ---------- */
.product-detail-container {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    min-height: 100vh;
    position: relative;
    padding-bottom: 90px;
}

.detail-header {
    position: sticky;
    top: 0;
    background: #fff;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f0f0f0;
    z-index: 10;
}

.detail-header .detail-back {
    font-size: 14px;
    background: transparent;
    border: none;
    border-radius: 20px;
    padding: 6px 14px;
    color: #333;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.detail-header .detail-back:hover {
    color: #d4af37;
}

.detail-header-right {
    display: flex;
    gap: 16px;
}

.detail-header-icon {
    font-size: 1.2rem;
    cursor: pointer;
    background: none;
    border: none;
    color: #333;
    padding: 6px;
    border-radius: 50%;
}

.detail-header-icon:hover {
    background: #f0f0f0;
}

.detail-images {
    width: 100%;
    background: #fff;
    position: relative;
}

.detail-main-image {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    background: #f5f5f5;
}

.detail-thumbnails {
    display: flex;
    gap: 8px;
    padding: 12px 16px;
    overflow-x: auto;
    background: #fff;
}

.detail-thumbnails img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s;
}

.detail-thumbnails img.active {
    border-color: #d4af37;
}

.detail-info {
    padding: 20px 16px 100px;
}

.detail-brand {
    font-size: 0.7rem;
    color: #d4af37;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.detail-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 8px;
    line-height: 1.4;
}

.detail-subtitle {
    font-size: 0.75rem;
    color: #999;
    margin-bottom: 16px;
}

.detail-price-section {
    background: #f8f5f0;
    padding: 16px;
    border-radius: 12px;
    margin: 16px 0;
}

.detail-price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 8px;
}

.detail-current-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: #d4af37;
}

.detail-unit {
    font-size: 0.8rem;
    color: #999;
}

.detail-market-price {
    font-size: 0.8rem;
    color: #999;
    text-decoration: line-through;
}

.detail-member-save {
    font-size: 0.7rem;
    color: #28a745;
}

.detail-delivery {
    margin: 16px 0;
    padding: 12px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.delivery-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 0.8rem;
}

.delivery-label {
    color: #999;
}

.delivery-value {
    color: #333;
}

.detail-description {
    margin: 20px 0;
}

.section-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #d4af37;
    display: inline-block;
}

.detail-description-text {
    font-size: 0.8rem;
    color: #666;
    line-height: 1.6;
    margin-top: 12px;
}

.detail-params {
    margin: 20px 0;
}

.param-item {
    display: flex;
    padding: 10px 0;
    font-size: 0.8rem;
    border-bottom: 1px solid #f5f5f5;
}

.param-label {
    width: 100px;
    color: #999;
}

.param-value {
    flex: 1;
    color: #333;
}

.detail-membership {
    background: #f8f5f0;
    padding: 20px 16px;
    border-radius: 12px;
    margin: 24px 0 32px;
}

.membership-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.membership-list {
    font-size: 0.8rem;
    color: #666;
    line-height: 2;
    padding-left: 20px;
}

.detail-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    padding: 12px 16px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom, 0));
    border-top: 1px solid #eee;
    display: flex;
    gap: 16px;
    max-width: 600px;
    margin: 0 auto;
    z-index: 20;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

.detail-bottom-bar .btn-cart {
    flex: 2;
    background: #1a1a2e;
    color: #d4af37;
    border: 1px solid #d4af37;
    padding: 14px 0;
    border-radius: 40px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
}

.detail-bottom-bar .btn-cart:hover {
    background: #2d2d44;
}

.detail-bottom-bar .btn-share {
    flex: 1;
    background: #f5f5f5;
    color: #666;
    border: none;
    padding: 14px 0;
    border-radius: 40px;
    font-size: 0.85rem;
    cursor: pointer;
}

.detail-bottom-bar .btn-share:hover {
    background: #e8e8e8;
}

.detail-rich-text img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.detail-rich-text p {
    margin-bottom: 12px;
    line-height: 1.8;
}

.detail-rich-text ul,
.detail-rich-text ol {
    margin-left: 20px;
    margin-bottom: 12px;
}

/* ---------- 购物车 ---------- */
.cart-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 200;
}

.cart-btn {
    width: 56px;
    height: 56px;
    border-radius: 28px;
    background: #1a1a2e;
    color: #d4af37;
    border: 1px solid #d4af37;
    font-size: 1.4rem;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.2s;
}

.cart-btn:active {
    transform: scale(0.95);
}

.cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #d4af37;
    color: #1a1a2e;
    width: 20px;
    height: 20px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-panel {
    position: fixed;
    bottom: 90px;
    right: 16px;
    width: 340px;
    max-height: 70vh;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    padding: 20px;
    display: none;
    overflow-y: auto;
    z-index: 201;
}

.cart-panel.show {
    display: block;
}

/* ---------- 住宿卡片 ---------- */
.stay-card {
    background: #fff;
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.stay-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.stay-user {
    font-weight: bold;
    color: #1a1a2e;
}

.stay-room {
    color: #d4af37;
    font-weight: bold;
}

.stay-dates {
    color: #666;
    font-size: 0.85rem;
    margin: 8px 0;
}

.stay-amount {
    font-size: 1.2rem;
    font-weight: bold;
    color: #1a1a2e;
}

.stay-points {
    color: #28a745;
}

.return-badge {
    background: #d4af37;
    color: #1a1a2e;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.7rem;
    margin-left: 8px;
}

.stay-actions {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.stay-search-bar {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    align-items: center;
}

.stay-search-bar input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.stay-form-container {
    background: #f8f5f0;
    padding: 20px;
    border-radius: 16px;
    margin-bottom: 20px;
}

.stay-form-row {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.stay-form-group {
    flex: 1;
}

.stay-form-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 0.8rem;
    color: #666;
}

.stay-form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

/* ---------- 登录模态框 ---------- */
.login-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 400;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.login-overlay.show {
    display: flex;
    opacity: 1;
}

.sms-row {
    display: flex;
    gap: 12px;
}

.sms-row input {
    flex: 1;
}

.sms-row button {
    width: 110px;
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 14px;
    font-size: 0.8rem;
    color: #666;
    cursor: pointer;
    transition: all 0.2s;
}

.sms-row button:hover {
    background: #e8e8e8;
}

.sms-row button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.login-loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #fff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 0.6s linear infinite;
    margin-right: 8px;
    vertical-align: middle;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ---------- 分享模态框 ---------- */
.share-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 10001;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.share-modal.show {
    display: flex;
}

.share-image-container {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    max-width: 90%;
    max-height: 80vh;
    overflow: auto;
    position: relative;
}

.share-image-container img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.share-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    border: none;
    border-radius: 30px;
    padding: 8px 16px;
    cursor: pointer;
    font-size: 14px;
    z-index: 10002;
}

.share-tips {
    text-align: center;
    margin-top: 15px;
    color: #fff;
    font-size: 14px;
    background: rgba(0, 0, 0, 0.5);
    padding: 8px 16px;
    border-radius: 30px;
    display: inline-block;
}

.share-loading {
    text-align: center;
    padding: 60px 40px;
    color: #666;
    font-size: 14px;
}

/* ---------- 兑换模态框 ---------- */
.exchange-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 450;
    display: none;
    align-items: center;
    justify-content: center;
}

.exchange-modal.show {
    display: flex;
}

.exchange-modal-content {
    background: #fff;
    border-radius: 28px;
    padding: 28px;
    width: 90%;
    max-width: 340px;
    text-align: center;
}

.exchange-modal-content .discount {
    font-size: 2rem;
    font-weight: 700;
    color: #d4af37;
    margin: 16px 0;
}

.exchange-modal-buttons {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.exchange-confirm {
    background: #1a1a2e;
    color: #d4af37;
    border: none;
}

.exchange-cancel {
    background: #f5f5f5;
    color: #666;
    border: none;
}

/* ---------- 横幅轮播 ---------- */
.top-banner {
    width: 100%;
    overflow: hidden;
    position: relative;
    background: #f5f5f5;
    border-radius: 16px;
    margin-bottom: 16px;
}

.top-banner-track {
    display: flex;
    transition: transform 0.4s ease-out;
    cursor: grab;
}

.top-banner-track:active {
    cursor: grabbing;
}

.top-banner-slide {
    flex-shrink: 0;
    width: 100%;
}

.top-banner-slide img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
}

.banner-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
    margin-bottom: 8px;
}

.banner-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #ccc;
    transition: all 0.2s;
    cursor: pointer;
}

.banner-dot.active {
    width: 20px;
    border-radius: 3px;
    background-color: #d4af37;
}

.banner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.2s;
}

.top-banner:hover .banner-arrow {
    opacity: 0.7;
}

.banner-arrow:hover {
    opacity: 1 !important;
    background: rgba(0, 0, 0, 0.6);
}

.banner-arrow.left {
    left: 12px;
}

.banner-arrow.right {
    right: 12px;
}

/* ---------- 个人中心 ---------- */
.profile-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.user-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 24px;
    padding: 24px;
    margin-bottom: 24px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.user-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
}

.avatar-wrapper {
    position: relative;
    width: 60px;
    height: 60px;
    cursor: pointer;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.avatar-wrapper:hover {
    transform: scale(1.05);
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: #fff;
    font-size: 1.2rem;
}

.avatar-wrapper:hover .avatar-overlay {
    opacity: 1;
}

.user-info {
    flex: 1;
}

.user-name {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.user-details {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.85rem;
    opacity: 0.8;
}

.member-level-badge {
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid;
}

/* ---------- 统计卡片 ---------- */
.stats-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
}

.stats-grid .stat-card {
    flex: 1;
    min-width: 120px;
    background: #fff;
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s, box-shadow 0.2s;
}

.stats-grid .stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.stat-icon {
    font-size: 2rem;
    margin-bottom: 8px;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a1a2e;
}

.stat-label {
    font-size: 0.8rem;
    color: #999;
    margin-top: 4px;
}

.stat-sub {
    font-size: 0.7rem;
    color: #28a745;
    margin-top: 4px;
}

/* ---------- 信息卡片 ---------- */
.info-card {
    background: #fff;
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
}

.card-header h3 {
    font-size: 1.1rem;
    color: #1a1a2e;
}

.card-subtitle {
    font-size: 0.7rem;
    color: #999;
}

/* ---------- 积分记录 ---------- */
.points-list {
    max-height: 500px;
    overflow-y: auto;
}

.points-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s;
}

.points-item:hover {
    background: #fafafa;
}

.points-icon {
    width: 45px;
    height: 45px;
    background: #f8f5f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.points-content {
    flex: 1;
}

.points-title {
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 4px;
}

.points-date {
    font-size: 0.7rem;
    color: #999;
}

.points-room {
    font-size: 0.7rem;
    color: #d4af37;
    margin-top: 2px;
}

.points-days {
    font-size: 0.7rem;
    color: #999;
    margin-top: 2px;
}

.points-right {
    text-align: right;
}

.points-amount {
    font-weight: 700;
    color: #28a745;
    font-size: 0.9rem;
}

.points-money {
    font-size: 0.7rem;
    color: #999;
    margin-top: 2px;
}

.points-empty {
    text-align: center;
    padding: 40px;
    color: #999;
}

/* ---------- 团购 ---------- */
.groupon-card {
    background: #fff;
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s;
    cursor: pointer;
}

.groupon-card:hover {
    transform: translateY(-2px);
}

.groupon-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.groupon-desc {
    color: #666;
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.groupon-price-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 8px;
}

.groupon-original {
    text-decoration: line-through;
    color: #999;
    font-size: 0.8rem;
}

.groupon-group-price {
    font-size: 1.2rem;
    font-weight: bold;
    color: #d4af37;
}

.groupon-people {
    font-size: 0.85rem;
    color: #28a745;
    margin-bottom: 12px;
}

.progress-groupon {
    height: 6px;
    background: #eee;
    border-radius: 3px;
    overflow: hidden;
    margin: 10px 0;
}

.progress-groupon-bar {
    height: 100%;
    background: #d4af37;
    width: 0%;
}

.groupon-time {
    font-size: 0.7rem;
    color: #999;
    margin: 8px 0;
}

.groupon-btn {
    background: #1a1a2e;
    color: #d4af37;
    border: none;
    padding: 8px 16px;
    border-radius: 30px;
    cursor: pointer;
    width: 100%;
    margin-top: 10px;
}

.groupon-btn:hover {
    background: #2d2d44;
}

.groupon-btn-disabled {
    background: #ccc;
    cursor: not-allowed;
}

.groupon-btn-disabled:hover {
    background: #ccc;
}

.groupon-detail-container {
    max-width: 100%;
    margin: 0 auto;
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

.groupon-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.groupon-detail-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.groupon-detail-price-area {
    display: flex;
    align-items: baseline;
    gap: 16px;
    margin: 20px 0;
    padding: 16px;
    background: #fff;
    border-radius: 20px;
    flex-wrap: wrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.groupon-detail-original {
    text-decoration: line-through;
    color: #999;
    font-size: 1rem;
}

.groupon-detail-group-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: #d4af37;
    letter-spacing: -0.5px;
}

.groupon-detail-group-price small {
    font-size: 0.9rem;
    font-weight: normal;
}

.groupon-click-hint {
    font-size: 0.7rem;
    color: #999;
    text-align: center;
    margin-top: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

/* ---------- 周边店铺卡片 ---------- */
.nearby-shop-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    cursor: pointer;
}

.nearby-shop-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.nearby-shop-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    background: #f5f5f5;
}

.nearby-shop-image-placeholder {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, #f5f5f5, #e8e8e8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: #ccc;
}

.nearby-shop-body {
    padding: 16px;
}

.nearby-shop-name {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 4px;
}

.nearby-shop-category {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 0.7rem;
    background: #f8f5f0;
    color: #666;
    margin-bottom: 8px;
}

.nearby-shop-address {
    font-size: 0.8rem;
    color: #999;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.nearby-shop-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.nearby-shop-tag {
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 0.7rem;
    background: #f0f7ff;
    color: #3b82f6;
}

.nearby-shop-tag.closed {
    background: #fee2e2;
    color: #dc3545;
}

.nearby-shop-status {
    font-size: 0.75rem;
    margin-top: 8px;
}

.nearby-shop-status.open {
    color: #28a745;
}

.nearby-shop-status.closed {
    color: #dc3545;
}

.nearby-shop-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.nearby-shop-actions .nav-btn {
    font-size: 0.7rem;
    padding: 6px 12px;
    gap: 6px;
    flex: 1;
    border-radius: 8px;
    min-height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
}

.nearby-shop-actions .nav-btn-primary {
    background: #1a1a2e;
    color: #d4af37;
}

.nearby-shop-actions .nav-btn-primary:hover {
    background: #2d2d44;
    transform: translateY(-2px);
}

.nearby-shop-actions .nav-btn-secondary {
    background: #f0f0f0;
    color: #333;
}

.nearby-shop-actions .nav-btn-secondary:hover {
    background: #e0e0e0;
    transform: translateY(-2px);
}

.nearby-shop-actions .nav-btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

/* ---------- 导航弹窗 ---------- */
.nav-modal-map-btn {
    padding: 14px 20px;
    background: #f8f5f0;
    border: 1px solid #eee;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1rem;
    text-align: left;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.nav-modal-map-btn:hover {
    background: #f0ebe3;
    transform: translateX(4px);
}

/* ---------- 记录项 ---------- */
.record-item {
    transition: background 0.2s ease;
}

.record-item:hover {
    background: #f8f5f0;
    margin: 0 -12px;
    padding-left: 12px !important;
    padding-right: 12px !important;
    border-radius: 8px;
}

.record-item:last-child {
    border-bottom: none !important;
}

/* ---------- 通用工具 ---------- */
.loading {
    text-align: center;
    padding: 40px;
    color: #666;
}

.loading-profile {
    text-align: center;
    padding: 60px;
    color: #999;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #d4af37;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 10px auto;
}

.img-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 2rem;
    background: #f5f5f5;
    color: #ccc;
}

.scroll-hint {
    text-align: center;
    padding: 16px;
    color: #999;
    font-size: 0.7rem;
    border-top: 1px solid #f0f0f0;
    margin-top: 20px;
}

.custom-toast {
    position: fixed;
    bottom: 120px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 0.8rem;
    z-index: 500;
    max-width: 80%;
    text-align: center;
    display: none;
}

.admin-preview-tip {
    background: #fff3cd;
    color: #856404;
    padding: 10px 16px;
    border-radius: 12px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
}

.admin-preview-tip span:first-child {
    font-size: 1.2rem;
}

/* ---------- 优惠券编码 ---------- */
.coupon-code-display {
    transition: all 0.3s ease;
}

.coupon-code-display:hover {
    background: #d4af37 !important;
    color: #1a1a2e !important;
    border-color: #1a1a2e !important;
    transform: scale(1.02);
}

.coupon-code-display.copied {
    background: #28a745 !important;
    color: #fff !important;
    border-color: #28a745 !important;
}

/* ---------- 响应式 ---------- */
@media (max-width: 600px) {
    .stats-grid {
        gap: 12px;
    }

    .stat-value {
        font-size: 1.3rem;
    }

    .user-card {
        flex-wrap: wrap;
        text-align: center;
        justify-content: center;
    }

    .member-level-badge {
        position: static;
    }

    .points-item {
        flex-wrap: wrap;
    }

    .points-right {
        width: 100%;
        text-align: left;
        padding-left: 60px;
    }

    .groupon-detail-group-price {
        font-size: 1.5rem;
    }

    .groupon-detail-title {
        font-size: 1.3rem;
    }

    .groupon-detail-container {
        padding: 0;
    }

    .nearby-shop-actions {
        flex-direction: column;
    }

    /* 伴手礼盒 - 手机端一行2列 */
    #wenchuangList {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }

    #wenchuangGridAll {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }

    #wenchuangGridAll .product-card {
        margin: 0 !important;
    }

    /* 周边店铺 - 手机端一行2列 */
    #nearbyShopsList,
    #nearbyBusinessList,
    #nearbyAllList,
    #nearbyCommunityList {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }

    .nearby-shop-card {
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
        background: #fff;
        width: 100% !important;
        max-width: 100% !important;
    }

    .nearby-shop-card .nearby-shop-image,
    .nearby-shop-card .nearby-shop-image-placeholder {
        height: 100px;
        width: 100% !important;
        object-fit: cover;
    }

    .nearby-shop-body {
        padding: 8px 10px 10px;
    }

    .nearby-shop-name {
        font-size: 0.75rem;
        font-weight: 600;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        color: #1a1a2e;
        margin-bottom: 2px;
    }

    .nearby-shop-category {
        font-size: 0.55rem;
        padding: 1px 8px;
        border-radius: 8px;
        background: #f8f5f0;
        color: #666;
        display: inline-block;
        margin-bottom: 4px;
    }

    .nearby-shop-address {
        font-size: 0.6rem;
        color: #999;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        margin-bottom: 4px;
        display: flex !important;
        align-items: center;
        gap: 2px;
    }

    .nearby-shop-status {
        font-size: 0.55rem;
        margin-top: 2px;
        display: block !important;
    }

    .nearby-shop-actions {
        display: flex !important;
        flex-direction: row !important;
        gap: 4px !important;
        margin-top: 6px !important;
    }

    .nearby-shop-actions .nav-btn {
        font-size: 0.55rem !important;
        padding: 4px 6px !important;
        gap: 3px !important;
        flex: 1 !important;
        border-radius: 6px !important;
        min-height: 24px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .nearby-shop-actions .nav-btn span {
        display: inline !important;
        font-size: 0.5rem !important;
    }

    .nearby-shop-actions .nav-btn-primary {
        background: #1a1a2e !important;
        color: #d4af37 !important;
    }

    .nearby-shop-actions .nav-btn-secondary {
        background: #f0f0f0 !important;
        color: #333 !important;
    }

    /* 隐藏多余信息 */
    .nearby-shop-tags {
        display: none !important;
    }

    .nearby-shop-body > div[style*="font-size:0.6rem"] {
        display: none !important;
    }
}