/* ══════════════════════════════════════════════════════════════════
   VVIC 新供给 · 韩国馆 —— 承接层 Demo 统一样式
   从 12 个 mockup 提取的设计系统：token + 组件 + 响应式 + 交互层
   一套 CSS 覆盖：逛货侧（首页/搜索/档口/详情）+ 交易侧（登录/规格/确认/收银/成功/订单）
   ══════════════════════════════════════════════════════════════════ */

/* ═══ Reset & Base ═══ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --vvic-red: #EF3664;
  --kakao-yellow: #FEE500;
  --kakao-ink: #3B1E08;
  --ink: #111111;
  --ink-mid: #444444;
  --ink-light: #888888;
  --ink-ghost: #BBBBBB;
  --paper: #FAFAF8;
  --paper-warm: #F5F4F0;
  --rule: #E8E6E1;
  --tag-yes: #2A7A5A;   --tag-yes-bg: rgba(76,175,138,0.10);
  --tag-no: #8A6030;    --tag-no-bg: rgba(180,140,90,0.08);
  --tag-stock: #2A5C7A; --tag-stock-bg: rgba(76,138,180,0.10);
  --pick-gold: #9A7B2E; --pick-gold-bg: rgba(178,142,60,0.10);
  /* 订单状态色 */
  --st-pay: #B84A2E; --st-ship: #2A5C7A; --st-recv: #9A7B2E; --st-done: #6A6A6A; --st-refund: #8A6030;
  --font-serif: 'Pretendard', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'PingFang SC', sans-serif;
  --font-sans: 'Pretendard', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --num: 'Pretendard', 'Noto Sans KR', sans-serif;
}

html { font-size: 16px; scroll-behavior: smooth; }
body {
  background: var(--paper); color: var(--ink);
  font-family: var(--font-sans); font-weight: 300; line-height: 1.6;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
img { display: block; }

/* ═══ Topbar（逛货侧 PC 宽版） ═══ */
.topbar {
  position: sticky; top: 0; z-index: 100;
  background: var(--paper); border-bottom: 1px solid var(--rule);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px; height: 64px;
}
.topbar-left { display: flex; align-items: center; gap: 18px; min-width: 0; }
.topbar-logo { display: flex; align-items: baseline; gap: 9px; }
.topbar-logo .wordmark { font-family: var(--font-serif); font-weight: 700; font-size: 19px; letter-spacing: 0.04em; color: var(--ink); white-space: nowrap; }
.topbar-logo .wordmark b { color: var(--vvic-red); }
.topbar-logo .sub { font-size: 10px; letter-spacing: 0.18em; color: var(--ink-light); font-weight: 400; text-transform: uppercase; white-space: nowrap; }
.topbar-right { display: flex; align-items: center; gap: 20px; }
.topbar-nav { display: flex; align-items: center; gap: 26px; }
.topbar-nav a { font-size: 13px; color: var(--ink-mid); letter-spacing: 0.04em; font-weight: 400; transition: color 0.15s; }
.topbar-nav a:hover, .topbar-nav a.on { color: var(--ink); }
.topbar-user { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--ink-mid); }
.topbar-user svg { width: 17px; height: 17px; stroke: var(--ink-mid); fill: none; stroke-width: 1.6; }
.topbar-user:hover { color: var(--ink); }

.btn-kakao {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--kakao-yellow); color: var(--kakao-ink);
  border-radius: 3px; padding: 9px 17px;
  font-family: var(--font-sans); font-size: 13px; font-weight: 500;
  letter-spacing: 0.02em; white-space: nowrap;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn-kakao:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(254,229,0,0.5); }
.btn-kakao:active { transform: translateY(0); }
.kakao-glyph { width: 17px; height: 17px; flex-shrink: 0; }
.kakao-glyph path { fill: var(--kakao-ink); }

