:root {
  --color-primary: #0f3460;
  --color-primary-dark: #1a1a2e;
  --color-accent: #e74c3c;
  --color-accent-hover: #c0392b;
  --color-accent-light: rgba(231, 76, 60, 0.08);
  --color-bg: #f5f6fa;
  --color-bg-dark: #e8e9f0;
  --color-white: #ffffff;
  --color-card: #ffffff;
  --color-border: #e0e0e0;
  --color-text: #333333;
  --color-text-light: #666666;
  --color-text-muted: #999999;
  --color-success: #27ae60;
  --color-warning: #f39c12;
  --font-mono: 'SF Mono', Monaco, 'Cascadia Code', monospace;
}
*margin:0;padding:0;box-sizing:border-box
body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:#f5f6fa;color:#333;min-height:100vh}
header{background:#fff;padding:16px 20px;box-shadow:0 2px 8px rgba(0,0,0,.06);position:sticky;top:0;z-index:100}
header .inner{max-width:1200px;margin:0 auto;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px}
header .logo{font-size:18px;font-weight:700;color:#1a1a2e;text-decoration:none}
header nav{display:flex;gap:16px;flex-wrap:wrap}
header nav a{color:#666;text-decoration:none;font-size:14px;padding:4px 0;border-bottom:2px solid transparent;transition:all .2s}
header nav a:hover,header nav a.active{color:#0f3460;border-bottom-color:#0f3460}
.hero{position:relative;overflow:hidden;background:linear-gradient(135deg,#1a1a2e,#0f3460);color:#fff;min-height:51vh;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:60px 20px;text-align:center}
.hero h1{font-size:36px;margin-bottom:12px}
.hero p{font-size:18px;font-weight:500;letter-spacing:0.5px;opacity:.9;max-width:700px;margin:0 auto;line-height:1.5}
.hero .cta{display:inline-block;margin-top:24px;padding:14px 36px;background:var(--color-accent);color:#fff;border-radius:30px;text-decoration:none;font-size:16px;font-weight:600;transition:all .2s}
.hero .cta:hover{background:var(--color-accent-hover);transform:scale(1.05)}
.container{max-width:1200px;margin:0 auto;padding:40px 16px}
.section-title{text-align:center;font-size:24px;margin-bottom:8px;color:#1a1a2e}
.section-sub{text-align:center;color:#999;font-size:14px;margin-bottom:32px}
.features{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:24px;margin-bottom:40px}
.feature-card{background:#fff;border-radius:14px;padding:28px;text-align:center;box-shadow:0 2px 12px rgba(0,0,0,.06)}
.feature-card .icon{font-size:40px;margin-bottom:12px}
.feature-card h3{font-size:16px;margin-bottom:8px;color:#1a1a2e}
.feature-card p{font-size:13px;color:#888;line-height:1.6}
.eq-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:40px}
.eq-card{background:#fff;border-radius:12px;padding:20px;text-align:center;box-shadow:0 2px 8px rgba(0,0,0,.06);cursor:pointer;transition:transform .2s,box-shadow .2s;text-decoration:none;color:inherit;display:block}.eq-card:hover{transform:translateY(-3px);box-shadow:0 6px 16px rgba(0,0,0,.1)}
.eq-card .icon{font-size:36px;margin-bottom:8px}
.eq-card h4{font-size:14px;margin-bottom:4px;color:#1a1a2e}
.eq-card .price{font-size:18px;font-weight:700;color:var(--color-accent)}
.eq-card .price small{font-size:11px;font-weight:400;color:#999}
.contact-bar{background:#1a1a2e;color:#e0e0e0;padding:40px 20px 32px;text-align:center}
.contact-bar h3{font-size:20px;font-weight:700;color:#fff;margin-bottom:16px}
.contact-bar .info{display:flex;flex-direction:column;align-items:stretch;gap:10px;margin-top:12px;padding:0 20px}
.contact-bar .info .ci-row{font-size:14px;opacity:.92;line-height:1.8}
.contact-bar .qrcode-box{display:flex;align-items:center;justify-content:center;gap:24px;margin-top:24px;padding-top:24px;border-top:1px solid rgba(255,255,255,.15);flex-wrap:wrap}
.contact-bar .qrcode-box img{width:110px;height:110px;border-radius:10px;background:#fff;padding:4px}
.contact-bar .qrcode-box .qrcode-text{text-align:center;font-size:13px;opacity:.9;line-height:1.7}
.contact-bar .qrcode-box .qr-title{font-size:16px;font-weight:700;color:#fff;margin-bottom:6px}
.contact-bar .qrcode-box .qr-desc{font-size:13px;color:#ccc}
footer{background:#111;color:#999;text-align:center;padding:16px 20px;font-size:12px;border-top:1px solid rgba(255,255,255,.08)}

@media (max-width:768px){
  .hero{min-height:auto;display:block}
  .section-title{font-size:15px;line-height:1.4}
  .hero h1{font-size:24px}
  .hero p{font-size:16px;font-weight:700;letter-spacing:2px}
  .eq-grid{grid-template-columns:repeat(2,1fr)}
  .contact-bar{padding:28px 16px 24px}
  .contact-bar h3{font-size:18px}
  .contact-bar .info .ci-row{font-size:13px}
  .contact-bar .qrcode-box{flex-direction:column;gap:16px}
  .contact-bar .qrcode-box img{width:100px;height:100px}
  .footer-about{padding:16px 12px}
  .footer-about p{font-size:12px;line-height:1.7}
}

.reviews-section{max-width:900px;margin:0 auto 40px;padding:0 16px}
.reviews-card{background:#fff;border-radius:16px;padding:28px;box-shadow:0 2px 16px rgba(0,0,0,.06);overflow:hidden}
.reviews-card .rv-title{font-size:20px;font-weight:700;color:#1a1a2e;margin-bottom:4px;display:flex;align-items:center;gap:8px}
.reviews-card .rv-sub{font-size:13px;color:#999;margin-bottom:16px}
.reviews-scroll{height:320px;overflow:hidden;position:relative}
.reviews-track{animation:scrollUp 30s linear infinite}
.reviews-track:hover{animation-play-state:paused}
.review-item{display:flex;gap:12px;padding:14px 0;border-bottom:1px solid #f0f0f0}
.review-item:last-child{border-bottom:none}
.review-avatar{width:36px;height:36px;border-radius:50%;background:linear-gradient(135deg,#0f3460,#e74c3c);color:#fff;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:600;flex-shrink:0}
.review-body{flex:1;min-width:0}
.review-body .rv-name{font-size:14px;font-weight:600;color:#333}
.review-body .rv-tag{font-size:11px;color:#0f3460;background:#eef2ff;padding:2px 8px;border-radius:10px;margin-left:6px;white-space:nowrap}
.review-body .rv-text{font-size:13px;color:#666;line-height:1.5;margin-top:4px}
.review-body .rv-time{font-size:11px;color:#bbb;margin-top:2px}
@keyframes scrollUp{0%{transform:translateY(0)}100%{transform:translateY(-50%)}}
@media (max-width:768px){.reviews-scroll{height:260px}}
/* Breadcrumb */
.breadcrumb { padding: 12px 24px; font-size: 14px; color: #666; background: #f8f9fa; border-bottom: 1px solid #eee; }
.breadcrumb a { color: #1a73e8; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { color: #333; }
@media (max-width:768px) { .breadcrumb { padding: 10px 16px; font-size: 13px; white-space: nowrap; overflow-x: auto; } }

/* Booking Form */
.subtitle{text-align:center;color:#999;font-size:14px;margin-bottom:24px}
.card{background:#fff;border-radius:16px;padding:28px;box-shadow:0 2px 16px rgba(0,0,0,.06);margin-bottom:20px}
.card h2{font-size:18px;color:#1a1a2e;margin-bottom:20px;padding-bottom:12px;border-bottom:2px solid #f0f0f0}
.form-group{margin-bottom:18px}
.form-group:last-child{margin-bottom:0}
.form-group label{display:block;font-size:14px;font-weight:600;color:#333;margin-bottom:6px}
.form-group .required{color:var(--color-accent)}
.form-group input,.form-group select,.form-group textarea{width:100%;padding:12px 14px;border:1px solid #ddd;border-radius:10px;font-size:15px;font-family:inherit;color:#333;background:#fafbfc;transition:border-color .2s,box-shadow .2s}
.form-group input:focus,.form-group select:focus,.form-group textarea:focus{outline:none;border-color:#0f3460;box-shadow:0 0 0 3px rgba(15,52,96,.1);background:#fff}
.form-group textarea{resize:vertical;min-height:80px}
.btn{display:block;width:100%;padding:15px;background:linear-gradient(135deg,#1a1a2e,#0f3460);color:#fff;border:none;border-radius:12px;font-size:16px;font-weight:600;cursor:pointer;transition:all .2s}
.btn:hover{transform:translateY(-1px);box-shadow:0 4px 16px rgba(15,52,96,.3)}
.btn:disabled{opacity:.6;cursor:not-allowed;transform:none}
.btn-success{background:linear-gradient(135deg,#07c160,#06ad56)}
.wechat-card{background:#fff;border-radius:16px;padding:24px;text-align:center;box-shadow:0 2px 12px rgba(0,0,0,.06);font-size:14px;color:#666}
.wechat-card .wechat-id{font-size:24px;font-weight:700;color:#07c160;margin:8px 0;letter-spacing:2px}
.wechat-card .tip{font-size:12px;color:#999}
.success-box{text-align:center}
.success-box .icon{font-size:48px;margin-bottom:16px}
.success-box h2{font-size:22px;color:#1a1a2e;margin-bottom:12px}
.success-box .info{font-size:14px;color:#666;line-height:1.8}
.toast{position:fixed;top:20px;left:50%;transform:translateX(-50%);background:#333;color:#fff;padding:12px 24px;border-radius:10px;font-size:14px;z-index:9999;animation:toastIn .3s ease}
@keyframes toastIn{from{opacity:0;top:0}to{opacity:1;top:20px}}


/* ====== 筛选按钮 ====== */
.filters { display: flex; gap: 10px; margin-bottom: 24px; flex-wrap: wrap; justify-content: center; }
.filters .filter-btn { padding: 8px 20px; background: #fff; border: 1.5px solid #ddd; border-radius: 24px; font-size: 13px; color: #666; cursor: pointer; transition: all .2s; }
.filters .filter-btn:hover { border-color: #0f3460; color: #0f3460; }
.filters .filter-btn.active { background: #0f3460; color: #fff; border-color: #0f3460; }

/* ====== 设备网格 ====== */
.grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
@media (max-width: 768px) { .grid { grid-template-columns: repeat(2, 1fr); } }

/* ====== 下单弹窗 ====== */
.drawer-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 200; display: none; align-items: flex-end; justify-content: center; }
.drawer-overlay.show { display: flex; }
.drawer { background: #fff; width: 100%; max-width: 500px; border-radius: 20px 20px 0 0; max-height: 90vh; display: flex; flex-direction: column; overflow: hidden; }
.drawer-header { display: flex; justify-content: space-between; align-items: center; padding: 18px 24px; border-bottom: 1px solid #eee; flex-shrink: 0; }
.drawer-header .title { font-size: 17px; font-weight: 700; color: #1a1a2e; }
.drawer-body { flex: 1; overflow-y: auto; padding: 20px 24px; min-height: 0; }
.close { background: none; border: none; font-size: 22px; color: #999; cursor: pointer; padding: 0; line-height: 1; }
.close:hover { color: #333; }

/* ====== 步骤指示器 ====== */
.step-indicator { display: flex; justify-content: center; gap: 8px; margin-bottom: 24px; }
.step-indicator .step { width: 32px; height: 4px; border-radius: 2px; background: #e0e0e0; transition: background .3s; }
.step-indicator .step.active { background: #0f3460; }
.step-indicator .step.done { background: #07c160; }

/* ====== 价格阶梯 ====== */
.pricing-tiers { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.tier-btn { flex: 1; min-width: 80px; padding: 10px 8px; background: #f0f2f5; border: 2px solid transparent; border-radius: 12px; text-align: center; cursor: pointer; transition: all .2s; }
.tier-btn:hover { border-color: #0f3460; }
.tier-btn.active { border-color: #0f3460; background: #eef2ff; }
.tier-days { font-size: 16px; font-weight: 700; color: #1a1a2e; }
.tier-price { font-size: 18px; font-weight: 700; color: #e74c3c; margin: 4px 0; }
.tier-unit { font-size: 11px; color: #999; }

/* ====== 自定义天数 ====== */
.custom-days { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.custom-days label { font-size: 14px; color: #666; white-space: nowrap; }
.custom-days input { width: 80px; padding: 10px 12px; border: 1.5px solid #ddd; border-radius: 10px; font-size: 14px; text-align: center; }
.custom-days input:focus { outline: none; border-color: #0f3460; }
.custom-days .unit { font-size: 14px; color: #666; }

/* ====== 价格汇总 ====== */
.price-summary { background: #f8f9fa; border-radius: 14px; padding: 16px; margin-bottom: 20px; }
.price-summary .row { display: flex; justify-content: space-between; align-items: center; padding: 4px 0; font-size: 14px; }
.price-summary .row.total { border-top: 1px solid #e0e0e0; margin-top: 8px; padding-top: 12px; font-size: 16px; font-weight: 700; color: #e74c3c; }

/* ====== 按钮组 ====== */
.btn-group { display: flex; gap: 12px; }
.btn-group.col { flex-direction: column; }

/* ====== 微信弹窗 ====== */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 300; display: none; align-items: center; justify-content: center; }
.modal-overlay.show { display: flex; }
.modal-box { background: #fff; width: 90%; max-width: 360px; border-radius: 20px; padding: 32px 24px; text-align: center; position: relative; }
.modal-box .icon { font-size: 48px; margin-bottom: 16px; }
.modal-box h3 { font-size: 20px; color: #1a1a2e; margin-bottom: 8px; }
.wechat-id { font-size: 22px; font-weight: 700; color: #07c160; margin: 12px 0; letter-spacing: 2px; }
.copy-btn { display: block; width: 100%; padding: 12px; background: #07c160; color: #fff; border: none; border-radius: 12px; font-size: 15px; font-weight: 600; cursor: pointer; margin-top: 12px; transition: all .2s; }
.copy-btn:hover { background: #06ad56; }

/* ====== 保证金选项 ====== */
.deposit-options { display: flex; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.deposit-option { flex: 1; min-width: 100px; padding: 12px; background: #f0f2f5; border: 2px solid transparent; border-radius: 12px; text-align: center; cursor: pointer; transition: all .2s; font-size: 13px; }
.deposit-option:hover { border-color: #0f3460; }
.deposit-option.active { border-color: #0f3460; background: #eef2ff; font-weight: 600; }
.deposit-option.disabled { opacity: .4; cursor: not-allowed; }

/* ====== 图片响应式 ====== */
img{max-width:100%;height:auto}
.img-wrap{position:relative;overflow:hidden;border-radius:10px}
.img-wrap img{display:block;width:100%;object-fit:cover;aspect-ratio:4/3}
.img-placeholder{display:flex;align-items:center;justify-content:center;background:#e8ecf1;color:#aaa;font-size:32px;aspect-ratio:4/3;border-radius:10px}

/* ====== 分类角标 ====== */
.cat-badge{position:absolute;top:12px;left:12px;background:rgba(15,52,96,.85);color:#fff;font-size:11px;padding:3px 10px;border-radius:20px;z-index:1}

/* ====== 设备卡片内容 ====== */
.card .info{padding:16px 0 0}
.card .name{font-size:14px;font-weight:600;color:#1a1a2e;margin-bottom:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.card .params{font-size:12px;color:#999;margin-bottom:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.card .price-row{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:12px}
.card .price{font-size:18px;font-weight:700;color:var(--color-accent)}
.card .price small{font-size:11px;font-weight:400;color:#999}
.card .deposit{font-size:13px;color:#666}
.card .actions{display:flex;gap:8px}
.btn-order{flex:1;padding:10px 6px;background:linear-gradient(135deg,#1a1a2e,#0f3460);color:#fff;border:none;border-radius:24px;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.btn-order:hover{transform:translateY(-1px);box-shadow:0 4px 12px rgba(15,52,96,.3)}
.btn-xianyu{flex:0 0 auto;padding:10px 8px;background:#fff;color:#ff5000;border:1.5px solid #ff5000;border-radius:24px;font-size:14px;font-weight:600;text-decoration:none;cursor:pointer;transition:all .2s;text-align:center;white-space:nowrap}
.btn-xianyu:hover{background:#fff5f2}
.btn-wechat{flex:0 0 auto;padding:10px 8px;background:#fff;color:#07c160;border:1.5px solid #07c160;border-radius:24px;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s;white-space:nowrap}
.btn-wechat:hover{background:#f0fff4}
.btn-outline{flex:1;padding:12px;background:#fff;color:#1a1a2e;border:1.5px solid #ddd;border-radius:12px;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s}
.btn-outline:hover{border-color:#0f3460;color:#0f3460}
.btn-primary{flex:1;padding:12px;background:linear-gradient(135deg,#1a1a2e,#0f3460);color:#fff;border:none;border-radius:12px;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s}
.btn-primary:hover{transform:translateY(-1px);box-shadow:0 4px 12px rgba(15,52,96,.3)}
.btn-block{display:block;width:100%}

/* ====== 下单弹窗已选设备 ====== */
.selected-eq{display:flex;gap:12px;align-items:center;padding:12px;background:#f8f9fa;border-radius:12px;margin-bottom:16px}
.selected-eq img{width:80px;height:60px;object-fit:cover;border-radius:8px;flex-shrink:0}
.selected-eq .info{flex:1;min-width:0}
.selected-eq .name{font-size:14px;font-weight:600;color:#1a1a2e;margin-bottom:2px}
.selected-eq .meta{font-size:12px;color:#666}

@media(max-width:768px){.card{padding:16px}.btn{font-size:15px;padding:14px}.wechat-card{padding:20px}.card .actions{flex-wrap:wrap;gap:6px}.btn-order{flex:1 1 100%;padding:8px 10px;font-size:13px;border-radius:16px}.btn-xianyu,.btn-wechat{flex:0 1 calc(50% - 3px);padding:8px 4px;font-size:12px;border-radius:16px;box-sizing:border-box}}
@media(max-width:768px){.card .name,.card .params{white-space:normal;overflow:visible}}
/* ====== 移动端响应式 - 设备页 ====== */
@media (max-width: 480px) {
  .grid { grid-template-columns: 1fr; gap: 10px; }
  .card { padding: 12px; border-radius: 12px; margin-bottom: 0; }
  .card .info { padding: 10px 0 0; }
  .card .name { font-size: 12px; white-space: normal; }
  .card .params { font-size: 11px; white-space: normal; }
  .card .price { font-size: 15px; }
  .card .price small { font-size: 10px; }
  .card .price-row { margin-bottom: 8px; }
  .cat-badge { top: 8px; left: 8px; font-size: 10px; padding: 2px 8px; }
  .img-wrap { border-radius: 8px; }
  .container { padding: 0 10px; }
  .filters { gap: 6px; padding: 0 0 12px; }
  .filters .filter-btn { padding: 6px 12px; font-size: 12px; }
  .btn-order, .btn-xianyu, .btn-wechat { font-size: 13px; padding: 10px; }
  header { padding: 10px 8px; }
  header .inner { flex-direction: column; align-items: center; gap: 6px; }
  header .logo { margin-bottom: 0; font-size: 14px; }
  header nav { width: 100%; justify-content: center; gap: 4px; flex-wrap: nowrap; }
  header nav a { font-size: 11px; padding: 3px 4px; white-space: nowrap; }
}

/* ====== 管理后台 ====== */
.login-overlay{position:fixed;inset:0;background:rgba(0,0,0,.6);z-index:999;display:flex;align-items:center;justify-content:center}
.login-box{background:#fff;border-radius:20px;padding:40px;width:90%;max-width:400px;box-shadow:0 20px 60px rgba(0,0,0,.3)}
.login-box h1{font-size:24px;margin-bottom:8px;text-align:center}
.login-box .sub{text-align:center;color:#999;font-size:14px;margin-bottom:24px}
.login-box input{display:block;width:100%;padding:12px 16px;margin-bottom:12px;border:1.5px solid #e0e0e0;border-radius:12px;font-size:15px;box-sizing:border-box;outline:none;transition:border .2s}
.login-box input:focus{border-color:#0f3460}
.login-btn{display:block;width:100%;padding:14px;background:linear-gradient(135deg,#1a1a2e,#0f3460);color:#fff;border:none;border-radius:12px;font-size:16px;font-weight:600;cursor:pointer;margin-top:8px}
.login-btn:hover{opacity:.92}
.auto-status{text-align:center;font-size:13px;color:#999;margin-bottom:16px;padding:8px;background:#f5f5f5;border-radius:8px}
.remember-row{display:flex;align-items:center;gap:8px;margin-bottom:12px;font-size:13px;color:#666}
.remember-row input[type=checkbox]{width:auto;margin:0}
.error{color:var(--color-accent);font-size:13px;text-align:center;margin-top:12px;min-height:20px}

.main-layout{display:flex;min-height:100vh}
.sidebar{width:220px;background:#1a1a2e;color:#fff;padding:24px 0;flex-shrink:0}
.sidebar .logo{font-size:18px;font-weight:700;padding:0 20px 24px;border-bottom:1px solid rgba(255,255,255,.1);margin-bottom:16px}
.sidebar nav a{display:block;padding:12px 20px;color:rgba(255,255,255,.65);text-decoration:none;font-size:14px;transition:all .2s;cursor:pointer}
.sidebar nav a:hover,.sidebar nav a.active{color:#fff;background:rgba(255,255,255,.08)}
.content{flex:1;background:#f5f6fa;min-width:0}
.content-header{display:flex;justify-content:space-between;align-items:center;padding:20px 32px;background:#fff;border-bottom:1px solid #e8e8e8}
.content-header h2{font-size:20px;font-weight:600;color:#1a1a2e}
.logout-btn{padding:8px 20px;background:#fff;color:var(--color-accent);border:1.5px solid var(--color-accent);border-radius:8px;font-size:13px;cursor:pointer}
.logout-btn:hover{background:#fff5f5}

.panel{display:none;padding:24px 32px}
.panel.active{display:block}

.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:20px;margin-bottom:24px}
.stat-card{background:#fff;border-radius:14px;padding:24px;box-shadow:0 2px 8px rgba(0,0,0,.04)}
.stat-card .label{font-size:13px;color:#999;margin-bottom:8px}
.stat-card .value{font-size:28px;font-weight:700;color:#1a1a2e}

.toolbar{margin-bottom:16px;display:flex;gap:12px;flex-wrap:wrap}

.data-table{width:100%;border-collapse:collapse;background:#fff;border-radius:12px;overflow:hidden;box-shadow:0 2px 8px rgba(0,0,0,.04)}
.data-table th{background:#f8f9fa;padding:14px 16px;text-align:left;font-size:13px;font-weight:600;color:#666;border-bottom:2px solid #e8e8e8}
.data-table td{padding:14px 16px;font-size:14px;border-bottom:1px solid #f0f0f0;vertical-align:middle}
.data-table tr:hover{background:#fafbfc}

.btn{padding:10px 20px;border-radius:10px;font-size:14px;font-weight:500;border:none;cursor:pointer;transition:all .2s}
.btn-primary{background:#0f3460;color:#fff}
.btn-primary:hover{background:#1a4a80}
.btn-sm{padding:6px 14px;font-size:12px;border-radius:8px}
.btn-danger{background:var(--color-accent);color:#fff}
.btn-danger:hover{background:#c0392b}
.del-btn{padding:6px 14px;background:#fff;color:var(--color-accent);border:1.5px solid var(--color-accent);border-radius:8px;font-size:12px;cursor:pointer}
.del-btn:hover{background:#fff5f5}

label,.label{display:block;font-size:13px;font-weight:600;color:#333;margin-bottom:6px;margin-top:16px}
input[type=text],input[type=password],textarea,select{display:block;width:100%;padding:10px 14px;border:1.5px solid #e0e0e0;border-radius:10px;font-size:14px;box-sizing:border-box;outline:none;transition:border .2s}
input[type=text]:focus,input[type=password]:focus,textarea:focus,select:focus{border-color:#0f3460}
textarea{min-height:80px;resize:vertical}

.modal-overlay{position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:300;display:none;align-items:center;justify-content:center}
.modal-overlay.active{display:flex}
.modal{background:#fff;border-radius:16px;padding:32px;width:90%;max-width:640px;max-height:85vh;overflow-y:auto;box-shadow:0 20px 60px rgba(0,0,0,.2)}
.modal h3{font-size:20px;margin-bottom:20px;color:#1a1a2e}
.modal-actions{display:flex;gap:12px;justify-content:flex-end}

.img-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(100px,1fr));gap:12px;margin-top:12px}
.img-item{position:relative;border-radius:10px;overflow:hidden;aspect-ratio:1;background:#f0f0f0}
.img-item img{width:100%;height:100%;object-fit:cover}
.img-item .del-btn{position:absolute;top:4px;right:4px;width:24px;height:24px;padding:0;display:flex;align-items:center;justify-content:center;border-radius:50%;font-size:14px}

.upload-zone{border:2px dashed #d0d0d0;border-radius:12px;padding:32px;text-align:center;cursor:pointer;transition:all .2s;color:#999;font-size:14px}
.upload-zone:hover{border-color:#0f3460;color:#0f3460;background:#f8faff}
.video-preview{margin-top:12px;max-width:400px;border-radius:10px;overflow:hidden}
.video-preview video{width:100%;display:block}

.tier-row{display:flex;align-items:center;gap:8px;margin-bottom:8px}
.tier-row input{flex:1;margin:0}
.tier-row .del-btn{flex-shrink:0}
.order{margin-top:4px}
.order .del-btn{margin-left:8px}

/* ====== Footer v=20260706-01 ====== */
.footer-about{max-width:1200px;margin:0 auto;padding:28px 16px;color:#bbb;font-size:13px;line-height:2;border-top:1px solid rgba(255,255,255,.1)}
.footer-about p{margin-bottom:12px;line-height:1.8}
.footer-about p:last-child{margin-bottom:0}
.footer-about strong{color:#e0e0e0}
.footer-highlight{font-weight:700;color:#e0e0e0!important;font-size:14px}
@media (max-width:768px){
  .footer-about{padding:20px 12px}
  .footer-about p{font-size:12px;line-height:1.7}
  .footer-highlight{font-size:13px}
}
@media (max-width:480px){
  .contact-bar h3{font-size:16px}
  .contact-bar .info .ci-row{font-size:12px}
  .contact-bar .qrcode-box .qr-title{font-size:14px}
  .contact-bar .qrcode-box .qr-desc{font-size:12px}
  .footer-about p{font-size:12px}
}
/* ========== 二手专栏 ========== */
.sh-hero {
  background: linear-gradient(135deg, #0f3460 0%, #16213e 50%, #1a1a2e 100%);
  padding: 70px 20px;
  color: #fff;
  position: relative;
  display: flex;
  align-items: center;
  min-height: 440px;
}
.sh-hero .inner { width: 100%; }
.sh-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}
.sh-hero h1 {
  font-size: 38px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 1px;
  text-align: center;
}
.sh-hero-sub {
  font-size: 16px;
  color: rgba(255,255,255,0.9);
  margin: 0 auto 28px;
  line-height: 1.7;
  max-width: 520px;
}
.sh-hero-grid > div:first-child { text-align: center; }
.sh-hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}
.sh-btn {
  display: inline-block;
  padding: 14px 40px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
  border: 2px solid transparent;
}
.sh-btn-primary {
  background: var(--color-accent);
  color: #fff;
}
.sh-btn-primary:hover { background: var(--color-accent-hover); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(233,69,96,0.4); }
.sh-btn-outline {
  border: 2px solid rgba(255,255,255,0.5);
  color: #fff;
}
.sh-btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

.sh-section {
  padding: 60px 20px;
}
.sh-section-dark {
  background: var(--color-bg);
}
.sh-section-light {
  background: var(--color-bg);
}
.sh-section-title {
  font-size: 28px;
  text-align: center;
  margin-bottom: 8px;
  color: var(--color-bg-dark);
}
.sh-section-desc {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 14px;
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

/* 产品网格 */
/* 缩小卡片 */
.sh-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.sh-card {
  min-height: 420px;
  background: var(--color-white);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  border: 1px solid #eef0f5;
}
.sh-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}
.sh-card-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--color-accent);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  z-index: 2;
  letter-spacing: 1px;
}
.sh-card-img {
  width: 100%;
  aspect-ratio: 3/2.5;
  background: #eef1f5;
  overflow: hidden;
}
.sh-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.sh-card:hover .sh-card-img img { transform: scale(1.04); }

/* 二手卡片视频 */
.sh-card-video {
  width: 100%;
  aspect-ratio: 3/2.5;
  background: #eef1f5;
  overflow: hidden;
}
.sh-card-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sh-card-body {
  padding: 12px 14px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.sh-card-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-bg-dark);
  line-height: 1.4;
  margin-bottom: 4px;
}
.sh-card-condition {
  font-size: 11px;
  color: var(--color-accent);
  margin-bottom: 8px;
  line-height: 1.5;
}
.sh-card-desc {
  font-size: 12px;
  color: var(--color-text-light);
  line-height: 1.6;
  margin-bottom: 10px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sh-card-features {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}
.sh-tag {
  font-size: 10px;
  background: rgba(233,69,96,0.12);
  color: var(--color-accent);
  padding: 2px 6px;
  border-radius: 4px;
  white-space: nowrap;
}
.sh-card-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.sh-card-price {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-accent);
}
.sh-card-original {
  font-size: 12px;
  color: var(--color-text-light);
  text-decoration: line-through;
}
.sh-card-original em {
  font-style: normal;
  text-decoration: none;
  color: var(--color-accent);
  font-weight: 600;
  margin-left: 4px;
}
.sh-card-btn {
  display: block;
  text-align: center;
  padding: 8px;
  background: linear-gradient(135deg, var(--color-accent), #c23152);
  color: #fff;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s;
}
.sh-card-btn:hover { opacity: 0.9; }

/* 移动端适配 */
@media (max-width: 768px) {
  .sh-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .sh-card-name { font-size: 13px; }
  .sh-card-desc { font-size: 11px; }
  .sh-card-price { font-size: 18px; }
  .sh-card-body { padding: 10px 10px 14px; }
}
/* 回收区块 */
.sh-recycle-preview {
  margin-top: 40px;
  padding: 40px 30px;
  background: var(--color-white);
  border-radius: 14px;
  border: 1px solid #eef0f5;
}
.sh-recycle-steps {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.sh-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  color: #ccc;
  font-size: 14px;
}
.sh-step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
}

/* ========== 响应式 ========== */
@media (max-width: 1024px) {
  .sh-grid { grid-template-columns: repeat(2, 1fr); }
  .sh-recycle-steps { flex-wrap: wrap; }
  .sh-step { flex: 1 1 40%; }
}
@media (max-width: 640px) {
  .sh-hero { padding: 48px 20px; min-height: auto; display: block; }
  .sh-hero h1 { font-size: 28px; }
  .sh-hero-sub { font-size: 15px; max-width: none; margin: 0 auto 24px; }
  .sh-hero-grid { grid-template-columns: 1fr !important; gap: 24px !important; }
  .sh-hero-grid > div:first-child { text-align: center !important; }
  .sh-hero-btns { justify-content: center; }
  #shHeroVideoContainer { max-width: 340px; margin: 0 auto; }
  .sh-section { padding: 40px 16px; }
  .sh-section-title { font-size: 22px; }
  .sh-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .sh-card-name { font-size: 13px; }
  .sh-card-desc { font-size: 12px; }
  .sh-card-price { font-size: 20px; }
  .sh-card-body { padding: 12px 12px 16px; }
  .sh-recycle-steps { flex-direction: column; gap: 12px; }
  .sh-step { flex-direction: row; gap: 12px; text-align: left; }


/* ===== News Section ===== */
.news-section { padding: 60px 0; background: #f8f9fb; }
.news-section .section-header { text-align: center; margin-bottom: 40px; }
.news-section .section-title { font-size: 28px; font-weight: 700; color: #1a1a2e; margin-bottom: 8px; }
.news-section .section-sub { font-size: 15px; color: #888; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1120px; margin: 0 auto; }
.news-loading { text-align: center; color: #999; padding: 40px; grid-column: 1/-1; }
.news-card { display: block; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,0.04); transition: transform .25s, box-shadow .25s; text-decoration: none; color: inherit; }
.news-card:hover { transform: translateY(-6px); box-shadow: 0 8px 28px rgba(0,0,0,0.1); }
.news-card-cover { width: 100%; height: 180px; overflow: hidden; background: #eef1f5; }
.news-card-cover img { width: 100%; height: 100%; object-fit: cover; }
.news-card-cover-placeholder { display: flex; align-items: center; justify-content: center; font-size: 48px; }
.news-card-body { padding: 16px 18px 18px; }
.news-tag { display: inline-block; padding: 2px 10px; border-radius: 10px; font-size: 11px; font-weight: 600; margin-bottom: 8px; }
.news-tag-service { background: #e8f4fd; color: #3498db; }
.news-tag-sub { background: #fef5e7; color: #e67e22; }
.news-card-title { font-size: 15px; font-weight: 600; margin-bottom: 8px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-card-desc { font-size: 13px; color: #888; margin-bottom: 10px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-card-time { font-size: 12px; color: #bbb; }
.news-more { text-align: center; margin-top: 36px; }
.news-more .btn { padding: 10px 32px; border: 1.5px solid #d0d0d0; border-radius: 8px; font-size: 14px; color: #555; text-decoration: none; transition: all .2s; display: inline-flex; align-items: center; gap: 6px; }
.news-more .btn:hover { border-color: #0f3460; color: #0f3460; }
.news-more .arrow { font-size: 16px; }

/* ===== News List Page ===== */
.news-page { max-width: 900px; margin: 0 auto; padding: 40px 20px 60px; }
.news-page-header { text-align: center; margin-bottom: 36px; }
.news-page-header h1 { font-size: 28px; font-weight: 700; color: #1a1a2e; }
.news-tabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 32px; }
.news-tab { padding: 8px 24px; border: 1.5px solid #e0e0e0; border-radius: 20px; font-size: 14px; cursor: pointer; background: #fff; color: #555; transition: all .2s; }
.news-tab:hover { border-color: #0f3460; color: #0f3460; }
.news-tab.active { background: #0f3460; color: #fff; border-color: #0f3460; }
.news-list-item { display: flex; gap: 20px; padding: 20px 0; border-bottom: 1px solid #f0f0f0; text-decoration: none; color: inherit; transition: background .15s; }
.news-list-item:hover { background: #f8f9fb; }
.news-list-thumb { width: 160px; height: 100px; border-radius: 10px; overflow: hidden; flex-shrink: 0; background: #eef1f5; }
.news-list-thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-list-thumb-placeholder { display: flex; align-items: center; justify-content: center; font-size: 36px; }
.news-list-info { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.news-list-info h3 { font-size: 16px; font-weight: 600; margin-bottom: 6px; line-height: 1.4; }
.news-list-info .news-list-desc { font-size: 13px; color: #888; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-list-meta { display: flex; align-items: center; gap: 12px; font-size: 12px; color: #bbb; }
.news-pagination { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 32px; }
.news-pagination button { padding: 8px 18px; border: 1.5px solid #e0e0e0; border-radius: 8px; background: #fff; cursor: pointer; font-size: 14px; transition: all .2s; }
.news-pagination button:hover:not(:disabled) { border-color: #0f3460; color: #0f3460; }
.news-pagination button:disabled { opacity: 0.4; cursor: default; }
.news-pagination .page-info { font-size: 14px; color: #888; }
.news-empty { text-align: center; padding: 60px 20px; color: #999; font-size: 15px; }

@media (max-width: 768px) {
  .news-grid { grid-template-columns: 1fr 1fr; padding: 0 16px; }
  .news-list-item { flex-direction: column; }
  .news-list-thumb { width: 100%; height: 180px; }
}
@media (max-width: 480px) {
  .news-grid { grid-template-columns: 1fr; }
}

/* ====== 信任模块 ====== */
.trust-section {
  padding: 60px 0;
  background: #f8f9fa;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.trust-card {
  background: #fff;
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: transform 0.2s, box-shadow 0.2s;
}
.trust-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}
.trust-icon {
  font-size: 40px;
  margin-bottom: 16px;
}
.trust-card h3 {
  font-size: 17px;
  color: #0f3460;
  margin-bottom: 10px;
}
.trust-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}
@media (max-width: 768px) {
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .trust-grid {
    grid-template-columns: 1fr;
  }
}

/* ====== 门店联系卡片（上下结构） ====== */
.contact-bar .info .location-block {
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
  margin-bottom: 14px;
}
.contact-bar .info .location-block h4 {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 8px 0;
}
.contact-bar .info .location-block .ci-row {
  display: block;
  font-size: 14px;
  opacity: 0.88;
  line-height: 1.8;
}
@media (max-width: 768px) {
  .contact-bar .info .location-block h4 {
    font-size: 15px;
  }
  .contact-bar .info .location-block .ci-row {
    font-size: 13px;
  }
}
@media (max-width: 480px) {
  .contact-bar .info .location-block .ci-row {
    font-size: 12px;
  }
}

/* ====== 关于页 / 联系页 门店卡片（上下结构） ====== */
.about-card .location-block {
  margin-bottom: 14px;
}
.about-card .location-block h4 {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0 0 8px 0;
}
.about-card .location-block p {
  margin: 2px 0;
  font-size: 14px;
  color: #555;
  line-height: 1.8;
}
@media (max-width: 768px) {
  .about-card .location-block p { font-size: 13px; }
}


/* ====== 设备网格（设备租赁页专属）====== */
.equipment-grid { display: flex !important; flex-wrap: wrap; gap: 16px; justify-content: center; }
.equipment-grid > .card { flex: 0 0 calc((100% - 48px) / 4); box-sizing: border-box; margin-bottom: 0 !important; min-width: 0; }
@media (max-width: 768px) { .equipment-grid > .card { flex: 0 0 calc((100% - 16px) / 2); } }
@media (max-width: 480px) { .equipment-grid > .card { flex: 0 0 calc((100% - 6px) / 2); } }

/* ====== 微信双二维码区 ====== */
.contact-qr-section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #eee;
}
.contact-qr-card {
  background: #fff;
  border-radius: 14px;
  padding: 20px 24px 16px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  border: 1px solid #eef0f5;
}
.contact-qr-card img {
  width: 140px;
  height: 140px;
  border-radius: 8px;
  display: block;
}
.contact-qr-card .qr-label {
  font-size: 13px;
  color: #666;
  margin-top: 10px;
  font-weight: 500;
}
@media (max-width: 640px) {
  .contact-qr-section {
    gap: 20px;
    flex-direction: column;
  }
}
