/* ===== 基础 ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --primary: #0a5cd6; --primary-dark: #084aa8; --teal: #0e9f8a;
  --ink: #1c2430; --muted: #5b6675; --line: #e3e8ef;
  --bg: #f5f7fa; --card: #ffffff; --accent: #e07b00;
  --shadow: 0 2px 12px rgba(16,42,80,.08);
}
html { scroll-behavior: smooth; overflow-x: hidden; }
body { font-family: "Segoe UI", "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif; color: var(--ink); background: var(--bg); line-height: 1.65; overflow-x: hidden; }
a { color: var(--primary); text-decoration: none; }
img { max-width: 100%; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.btn { display: inline-block; padding: 10px 22px; border-radius: 6px; border: none; cursor: pointer; font-size: 15px; font-weight: 600; transition: .2s; text-align: center; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-outline { background: #fff; color: var(--primary); border: 1.5px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { filter: brightness(.92); }
.btn-sm { padding: 6px 14px; font-size: 13px; }
.btn-danger { background: #c0392b; color: #fff; }
.sec { padding: 56px 0; }
.sec-title { font-size: 28px; margin-bottom: 8px; color: var(--ink); }
.sec-sub { color: var(--muted); margin-bottom: 28px; }
.sec-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.badge { display: inline-block; padding: 2px 10px; border-radius: 20px; font-size: 12px; font-weight: 600; }
.badge-grade { background: #e7f0ff; color: var(--primary); }

/* ===== 顶部导航 ===== */
.topbar { background: #0d2340; color: #cdd8ea; font-size: 13px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; padding-top: 6px; padding-bottom: 6px; flex-wrap: wrap; gap: 6px; }
.topbar a { color: #cdd8ea; margin-left: 14px; }
.topbar a:hover { color: #fff; }
.site-header { background: #fff; box-shadow: var(--shadow); position: sticky; top: 0; z-index: 200; }
.header-main { display: flex; align-items: center; gap: 20px; padding: 12px 0; flex-wrap: wrap; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark { width: 42px; height: 42px; border-radius: 9px; background: linear-gradient(135deg, var(--primary), var(--teal)); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 20px; }
.logo-text b { font-size: 17px; display: block; line-height: 1.25; color: var(--ink); }
.logo-text span { font-size: 11px; color: var(--muted); }
.search-box { flex: 1; min-width: 200px; max-width: 460px; display: flex; margin-left: auto; }
.search-box input { flex: 1; padding: 9px 14px; border: 1.5px solid var(--line); border-right: none; border-radius: 6px 0 0 6px; font-size: 14px; outline: none; }
.search-box input:focus { border-color: var(--primary); }
.search-box button { padding: 9px 18px; border: none; background: var(--primary); color: #fff; border-radius: 0 6px 6px 0; cursor: pointer; font-size: 14px; }
.main-nav { border-top: 1px solid var(--line); }
.main-nav ul { list-style: none; display: flex; flex-wrap: wrap; }
.main-nav a { display: block; padding: 12px 16px; color: var(--ink); font-size: 15px; font-weight: 500; }
.main-nav a:hover, .main-nav a.active { color: var(--primary); background: #f0f6ff; }
.nav-toggle { display: none; background: none; border: none; font-size: 24px; cursor: pointer; padding: 4px 10px; }
.lang-switch { display: flex; gap: 4px; align-items: center; }
.lang-switch button { border: 1px solid var(--line); background: #fff; padding: 4px 10px; border-radius: 5px; cursor: pointer; font-size: 13px; }
.lang-switch button.on { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ===== Hero ===== */
.hero { background: linear-gradient(120deg, #0d2340 0%, #0a5cd6 60%, #0e9f8a 100%); color: #fff; padding: 72px 0; }
.hero h1 { font-size: 38px; margin-bottom: 14px; max-width: 720px; }
.hero p { font-size: 17px; opacity: .92; margin-bottom: 28px; max-width: 640px; }
.hero .btn { margin-right: 12px; margin-bottom: 8px; }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
.stat { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); border-radius: 10px; padding: 18px; text-align: center; }
.stat b { font-size: 30px; display: block; }
.stat span { font-size: 13px; opacity: .9; }

/* ===== 产品卡片 ===== */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.p-card { background: var(--card); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; transition: .2s; display: flex; flex-direction: column; }
.p-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.p-img { aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; color: #fff; position: relative; }
.p-img .formula { font-size: 26px; font-weight: 800; text-shadow: 0 1px 4px rgba(0,0,0,.25); }
.p-img .tag { position: absolute; top: 10px; left: 10px; background: rgba(0,0,0,.45); color: #fff; font-size: 11px; padding: 2px 9px; border-radius: 20px; }
.p-body { padding: 14px 16px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.p-name { font-size: 15.5px; font-weight: 600; color: var(--ink); line-height: 1.4; }
.p-meta { font-size: 12.5px; color: var(--muted); }
.p-moq { font-size: 12.5px; color: var(--accent); font-weight: 600; }
.p-actions { display: flex; gap: 8px; padding: 0 16px 14px; }
.p-actions .btn { flex: 1; }

/* 产品中心：紧凑四列卡片（L1 方案） */
.p-compact .p-body { padding: 10px 12px; gap: 4px; }
.p-compact .p-name { font-size: 14px; }
.p-compact .p-meta, .p-compact .p-moq { font-size: 12px; }
.p-compact .p-actions { padding: 0 12px 10px; }
.p-compact .p-actions .btn { font-size: 12px; padding: 6px 8px; }
.p-compact .p-img .formula { font-size: 20px; }

/* 翻页栏 */
.pagination { display: flex; gap: 8px; justify-content: center; align-items: center; margin-top: 26px; flex-wrap: wrap; }
.pg-btn { min-width: 38px; height: 38px; padding: 0 12px; border: 1px solid var(--line); background: #fff; border-radius: 8px; font-size: 13.5px; color: var(--ink); cursor: pointer; transition: .15s; }
.pg-btn:hover:not(.dis):not(.on) { border-color: var(--primary); color: var(--primary); }
.pg-btn.on { background: var(--primary); border-color: var(--primary); color: #fff; font-weight: 600; }
.pg-btn.dis { opacity: .45; cursor: not-allowed; }
.pg-dots { color: var(--muted); padding: 0 2px; }
.pg-info { font-size: 12.5px; color: var(--muted); margin-left: 6px; }

/* ===== 分类侧栏 ===== */
.layout-side { display: grid; grid-template-columns: 250px 1fr; gap: 28px; align-items: start; }
.side-box { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 18px; margin-bottom: 18px; }
.side-box h3 { font-size: 16px; margin-bottom: 10px; padding-bottom: 8px; border-bottom: 2px solid var(--primary); display: inline-block; }
.side-box ul { list-style: none; }
.side-box li a { display: flex; align-items: center; justify-content: space-between; padding: 11px 14px; color: var(--ink); font-size: 15.5px; border-radius: 8px; margin-bottom: 2px; }
.side-box li a:hover { color: var(--primary); background: #f0f6ff; }
.side-box li a.on { color: #fff; background: var(--primary); font-weight: 600; }
.side-box .cnt { font-size: 11.5px; background: #eef2f7; color: var(--muted); border-radius: 20px; padding: 1px 8px; font-weight: 400; }
.side-box li a.on .cnt { background: rgba(255,255,255,.25); color: #fff; }
/* 产品详情页返回按钮区（方案A：大号箭头+面包屑） */
.back-bar { margin-bottom: 18px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.back-bar .bb-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 22px; background: var(--primary); color: #fff;
  border-radius: 8px; font-size: 15px; font-weight: 700;
  text-decoration: none; transition: all .2s; cursor: pointer;
  border: none; box-shadow: 0 2px 8px rgba(10,92,214,.25);
}
.back-bar .bb-btn:hover { transform: translateX(-3px); box-shadow: 0 4px 12px rgba(10,92,214,.35); }
.back-bar .bb-crumb { font-size: 14px; color: var(--muted); }
.back-bar .bb-crumb a { color: var(--muted); text-decoration: none; }
.back-bar .bb-crumb a:hover { color: var(--primary); }

.crumb { font-size: 13.5px; color: var(--muted); margin-bottom: 14px; }

/* ===== 详情页 ===== */
.detail-top { display: grid; grid-template-columns: 420px 1fr; gap: 32px; }
.gallery-main { border: 1px solid var(--line); border-radius: 10px; aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 34px; font-weight: 800; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.g-thumb { width: 78px; aspect-ratio: 1 / 1; border-radius: 6px; border: 2px solid transparent; cursor: pointer; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 11px; text-align: center; }
.g-thumb.on { border-color: var(--primary); }
.spec-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 10px; overflow: hidden; margin-top: 24px; }
.spec-table th, .spec-table td { border: 1px solid var(--line); padding: 10px 14px; font-size: 14.5px; text-align: left; }
.spec-table th { background: #f0f6ff; width: 180px; color: var(--ink); }
.price-note { background: #fff8ec; border: 1px solid #ffd9a0; color: #8a5a00; border-radius: 8px; padding: 12px 16px; margin: 16px 0; font-size: 14.5px; }
.dl-row { display: flex; gap: 10px; flex-wrap: wrap; margin: 14px 0; }

/* ===== 表单 ===== */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.f-item label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 5px; color: var(--ink); }
.f-item input, .f-item textarea, .f-item select { width: 100%; padding: 9px 12px; border: 1.5px solid var(--line); border-radius: 6px; font-size: 14.5px; font-family: inherit; outline: none; background: #fff; }
.f-item input:focus, .f-item textarea:focus, .f-item select:focus { border-color: var(--primary); }
.f-check { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.captcha-row { display: flex; gap: 10px; align-items: center; }
.captcha-q { background: #f0f6ff; border: 1px dashed var(--primary); color: var(--primary-dark); font-weight: 700; padding: 8px 14px; border-radius: 6px; white-space: nowrap; }

/* ===== 弹窗 ===== */
.modal-mask { position: fixed; inset: 0; background: rgba(13,35,64,.55); z-index: 900; display: none; align-items: center; justify-content: center; padding: 16px; }
.modal-mask.show { display: flex; }
.modal { background: #fff; border-radius: 12px; width: 100%; max-width: 640px; max-height: 90vh; overflow-y: auto; padding: 26px; }
.modal h3 { margin-bottom: 16px; font-size: 20px; }
.modal-close { float: right; background: none; border: none; font-size: 22px; cursor: pointer; color: var(--muted); line-height: 1; }
.toast { position: fixed; top: 20px; left: 50%; transform: translateX(-50%); background: #0d2340; color: #fff; padding: 12px 26px; border-radius: 8px; z-index: 1200; display: none; font-size: 14.5px; box-shadow: var(--shadow); }

/* ===== 右侧悬浮联系工具（悬停展开） ===== */
.float-side { position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 799; }
.float-side-tab { background: var(--primary); color: #fff; border: none; border-radius: 8px 0 0 8px; padding: 24px 8px; font-size: 13px; font-weight: 700; cursor: pointer; writing-mode: vertical-rl; text-orientation: upright; letter-spacing: 3px; line-height: 1.4; transition: background .25s; box-shadow: -2px 2px 10px rgba(0,0,0,.15); }
.float-side:hover .float-side-tab { background: #e74c3c; }
.float-side-panel { max-width: 0; opacity: 0; padding: 0; margin: 0; overflow: hidden; transition: all .3s ease; white-space: nowrap; display: flex; flex-direction: column; gap: 8px; }
.float-side:hover .float-side-panel { max-width: 220px; opacity: 1; padding: 14px 12px; }
.float-side-row { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; font-size: 12.5px; font-weight: 600; color: var(--ink); text-decoration: none; }
.float-side-row:hover { border-color: var(--primary); color: var(--primary); }
.float-side-row .float-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.float-side-qr { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.float-side-qr-item { text-align: center; }
.float-side-qr-item img, .float-side-qr-item .qr-empty { width: 100px; height: 100px; border: 1.5px solid var(--line); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 11px; color: var(--muted); background: #fafbfc; margin: 0 auto; }
.float-side-qr-item img { object-fit: contain; }
.float-side-qr-label { font-size: 11px; color: var(--muted); font-weight: 500; margin-top: 3px; }
.float-side-inner { display: flex; align-items: stretch; background: #fff; border: 1px solid var(--line); border-right: none; border-radius: 12px 0 0 12px; box-shadow: -2px 4px 16px rgba(0,0,0,.12); overflow: hidden; }

/* ===== 页脚 ===== */
.site-footer { background: #0d2340; color: #b9c6da; margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 30px; padding: 46px 0 30px; }
.site-footer h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.site-footer a { color: #b9c6da; display: block; font-size: 13.5px; padding: 3px 0; }
.site-footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 14px 0; font-size: 12.5px; text-align: center; }
.subscribe-row { display: flex; gap: 8px; margin-top: 10px; }
.subscribe-row input { flex: 1; padding: 8px 12px; border-radius: 6px; border: none; font-size: 13.5px; }
.social-row { display: flex; gap: 10px; margin-top: 10px; }
.social-row a { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.12); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 12px; font-weight: 700; padding: 0; }
.social-row a:hover { background: var(--primary); }

/* ===== 通用卡片 / 列表 ===== */
.card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 20px; }
.n-card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 18px 20px; margin-bottom: 14px; }
.n-card h3 { font-size: 16.5px; margin-bottom: 6px; }
.n-meta { font-size: 12.5px; color: var(--muted); margin-bottom: 8px; }
.tab-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.tab-row button { border: 1.5px solid var(--line); background: #fff; border-radius: 22px; padding: 7px 18px; cursor: pointer; font-size: 14px; }
.tab-row button.on { background: var(--primary); color: #fff; border-color: var(--primary); }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 12px; overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: none; padding: 16px 20px; font-size: 15.5px; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; color: var(--ink); }
.faq-a { display: none; padding: 0 20px 16px; color: var(--muted); font-size: 14.5px; }
.faq-item.open .faq-a { display: block; }
.cert-card { display: flex; justify-content: space-between; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 18px 20px; margin-bottom: 12px; flex-wrap: wrap; }
.cert-ico { width: 46px; height: 46px; border-radius: 8px; background: #f0f6ff; color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 800; }
.map-frame { width: 100%; height: 380px; border: 0; border-radius: 10px; }
/* ===== 扫码添加模块 ===== */
.qr-section { padding: 48px 0; background: #f8fafc; }
.qr-grid { display: flex; justify-content: center; gap: 36px; flex-wrap: wrap; }
.qr-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 24px 20px; text-align: center; width: 180px; transition: transform .2s, box-shadow .2s; }
.qr-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.qr-img-wrap { width: 140px; height: 140px; margin: 0 auto 14px; border: 2px solid var(--line); border-radius: 10px; overflow: hidden; display: flex; align-items: center; justify-content: center; background: #fafbfc; }
.qr-img-wrap img { width: 100%; height: 100%; object-fit: contain; }
.qr-placeholder { width: 120px; height: 120px; border: 2px dashed var(--line); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 13px; text-align: center; line-height: 1.5; }
.qr-label { font-size: 15.5px; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.qr-tip { font-size: 12.5px; color: var(--muted); }
/* footer 扫码（深色背景） */
.footer-qr { display: flex; gap: 12px; margin-top: 16px; }
.footer-qr-item { text-align: center; }
.footer-qr-img { width: 120px; height: 120px; border: 1.5px dashed rgba(255,255,255,.35); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 12px; color: rgba(255,255,255,.55); margin-bottom: 5px; text-align: center; line-height: 1.3; overflow: hidden; }
.footer-qr-img img { width: 100%; height: 100%; object-fit: contain; }
.footer-qr-item span { font-size: 11px; color: rgba(255,255,255,.55); }
/* 联系我们页迷你扫码 */
.qr-mini { text-align: center; }
.qr-mini-img { width: 150px; height: 150px; border: 2px dashed var(--line); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 13px; color: var(--muted); margin-bottom: 6px; text-align: center; line-height: 1.4; background: #fafbfc; overflow: hidden; }
.qr-mini-img img { width: 100%; height: 100%; object-fit: contain; }
.qr-mini span { font-size: 12.5px; color: var(--muted); }
.video-box { background: #0d2340; border-radius: 10px; height: 300px; display: flex; align-items: center; justify-content: center; color: #9fb2cc; margin-top: 20px; font-size: 15px; }

/* ===== 后台 ===== */
.admin-wrap { display: grid; grid-template-columns: 220px 1fr; min-height: 100vh; }
.admin-side { background: #0d2340; color: #cdd8ea; padding: 20px 0; }
.admin-side h2 { color: #fff; font-size: 17px; padding: 0 20px 18px; border-bottom: 1px solid rgba(255,255,255,.12); }
.admin-side a { display: block; padding: 11px 20px; color: #cdd8ea; font-size: 14px; cursor: pointer; }
.admin-side a:hover, .admin-side a.on { background: var(--primary); color: #fff; }
.admin-main { padding: 26px; background: var(--bg); }
.admin-table { width: 100%; border-collapse: collapse; background: #fff; font-size: 13.5px; }
.admin-table th, .admin-table td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.admin-table th { background: #f0f6ff; }
.admin-table tr:hover td { background: #fafcff; }
.kpi-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 22px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 18px; }
.kpi b { font-size: 26px; display: block; color: var(--primary); }
.kpi span { font-size: 13px; color: var(--muted); }
.admin-login { max-width: 380px; margin: 80px auto; }
.bar-row { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-size: 13px; }
.bar-track { flex: 1; background: #e9eef5; border-radius: 6px; height: 14px; overflow: hidden; }
.bar-fill { background: var(--primary); height: 100%; border-radius: 6px; }
.tag-st { padding: 2px 10px; border-radius: 12px; font-size: 12px; font-weight: 600; }
.st-new { background: #fff1d6; color: #a06000; }
.st-doing { background: #e7f0ff; color: var(--primary); }
.st-done { background: #e2f6e8; color: #1e7a35; }

/* 后台图片缩略图 */
.thumb-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.a-thumb { position: relative; width: 96px; height: 72px; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); }
.a-thumb img { width: 100%; height: 100%; object-fit: cover; }
.a-thumb-del { position: absolute; top: 2px; right: 2px; width: 20px; height: 20px; border-radius: 50%; border: none; background: rgba(0,0,0,.6); color: #fff; cursor: pointer; font-size: 13px; line-height: 1; }
.a-thumb-main { position: absolute; bottom: 0; left: 0; right: 0; background: rgba(10,92,214,.85); color: #fff; font-size: 10.5px; text-align: center; padding: 1px 0; }

/* 后台用途多选 chip */
.usage-box { display: flex; gap: 8px; flex-wrap: wrap; padding: 10px; border: 1.5px solid var(--line); border-radius: 8px; background: #fff; }
.usage-chip { display: inline-flex; align-items: center; gap: 5px; padding: 5px 12px; border: 1.5px solid var(--line); border-radius: 999px; font-size: 13px; cursor: pointer; user-select: none; background: #f7f9fc; transition: all .15s; }
.usage-chip input { width: auto; margin: 0; accent-color: var(--brand, #0a5cd6); }
.usage-chip.on { border-color: #0a5cd6; background: #eaf2ff; color: #0a5cd6; font-weight: 600; }

/* 批量上传面板 */
.bu-step { margin-bottom: 18px; }
.bu-step > h4 { margin-bottom: 8px; font-size: 14.5px; }
.bu-ok { color: #0e9f6e; font-weight: 600; }
.bu-err { color: #d64545; font-weight: 600; }
.bu-tag-new { display: inline-block; padding: 1px 8px; border-radius: 4px; background: #eaf2ff; color: #0a5cd6; font-size: 12px; }
.bu-tag-upd { display: inline-block; padding: 1px 8px; border-radius: 4px; background: #fff4e0; color: #b45309; font-size: 12px; }

/* ===== 响应式 ===== */
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .detail-top { grid-template-columns: 1fr; }
  .layout-side { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .kpi-row { grid-template-columns: repeat(2, 1fr); }
  .admin-wrap { grid-template-columns: 1fr; }
  .admin-side { display: flex; flex-wrap: wrap; padding: 8px; }
  .admin-side h2 { width: 100%; padding: 6px 10px; }
  .admin-side a { padding: 8px 12px; }
}
@media (max-width: 720px) {
  .hero h1 { font-size: 27px; }
  .grid-4, .grid-3 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .main-nav { display: none; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; }
  .nav-toggle { display: block; }
  .search-box { order: 3; max-width: none; }
  .qr-grid { gap: 20px; }
  .qr-card { width: 150px; padding: 18px 14px; }
  .qr-img-wrap { width: 110px; height: 110px; }
  .footer-grid { grid-template-columns: 1fr; }
  .float-side { display: none; }
  .footer-qr { justify-content: center; }
  .spec-table th { width: 120px; }
}