/* ═══ 交易侧 topbar（返回箭头版 / 居中 logo 版） ═══ */
.tbar {
  position: sticky; top: 0; z-index: 100;
  background: var(--paper); border-bottom: 1px solid var(--rule);
  display: flex; align-items: center; height: 56px; padding: 0 16px; gap: 12px;
}
.tbar-back { width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; margin-left: -6px; }
.tbar-back svg { width: 22px; height: 22px; stroke: var(--ink); fill: none; stroke-width: 1.8; }
.tbar-title { font-family: var(--font-serif); font-size: 16px; font-weight: 700; color: var(--ink); }
.tbar-spacer { flex: 1; }
.tbar-logo { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 56px; }
.tbar-logo .wm { font-family: var(--font-serif); font-weight: 700; font-size: 17px; letter-spacing: 0.03em; }
.tbar-logo .wm b { color: var(--vvic-red); }
.tbar-logo .sub { font-size: 9px; letter-spacing: 0.16em; color: var(--ink-light); text-transform: uppercase; }
.tbar--center { justify-content: center; }

/* ═══ Shell ═══ */
.shell { max-width: 1280px; margin: 0 auto; padding: 0 48px; }

/* ═══ Section scaffolding ═══ */
.section { padding: 68px 0 0; }
.section-head { margin-bottom: 36px; }
.section-issue { font-size: 10px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--ink-ghost); font-weight: 400; margin-bottom: 14px; }
.section-title { font-family: var(--font-serif); font-weight: 700; font-size: clamp(22px, 3vw, 34px); line-height: 1.25; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 12px; }
.section-sub { font-size: 13px; color: var(--ink-mid); font-weight: 300; line-height: 1.7; max-width: 660px; }
.section-sub b { color: var(--ink); font-weight: 500; }
.section-rule { width: 100%; height: 1px; background: var(--rule); position: relative; margin-top: 24px; }
.section-rule::before { content: ''; position: absolute; left: 0; top: 0; width: 48px; height: 1px; background: var(--vvic-red); }

/* ═══ 履约标签 rterm ═══ */
.rterm { display: inline-flex; align-items: center; gap: 4px; font-size: 10px; font-weight: 400; padding: 3px 8px; white-space: nowrap; letter-spacing: 0.01em; border: 1px solid; }
.rterm svg { width: 10px; height: 10px; fill: none; stroke-width: 1.8; }
.rterm.t-moq { color: var(--ink-mid); background: var(--paper-warm); border-color: var(--rule); }
.rterm.t-stock { color: var(--tag-stock); background: var(--tag-stock-bg); border-color: rgba(76,138,180,0.26); }
.rterm.t-stock svg { stroke: var(--tag-stock); }
.rterm.t-yes { color: var(--tag-yes); background: var(--tag-yes-bg); border-color: rgba(76,175,138,0.26); }
.rterm.t-yes svg { stroke: var(--tag-yes); }
.rterm.t-no { color: var(--tag-no); background: var(--tag-no-bg); border-color: rgba(180,140,90,0.20); }
.rterm.t-no svg { stroke: var(--tag-no); }
.rterm.t-pick { color: var(--pick-gold); background: var(--pick-gold-bg); border-color: rgba(178,142,60,0.28); font-weight: 500; }
.rterm.t-pick svg { fill: var(--pick-gold); stroke: none; }
.rterm.t-years { color: var(--ink-mid); background: var(--paper-warm); border-color: var(--rule); }
.rterm.t-years svg { stroke: var(--ink-mid); }

