/* 夸父商城 */
:root {
  --c-primary: #e8590c;
  --c-primary-dark: #c94a06;
  --c-primary-light: #fff3ec;
  --c-navy: #1d2a44;
  --c-text: #2b2f36;
  --c-muted: #8a909b;
  --c-line: #e7e9ee;
  --c-bg: #f4f5f7;
  --c-green: #12a150;
  --c-blue: #2f6fec;
  --c-red: #e03131;
  --radius: 6px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { font: 14px/1.6 -apple-system, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif; color: var(--c-text); background: var(--c-bg); }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--c-primary); }
img { max-width: 100%; vertical-align: middle; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; }
p { margin: 0 0 10px; }
.wrap { width: 1200px; max-width: 100%; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--c-muted); }
.text-primary { color: var(--c-primary); }
.text-red { color: var(--c-red); }
.text-green { color: var(--c-green); }
.right { text-align: right; }
.center { text-align: center; }
.mt { margin-top: 16px; }
.mb { margin-bottom: 16px; }
.nowrap { white-space: nowrap; }

/* 顶部 */
.topbar { background: #eef0f3; font-size: 12px; color: #666; line-height: 32px; }
.topbar .wrap { display: flex; justify-content: space-between; }
.topbar-links a { margin-left: 14px; }
.topbar-links a.hl { color: var(--c-primary); }
.header { background: #fff; }
.header-inner { display: flex; align-items: center; height: 96px; gap: 32px; }
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo img { width: 46px; height: 46px; }
.logo b { display: block; font-size: 24px; color: var(--c-navy); letter-spacing: 1px; }
.logo em { display: block; font-style: normal; font-size: 12px; color: var(--c-muted); }
.search { flex: 1; display: flex; max-width: 560px; border: 2px solid var(--c-primary); border-radius: var(--radius); overflow: hidden; }
.search input { flex: 1; border: 0; outline: 0; padding: 0 14px; height: 40px; font-size: 14px; min-width: 0; }
.search button { border: 0; background: var(--c-primary); color: #fff; padding: 0 26px; font-size: 15px; cursor: pointer; }
.cart-btn { position: relative; border: 1px solid var(--c-line); padding: 9px 22px; border-radius: var(--radius); color: var(--c-primary); flex-shrink: 0; }
.cart-btn i { position: absolute; top: -8px; right: -8px; background: var(--c-red); color: #fff; font-style: normal; font-size: 12px; line-height: 18px; min-width: 18px; padding: 0 5px; border-radius: 9px; text-align: center; }
.mainnav { background: var(--c-navy); }
.mainnav .wrap { display: flex; overflow-x: auto; }
.mainnav a { color: #dfe4ee; padding: 0 22px; line-height: 44px; font-size: 15px; white-space: nowrap; }
.mainnav a:hover, .mainnav a.on { background: var(--c-primary); color: #fff; }
main { min-height: 480px; padding-bottom: 32px; }
.flash-box { padding-top: 16px; }

/* 通用组件 */
.alert { padding: 10px 14px; border-radius: var(--radius); margin-bottom: 10px; border: 1px solid; }
.alert-success { background: #ebfbee; border-color: #b2f2bb; color: #2b8a3e; }
.alert-error { background: #fff5f5; border-color: #ffc9c9; color: #c92a2a; }
.alert-info { background: #e7f5ff; border-color: #a5d8ff; color: #1864ab; }
.alert-warn { background: #fff9db; border-color: #ffe066; color: #8a6d00; }
.btn { display: inline-block; border: 1px solid var(--c-line); background: #fff; color: var(--c-text); padding: 8px 18px; border-radius: var(--radius); cursor: pointer; font-size: 14px; line-height: 1.4; text-align: center; }
.btn:hover { border-color: var(--c-primary); color: var(--c-primary); }
.btn-primary { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.btn-primary:hover { background: var(--c-primary-dark); color: #fff; }
.btn-outline { border-color: var(--c-primary); color: var(--c-primary); }
.btn-danger { color: var(--c-red); border-color: #ffc9c9; }
.btn-sm { padding: 4px 10px; font-size: 12px; }
.btn-lg { padding: 12px 34px; font-size: 16px; }
.btn-block { display: block; width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.badge { display: inline-block; font-size: 12px; line-height: 20px; padding: 0 8px; border-radius: 10px; white-space: nowrap; }
.badge-gray { background: #f1f3f5; color: #868e96; }
.badge-green { background: #ebfbee; color: #2b8a3e; }
.badge-blue { background: #e7f5ff; color: #1971c2; }
.badge-orange { background: #fff4e6; color: #d9480f; }
.badge-red { background: #fff5f5; color: #e03131; }
.card { background: #fff; border-radius: var(--radius); padding: 20px 24px; margin-top: 16px; }
.card-title { display: flex; justify-content: space-between; align-items: center; font-size: 17px; font-weight: 600; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--c-line); }
.card-title a { font-size: 13px; font-weight: normal; color: var(--c-muted); }
.section-title { display: flex; align-items: baseline; justify-content: space-between; margin: 28px 0 14px; }
.section-title h2 { font-size: 22px; color: var(--c-navy); }
.section-title h2 small { font-size: 13px; font-weight: normal; color: var(--c-muted); margin-left: 10px; }
.section-title a { color: var(--c-muted); font-size: 13px; }
.empty { text-align: center; color: var(--c-muted); padding: 48px 0; }
.pager { display: flex; justify-content: center; gap: 6px; margin-top: 20px; flex-wrap: wrap; }
.pager a, .pager span { padding: 5px 12px; border: 1px solid var(--c-line); border-radius: 4px; background: #fff; font-size: 13px; }
.pager a.on { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }
.pager span { border: 0; background: none; color: var(--c-muted); }
.breadcrumb { padding: 14px 0 0; color: var(--c-muted); font-size: 13px; }
.breadcrumb a:after { content: " / "; color: #ccc; }

/* 表单 */
.form-row { display: flex; margin-bottom: 18px; align-items: flex-start; }
.form-row > label { width: 130px; flex-shrink: 0; text-align: right; padding: 8px 14px 0 0; color: #555; }
.form-row > label .req { color: var(--c-red); margin-right: 2px; }
.form-row .field { flex: 1; min-width: 0; }
.form-tip { font-size: 12px; color: var(--c-muted); margin-top: 4px; }
.input, select.input, textarea.input { width: 100%; max-width: 460px; height: 38px; border: 1px solid #d5d8de; border-radius: var(--radius); padding: 0 12px; font-size: 14px; background: #fff; font-family: inherit; color: var(--c-text); }
textarea.input { height: auto; min-height: 100px; padding: 8px 12px; line-height: 1.6; max-width: 640px; }
.input:focus { outline: 0; border-color: var(--c-primary); box-shadow: 0 0 0 3px rgba(232, 89, 12, .12); }
.input-group { display: flex; gap: 8px; max-width: 460px; }
.input-group .input { flex: 1; }
.input-group img { height: 38px; border-radius: var(--radius); cursor: pointer; border: 1px solid #d5d8de; }
.input-group .btn { flex-shrink: 0; white-space: nowrap; }
.check { display: flex; gap: 6px; align-items: flex-start; font-size: 13px; color: #555; }
.check input { margin-top: 4px; }
.check a { color: var(--c-blue); }
.form-actions { padding-left: 130px; }
.img-preview { max-width: 200px; max-height: 140px; border: 1px solid var(--c-line); border-radius: 4px; margin-top: 6px; display: block; }

/* 登录注册 */
.auth-page { background: linear-gradient(135deg, #1d2a44 0%, #31456e 100%); padding: 56px 0; min-height: 560px; }
.auth-page .wrap { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.auth-intro { color: #fff; max-width: 520px; }
.auth-intro h2 { font-size: 30px; margin-bottom: 16px; }
.auth-intro p { color: #c5cee0; font-size: 15px; }
.auth-intro ul { padding: 0; list-style: none; margin-top: 24px; }
.auth-intro li { padding: 8px 0 8px 28px; position: relative; color: #e6ebf5; }
.auth-intro li:before { content: "✓"; position: absolute; left: 0; color: var(--c-primary); font-weight: bold; }
.auth-box { width: 420px; max-width: 100%; background: #fff; border-radius: 10px; padding: 30px 32px; box-shadow: 0 10px 40px rgba(0, 0, 0, .2); }
.auth-box h3 { font-size: 20px; margin-bottom: 18px; }
.auth-box .input, .auth-box .input-group { max-width: none; }
.auth-box .fi { margin-bottom: 16px; }
.auth-tabs { display: flex; border-bottom: 1px solid var(--c-line); margin-bottom: 20px; }
.auth-tabs a { padding: 8px 0; margin-right: 26px; font-size: 16px; color: #666; border-bottom: 2px solid transparent; margin-bottom: -1px; cursor: pointer; }
.auth-tabs a.on { color: var(--c-primary); border-color: var(--c-primary); font-weight: 600; }
.auth-links { display: flex; justify-content: space-between; font-size: 13px; margin-top: 14px; color: #666; }
.auth-links a { color: var(--c-blue); }

/* 首页 */
.hero { background: linear-gradient(120deg, #1d2a44 0%, #2c4170 60%, #e8590c 160%); color: #fff; }
.hero .wrap { display: flex; gap: 16px; padding-top: 16px; padding-bottom: 16px; }
.hero-cats { width: 220px; flex-shrink: 0; background: rgba(255, 255, 255, .08); border-radius: var(--radius); padding: 8px 0; }
.hero-cats a { display: flex; align-items: center; gap: 10px; padding: 9px 18px; color: #e6ebf5; }
.hero-cats a:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.hero-cats .ic { width: 24px; text-align: center; }
.hero-main { flex: 1; padding: 34px 30px; }
.hero-main h1 { font-size: 34px; letter-spacing: 1px; margin-bottom: 14px; }
.hero-main p { color: #c9d3e6; font-size: 16px; max-width: 560px; }
.hero-main .btns { margin-top: 26px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-main .btn { border-color: rgba(255, 255, 255, .6); background: transparent; color: #fff; }
.hero-main .btn-primary { background: var(--c-primary); border-color: var(--c-primary); }
.hero-stats { display: flex; gap: 36px; margin-top: 30px; }
.hero-stats b { display: block; font-size: 26px; color: #ffd8a8; }
.hero-stats span { font-size: 13px; color: #b6c1d6; }
.hero-side { width: 250px; flex-shrink: 0; background: #fff; color: var(--c-text); border-radius: var(--radius); padding: 18px; }
.hero-side .hello { text-align: center; padding-bottom: 14px; border-bottom: 1px solid var(--c-line); }
.hero-side .hello .btns { display: flex; gap: 8px; margin-top: 12px; }
.hero-side .hello .btn { flex: 1; padding: 6px 0; }
.hero-side h4 { font-size: 14px; margin: 14px 0 8px; }
.hero-side li { font-size: 13px; line-height: 2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-side ul { margin: 0; padding: 0; list-style: none; }
.flow { display: grid; grid-template-columns: repeat(6, 1fr); background: #fff; border-radius: var(--radius); margin-top: 16px; }
.flow div { padding: 20px 12px; text-align: center; position: relative; }
.flow div + div:before { content: "›"; position: absolute; left: -6px; top: 50%; transform: translateY(-50%); color: #ccc; font-size: 26px; }
.flow b { display: block; font-size: 15px; color: var(--c-navy); }
.flow i { font-style: normal; display: inline-block; width: 36px; height: 36px; line-height: 36px; border-radius: 50%; background: var(--c-primary-light); color: var(--c-primary); font-weight: bold; margin-bottom: 8px; }
.flow span { font-size: 12px; color: var(--c-muted); }

/* 商品卡片 */
.goods-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.goods-card { background: #fff; border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, transform .2s; display: block; }
.goods-card:hover { box-shadow: 0 8px 24px rgba(0, 0, 0, .08); transform: translateY(-2px); color: inherit; }
.goods-card .pic { aspect-ratio: 1 / 1; background: #f8f9fa; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.goods-card .pic img { width: 100%; height: 100%; object-fit: cover; }
.goods-card .info { padding: 10px 12px 14px; }
.goods-card .t { height: 44px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: 14px; }
.goods-card .p { color: var(--c-red); font-size: 18px; font-weight: 600; margin-top: 6px; }
.goods-card .p small { font-size: 12px; }
.goods-card .p del { color: var(--c-muted); font-size: 12px; font-weight: normal; margin-left: 6px; }
.goods-card .s { display: flex; justify-content: space-between; font-size: 12px; color: var(--c-muted); margin-top: 4px; }
.goods-card .s span:first-child { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; max-width: 70%; }
.shop-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.shop-card { background: #fff; border-radius: var(--radius); padding: 18px; display: flex; gap: 14px; align-items: center; }
.shop-card img { width: 56px; height: 56px; border-radius: 8px; object-fit: cover; border: 1px solid var(--c-line); flex-shrink: 0; }
.shop-card b { display: block; font-size: 15px; }
.shop-card span { font-size: 12px; color: var(--c-muted); display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.shop-card > div { min-width: 0; }
.join-banner { margin-top: 28px; background: linear-gradient(90deg, #fff3ec, #ffe8d9); border-radius: var(--radius); padding: 28px 36px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.join-banner h3 { font-size: 22px; color: var(--c-navy); }
.join-banner p { margin: 6px 0 0; color: #6b5a50; }

/* 列表筛选 */
.filter { background: #fff; border-radius: var(--radius); padding: 14px 20px; margin-top: 16px; }
.filter-row { display: flex; gap: 10px; padding: 6px 0; align-items: baseline; }
.filter-row > b { width: 70px; flex-shrink: 0; color: var(--c-muted); font-weight: normal; }
.filter-row .opts { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.filter-row .opts a.on { color: var(--c-primary); font-weight: 600; }
.sortbar { display: flex; gap: 0; margin: 14px 0; background: #fff; border-radius: var(--radius); overflow: hidden; }
.sortbar a { padding: 8px 20px; border-right: 1px solid var(--c-line); }
.sortbar a.on { background: var(--c-primary); color: #fff; }

/* 商品详情 */
.goods-detail { display: flex; gap: 30px; background: #fff; border-radius: var(--radius); padding: 24px; margin-top: 16px; }
.goods-detail .gallery { width: 420px; flex-shrink: 0; }
.goods-detail .gallery img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--c-line); }
.goods-detail .main { flex: 1; min-width: 0; }
.goods-detail h1 { font-size: 22px; line-height: 1.4; }
.goods-detail .sub { color: var(--c-primary); margin-top: 8px; }
.price-box { background: #fff7f2; padding: 16px 20px; border-radius: var(--radius); margin: 16px 0; }
.price-box .price { color: var(--c-red); font-size: 30px; font-weight: 600; }
.price-box .price small { font-size: 16px; }
.price-box del { color: var(--c-muted); margin-left: 12px; }
.meta-list { display: grid; grid-template-columns: 90px 1fr; gap: 10px 0; color: #555; }
.meta-list dt { color: var(--c-muted); }
.meta-list dd { margin: 0; }
.qty { display: inline-flex; border: 1px solid #d5d8de; border-radius: var(--radius); overflow: hidden; }
.qty button { width: 34px; border: 0; background: #f6f7f9; cursor: pointer; font-size: 16px; }
.qty input { width: 64px; text-align: center; border: 0; border-left: 1px solid #d5d8de; border-right: 1px solid #d5d8de; height: 36px; font-size: 14px; }
.buy-btns { display: flex; gap: 14px; margin-top: 24px; flex-wrap: wrap; }
.seller-box { width: 240px; flex-shrink: 0; border: 1px solid var(--c-line); border-radius: var(--radius); padding: 18px; align-self: flex-start; }
.seller-box h4 { font-size: 16px; margin-bottom: 10px; }
.seller-box p { font-size: 13px; color: #555; margin-bottom: 6px; word-break: break-all; }
.seller-box .tag { display: inline-block; font-size: 12px; background: #ebfbee; color: #2b8a3e; padding: 0 8px; border-radius: 4px; margin-bottom: 10px; }
.notice-line { font-size: 12px; color: var(--c-muted); background: #f8f9fa; padding: 10px 14px; border-radius: var(--radius); margin-top: 18px; }
.rich { line-height: 1.9; word-break: break-word; }
.rich img { max-width: 100%; }
.rich h3 { font-size: 17px; margin: 22px 0 10px; color: var(--c-navy); }
.rich h4 { font-size: 15px; margin: 16px 0 8px; }
.rich table { border-collapse: collapse; width: 100%; margin: 10px 0; }
.rich td, .rich th { border: 1px solid var(--c-line); padding: 8px 12px; }
.rich th { background: #f8f9fa; }
/* 详情图片：竖向无缝拼接（长图切片按顺序展示即为完整详情页） */
.detail-images { max-width: 790px; margin: 20px auto 0; }
.detail-images img { display: block; width: 100%; height: auto; }
.detail-thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.detail-thumbs label { width: 96px; text-align: center; font-size: 12px; color: #666; }
.detail-thumbs img { width: 96px; height: 120px; object-fit: cover; object-position: top; border: 1px solid var(--c-line); border-radius: 4px; display: block; }
.review-item { border-bottom: 1px dashed var(--c-line); padding: 12px 0; }
.review-item .star { color: #f59f00; }

/* 店铺头部 */
.shop-head { background: #fff; border-radius: var(--radius); padding: 24px; margin-top: 16px; display: flex; gap: 20px; align-items: center; }
.shop-head img { width: 84px; height: 84px; border-radius: 10px; object-fit: cover; border: 1px solid var(--c-line); }
.shop-head h1 { font-size: 22px; }
.shop-head .info { flex: 1; }

/* 表格 */
.table { width: 100%; border-collapse: collapse; background: #fff; }
.table th, .table td { padding: 10px 12px; border-bottom: 1px solid var(--c-line); text-align: left; vertical-align: middle; font-size: 13px; }
.table th { background: #f8f9fa; color: #555; font-weight: 600; white-space: nowrap; }
.table tr:hover td { background: #fcfcfd; }
.table .thumb { width: 54px; height: 54px; object-fit: cover; border-radius: 4px; border: 1px solid var(--c-line); }
.table-wrap { overflow-x: auto; }
.goods-cell { display: flex; gap: 10px; align-items: center; min-width: 220px; }
.ops { display: flex; gap: 6px; flex-wrap: wrap; }
.ops form { display: inline; margin: 0; }

/* 中心布局 */
.center-layout { display: flex; gap: 16px; margin-top: 16px; align-items: flex-start; }
.side { width: 200px; flex-shrink: 0; background: #fff; border-radius: var(--radius); padding: 10px 0 16px; }
.side-title { font-size: 17px; font-weight: 600; padding: 10px 24px 6px; color: var(--c-navy); }
.side-group { padding: 14px 24px 4px; color: var(--c-muted); font-size: 12px; }
.side a { display: block; padding: 7px 24px 7px 36px; border-left: 3px solid transparent; }
.side a.on { color: var(--c-primary); background: var(--c-primary-light); border-left-color: var(--c-primary); }
.center-main { flex: 1; min-width: 0; }
.center-main > .card:first-child { margin-top: 0; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat { background: #f8f9fb; border-radius: var(--radius); padding: 16px 18px; }
.stat b { display: block; font-size: 24px; color: var(--c-navy); }
.stat span { color: var(--c-muted); font-size: 13px; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--c-line); margin-bottom: 14px; overflow-x: auto; }
.tabs a { padding: 8px 16px; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs a.on { color: var(--c-primary); border-color: var(--c-primary); }
.order-block { border: 1px solid var(--c-line); border-radius: var(--radius); margin-bottom: 14px; overflow: hidden; }
.order-block .hd { background: #f8f9fa; padding: 10px 14px; display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 13px; color: #555; align-items: center; }
.order-block .hd .st { margin-left: auto; }
.order-block .bd { display: flex; padding: 12px 14px; gap: 16px; align-items: center; }
.order-block .items { flex: 1; min-width: 0; }
.order-block .item { display: flex; gap: 10px; align-items: center; padding: 4px 0; }
.order-block .item img { width: 56px; height: 56px; object-fit: cover; border-radius: 4px; border: 1px solid var(--c-line); }
.order-block .amt { width: 150px; text-align: center; }
.order-block .amt b { color: var(--c-red); font-size: 16px; }
.order-block .act { width: 160px; display: flex; flex-direction: column; gap: 6px; align-items: stretch; }
.order-block .act form { margin: 0; }
.order-block .act .btn { width: 100%; }
.kv { display: grid; grid-template-columns: 120px 1fr; gap: 8px 12px; font-size: 14px; }
.kv dt { color: var(--c-muted); }
.kv dd { margin: 0; word-break: break-all; }
.steps { display: flex; margin: 10px 0 20px; }
.steps div { flex: 1; text-align: center; position: relative; color: var(--c-muted); font-size: 13px; }
.steps div:before { content: ""; display: block; width: 14px; height: 14px; border-radius: 50%; background: #d5d8de; margin: 0 auto 6px; position: relative; z-index: 1; }
.steps div:after { content: ""; position: absolute; top: 6px; left: -50%; width: 100%; height: 2px; background: #d5d8de; }
.steps div:first-child:after { display: none; }
.steps div.done { color: var(--c-primary); }
.steps div.done:before, .steps div.done:after { background: var(--c-primary); }

/* 采购车 / 结算 */
.cart-shop { background: #fff; border-radius: var(--radius); margin-top: 14px; }
.cart-shop .hd { padding: 12px 16px; border-bottom: 1px solid var(--c-line); font-weight: 600; }
.cart-bar { position: sticky; bottom: 0; background: #fff; margin-top: 14px; border-radius: var(--radius); padding: 12px 16px; display: flex; align-items: center; justify-content: flex-end; gap: 20px; box-shadow: 0 -4px 16px rgba(0, 0, 0, .06); }
.cart-bar b { color: var(--c-red); font-size: 22px; }
.addr-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.addr-item { border: 2px solid var(--c-line); border-radius: var(--radius); padding: 12px 14px; cursor: pointer; display: block; font-size: 13px; }
.addr-item input { display: none; }
.addr-item.on { border-color: var(--c-primary); background: var(--c-primary-light); }
.pay-methods { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; max-width: 760px; }
.pay-item { border: 2px solid var(--c-line); border-radius: var(--radius); padding: 14px 16px; cursor: pointer; display: block; }
.pay-item.on { border-color: var(--c-primary); background: var(--c-primary-light); }
.pay-item input { margin-right: 6px; }
.pay-item p { margin: 6px 0 0; font-size: 12px; color: var(--c-muted); }
.bank-box { background: #f8f9fa; border-radius: var(--radius); padding: 12px 16px; font-size: 13px; margin-top: 8px; }

/* 页面内容 */
.page-layout { display: flex; gap: 16px; margin-top: 16px; align-items: flex-start; }
.page-layout .side a { padding-left: 24px; }
.page-content { flex: 1; background: #fff; border-radius: var(--radius); padding: 28px 36px; min-width: 0; }
.page-content h1 { font-size: 24px; margin-bottom: 6px; color: var(--c-navy); }
.page-content .meta { color: var(--c-muted); font-size: 13px; padding-bottom: 16px; border-bottom: 1px solid var(--c-line); margin-bottom: 20px; }
.article-list li { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px dashed var(--c-line); gap: 16px; }
.article-list ul { list-style: none; padding: 0; margin: 0; }
.article-list li span { color: var(--c-muted); flex-shrink: 0; }
.license-table { width: 100%; border-collapse: collapse; }
.license-table th, .license-table td { border: 1px solid var(--c-line); padding: 12px 16px; text-align: left; }
.license-table th { width: 200px; background: #f8f9fa; font-weight: normal; color: #555; }

/* 页脚 */
.footer { background: #fff; margin-top: 20px; }
.guarantee { border-bottom: 1px solid var(--c-line); }
.guarantee .wrap { display: grid; grid-template-columns: repeat(4, 1fr); padding-top: 22px; padding-bottom: 22px; }
.guarantee div { text-align: center; }
.guarantee b { display: block; font-size: 16px; color: var(--c-navy); }
.guarantee span { font-size: 12px; color: var(--c-muted); }
.footer-links { display: flex; justify-content: space-between; padding-top: 24px; padding-bottom: 20px; flex-wrap: wrap; gap: 20px; }
.footer-links dl { margin: 0; }
.footer-links dt { font-weight: 600; margin-bottom: 10px; }
.footer-links dd { margin: 0; line-height: 2; font-size: 13px; color: #666; }
.footer-contact .big { font-size: 20px; color: var(--c-primary); font-weight: 600; }
.report-link { color: var(--c-red) !important; }
.footer-bottom { background: var(--c-navy); color: #a9b4c8; font-size: 12px; padding: 18px 0; text-align: center; }
.footer-bottom p { margin: 0 0 4px; }
.footer-bottom a:hover { color: #fff; }
.footer-bottom .muted { color: #7d8aa3; margin-top: 8px; }
.police-icon { width: 16px; height: 16px; margin-right: 4px; vertical-align: -3px; }

/* 提示框 */
.toast { position: fixed; left: 50%; top: 30%; transform: translateX(-50%); background: rgba(0, 0, 0, .78); color: #fff; padding: 12px 22px; border-radius: 6px; z-index: 999; display: none; max-width: 86%; text-align: center; }

/* 后台 */
.admin-body { background: #f0f2f5; }
.admin-header { background: var(--c-navy); color: #fff; height: 54px; display: flex; align-items: center; padding: 0 20px; justify-content: space-between; position: sticky; top: 0; z-index: 10; }
.admin-header b { font-size: 17px; }
.admin-header a { color: #c8d1e3; margin-left: 16px; font-size: 13px; }
.admin-wrap { display: flex; min-height: calc(100vh - 54px); }
.admin-side { width: 200px; background: #fff; flex-shrink: 0; padding: 10px 0; border-right: 1px solid var(--c-line); }
.admin-side .grp { padding: 14px 20px 4px; color: var(--c-muted); font-size: 12px; }
.admin-side a { display: flex; justify-content: space-between; padding: 8px 20px 8px 30px; font-size: 14px; }
.admin-side a.on { background: var(--c-primary-light); color: var(--c-primary); border-right: 3px solid var(--c-primary); }
.admin-side a i { font-style: normal; background: var(--c-red); color: #fff; border-radius: 9px; font-size: 12px; padding: 0 6px; line-height: 18px; }
.admin-main { flex: 1; padding: 20px; min-width: 0; }
.admin-main .card:first-child { margin-top: 0; }
.searchbar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.searchbar .input { width: auto; max-width: 220px; height: 34px; }
.searchbar .btn { padding: 6px 16px; }

/* 响应式 */
@media (max-width: 1100px) {
  .goods-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hero-side { display: none; }
  .seller-box { display: none; }
}
@media (max-width: 860px) {
  .hide-sm { display: none !important; }
  .header-inner { flex-wrap: wrap; height: auto; padding-top: 12px; padding-bottom: 12px; gap: 12px; }
  .search { order: 3; flex-basis: 100%; max-width: none; }
  .logo em { display: none; }
  .cart-btn { margin-left: auto; padding: 6px 14px; }
  .goods-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .shop-grid { grid-template-columns: minmax(0, 1fr); }
  .hero .wrap { flex-direction: column; }
  .hero-cats { width: auto; display: grid; grid-template-columns: repeat(2, 1fr); }
  .hero-main { padding: 16px 4px; }
  .hero-main h1 { font-size: 24px; }
  .hero-stats { gap: 20px; flex-wrap: wrap; }
  .flow { grid-template-columns: repeat(3, 1fr); }
  .flow div + div:before { display: none; }
  .goods-detail { flex-direction: column; padding: 14px; }
  .goods-detail .gallery { width: 100%; }
  .center-layout, .page-layout, .auth-page .wrap { flex-direction: column; align-items: stretch; }
  .side { width: auto; display: flex; flex-wrap: wrap; padding: 8px; }
  .side-title, .side-group { display: none; }
  .side a { padding: 6px 12px; border-left: 0; border-radius: 4px; }
  .auth-intro { display: none; }
  .auth-page { padding: 24px 0; }
  .auth-box { padding: 24px 20px; }
  .form-row { flex-direction: column; }
  .form-row > label { width: auto; text-align: left; padding: 0 0 6px; }
  .form-actions { padding-left: 0; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .order-block .bd { flex-direction: column; align-items: stretch; }
  .order-block .amt, .order-block .act { width: auto; text-align: left; }
  .addr-list, .pay-methods { grid-template-columns: 1fr; }
  .guarantee .wrap { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .footer-links dl:not(.footer-contact) { display: none; }
  .page-content { padding: 18px; }
  .join-banner { flex-direction: column; align-items: flex-start; padding: 20px; }
  .card { padding: 16px; }
  .kv { grid-template-columns: 90px 1fr; }
  .admin-wrap { flex-direction: column; }
  .admin-side { width: auto; display: flex; flex-wrap: wrap; }
  .admin-side .grp { display: none; }
  .admin-side a { padding: 6px 12px; }
}
