/* ================= 商城端（顾客前台 · H5） ================= */
body.mall-body {
  background: #F3F4F6;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex; align-items: stretch; justify-content: center;
  padding: 0;
}

.stage { display: flex; align-items: stretch; justify-content: center; width: 100%; }

/* 手机外框（顾客模式：移动端满屏，桌面居中卡片） */
.phone {
  width: 100%; max-width: 480px; height: 100vh; height: 100dvh;
  border-radius: 0; background: #fff; padding: 0; box-shadow: none;
  position: relative; flex: none; overflow: hidden;
}
.phone::after { display: none; }
.phone-screen {
  width: 100%; height: 100%; border-radius: 0; overflow: hidden; background: var(--bg);
  display: flex; flex-direction: column; position: relative;
}
@media (min-width: 768px) {
  body.mall-body {
    background:
      radial-gradient(1200px 600px at 15% -10%, #FDE7DF 0%, transparent 55%),
      radial-gradient(900px 500px at 90% 0%, #E8EEFB 0%, transparent 50%),
      #F0F2F5;
    align-items: center;
    padding: 20px 0;
  }
  .phone {
    height: calc(100vh - 40px); height: calc(100dvh - 40px);
    max-height: 940px; min-height: 640px;
    border-radius: 22px; box-shadow: 0 30px 80px -30px rgba(24, 20, 18, .35);
  }
  .phone-screen { border-radius: 22px; }
}
/* 顾客模式：隐藏演示用仿真状态栏与小程序胶囊 */
.statusbar, .navbar .capsule { display: none !important; }

/* 状态栏 + 导航 */
.statusbar {
  height: 44px; flex: none; display: flex; align-items: center; justify-content: space-between;
  padding: 0 20px; font-size: 13px; font-weight: 600; color: var(--ink); position: relative; z-index: 12;
  background: #fff;
}
.statusbar.on-dark { background: transparent; color: #fff; }
.statusbar .sb-right { display: flex; align-items: center; gap: 5px; }
.statusbar .sb-right svg { display: block; }

.navbar {
  height: 44px; flex: none; display: flex; align-items: center; gap: 10px; padding: 0 12px;
  background: #fff; position: relative; z-index: 11;
}
.navbar.sticky-shadow { box-shadow: 0 1px 0 var(--line); }
.navbar .nav-title { font-size: 16px; font-weight: 600; flex: 1; text-align: center; }
.navbar .nav-btn { width: 30px; height: 30px; display: grid; place-items: center; color: var(--ink); border-radius: 8px; }
.navbar .nav-btn:active { background: var(--line-2); }
.navbar .capsule {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  height: 30px; width: 78px; border-radius: 15px; border: 1px solid rgba(0, 0, 0, .08);
  background: rgba(255, 255, 255, .7); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: space-around;
}
.navbar .capsule i { width: 5px; height: 5px; border-radius: 50%; background: #2A2D33; display: block; }
.navbar .capsule .divider { width: 1px; height: 16px; background: rgba(0,0,0,.1); }
.navbar .capsule .ring { width: 13px; height: 13px; border: 2px solid #2A2D33; border-radius: 50%; position: relative; }
.navbar .capsule .ring::after { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: #2A2D33; }

/* 滚动区 */
.scroll { flex: 1; overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch; position: relative; }
.scroll::-webkit-scrollbar { width: 0; }
.page { min-height: 100%; padding-bottom: 16px; }

/* 底部 tabbar */
.tabbar {
  flex: none; height: 58px; background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line); display: flex; padding-bottom: 4px; z-index: 20;
}
.tabbar a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: var(--ink-4); font-size: 11.5px; position: relative; }
.tabbar a.active { color: var(--brand); }
.tabbar a svg { width: 22px; height: 22px; }
.tabbar .dot { position: absolute; top: 6px; right: 26px; min-width: 15px; height: 15px; padding: 0 4px; border-radius: 8px; background: var(--brand); color: #fff; font-size: 9.5px; display: grid; place-items: center; font-weight: 700; }

/* ============ 首页 ============ */
.home-head { background: #fff; padding: 0 14px 10px; position: sticky; top: 0; z-index: 9; }
.searchbar { display: flex; align-items: center; gap: 8px; }
.searchbar .sb-input {
  flex: 1; height: 40px; border-radius: 20px; background: #F4F5F7; display: flex; align-items: center;
  gap: 7px; padding: 0 14px; color: var(--ink-4); font-size: 13.5px;
}
.searchbar .sb-input.brand { background: var(--brand-soft); }
.searchbar .loc { display: flex; align-items: center; gap: 3px; font-size: 12.5px; color: var(--ink-2); }

.hero-wrap { padding: 12px 14px 0; }
.hero {
  position: relative; border-radius: 16px; overflow: hidden; height: 168px; color: #fff;
  box-shadow: 0 10px 26px -14px rgba(40, 30, 26, .6);
}
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .5s; display: flex; flex-direction: column; justify-content: center; padding: 0 22px; }
.hero-slide.on { opacity: 1; }
.hero-slide .tag { align-self: flex-start; font-size: 11.5px; padding: 3px 9px; border-radius: 5px; background: rgba(255,255,255,.2); backdrop-filter: blur(4px); margin-bottom: 10px; letter-spacing: .3px; }
.hero-slide h2 { font-size: 26px; letter-spacing: .5px; margin-bottom: 7px; font-weight: 700; }
.hero-slide p { font-size: 13px; opacity: .85; line-height: 1.6; max-width: 74%; }
.hero-slide .deco { position: absolute; right: 14px; bottom: 8px; font-size: 74px; opacity: .9; filter: drop-shadow(0 6px 14px rgba(0,0,0,.25)); }
.hero-dots { position: absolute; bottom: 10px; right: 14px; display: flex; gap: 4px; z-index: 3; }
.hero-dots i { width: 5px; height: 5px; border-radius: 4px; background: rgba(255,255,255,.45); transition: .3s; }
.hero-dots i.on { width: 14px; background: #fff; }

/* 主营类目入口 */
.catnav { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 16px 10px 8px; }
.catnav a { display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 4px 0; }
.catnav .cn-ico {
  width: 54px; height: 54px; border-radius: 18px; display: grid; place-items: center; font-size: 26px;
  background: linear-gradient(150deg, #FFF3ED, #FFE7DC); box-shadow: 0 6px 14px -8px rgba(200, 85, 27, .45);
}
.catnav .cn-name { font-size: 13px; font-weight: 600; color: var(--ink); line-height: 1.2; }
.catnav .cn-sub { font-size: 11px; color: var(--ink-4); margin-top: -3px; }

/* 快捷功能胶囊 */
.qchips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 14px 4px; scrollbar-width: none; }
.qchips::-webkit-scrollbar { display: none; }
.qchips a {
  flex: none; display: flex; align-items: center; gap: 5px; height: 30px; padding: 0 12px;
  border-radius: 15px; background: #F6F7F9; font-size: 12.5px; color: var(--ink-2);
}
.qchips a span { font-size: 14px; }

.notice { margin: 10px 14px 12px; background: #FFF9F2; border-radius: 10px; height: 36px; display: flex; align-items: center; gap: 8px; padding: 0 12px; overflow: hidden; }
.notice .tag { font-size: 11px; font-weight: 700; color: #B45309; background: #FDE9CE; padding: 2px 6px; border-radius: 4px; flex: none; }
.notice .marquee { flex: 1; overflow: hidden; position: relative; height: 18px; }
.notice .marquee span { position: absolute; white-space: nowrap; font-size: 12.5px; color: #8A5A18; animation: marquee 16s linear infinite; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-58%); } }

.section { margin-top: 14px; }
.section-head { display: flex; align-items: center; justify-content: space-between; padding: 0 14px 10px; }
.section-head h3 { font-size: 17px; font-weight: 700; display: flex; align-items: center; gap: 6px; letter-spacing: .2px; }
.section-head h3 .bar { width: 3px; height: 16px; border-radius: 2px; background: var(--brand); display: block; }
.section-head .more { font-size: 12.5px; color: var(--ink-3); display: flex; align-items: center; gap: 2px; }
.section-head .more svg { width: 12px; height: 12px; }
.section-head .countdown { display: flex; gap: 3px; align-items: center; font-size: 11px; color: var(--ink-2); }
.section-head .countdown b { background: #26292F; color: #fff; font-size: 11px; padding: 2px 4px; border-radius: 4px; font-variant-numeric: tabular-nums; }

/* 秒杀横滑 */
.seckill-scroll { display: flex; gap: 10px; overflow-x: auto; padding: 0 14px 4px; scrollbar-width: none; }
.seckill-scroll::-webkit-scrollbar { display: none; }
.sk-card { flex: none; width: 112px; }
.sk-card .art { height: 112px; border-radius: 12px; }
.sk-card .sk-price { color: var(--brand); font-weight: 700; font-size: 14px; margin-top: 6px; }
.sk-card .sk-price small { font-size: 10px; font-weight: 600; }
.sk-card .sk-origin { font-size: 10px; color: var(--ink-4); text-decoration: line-through; margin-left: 3px; }
.sk-bar { height: 12px; border-radius: 6px; background: #FFE9E3; margin-top: 5px; position: relative; overflow: hidden; }
.sk-bar i { position: absolute; inset: 0; width: 0; background: linear-gradient(90deg, #FF7A45, #FF4E33); border-radius: 6px; }
.sk-bar span { position: absolute; inset: 0; font-size: 8.5px; color: #fff; display: grid; place-items: center; font-weight: 700; letter-spacing: .2px; text-shadow: 0 1px 2px rgba(0,0,0,.15); }

/* 拼团卡片 */
.group-scroll { display: flex; gap: 10px; overflow-x: auto; padding: 0 14px 4px; scrollbar-width: none; }
.group-scroll::-webkit-scrollbar { display: none; }
.grp-card { flex: none; width: 232px; background: #fff; border-radius: 14px; display: flex; gap: 10px; padding: 10px; box-shadow: var(--shadow-s); border: 1px solid var(--line-2); }
.grp-card .art { width: 74px; height: 74px; border-radius: 10px; flex: none; }
.grp-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.grp-info .t { font-size: 12.5px; line-height: 1.4; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.grp-info .p { margin-top: auto; display: flex; align-items: baseline; gap: 5px; }
.grp-info .p b { color: var(--brand); font-size: 16px; }
.grp-info .p s { font-size: 10.5px; color: var(--ink-4); }
.grp-info .join { display: flex; align-items: center; gap: 4px; margin-top: 4px; }
.grp-info .join .avs { display: flex; }
.grp-info .join .avs i { width: 15px; height: 15px; border-radius: 50%; background: #EDEFF3; font-size: 8px; display: grid; place-items: center; margin-right: -4px; border: 1px solid #fff; }
.grp-info .join span { font-size: 10px; color: var(--ink-3); margin-left: 6px; }

/* 领券 */
.coupon-row { display: flex; gap: 8px; overflow-x: auto; padding: 0 14px; scrollbar-width: none; }
.coupon-row::-webkit-scrollbar { display: none; }
.cp-ticket {
  flex: none; width: 156px; height: 64px; border-radius: 10px; background: #fff; border: 1px solid #FFD9CF;
  display: flex; align-items: stretch; overflow: hidden; position: relative;
}
.cp-ticket .l { padding: 8px 10px; display: flex; flex-direction: column; justify-content: center; }
.cp-ticket .l b { color: var(--brand); font-size: 19px; line-height: 1.1; }
.cp-ticket .l b small { font-size: 10px; }
.cp-ticket .l span { font-size: 9.5px; color: var(--ink-3); margin-top: 3px; }
.cp-ticket .r { margin-left: auto; width: 48px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-dark); font-size: 11px; font-weight: 700; border-left: 1px dashed #FFC7B9; }

/* 商品卡片 */
.goods-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0 14px; }
.gcard { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-s); border: 1px solid var(--line-2); display: flex; flex-direction: column; }
.gcard .art { aspect-ratio: 1 / 1; height: auto; }
.gcard .gc-body { padding: 10px 11px 12px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.gcard .gc-title { font-size: 14px; line-height: 1.45; color: var(--ink); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; min-height: 41px; font-weight: 500; }
.gcard .gc-tags { display: flex; gap: 4px; flex-wrap: wrap; }
.gcard .gc-foot { display: flex; align-items: baseline; gap: 4px; margin-top: auto; }
.gcard .price { color: var(--brand); font-weight: 700; font-size: 18px; letter-spacing: -.2px; }
.gcard .price small { font-size: 11.5px; }
.gcard .origin { font-size: 11.5px; color: var(--ink-4); text-decoration: line-through; }
.gcard .sold { margin-left: auto; font-size: 11px; color: var(--ink-4); }

/* 首页类目专区（横向商品条） */
.cat-sec { margin-top: 18px; }
.cat-sec-scroll { display: flex; gap: 10px; overflow-x: auto; padding: 0 14px 4px; scrollbar-width: none; }
.cat-sec-scroll::-webkit-scrollbar { display: none; }
.cat-sec-card { flex: none; width: 132px; background: #fff; border-radius: 14px; overflow: hidden; border: 1px solid var(--line-2); box-shadow: var(--shadow-s); }
.cat-sec-card .art { aspect-ratio: 1 / 1; height: auto; }
.cat-sec-card .sc-body { padding: 8px 9px 10px; }
.cat-sec-card .sc-t { font-size: 12.5px; line-height: 1.4; color: var(--ink); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; min-height: 35px; }
.cat-sec-card .sc-p { display: flex; align-items: baseline; gap: 4px; margin-top: 5px; }
.cat-sec-card .sc-p b { color: var(--brand); font-size: 15.5px; font-weight: 700; }
.cat-sec-card .sc-p b small { font-size: 10.5px; }
.cat-sec-card .sc-p s { font-size: 10.5px; color: var(--ink-4); }

/* 图形占位 */
.art { position: relative; display: grid; place-items: center; background: linear-gradient(150deg, var(--g1), var(--g2)); overflow: hidden; }
.art .art-emoji { font-size: 46px; filter: drop-shadow(0 6px 12px rgba(90, 60, 40, .18)); transition: transform .4s; z-index: 1; }
.art .art-gloss { position: absolute; width: 130%; height: 60%; top: -30%; left: -15%; background: radial-gradient(ellipse at 30% 60%, rgba(255, 255, 255, .75), transparent 62%); }
.gcard:active .art .art-emoji { transform: scale(.94); }

/* ============ 分类页（顶部横滑类目 + 全宽栅格） ============ */
.cat-head { position: sticky; top: 0; z-index: 9; background: #fff; padding: 0 0 2px; }
.cat-head .searchbar { padding: 0 14px 10px; }
.cat-tabs { display: flex; gap: 22px; overflow-x: auto; padding: 0 14px; scrollbar-width: none; border-bottom: 1px solid var(--line-2); }
.cat-tabs::-webkit-scrollbar { display: none; }
.cat-tabs a {
  flex: none; padding: 4px 0 10px; font-size: 14px; color: var(--ink-2); position: relative; white-space: nowrap;
}
.cat-tabs a.on { color: var(--ink); font-weight: 700; font-size: 15px; }
.cat-tabs a.on::after {
  content: ''; position: absolute; left: 50%; transform: translateX(-50%); bottom: 0;
  width: 22px; height: 3px; border-radius: 2px; background: var(--brand);
}
.cat-tabs a .cnt { font-size: 11px; color: var(--ink-4); margin-left: 2px; font-weight: 400; }

.cat-body { padding: 12px 0 4px; }
.cat-banner { height: 72px; margin: 0 14px 12px; border-radius: 14px; display: flex; align-items: center; justify-content: space-between; padding: 0 18px; color: #fff; }
.cat-banner b { font-size: 16px; display: block; margin-bottom: 4px; }
.cat-banner span { font-size: 12px; opacity: .82; }
.cat-banner .big { font-size: 34px; opacity: .9; }
.cat-sub { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.cat-sub a { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12.5px; color: var(--ink-2); }
.cat-sub .thumb { width: 100%; aspect-ratio: 1; border-radius: 10px; display: grid; place-items: center; font-size: 26px; }
/* 二级分类筛选条 */
.sub-chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 14px 10px; margin: 0; }
.sub-chips::-webkit-scrollbar { display: none; }
.sub-chips a { flex: none; padding: 7px 14px; border-radius: 999px; background: #F5F6F8; color: var(--ink-2); font-size: 13px; white-space: nowrap; }
.sub-chips a.on { background: var(--brand); color: #fff; font-weight: 600; }
.cat-empty-tip { padding: 46px 20px; text-align: center; color: var(--ink-4); font-size: 13px; }

/* ============ 商品详情 ============ */
.gallery { position: relative; height: auto; aspect-ratio: 1 / 1; background: #fff; }
.gallery .art { height: 100%; border-radius: 0; }
.gallery .art .art-emoji { font-size: 132px; }
.gallery .dots { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); display: flex; gap: 5px; }
.gallery .dots i { width: 5px; height: 5px; border-radius: 3px; background: rgba(0, 0, 0, .18); }
.gallery .dots i.on { width: 14px; background: var(--brand); }
.gallery .float-back { position: absolute; left: 12px; top: 12px; width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,.82); backdrop-filter: blur(6px); display: grid; place-items: center; }

.price-block { background: #fff; padding: 14px; }
.price-block .p-line { display: flex; align-items: baseline; gap: 8px; }
.price-block .now { color: var(--brand); font-size: 28px; font-weight: 800; letter-spacing: -.6px; }
.price-block .now small { font-size: 14px; font-weight: 700; }
.price-block .was { color: var(--ink-4); text-decoration: line-through; font-size: 12px; }
.price-block .badge { margin-left: auto; font-size: 10.5px; color: var(--brand-dark); background: var(--brand-soft); padding: 3px 8px; border-radius: 6px; font-weight: 700; }
.price-block .title { font-size: 16.5px; line-height: 1.5; font-weight: 600; margin: 8px 0 6px; }
.price-block .sub { font-size: 12px; color: var(--ink-3); }
.price-block .meta { display: flex; gap: 14px; margin-top: 10px; font-size: 11px; color: var(--ink-3); }
.price-block .zhe { flex: none; background: #FFF1EC; color: #C8551B; font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.gcard .zhe-tag { font-size: 11px; color: #C8551B; background: #FFF1EC; padding: 1px 6px; border-radius: 999px; font-weight: 700; }

.cell-group { background: #fff; margin-top: 8px; padding: 2px 14px; }
.cell { display: flex; align-items: center; gap: 10px; min-height: 46px; font-size: 13px; border-bottom: 1px solid var(--line-2); }
.cell:last-child { border-bottom: none; }
.cell .k { color: var(--ink-3); width: 52px; flex: none; font-size: 12.5px; }
.cell .v { flex: 1; color: var(--ink); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.cell .v.muted { color: var(--ink-2); font-size: 12.5px; }
.cell .arrow { color: var(--ink-4); margin-left: auto; }

.spec-tag { padding: 5px 10px; border-radius: 6px; background: #F5F6F8; font-size: 12px; color: var(--ink-2); border: 1px solid transparent; }
.spec-tag.on { background: var(--brand-soft); color: var(--brand-dark); border-color: #FFB8A8; font-weight: 600; }

.svc-row { display: flex; gap: 14px; padding: 10px 0; font-size: 11.5px; color: var(--ink-3); flex-wrap: wrap; }
.svc-row span { display: flex; align-items: center; gap: 3px; }
.svc-row span i { color: var(--green); font-style: normal; }

.review-box { background: #fff; margin-top: 8px; padding: 14px; }
.review-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.review-head h3 { font-size: 14px; }
.review-head span { font-size: 11.5px; color: var(--ink-3); }
.review { display: flex; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line-2); }
.review .av { width: 30px; height: 30px; border-radius: 50%; background: #F0F2F5; display: grid; place-items: center; font-size: 14px; flex: none; }
.review .rc { flex: 1; }
.review .rc .n { font-size: 12px; color: var(--ink-2); display: flex; justify-content: space-between; }
.review .rc .n em { font-style: normal; color: var(--ink-4); font-size: 10.5px; }
.review .rc p { font-size: 12.5px; line-height: 1.65; color: var(--ink); margin-top: 5px; }
.stars { color: #F5A524; font-size: 11px; letter-spacing: 1px; }

.detail-body { background: #fff; margin-top: 8px; padding: 16px 14px 24px; }
.detail-body h3 { font-size: 14px; margin-bottom: 10px; }
.detail-body .para { font-size: 12.5px; line-height: 2; color: var(--ink-2); }
.detail-body .figure { margin-top: 12px; height: 190px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(150deg, #F7F5F2, #E9E3DA); font-size: 54px; }

.detail-bar {
  flex: none; height: 62px; background: #fff; border-top: 1px solid var(--line);
  display: flex; align-items: center; gap: 10px; padding: 0 14px;
}
.detail-bar .ico { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 9.5px; color: var(--ink-3); width: 40px; }
.detail-bar .ico svg { width: 19px; height: 19px; }
.detail-bar .cta { flex: 1; display: flex; gap: 8px; }
.detail-bar .cta .btn { flex: 1; height: 44px; border-radius: 22px; font-size: 14.5px; }
.detail-bar .cta .add { background: #2B2F36; color: #fff; }
.detail-bar .cta .buy { background: linear-gradient(120deg, #FF7A45, #FF4E33); color: #fff; box-shadow: 0 6px 16px -6px rgba(255, 78, 51, .7); }

/* ============ 购物车 ============ */
.cart-item { background: #fff; border-radius: 14px; padding: 12px; display: flex; gap: 10px; margin-bottom: 10px; }
.cart-item .art { width: 84px; height: 84px; border-radius: 10px; flex: none; }
.cart-item .ci-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.cart-item .ci-title { font-size: 13px; line-height: 1.45; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.cart-item .ci-spec { font-size: 10.5px; color: var(--ink-3); background: #F6F7F9; padding: 2px 6px; border-radius: 4px; align-self: flex-start; margin-top: 5px; }
.cart-item .ci-foot { display: flex; align-items: center; margin-top: auto; padding-top: 8px; }
.cart-item .ci-price { color: var(--brand); font-weight: 700; font-size: 15px; }
.stepper { display: flex; align-items: center; gap: 0; margin-left: auto; border: 1px solid var(--line); border-radius: 7px; overflow: hidden; }
.stepper button { width: 26px; height: 26px; display: grid; place-items: center; color: var(--ink-2); font-size: 15px; }
.stepper button:disabled { color: var(--ink-4); }
.stepper span { min-width: 30px; text-align: center; font-size: 12.5px; border-left: 1px solid var(--line); border-right: 1px solid var(--line); line-height: 26px; }

.checkbox { width: 19px; height: 19px; border-radius: 50%; border: 1.5px solid #D4D8DF; display: grid; place-items: center; flex: none; background: #fff; }
.checkbox.on { background: var(--brand); border-color: var(--brand); }
.checkbox.on::after { content: ''; width: 9px; height: 5px; border-left: 1.8px solid #fff; border-bottom: 1.8px solid #fff; transform: rotate(-45deg) translate(1px, -1px); }

.settle-bar { flex: none; height: 60px; background: #fff; border-top: 1px solid var(--line); display: flex; align-items: center; padding: 0 14px; gap: 10px; }
.settle-bar .all { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ink-2); }
.settle-bar .sum { margin-left: auto; text-align: right; line-height: 1.3; }
.settle-bar .sum b { color: var(--brand); font-size: 18px; font-weight: 800; }
.settle-bar .sum span { display: block; font-size: 10px; color: var(--ink-4); }
.settle-bar .btn { height: 40px; border-radius: 20px; padding: 0 24px; }

/* ============ 我的 ============ */
.me-head { padding: 10px 16px 58px; background: linear-gradient(150deg, #2C2A28 0%, #4A3B33 46%, #8A5F45 100%); color: #fff; position: relative; overflow: hidden; }
.me-head::before { content: ''; position: absolute; right: -40px; top: -50px; width: 190px; height: 190px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.16), transparent 68%); }
.me-head::after { content: ''; position: absolute; left: -30px; bottom: -60px; width: 150px; height: 150px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 138, 61, .28), transparent 70%); }
.me-id { display: flex; align-items: center; gap: 12px; position: relative; z-index: 2; }
.me-avatar { width: 58px; height: 58px; border-radius: 50%; background: rgba(255, 255, 255, .16); border: 1.5px solid rgba(255, 255, 255, .35); display: grid; place-items: center; font-size: 28px; backdrop-filter: blur(4px); }
.me-id h2 { font-size: 17px; display: flex; align-items: center; gap: 7px; }
.lv-badge { font-size: 9.5px; font-weight: 700; padding: 2px 6px; border-radius: 4px; background: linear-gradient(100deg, #F1D08A, #C08A2E); color: #3B2A0C; letter-spacing: .2px; }
.me-id .sub { font-size: 11px; opacity: .7; margin-top: 4px; }
.me-id .set { margin-left: auto; opacity: .8; }

.asset-card { margin: -46px 14px 0; background: #fff; border-radius: 14px; box-shadow: var(--shadow-m); display: flex; padding: 14px 0; position: relative; z-index: 3; }
.asset-card div { flex: 1; text-align: center; position: relative; }
.asset-card div + div::before { content: ''; position: absolute; left: 0; top: 4px; bottom: 4px; width: 1px; background: var(--line); }
.asset-card b { font-size: 17px; font-weight: 800; letter-spacing: -.3px; display: block; font-variant-numeric: tabular-nums; }
.asset-card span { font-size: 10.5px; color: var(--ink-3); }

.order-entry { background: #fff; border-radius: 14px; margin: 12px 14px 0; padding: 14px; }
.order-entry .oh { display: flex; align-items: center; justify-content: space-between; font-size: 14px; font-weight: 700; margin-bottom: 14px; }
.order-entry .oh span { font-size: 11px; font-weight: 400; color: var(--ink-3); display: flex; align-items: center; gap: 2px; }
.order-entry .grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.order-entry .grid a { display: flex; flex-direction: column; align-items: center; gap: 7px; font-size: 11px; color: var(--ink-2); position: relative; }
.order-entry .grid .o-ico { font-size: 21px; }
.order-entry .grid .num { position: absolute; top: -4px; right: 16px; min-width: 15px; height: 15px; border-radius: 8px; background: var(--brand); color: #fff; font-size: 9px; display: grid; place-items: center; font-weight: 700; padding: 0 3px; }

.mlist { background: #fff; border-radius: 14px; margin: 12px 14px 0; overflow: hidden; }
.mlist a, .mlist .row { display: flex; align-items: center; gap: 10px; padding: 14px; font-size: 13.5px; border-bottom: 1px solid var(--line-2); }
.mlist a:last-child { border-bottom: none; }
.mlist .ico { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: #F5F6F8; font-size: 14px; }
.mlist .txt { flex: 1; }
.mlist .txt small { display: block; font-size: 10.5px; color: var(--ink-3); margin-top: 2px; }
.mlist .r { font-size: 12px; color: var(--ink-4); display: flex; align-items: center; gap: 4px; }
.mlist .r b { color: var(--brand); }

/* ============ 结算 ============ */
.addr-card { background: #fff; margin: 10px; border-radius: 14px; padding: 14px; display: flex; gap: 10px; align-items: flex-start; }
.addr-card .loc-ico { width: 30px; height: 30px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; flex: none; }
.addr-card .ac { flex: 1; }
.addr-card .ac .who { font-size: 13.5px; font-weight: 600; display: flex; gap: 8px; align-items: center; }
.addr-card .ac .who span { font-weight: 400; color: var(--ink-3); font-size: 12px; }
.addr-card .ac .det { font-size: 12px; color: var(--ink-2); line-height: 1.6; margin-top: 5px; }

.pay-row { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line-2); font-size: 13px; }
.pay-row:last-child { border-bottom: none; }
.pay-row .pi { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; font-size: 15px; background: #F5F6F8; }
.pay-row .pn { flex: 1; }
.pay-row .pn small { display: block; font-size: 10.5px; color: var(--ink-3); }
.radio { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid #D4D8DF; display: grid; place-items: center; }
.radio.on { border-color: var(--brand); }
.radio.on::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--brand); }

.sum-line { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--ink-2); padding: 5px 0; }
.sum-line b { color: var(--ink); font-weight: 600; }
.sum-line.total b { color: var(--brand); font-size: 17px; font-weight: 800; }

/* ============ 订单列表 ============ */
.seg { display: flex; background: #fff; padding: 0 6px; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; overflow-x: auto; }
.seg a { padding: 12px 10px; font-size: 13px; color: var(--ink-2); position: relative; white-space: nowrap; }
.seg a.on { color: var(--ink); font-weight: 700; }
.seg a.on::after { content: ''; position: absolute; left: 50%; transform: translateX(-50%); bottom: 4px; width: 18px; height: 3px; border-radius: 2px; background: var(--brand); }

.order-card { background: #fff; border-radius: 14px; margin: 10px 12px; padding: 13px; }
.order-card .oc-head { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--ink-3); margin-bottom: 10px; }
.order-card .oc-head b { color: var(--brand); font-weight: 600; }
.order-card .oc-goods { display: flex; gap: 10px; padding: 8px 0; }
.order-card .oc-goods .art { width: 62px; height: 62px; border-radius: 9px; flex: none; }
.order-card .oc-goods .og { flex: 1; min-width: 0; }
.order-card .oc-goods .og .t { font-size: 12.5px; line-height: 1.45; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; }
.order-card .oc-goods .og .s { font-size: 10.5px; color: var(--ink-3); margin-top: 4px; }
.order-card .oc-goods .og .pr { font-size: 12px; color: var(--ink-2); margin-top: 4px; }
.order-card .oc-foot { border-top: 1px solid var(--line-2); padding-top: 10px; display: flex; align-items: center; gap: 8px; }
.order-card .oc-foot .tot { flex: 1; font-size: 12px; color: var(--ink-2); }
.order-card .oc-foot .tot b { color: var(--ink); font-size: 15px; font-weight: 700; }
.order-card .oc-foot .btn { height: 30px; padding: 0 13px; font-size: 12px; border-radius: 15px; }

/* 物流时间线 */
.timeline { padding: 4px 0 0; }
.timeline li { position: relative; padding: 0 0 18px 22px; font-size: 12px; color: var(--ink-2); }
.timeline li::before { content: ''; position: absolute; left: 4px; top: 5px; width: 7px; height: 7px; border-radius: 50%; background: #DDE1E7; }
.timeline li::after { content: ''; position: absolute; left: 7px; top: 14px; bottom: 0; width: 1px; background: #EBEDF1; }
.timeline li:last-child::after { display: none; }
.timeline li.on { color: var(--ink); font-weight: 600; }
.timeline li.on::before { background: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }

/* ============ 活动页 ============ */
.act-hero { padding: 20px 16px 24px; color: #fff; border-radius: 0 0 20px 20px; }
.act-hero h2 { font-size: 22px; margin-bottom: 6px; }
.act-hero p { font-size: 12px; opacity: .82; }
.act-hero .cd { display: flex; gap: 6px; margin-top: 14px; align-items: center; font-size: 11px; }
.act-hero .cd b { background: rgba(255,255,255,.2); border-radius: 6px; padding: 4px 7px; font-size: 14px; font-variant-numeric: tabular-nums; }

.signin-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 14px; }
.signin-grid .day { background: #fff; border-radius: 10px; padding: 10px 4px; text-align: center; border: 1px solid var(--line-2); }
.signin-grid .day.done { background: var(--brand-soft); border-color: #FFD2C6; }
.signin-grid .day.today { border-color: var(--brand); background: #fff; }
.signin-grid .day b { display: block; font-size: 12.5px; color: var(--ink); }
.signin-grid .day span { font-size: 9.5px; color: var(--ink-3); }
.signin-grid .day em { font-style: normal; font-size: 15px; display: block; margin-top: 4px; }

.points-goods { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 14px; }
.pg-card { background: #fff; border-radius: 12px; overflow: hidden; }
.pg-card .art { height: 120px; }
.pg-card .pb { padding: 8px 10px 10px; }
.pg-card .t { font-size: 12px; line-height: 1.4; }
.pg-card .p { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.pg-card .p b { color: #C08A2E; font-size: 14px; }
.pg-card .p .btn { height: 26px; padding: 0 10px; font-size: 11px; border-radius: 13px; }

/* 分销 */
.dist-hero { background: linear-gradient(150deg, #2B2F36, #4C5560); color: #fff; padding: 18px 16px 22px; }
.dist-hero h2 { font-size: 17px; display: flex; align-items: center; gap: 8px; }
.dist-hero .dm { display: flex; gap: 22px; margin-top: 16px; }
.dist-hero .dm div b { font-size: 19px; font-weight: 800; display: block; font-variant-numeric: tabular-nums; }
.dist-hero .dm div span { font-size: 10.5px; opacity: .66; }

/* 客服 */
.chat-body { background: #F2F3F5; flex: 1; overflow-y: auto; padding: 14px; }
.chat-msg { display: flex; gap: 8px; margin-bottom: 14px; }
.chat-msg .av { width: 32px; height: 32px; border-radius: 8px; background: #fff; display: grid; place-items: center; font-size: 16px; flex: none; }
.chat-msg .bubble { max-width: 74%; background: #fff; border-radius: 4px 12px 12px 12px; padding: 9px 12px; font-size: 13px; line-height: 1.6; }
.chat-msg.me { flex-direction: row-reverse; }
.chat-msg.me .bubble { background: #FFE3DA; border-radius: 12px 4px 12px 12px; }
.chat-msg.me .av { background: var(--brand-soft); }
.chat-input { flex: none; background: #fff; border-top: 1px solid var(--line); padding: 8px 12px; display: flex; gap: 8px; }
.chat-input input { flex: 1; height: 36px; border-radius: 18px; background: #F4F5F7; border: none; padding: 0 14px; outline: none; font-size: 13px; }
.chat-input button { width: 60px; border-radius: 18px; background: var(--brand); color: #fff; font-size: 13px; font-weight: 600; }

/* 应用外壳 */
#app { flex: 1; display: flex; flex-direction: column; min-height: 0; width: 100%; }

/* 行内 / 列表小图 */
.mini-art { width: 64px; height: 64px; border-radius: 10px; flex: none; }
.mini-art .art-emoji { font-size: 28px; }
.mlist .row .art { width: 52px; height: 52px; border-radius: 9px; flex: none; }
.mlist .row .art .art-emoji { font-size: 23px; }

/* 移动端自适应 */
@media (max-width: 900px) {
  body.mall-body { padding: 0; display: block; background: #fff; }
  .stage { display: block; }
  .phone { width: 100%; height: 100vh; height: 100dvh; max-width: none; border-radius: 0; padding: 0; box-shadow: none; }
  .phone::after { display: none; }
  .phone-screen { border-radius: 0; }
  .sheet { max-width: 100%; }
}

/* 启动 / 加载 / 错误态 */
.boot {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: linear-gradient(170deg, #FBF8F3, #F4F0E9); padding: 30px;
}
.boot-logo {
  width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center;
  background: linear-gradient(135deg, #2E2B28, #6E5241); color: #F6E7CC; font-size: 26px;
  box-shadow: 0 10px 24px rgba(46, 43, 40, .22);
}
.boot-name { margin-top: 14px; font-size: 15px; font-weight: 700; letter-spacing: .08em; color: #2E2B28; }
.boot-spin {
  margin-top: 20px; width: 22px; height: 22px; border-radius: 50%;
  border: 2px solid rgba(46, 43, 40, .14); border-top-color: #B4593E;
  animation: boot-spin .8s linear infinite;
}
@keyframes boot-spin { to { transform: rotate(360deg); } }
.boot-tip { margin-top: 12px; font-size: 11.5px; color: var(--ink-3); text-align: center; }
.boot .btn { min-width: 140px; }

/* 支付通道标记 */
.pay-badge {
  display: inline-flex; align-items: center; gap: 4px; font-size: 10px;
  padding: 2px 7px; border-radius: 9px; background: #EEF7F0; color: #2E7D4F;
}
.pay-badge.mock { background: #FDF3E7; color: #9A6B25; }

/* 商品真实主图 */
.art .art-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }

/* 商品详情：多图轮播 */
.gallery .gal-track { display: flex; width: 100%; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.gallery .gal-track::-webkit-scrollbar { display: none; }
.gallery .gal-img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: contain; scroll-snap-align: start; background: #F5F6F8; }

/* 商品详情：富文本 */
.detail-body .rich { font-size: 13px; line-height: 1.9; color: #3A3F47; }
.detail-body .rich p { margin: 0 0 10px; }
.detail-body .rich img { display: block; width: 100%; height: auto; border-radius: 10px; margin: 10px 0; }
.detail-body .rich h3 { font-size: 15px; margin: 14px 0 8px; color: #1E2228; }
.detail-body .rich ul, .detail-body .rich ol { padding-left: 18px; margin: 0 0 10px; }
.detail-body .rich table { width: 100%; border-collapse: collapse; margin: 10px 0; font-size: 12px; }
.detail-body .rich td, .detail-body .rich th { border: 1px solid #EEF0F4; padding: 6px 8px; }

/* 首页横幅使用自定义背景图时：整块图片展示 */
.hero-slide.has-img { color: transparent; }

/* 商品轮播卡：左文右图（2026-11-16） */
.hero-slide.h-prod { color: #fff; padding: 0 18px; }
.hero-slide.h-prod .h-txt { position: relative; z-index: 2; max-width: 58%; }
.hero-slide.h-prod .h-txt .tag { margin-bottom: 8px; }
.hero-slide.h-prod h2 { font-size: 21px; line-height: 1.4; margin-bottom: 7px; letter-spacing: .5px; }
.hero-slide.h-prod p { max-width: 100%; font-size: 12.5px; }
.hero-slide.h-prod .h-art { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); height: 88%; max-width: 44%; object-fit: contain; border-radius: 12px; box-shadow: 0 8px 22px -8px rgba(0, 0, 0, .45); z-index: 1; }

/* ===== 商品详情 · 六段式详情页（d-*）2026-11-16 ===== */
.detail-body .rich .d-hero { border-radius: 18px; padding: 30px 20px 26px; text-align: center; margin: 0 0 10px; }
.detail-body .rich .d-hero-tag { font-size: 12px; letter-spacing: 3px; color: #C8551B; margin-bottom: 10px; }
.detail-body .rich .d-hero h1 { font-size: 21px; font-weight: 700; color: #332b25; letter-spacing: 1px; margin: 0 0 8px; line-height: 1.4; }
.detail-body .rich .d-hero-sub { font-size: 13px; color: #a08a7c; margin: 0; line-height: 1.6; }
.detail-body .rich .d-hero-chips { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.detail-body .rich .d-hero-chips span { font-size: 11px; color: #8a7666; background: #fff; border-radius: 999px; padding: 4px 12px; box-shadow: 0 2px 8px rgba(200, 85, 27, .08); }
.detail-body .rich .d-sec { margin: 18px 0; }
.detail-body .rich .d-sec h2 { font-size: 16px; font-weight: 700; color: #3d332c; margin: 0 0 12px; }
.detail-body .rich .d-emo { font-size: 13.5px; color: #6d6157; text-align: center; margin: 0; line-height: 1.9; }
.detail-body .rich .d-feel { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.detail-body .rich .d-feel-item { background: #FFF7F2; border-radius: 12px; padding: 12px 8px; text-align: center; }
.detail-body .rich .d-feel-item b { display: block; font-size: 13px; color: #C8551B; margin-bottom: 4px; }
.detail-body .rich .d-feel-item span { font-size: 11px; color: #6d6157; line-height: 1.5; display: block; }
.detail-body .rich .d-ing-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.detail-body .rich .d-ing { background: #FFFDF9; border: 1px solid #F3E7DF; border-radius: 12px; padding: 12px; }
.detail-body .rich .d-ing b { display: block; font-size: 13px; color: #6b4432; margin-bottom: 4px; }
.detail-body .rich .d-ing span { font-size: 11.5px; color: #8a7666; line-height: 1.6; display: block; }
.detail-body .rich .d-trust { display: grid; grid-template-columns: repeat(4, 1fr); background: #6b4432; border-radius: 14px; padding: 16px 6px; margin: 18px 0; text-align: center; }
.detail-body .rich .d-trust b { display: block; font-size: 15px; color: #fff; margin-bottom: 4px; }
.detail-body .rich .d-trust span { font-size: 10px; color: #E8D9CC; display: block; }
.detail-body .rich .d-tip-line { font-size: 11.5px; color: #a08a7c; text-align: center; margin: 12px 0 0; }
.detail-body .rich .d-spec th { background: #FFF7F2; color: #6b4432; width: 88px; }
.detail-body .rich .d-spec td, .detail-body .rich .d-spec th { border-color: #F3E7DF; }
.detail-body .rich .d-note { background: #FFF7F2; border-radius: 12px; padding: 14px 16px; margin: 14px 0 4px; }
.detail-body .rich .d-note p { font-size: 11.5px; color: #a08a7c; margin: 0; line-height: 1.8; }

/* ================= 肤质问卷（v=20261118b） ================= */
:root { --wh-brand: #C8551B; --wh-brown: #6b4432; --wh-cream: #FFF7F2; --wh-line: #F3E7DF; }

/* 首页全宽大卡：轮播正下方、主营类目入口上方 */
.quiz-cta {
  position: relative; display: block; overflow: hidden; margin: 12px 14px 2px;
  padding: 16px 18px 15px; border-radius: 16px; text-decoration: none;
  background: linear-gradient(120deg, #FFF1E6 0%, #FFF7F2 52%, #FBE3D0 100%);
  border: 1px solid #F6DCC8;
  box-shadow: 0 6px 18px -12px rgba(107,68,50,.5);
}
.quiz-cta .qc-badge {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .5px;
  color: #fff; background: var(--wh-brand); border-radius: 999px; padding: 3px 10px; margin-bottom: 9px;
}
.quiz-cta .qc-title { display: block; font-size: 17px; font-weight: 700; color: #4A2F1E; line-height: 1.4; }
.quiz-cta .qc-sub { display: block; font-size: 11.5px; color: #9A7A66; margin-top: 5px; }
.quiz-cta .qc-go {
  display: inline-flex; align-items: center; gap: 3px; margin-top: 12px;
  font-size: 12.5px; font-weight: 700; color: #fff; background: var(--wh-brand);
  border-radius: 999px; padding: 7px 15px;
}
.quiz-cta .qc-deco {
  position: absolute; right: 12px; bottom: -22px; font-size: 108px; line-height: 1;
  color: rgba(200,85,27,.11); pointer-events: none; transform: rotate(-16deg);
}

/* 分类页细条 */
.quiz-strip {
  display: flex; align-items: center; gap: 8px; margin: 10px 14px 2px;
  padding: 10px 12px; border-radius: 12px; text-decoration: none;
  background: var(--wh-cream); border: 1px solid var(--wh-line);
}
.quiz-strip .qs-ico { font-size: 17px; }
.quiz-strip .qs-txt { flex: 1; min-width: 0; font-size: 12.5px; font-weight: 600; color: var(--wh-brown); }
.quiz-strip .qs-go { display: inline-flex; align-items: center; gap: 2px; font-size: 11.5px; color: var(--wh-brand); font-weight: 600; }

/* 问卷页：一题一屏 */
.quiz-page { padding: 18px 18px 24px !important; background: linear-gradient(180deg, #FFF7F2 0%, #FFFDFB 42%, #fff 100%); min-height: 100%; }
.qz-top { padding: 4px 2px 0; }
.qz-progress { display: flex; justify-content: space-between; font-size: 11.5px; color: #9A7A66; font-weight: 600; margin-bottom: 8px; }
.qz-bar { height: 5px; border-radius: 999px; background: #F3E7DF; overflow: hidden; }
.qz-bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg,#E8A26B,var(--wh-brand)); transition: width .25s; }
.qz-q { text-align: center; padding: 32px 6px 22px; }
.qz-q .qz-emoji { font-size: 42px; line-height: 1; margin-bottom: 14px; }
.qz-q h2 { font-size: 19px; font-weight: 700; color: #4A2F1E; line-height: 1.55; margin: 0 0 8px; }
.qz-q p { font-size: 12px; color: #A08A7C; margin: 0; }
.qz-opts { display: flex; flex-direction: column; gap: 10px; }
.qz-opt {
  display: flex; align-items: center; gap: 11px; min-height: 54px;
  padding: 12px 14px; border-radius: 14px; background: #fff;
  border: 1.5px solid #F0E3D9; text-decoration: none; transition: .18s;
}
.qz-opt:active { transform: scale(.995); }
.qz-opt.on { border-color: var(--wh-brand); background: #FFF6EF; box-shadow: 0 4px 14px -10px rgba(200,85,27,.7); }
.qz-radio { flex: none; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid #D9C6B7; position: relative; }
.qz-opt.on .qz-radio { border-color: var(--wh-brand); }
.qz-opt.on .qz-radio::after { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: var(--wh-brand); }
.qz-ol { flex: 1; min-width: 0; font-size: 14px; color: #4A3A2E; line-height: 1.5; font-weight: 500; }
.qz-opt.on .qz-ol { color: #4A2F1E; font-weight: 600; }
.qz-ok { flex: none; color: var(--wh-brand); font-size: 15px; font-weight: 700; }
.qz-foot { margin-top: 26px; }
.qz-btns { display: flex; gap: 10px; }
.qz-btns .btn { flex: 1; height: 46px; border-radius: 12px; font-size: 14px; }
.qz-btns span { flex: 1; }
.qz-foot p { text-align: center; font-size: 11.5px; color: #A08A7C; margin: 14px 0 0; line-height: 1.7; }

/* 结果页 */
.quiz-result { padding: 0 0 20px !important; background: #FFFDFB; }
.qr-hero {
  padding: 26px 20px 24px; border-radius: 0 0 22px 22px;
  background: linear-gradient(135deg, #FFF1E6 0%, #FFF9F4 50%, #FBE3D0 100%);
}
.qr-hero .qr-tag { display: inline-block; font-size: 11px; font-weight: 700; color: #fff; background: var(--wh-brand); border-radius: 999px; padding: 3px 11px; }
.qr-hero h1 { font-size: 24px; font-weight: 800; color: #4A2F1E; margin: 12px 0 8px; letter-spacing: .5px; }
.qr-hero p { font-size: 13px; color: #8A6B55; line-height: 1.7; margin: 0; }
.qr-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 15px; }
.qr-chips span { font-size: 11.5px; color: #8A5A38; background: rgba(255,255,255,.8); border: 1px solid #F3D9C6; border-radius: 999px; padding: 5px 11px; line-height: 1.5; }
.qz-note { margin: 16px 16px 4px; padding: 15px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--wh-line); }
.qz-note p { font-size: 12.5px; color: #6F5A4C; line-height: 1.85; margin: 0 0 6px; }
.qz-note p:last-child { margin-bottom: 0; color: #A08A7C; font-size: 11.5px; }
.qz-sec { margin: 18px 16px 0; }
.qz-sec-h { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.qz-sec-h h3 { font-size: 17px; font-weight: 700; color: #4A2F1E; margin: 0; }
.qz-sec-h span { font-size: 11.5px; color: #A08A7C; }
.qz-item { display: flex; gap: 12px; padding: 12px; border-radius: 14px; background: #fff; border: 1px solid var(--wh-line); margin-bottom: 10px; }
.qz-item-art { flex: none; width: 96px; height: 96px; border-radius: 10px; overflow: hidden; }
.qz-item-art .art { width: 100%; height: 100%; border-radius: 10px; }
.qz-item-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.qz-slot { align-self: flex-start; font-size: 11px; font-weight: 600; color: var(--wh-brand); background: #FFF1E6; border-radius: 999px; padding: 2px 9px; margin-bottom: 5px; }
.qz-item-t { font-size: 14px; font-weight: 600; color: #33251C; line-height: 1.45; text-decoration: none; }
.qz-item-sub { font-size: 11.5px; color: #A08A7C; line-height: 1.5; margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qz-item-foot { display: flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 6px; }
.qz-price { font-size: 18px; font-weight: 700; color: var(--wh-brand); }
.qz-item-foot s { font-size: 11.5px; color: #B4A79C; }
.qz-add { margin-left: auto; flex: none; height: 28px; padding: 0 11px; border: 1px solid var(--wh-brand); color: var(--wh-brand); background: #fff; border-radius: 999px; font-size: 11.5px; font-weight: 600; }
.qz-add:active { background: #FFF1E6; }
.qz-warn { margin: 12px 16px 0; padding: 11px 13px; border-radius: 12px; background: #FFF6E8; border: 1px solid #F0DDB8; font-size: 11.5px; color: #8A6A32; line-height: 1.7; }
.qr-buy { display: flex; align-items: center; gap: 12px; margin: 18px 16px 0; padding: 16px; border-radius: 16px; background: #FFF7F2; border: 1px solid var(--wh-line); }
.qr-buy-l { flex: 1; min-width: 0; }
.qr-sum { font-size: 12.5px; color: #6F5A4C; }
.qr-sum b { font-size: 20px; color: var(--wh-brand); margin-left: 4px; }
.qr-cut { font-size: 12.5px; font-weight: 700; color: var(--wh-brand); margin-top: 4px; }
.qr-tip { font-size: 11.5px; color: #A08A7C; line-height: 1.6; margin-top: 5px; }
.qr-addall { flex: none; height: 40px; padding: 0 16px; border-radius: 999px; font-size: 13px; }
.qz-extra { display: flex; align-items: center; gap: 10px; padding: 9px 11px; border-radius: 12px; background: #fff; border: 1px solid var(--wh-line); margin-bottom: 8px; }
.qz-extra .mini-art, .qz-extra .art { flex: none; width: 52px; height: 52px; border-radius: 8px; overflow: hidden; }
.qz-extra-b { flex: 1; min-width: 0; }
.qz-extra-b a { display: block; font-size: 12.5px; font-weight: 600; color: #33251C; text-decoration: none; line-height: 1.4; }
.qz-extra-b small { display: block; font-size: 11.5px; color: #A08A7C; margin-top: 3px; line-height: 1.5; }
.qz-science .qz-sci-card { padding: 13px 14px; border-radius: 12px; background: #fff; border: 1px solid var(--wh-line); margin-bottom: 9px; }
.qz-sci-card h4 { font-size: 13px; font-weight: 700; color: var(--wh-brown); margin: 0 0 6px; }
.qz-sci-card p { font-size: 12px; color: #6F5A4C; line-height: 1.8; margin: 0 0 6px; }
.qz-sci-card small { font-size: 11px; color: #A08A7C; line-height: 1.6; display: block; }
.qz-legal { margin: 20px 16px 0; padding: 14px 15px; border-radius: 12px; background: #F7F4F1; }
.qz-legal p { font-size: 11.5px; color: #9A8B7F; line-height: 1.85; margin: 0 0 4px; }
.qz-legal p:last-child { margin-bottom: 0; }
.qz-re { text-align: center; margin: 16px 0 4px; }
.qz-re .btn { min-width: 150px; border-radius: 999px; font-size: 12.5px; }
.qr-bar {
  flex: none; min-height: 62px;
  display: flex; align-items: center; gap: 12px; padding: 10px 14px;
  background: #fff; border-top: 1px solid var(--wh-line); box-shadow: 0 -6px 18px -14px rgba(0,0,0,.4);
}
.qr-bar-l { flex: 1; min-width: 0; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.qr-bar-l small { font-size: 11.5px; color: #A08A7C; width: 100%; }
.qr-bar-l b { font-size: 20px; color: var(--wh-brand); font-weight: 800; }
.qr-bar-l s { font-size: 11.5px; color: #B4A79C; }
.qr-bar .btn { flex: none; height: 42px; padding: 0 18px; border-radius: 999px; font-size: 13px; }