/* ═══ 商品卡 rcard ═══ */
.btn-buy-sm { flex: 1; padding: 11px 14px; background: var(--ink); color: #fff; font-size: 12.5px; font-weight: 500; letter-spacing: 0.03em; text-align: center; display: inline-flex; align-items: center; justify-content: center; gap: 6px; transition: background 0.2s; }
.btn-buy-sm svg { width: 14px; height: 14px; stroke: #fff; fill: none; stroke-width: 1.7; }
.btn-buy-sm:hover { background: var(--vvic-red); }
.btn-md-sm { flex-shrink: 0; width: 40px; height: 40px; border: 1px solid var(--rule); background: var(--paper); display: inline-flex; align-items: center; justify-content: center; transition: border-color 0.18s, background 0.18s; }
.btn-md-sm svg { width: 17px; height: 17px; }
.btn-md-sm svg path { fill: var(--ink-mid); transition: fill 0.18s; }
.btn-md-sm:hover { border-color: var(--kakao-ink); background: var(--kakao-yellow); }
.btn-md-sm:hover svg path { fill: var(--kakao-ink); }

.feedgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px 20px; }
.rcard { background: var(--paper); position: relative; display: flex; flex-direction: column; }
.rcard-img { aspect-ratio: 3/4; overflow: hidden; background: #EAE9E4; position: relative; cursor: pointer; }
.rcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.rcard:hover .rcard-img img { transform: scale(1.04); }
.rcard-imgcount { position: absolute; top: 0; right: 0; z-index: 3; display: inline-flex; align-items: center; gap: 4px; background: rgba(17,17,17,0.72); color: #fff; font-size: 10px; letter-spacing: 0.06em; padding: 5px 8px; font-weight: 400; }
.rcard-imgcount svg { width: 11px; height: 11px; stroke: #fff; fill: none; stroke-width: 1.7; }
.rcard-imgcount b { font-family: var(--num); font-weight: 500; }
.rcard-pickbadge { position: absolute; left: 0; bottom: 0; z-index: 3; display: inline-flex; align-items: center; gap: 5px; background: rgba(17,17,17,0.82); color: #fff; font-size: 10px; letter-spacing: 0.06em; padding: 5px 10px; font-weight: 400; }
.rcard-pickbadge svg { width: 11px; height: 11px; fill: var(--kakao-yellow); }
.rcard-match { position: absolute; top: 0; left: 0; z-index: 3; background: rgba(239,54,100,0.94); color: #fff; font-size: 10px; letter-spacing: 0.04em; padding: 5px 9px; font-weight: 500; }
.rcard-match.exact { background: rgba(17,17,17,0.92); }
/* 新供给源头徽章：平台自有货盘身份标（老金马/大朗等），红底左上，比 match 醒目。
   feed 页无 match 不冲突；徽章是平台货源属性、非店主个性化，不涉数据泄露红线。 */
.rcard-supply { position: absolute; top: 0; left: 0; z-index: 4; display: inline-flex; align-items: center; background: var(--vvic-red); color: #fff; font-size: 10px; letter-spacing: 0.06em; padding: 5px 10px; font-weight: 600; }
.rcard-info { padding: 15px 2px 0; display: flex; flex-direction: column; flex: 1; }
.rcard-stall { font-size: 10.5px; letter-spacing: 0.02em; color: var(--ink-light); margin-bottom: 8px; line-height: 1.5; font-weight: 400; }
.rcard-stall .sn { color: var(--ink-mid); font-weight: 500; }
.rcard-stall .sc { font-family: var(--num); letter-spacing: 0.03em; }
.rcard-name { font-family: var(--font-serif); font-size: 14px; color: var(--ink); line-height: 1.4; font-weight: 400; margin-bottom: 12px; }
.rcard-price-row { display: flex; align-items: baseline; gap: 10px; margin-bottom: 13px; }
.rcard-price { font-family: var(--num); font-size: 22px; color: var(--vvic-red); font-weight: 600; }
.rcard-price small { font-size: 13px; font-weight: 500; }
.rcard-price-terms { font-size: 11px; color: var(--ink-light); letter-spacing: 0.01em; }
.rcard-krw { font-family: var(--num); font-size: 12px; color: var(--ink-light); }
.rcard-terms { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; padding-top: 12px; border-top: 1px solid var(--rule); }
.rcard-cta { margin-top: auto; display: flex; gap: 8px; align-items: center; }

/* ═══ Demo 逻辑说明块（仅演示可见 · 绝不对店主前台展示） ═══
   刻意做成"测试批注"观感：灰底 + 虚线框 + 等宽标签，与商业卡片物理区隔，
   让任何人一眼看出这不是给店主看的界面文案，而是 demo 的内部逻辑说明。 */
.demo-note {
  margin-bottom: 30px; padding: 20px 22px 18px;
  background: repeating-linear-gradient(-45deg, #F4F3EF, #F4F3EF 10px, #F1F0EB 10px, #F1F0EB 20px);
  border: 1.5px dashed var(--ink-ghost); border-radius: 4px;
}
.demo-note-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--ink); color: #fff; font-size: 11px; font-weight: 500;
  letter-spacing: 0.04em; padding: 5px 11px; border-radius: 3px; margin-bottom: 14px;
}
.demo-note-tag svg { width: 13px; height: 13px; stroke: #fff; fill: none; stroke-width: 1.7; }
.demo-note-lead { font-size: 12.5px; color: var(--ink-mid); line-height: 1.65; margin-bottom: 18px; font-weight: 300; }
.demo-note-lead b { color: var(--ink); font-weight: 600; }
.demo-note-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 28px; }
.demo-note .dn-col { min-width: 0; }
.demo-note .dn-h { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.demo-note .dn-no { width: 19px; height: 19px; flex-shrink: 0; background: var(--vvic-red); color: #fff; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-family: var(--num); font-size: 11px; font-weight: 700; }
.demo-note ul { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.demo-note li { position: relative; padding-left: 14px; font-size: 12px; color: var(--ink-mid); line-height: 1.55; font-weight: 300; }
.demo-note li::before { content: ''; position: absolute; left: 0; top: 8px; width: 5px; height: 5px; background: var(--ink-ghost); border-radius: 50%; }
.demo-note li b { color: var(--ink); font-weight: 500; }
.demo-note .dn-foot { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--ink-ghost); font-size: 11.5px; color: var(--ink-light); line-height: 1.55; font-weight: 300; }
.demo-note .dn-foot b { color: var(--ink-mid); font-weight: 500; }
.demo-note-tail { margin-top: 16px; font-size: 11px; color: var(--ink-light); letter-spacing: 0.01em; font-style: italic; }
@media (max-width: 560px) {
  .demo-note { padding: 16px 16px 14px; }
  .demo-note-grid { grid-template-columns: 1fr; gap: 18px; }
}

/* ═══ Concierge ═══ */
.concierge { margin-top: 88px; background: var(--ink); color: #fff; display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; padding: 40px 48px; }
.concierge-face { width: 76px; height: 76px; flex-shrink: 0; overflow: hidden; background: #2A2A2A; border-radius: 50%; position: relative; }
.concierge-face::after { content: '经理'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--font-serif); font-size: 13px; color: rgba(255,255,255,0.5); letter-spacing: 0.1em; }
.concierge-body { min-width: 0; }
.concierge-eyebrow { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--vvic-red); margin-bottom: 10px; font-weight: 400; }
.concierge-title { font-family: var(--font-serif); font-size: clamp(18px, 2.2vw, 24px); font-weight: 700; line-height: 1.35; margin-bottom: 10px; letter-spacing: -0.01em; }
.concierge-perks { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.concierge-perks .perk { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: rgba(255,255,255,0.72); font-weight: 300; }
.concierge-perks .perk b { color: #fff; font-weight: 400; }
.concierge-perks .perk svg { width: 14px; height: 14px; stroke: var(--vvic-red); fill: none; stroke-width: 1.8; flex-shrink: 0; }
.concierge-cta { display: flex; flex-direction: column; gap: 10px; flex-shrink: 0; }
.concierge-cta .btn-kakao { justify-content: center; font-size: 14px; padding: 13px 26px; }
.concierge-cta .alt { font-size: 12px; color: rgba(255,255,255,0.55); text-align: center; letter-spacing: 0.02em; transition: color 0.15s; }
.concierge-cta .alt:hover { color: #fff; text-decoration: underline; }

/* ═══ Footer ═══ */
footer { background: var(--paper-warm); border-top: 1px solid var(--rule); padding: 56px 48px 48px; text-align: center; }
.footer-logo { font-family: var(--font-serif); font-size: 17px; letter-spacing: 0.06em; color: var(--ink-mid); margin-bottom: 12px; font-weight: 700; }
.footer-logo b { color: var(--ink); }
.footer-sub { font-size: 12px; color: var(--ink-light); line-height: 1.8; margin-bottom: 8px; }
.footer-copy { font-size: 11px; color: var(--ink-ghost); letter-spacing: 0.06em; margin-top: 24px; }

/* ═══ Float Kakao (mobile) ═══ */
.float-md { display: none; position: fixed; bottom: 20px; right: 18px; z-index: 200; align-items: center; gap: 8px; background: var(--kakao-yellow); color: var(--kakao-ink); font-size: 13px; font-weight: 500; padding: 13px 20px; border-radius: 3px; box-shadow: 0 6px 20px rgba(0,0,0,0.16); }
.float-md .kakao-glyph { width: 18px; height: 18px; }

/* ══════════════════════════════════════════════════════════════════
   交易侧容器：移动端 phone 壳（真机 100%，宽屏居中卡）
   ══════════════════════════════════════════════════════════════════ */
.trade-body { background: var(--paper-warm); min-height: 100vh; }
.phone { width: 100%; max-width: 480px; margin: 0 auto; background: var(--paper); min-height: 100vh; position: relative; box-shadow: 0 0 40px rgba(0,0,0,0.04); }
.tbody { padding: 20px 16px 120px; }

/* 卡片容器 */
.tcard { background: var(--paper); border: 1px solid var(--rule); margin-bottom: 14px; }
.tcard-head { display: flex; align-items: center; justify-content: space-between; padding: 15px 16px; border-bottom: 1px solid var(--rule); }
.tcard-head .th-label { font-size: 13px; font-weight: 500; color: var(--ink); }
.tcard-head .th-action { font-size: 12px; color: var(--ink-light); }
.tcard-body { padding: 16px; }

/* 固定底条 */
.fixbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: var(--paper); border-top: 1px solid var(--rule); padding: 14px 16px; display: flex; align-items: center; gap: 14px; max-width: 480px; margin: 0 auto; }
.fixbar-price { flex-shrink: 0; }
.fixbar-price .fp-lbl { font-size: 11px; color: var(--ink-light); }
.fixbar-price .fp-val { font-family: var(--num); font-size: 22px; font-weight: 700; color: var(--vvic-red); line-height: 1.1; }
.fixbar-price .fp-cny { font-family: var(--num); font-size: 11px; color: var(--ink-light); }
.btn-primary { flex: 1; padding: 15px; background: var(--vvic-red); color: #fff; font-size: 15px; font-weight: 600; letter-spacing: 0.04em; text-align: center; transition: filter 0.15s; }
.btn-primary:hover { filter: brightness(0.94); }
.btn-primary:disabled { background: var(--ink-ghost); cursor: not-allowed; }
.btn-dark { flex: 1; padding: 15px; background: var(--ink); color: #fff; font-size: 15px; font-weight: 600; letter-spacing: 0.04em; text-align: center; }
.btn-dark:hover { background: var(--vvic-red); }
.btn-line { padding: 14px; border: 1px solid var(--ink); color: var(--ink); font-size: 14px; font-weight: 500; text-align: center; background: var(--paper); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-kakao-full { display: flex; align-items: center; justify-content: center; gap: 9px; background: var(--kakao-yellow); color: var(--kakao-ink); padding: 15px; font-size: 15px; font-weight: 600; border-radius: 4px; }
.btn-kakao-full svg { width: 19px; height: 19px; }
.btn-kakao-full:hover { filter: brightness(0.97); }

/* ═══ SKU 抽屉 ═══ */
.sku-scrim { position: fixed; inset: 0; z-index: 300; background: rgba(17,17,17,0.44); opacity: 0; transition: opacity 0.26s; }
.sku-wrap.on .sku-scrim { opacity: 1; }
.sku-drawer {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 301;
  background: var(--paper); max-height: 88vh; display: flex; flex-direction: column;
  transform: translateY(100%); transition: transform 0.3s cubic-bezier(0.22,0.61,0.36,1);
  max-width: 480px; margin: 0 auto; border-radius: 16px 16px 0 0;
}
.sku-wrap.on .sku-drawer { transform: translateY(0); }
.sku-grab { width: 40px; height: 4px; background: var(--rule); border-radius: 2px; margin: 10px auto 4px; flex-shrink: 0; }
.sku-close { position: absolute; top: 12px; right: 14px; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; font-size: 24px; color: var(--ink-light); z-index: 2; }
.sku-scroll { overflow-y: auto; padding: 8px 20px 20px; }
.sku-head { display: flex; gap: 14px; padding-bottom: 16px; border-bottom: 1px solid var(--rule); margin-bottom: 16px; }
.sku-thumb { width: 92px; height: 116px; object-fit: cover; background: var(--paper-warm); flex-shrink: 0; }
.sku-meta { min-width: 0; padding-top: 4px; }
.sku-meta .sm-stall { font-size: 11px; color: var(--ink-light); margin-bottom: 6px; }
.sku-meta .sm-name { font-family: var(--font-serif); font-size: 15px; font-weight: 500; color: var(--ink); line-height: 1.4; margin-bottom: 10px; }
.sku-meta .sm-price { display: flex; align-items: baseline; gap: 8px; }
.sku-meta .sm-krw { font-family: var(--num); font-size: 24px; font-weight: 700; color: var(--vvic-red); }
.sku-meta .sm-cny { font-family: var(--num); font-size: 12px; color: var(--ink-light); }
.sku-stock { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.spec-block { margin-bottom: 20px; }
.spec-label { display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: var(--ink-mid); margin-bottom: 11px; }
.spec-label .sel { color: var(--ink); font-weight: 500; }
.spec-opts { display: flex; flex-wrap: wrap; gap: 9px; }
.color-chip { padding: 9px 16px; border: 1px solid var(--rule); font-size: 13px; color: var(--ink-mid); background: var(--paper); transition: all 0.15s; }
.color-chip.on { border-color: var(--ink); color: var(--ink); font-weight: 500; background: var(--paper-warm); }
.size-pill { min-width: 52px; padding: 9px 14px; border: 1px solid var(--rule); font-size: 13px; color: var(--ink-mid); text-align: center; background: var(--paper); transition: all 0.15s; }
.size-pill.on { border-color: var(--ink); color: var(--ink); font-weight: 500; }
.size-pill.disabled { color: var(--ink-ghost); text-decoration: line-through; cursor: not-allowed; background: var(--paper-warm); }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--rule); }
.stepper button { width: 40px; height: 40px; font-size: 20px; color: var(--ink-mid); display: flex; align-items: center; justify-content: center; }
.stepper button:disabled { color: var(--ink-ghost); }
.stepper .qty { min-width: 48px; text-align: center; font-family: var(--num); font-size: 16px; font-weight: 500; }
.moq-bar { display: flex; align-items: center; gap: 8px; padding: 12px 14px; background: var(--paper-warm); font-size: 12px; color: var(--ink-mid); line-height: 1.5; margin-bottom: 4px; }
.moq-bar svg { width: 15px; height: 15px; stroke: var(--ink-light); fill: none; stroke-width: 1.6; flex-shrink: 0; }
.sku-foot { display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-top: 1px solid var(--rule); flex-shrink: 0; }
.sku-subtotal { flex-shrink: 0; }
.sku-subtotal .ss-lbl { font-size: 11px; color: var(--ink-light); }
.sku-subtotal .ss-val { font-family: var(--num); font-size: 20px; font-weight: 700; color: var(--vvic-red); line-height: 1.1; }
.sku-subtotal .ss-cny { font-family: var(--num); font-size: 10px; color: var(--ink-light); }
.sku-foot .btn-cart { padding: 14px 18px; border: 1px solid var(--ink); color: var(--ink); font-size: 14px; font-weight: 500; white-space: nowrap; }
.sku-foot .btn-cart:hover { background: var(--paper-warm); }
.sku-foot .btn-buynow { flex: 1; padding: 14px; background: var(--vvic-red); color: #fff; font-size: 15px; font-weight: 600; text-align: center; white-space: nowrap; }
.sku-foot .btn-buynow:hover { filter: brightness(0.94); }

/* ═══ Kakao 承接面板 ═══ */
#kakaoSheet { position: fixed; inset: 0; z-index: 400; }
.ks-scrim { position: absolute; inset: 0; background: rgba(17,17,17,0.5); opacity: 0; transition: opacity 0.26s; }
#kakaoSheet.on .ks-scrim { opacity: 1; }
.ks-panel {
  position: absolute; left: 50%; bottom: 0; transform: translate(-50%, 100%);
  width: 100%; max-width: 420px; background: var(--paper); border-radius: 18px 18px 0 0;
  padding: 28px 24px 32px; transition: transform 0.3s cubic-bezier(0.22,0.61,0.36,1);
}
#kakaoSheet.on .ks-panel { transform: translate(-50%, 0); }
.ks-close { position: absolute; top: 14px; right: 16px; font-size: 26px; color: var(--ink-light); width: 30px; height: 30px; }
.ks-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.ks-avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--ink); color: rgba(255,255,255,0.75); display: flex; align-items: center; justify-content: center; font-size: 15px; font-family: var(--font-serif); flex-shrink: 0; }
.ks-name { font-family: var(--font-serif); font-size: 15px; font-weight: 700; color: var(--ink); }
.ks-sub { font-size: 11px; color: var(--ink-light); margin-top: 2px; }
.ks-desc { font-size: 13px; color: var(--ink-mid); line-height: 1.65; margin-bottom: 18px; }
.ks-qr { display: flex; align-items: center; gap: 16px; padding: 16px; background: var(--paper-warm); border: 1px solid var(--rule); margin-bottom: 18px; }
.ks-qr-box { width: 76px; height: 76px; background: #fff; border: 1px solid var(--rule); display: flex; align-items: center; justify-content: center; font-size: 12px; color: var(--ink-ghost); letter-spacing: 0.1em; flex-shrink: 0; }
.ks-qr-hint { font-size: 12px; color: var(--ink-mid); line-height: 1.6; }
.ks-btn { display: flex; align-items: center; justify-content: center; gap: 9px; background: var(--kakao-yellow); color: var(--kakao-ink); padding: 15px; font-size: 15px; font-weight: 600; border-radius: 5px; margin-bottom: 12px; }
.ks-btn:hover { filter: brightness(0.97); }
.ks-alt { text-align: center; font-size: 12px; color: var(--ink-light); }
.ks-alt b { color: var(--ink-mid); font-family: var(--num); }

/* ═══ Toast ═══ */
.vvic-toast { position: fixed; left: 50%; bottom: 40px; transform: translate(-50%, 20px); z-index: 500; background: rgba(17,17,17,0.92); color: #fff; font-size: 13px; padding: 12px 22px; border-radius: 4px; opacity: 0; transition: opacity 0.3s, transform 0.3s; max-width: 80vw; text-align: center; }
.vvic-toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ══════════════════════════════════════════════════════════════════
   Responsive
   ══════════════════════════════════════════════════════════════════ */
@media (min-width: 769px) and (max-width: 1024px) {
  .shell { padding: 0 32px; }
  .topbar { padding: 0 32px; }
  .feedgrid { grid-template-columns: repeat(3, 1fr); }
  .concierge { padding: 36px 32px; }
  footer { padding: 48px 32px; }
}
@media (min-width: 561px) and (max-width: 768px) {
  .topbar { padding: 0 24px; height: 60px; }
  .topbar-nav { display: none; }
  .shell { padding: 0 24px; }
  .feedgrid { grid-template-columns: repeat(2, 1fr); }
  .concierge { grid-template-columns: 1fr; text-align: center; padding: 36px 24px; gap: 20px; }
  .concierge-face { margin: 0 auto; }
  .concierge-perks { justify-content: center; }
  footer { padding: 44px 24px; }
  .float-md { display: inline-flex; }
}
@media (max-width: 560px) {
  .topbar { padding: 0 20px; height: 56px; }
  .topbar-nav { display: none; }
  .topbar-logo .sub { display: none; }
  .topbar-right .btn-kakao { padding: 8px 13px; font-size: 12px; }
  .shell { padding: 0 20px; }
  .section { padding: 52px 0 0; }
  .section-head { margin-bottom: 28px; }
  .feedgrid { grid-template-columns: repeat(2, 1fr); gap: 22px 12px; }
  .rcard-name { font-size: 13px; margin-bottom: 10px; }
  .rcard-price { font-size: 19px; }
  .rcard-cta .btn-buy-sm { font-size: 12px; padding: 10px 10px; }
  .btn-md-sm { width: 38px; height: 38px; }
  .reco { padding-top: 48px; }
  .concierge { grid-template-columns: 1fr; text-align: center; padding: 32px 22px; gap: 18px; margin-top: 60px; }
  .concierge-face { margin: 0 auto; }
  .concierge-perks { justify-content: center; flex-direction: column; align-items: center; gap: 8px; }
  .concierge-cta { width: 100%; }
  .concierge-cta .btn-kakao { width: 100%; }
  footer { padding: 40px 20px; }
  .float-md { display: inline-flex; }
}

/* ══════════════════════════════════════════════════════════════════
   桌面端交易页增强：phone 卡浮起，背景不再是贴边白板
   （≥768px 时生效；移动端不受影响）
   ══════════════════════════════════════════════════════════════════ */
@media (min-width: 768px) {
  .trade-body {
    background:
      radial-gradient(circle at 20% 15%, rgba(239,54,100,0.035), transparent 42%),
      radial-gradient(circle at 82% 78%, rgba(254,229,0,0.05), transparent 46%),
      var(--paper-warm);
    padding: 40px 0 64px;
  }
  .phone {
    max-width: 480px; min-height: auto;
    border: 1px solid var(--rule); border-radius: 14px;
    box-shadow: 0 18px 60px rgba(17,17,17,0.10), 0 2px 8px rgba(17,17,17,0.04);
    overflow: hidden;
    min-height: calc(100vh - 104px);
  }
  /* 桌面下固定底条收进卡片宽度内，贴卡底 */
  .fixbar {
    position: sticky; bottom: 0; max-width: 480px;
    box-shadow: 0 -1px 0 var(--rule), 0 -8px 24px rgba(17,17,17,0.05);
  }
  /* 顶部品牌辅助条：告诉用户这是官方交易环境（信任锚点） */
  .trade-hint {
    display: block; max-width: 480px; margin: 0 auto 16px;
    text-align: center; font-size: 12px; color: var(--ink-light); letter-spacing: 0.04em;
  }
  .trade-hint b { color: var(--ink-mid); font-weight: 500; }
}
.trade-hint { display: none; }

