/* ========== 前台 H5 / 小程序 样式 ========== */
*{box-sizing:border-box;margin:0;padding:0}
body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;
    background:#f5f6f8;color:#303133;font-size:14px;line-height:1.6;-webkit-tap-highlight-color:transparent}
body.front{max-width:640px;margin:0 auto;background:#f5f6f8;min-height:100vh}
a{color:#3d7eff;text-decoration:none}
h2{font-size:16px;font-weight:600;margin-bottom:10px}
h3{font-size:15px;font-weight:600;margin-bottom:10px}
h4{font-size:14px;font-weight:600;margin:14px 0 8px}
small{font-size:12px;color:#909399}

/* 顶部导航 */
.f-header{background:#fff;box-shadow:0 1px 4px rgba(0,0,0,.06);position:sticky;top:0;z-index:50}
.f-header-in{max-width:640px;margin:0 auto;height:52px;display:flex;align-items:center;justify-content:space-between;padding:0 14px}
.f-logo{font-weight:700;font-size:16px}
.f-header nav{display:flex;gap:16px}
.f-header nav a{font-size:14px;color:#606266;padding:4px 0;border-bottom:2px solid transparent}
.f-header nav a.on{color:#3d7eff;border-bottom-color:#3d7eff;font-weight:600}

/* 搜索栏 */
.f-search{display:flex;gap:8px;padding:10px 12px;background:#fff;align-items:center}
.f-search input{flex:1;padding:8px 12px;border:1px solid #e4e7ed;border-radius:18px;font-size:13px;outline:none;font-family:inherit}
.f-search button{padding:8px 14px;border:none;border-radius:18px;background:#3d7eff;color:#fff;font-size:13px;cursor:pointer;font-family:inherit}
.f-search .btn-loc{background:#fff;color:#3d7eff;border:1px solid #3d7eff}

/* 地图 */
.f-map{height:320px;width:100%;background:#e8eaed}
.map-fallback{display:flex;align-items:center;justify-content:center;height:100%;padding:24px;
    text-align:center;color:#909399;font-size:13px;background:#fff}
.mk{width:30px;height:30px;border-radius:50% 50% 50% 0;transform:rotate(-45deg);
    background:#3d7eff;box-shadow:0 2px 6px rgba(0,0,0,.3);display:flex;align-items:center;justify-content:center}
.mk span{transform:rotate(45deg);color:#fff;font-size:14px}
.iw{min-width:200px;font-size:13px}
.iw-t{font-weight:700;font-size:14px;margin-bottom:4px}
.iw-a{color:#909399;font-size:12px;margin-bottom:6px}
.iw-d,.iw-p{font-size:12px;color:#606266;margin-bottom:3px}
.iw-btn{display:inline-block;margin-top:8px;background:#3d7eff;color:#fff;padding:6px 14px;border-radius:14px;font-size:12px}

/* 卡片列表 */
.f-list{padding:12px}
.f-card{background:#fff;border-radius:10px;padding:14px;margin-bottom:10px;box-shadow:0 1px 3px rgba(0,0,0,.05)}
.f-card-h{display:flex;align-items:center;justify-content:space-between;gap:10px}
.f-card-t{font-weight:600;font-size:15px}
.f-card-a{color:#909399;font-size:12px;margin:6px 0}
.f-card-p em{font-style:normal;display:inline-block;background:#f0f5ff;color:#3d7eff;font-size:12px;
    padding:2px 8px;border-radius:4px;margin:0 6px 4px 0}
.f-badge{font-size:12px;padding:2px 9px;border-radius:11px;white-space:nowrap}
.f-badge.ok{background:#f0f9eb;color:#67c23a}
.f-badge.busy{background:#ecf5ff;color:#409eff}
.f-badge.no{background:#f4f4f5;color:#909399}

/* 面板 */
.f-panel{background:#fff;border-radius:10px;padding:16px;margin:12px;box-shadow:0 1px 3px rgba(0,0,0,.05)}
.f-meta{color:#606266;font-size:13px;margin-bottom:5px;word-break:break-all}
.f-meta b,.f-price{color:#ff6a3d}
.f-price-big{font-size:26px;font-weight:700;color:#ff6a3d;margin-top:10px}
.f-tip-txt{font-size:12px;color:#909399;margin-bottom:12px}
.f-empty,.empty{text-align:center;color:#c0c4cc;padding:24px 0;font-size:13px}

/* 套餐 */
.f-pkgs{margin:12px 0}
.f-pkg{display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px solid #e9e9eb;
    border-radius:8px;margin-bottom:8px;cursor:pointer;background:#fff}
.f-pkg:has(input:checked){border-color:#3d7eff;background:#f5f9ff}
.f-pkg-n{font-weight:600;flex-shrink:0}
.f-pkg-p{color:#ff6a3d;font-weight:700}
.f-pkg-d{color:#909399;font-size:12px;margin-left:auto;text-align:right}

/* 按钮 */
.f-btn{display:block;width:100%;padding:11px;border:none;border-radius:8px;background:#3d7eff;color:#fff;
    font-size:15px;cursor:pointer;font-family:inherit;margin-top:8px;text-align:center}
.f-btn-mini{display:inline-block;padding:6px 14px;border:1px solid #dcdfe6;background:#fff;color:#606266;
    border-radius:16px;font-size:12px;cursor:pointer;font-family:inherit}
.f-btn-mini:hover{color:#3d7eff;border-color:#c6e2ff}
.f-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.f-actions-lg{display:flex;gap:10px;flex-wrap:wrap}
.f-actions-lg .f-btn{flex:1;min-width:130px}
.f-row{display:flex;gap:8px;align-items:center}
.f-row input{flex:1}
.login-box input{width:100%;padding:10px 12px;margin-bottom:12px;border:1px solid #dcdfe6;border-radius:6px;
    font-size:14px;font-family:inherit;outline:none}
.f-msg{color:#f56c6c;font-size:13px;min-height:20px;margin-top:8px}
.f-msg-err{background:#fef0f0;border:1px solid #fde2e2;padding:10px 12px;border-radius:8px;line-height:1.7}

/* 微信扫码支付 */
.f-qr-box{display:flex;justify-content:center;align-items:center;padding:12px 0}
.f-qr{width:220px;height:220px;display:block}
.f-qr-text{font-size:13px;color:#909399;text-align:center;line-height:1.8;word-break:break-all}
.f-tip{position:fixed;top:70px;left:50%;transform:translateX(-50%);background:rgba(0,0,0,.75);color:#fff;
    padding:8px 18px;border-radius:18px;font-size:13px;z-index:99}

/* 订单步骤 */
.f-status{font-size:18px;font-weight:700;color:#3d7eff;margin-bottom:14px}
.steps{display:flex;justify-content:space-between;position:relative}
.step{flex:1;text-align:center;position:relative}
.step-d{width:12px;height:12px;border-radius:50%;background:#dcdfe6;margin:0 auto 6px;position:relative;z-index:2}
.step.done .step-d{background:#3d7eff}
.step:not(:last-child):after{content:'';position:absolute;top:6px;left:50%;width:100%;height:2px;background:#e4e7ed;z-index:1}
.step.done:not(:last-child):after{background:#3d7eff}
.step-t{font-size:12px;color:#909399}
.step.done .step-t{color:#303133}
.step-s{font-size:11px;color:#c0c4cc}

/* 分享页 */
.share-hero{text-align:center;padding:12px 0}
.share-ic{font-size:40px}
.share-hero p{color:#909399;font-size:13px;margin:8px 0}

/* 海报 */
.poster-box{text-align:center}
.poster-img{max-width:100%;border-radius:10px;box-shadow:0 4px 16px rgba(0,0,0,.12)}

/* 底部 */
.f-bottom{max-width:640px;margin:0 auto;padding:16px;text-align:center;color:#c0c4cc;font-size:12px;
    display:flex;justify-content:space-between}
