:root {
  --bg: #FBF7F2; --card: #FFFFFF; --ink: #3A2A2E; --ink2: #8C7B7F; --ink3: #B9AAAD;
  --line: #F1E7E3; --cherry: #D7263D; --cherry-d: #B81B31; --pink: #F7C6D3; --pink-s: #FDEEF2;
  --ice: #DCEAF5; --ice-d: #6E9CC4; --leaf: #8DB255; --cream: #F6EFE7;
  --r: 22px; --r-s: 14px;
  --sh: 0 1px 2px rgba(110, 60, 70, .04), 0 10px 28px -8px rgba(160, 70, 90, .12);
  --sh-s: 0 1px 2px rgba(110, 60, 70, .05), 0 4px 12px -4px rgba(160, 70, 90, .10);
  --safe-b: env(safe-area-inset-bottom, 0px); --safe-t: env(safe-area-inset-top, 0px);
  --font: ui-rounded, "SF Pro Rounded", -apple-system, "PingFang SC", "HarmonyOS Sans SC", "MiSans", "Noto Sans SC", "Microsoft YaHei", sans-serif;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
body { overscroll-behavior-y: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { border: 0; background: none; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.num { font-variant-numeric: tabular-nums; }

/* ---------- 外壳：手机里全屏，电脑上居中成手机宽度 ---------- */
#app { max-width: 480px; margin: 0 auto; min-height: 100vh; min-height: 100dvh; position: relative; background: var(--bg); }
@media (min-width: 560px) {
  body { background: #F3EBE4 radial-gradient(circle at 20% 10%, #FCE4EA 0, transparent 40%), radial-gradient(circle at 80% 90%, #E1ECF6 0, transparent 40%); }
  #app { box-shadow: 0 0 0 1px var(--line), 0 30px 80px -30px rgba(120, 60, 70, .25); }
}
.page { padding: calc(var(--safe-t) + 8px) 18px calc(96px + var(--safe-b)); animation: pageIn .28s ease; }
.page.has-bar { padding-bottom: calc(170px + var(--safe-b)); }
@keyframes pageIn { from { opacity: 0; transform: translateY(6px); } }

/* ---------- 顶栏 ---------- */
.topbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 10px; height: 54px; margin: 0 -18px; padding: calc(var(--safe-t)) 14px 0; background: rgba(251, 247, 242, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); }
.topbar h1 { flex: 1; margin: 0; font-size: 17px; font-weight: 700; text-align: center; letter-spacing: .02em; }
.topbar .ghost { width: 40px; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--card); box-shadow: var(--sh-s); }
.icon-btn svg { width: 20px; height: 20px; }

/* ---------- 底部标签栏 ---------- */
.tabbar { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(10px + var(--safe-b)); z-index: 30; width: calc(100% - 28px); max-width: 452px; height: 66px; display: flex; padding: 0 6px; border-radius: 26px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 0 0 1px rgba(241, 231, 227, .9), 0 14px 34px -10px rgba(150, 60, 80, .22); }
.tabbar a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 11px; color: var(--ink3); font-weight: 600; position: relative; transition: color .2s; }
.tabbar a svg { width: 24px; height: 24px; transition: transform .25s cubic-bezier(.3, 1.6, .5, 1); }
.tabbar a.on { color: var(--cherry); }
.tabbar a.on svg { transform: translateY(-1px) scale(1.06); }
.tabbar .badge { position: absolute; top: 8px; left: calc(50% + 6px); min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--cherry); color: #fff; font-size: 11px; line-height: 18px; text-align: center; box-shadow: 0 0 0 2px #fff; }
.badge.pop { animation: pop .45s cubic-bezier(.3, 1.8, .5, 1); }
@keyframes pop { 40% { transform: scale(1.45); } }

/* ---------- 通用 ---------- */
.card { background: var(--card); border-radius: var(--r); box-shadow: var(--sh); }
.sec-h { display: flex; align-items: baseline; justify-content: space-between; margin: 26px 2px 12px; }
.sec-h h2 { margin: 0; font-size: 18px; font-weight: 800; letter-spacing: .01em; }
.sec-h a { font-size: 13px; color: var(--ink2); }
.muted { color: var(--ink2); }
.small { font-size: 13px; }
.price { color: var(--cherry); font-weight: 800; }
.price small { font-size: 12px; font-weight: 600; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 52px; padding: 0 22px; border-radius: 26px; font-weight: 700; font-size: 16px; background: var(--cherry); color: #fff; box-shadow: 0 8px 20px -8px rgba(215, 38, 61, .6), inset 0 1px 0 rgba(255, 255, 255, .25); transition: transform .12s, opacity .2s; }
.btn:active { transform: scale(.97); }
.btn[disabled] { opacity: .45; box-shadow: none; }
.btn.block { width: 100%; }
.btn.soft { background: var(--pink-s); color: var(--cherry); box-shadow: none; }
.btn.line { background: var(--card); color: var(--ink); box-shadow: 0 0 0 1.5px var(--line); }
.btn.sm { height: 38px; padding: 0 16px; font-size: 14px; }
.chip { display: inline-flex; align-items: center; height: 34px; padding: 0 15px; border-radius: 17px; background: var(--card); color: var(--ink2); font-size: 14px; font-weight: 600; white-space: nowrap; box-shadow: 0 0 0 1px var(--line); transition: all .18s; }
.chip.on { background: var(--ink); color: #fff; box-shadow: none; }
.tag { display: inline-block; padding: 1px 8px; border-radius: 8px; font-size: 11px; font-weight: 700; background: var(--pink-s); color: var(--cherry); }
.tag.ice { background: var(--ice); color: #4B7BA6; }
.empty { text-align: center; padding: 56px 20px 30px; color: var(--ink2); }
.empty .art { width: 120px; height: 120px; margin: 0 auto 14px; border-radius: 40px; overflow: hidden; opacity: .9; }
.empty b { display: block; color: var(--ink); font-size: 16px; margin-bottom: 4px; }
.hscroll { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -18px; padding: 2px 18px; }
.filter-bar .hscroll { margin: 0; }
.hscroll::-webkit-scrollbar { display: none; }

/* ---------- 首页 ---------- */
.hero { position: relative; margin-top: 6px; padding: 10px 10px 18px; border-radius: 30px; background: linear-gradient(180deg, #FFFDFB, #FCF4EF); box-shadow: var(--sh); overflow: hidden; }
.hero { background: #FEFBF6; }
.hero img { width: 92%; margin: 0 auto; -webkit-mask-image: radial-gradient(ellipse 60% 58% at 50% 50%, #000 76%, transparent 100%); mask-image: radial-gradient(ellipse 60% 58% at 50% 50%, #000 76%, transparent 100%); }
.hero .slogan { text-align: center; margin-top: -6px; font-size: 14px; color: var(--ink2); letter-spacing: .28em; font-weight: 600; }
.hero .slogan b { color: var(--cherry); font-weight: 700; }
.notice { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 12px 14px; border-radius: 16px; background: var(--ice); color: #3E6D97; font-size: 13px; font-weight: 600; }
.notice svg { flex: none; width: 18px; height: 18px; }
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px 8px; margin-top: 18px; }
.cats a { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--ink); }
.cats .ci { width: 62px; height: 62px; border-radius: 22px; overflow: hidden; box-shadow: var(--sh-s); transition: transform .15s; }
.cats a:active .ci { transform: scale(.94); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); padding: 18px 8px; }
.steps div { text-align: center; position: relative; }
.steps div + div::before { content: ""; position: absolute; left: -14%; top: 19px; width: 28%; border-top: 2px dotted var(--pink); }
.steps i { display: grid; place-items: center; width: 40px; height: 40px; margin: 0 auto 8px; border-radius: 14px; background: var(--pink-s); color: var(--cherry); font-style: normal; font-weight: 800; }
.steps b { display: block; font-size: 14px; }
.steps span { font-size: 12px; color: var(--ink2); }
.store { padding: 18px; }
.store .row { display: flex; gap: 10px; padding: 7px 0; font-size: 14px; }
.store .row svg { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--cherry); }

/* ---------- 商品卡 ---------- */
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 12px; }
.pcard { display: block; background: var(--card); border-radius: var(--r); overflow: hidden; box-shadow: var(--sh-s); transition: transform .15s; animation: pageIn .35s ease backwards; }
.pcard:active { transform: scale(.98); }
.pcard .pic { aspect-ratio: 1 / 1.08; position: relative; overflow: hidden; background: var(--cream); }
.pcard .pic > svg, .pcard .pic > img { width: 100%; height: 100%; object-fit: cover; }
.pcard .pic .tag { position: absolute; left: 10px; top: 10px; background: rgba(255, 255, 255, .9); backdrop-filter: blur(6px); }
.pcard .info { padding: 10px 12px 13px; }
.pcard .name { font-size: 14px; font-weight: 700; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.pcard .sub { font-size: 12px; color: var(--ink2); margin-top: 1px; }
.pcard .bot { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.pcard .dot { width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); }
.hot-row { scroll-padding-inline: 18px; display: flex; gap: 12px; overflow-x: auto; margin: 0 -18px; padding: 4px 18px 10px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.hot-row::-webkit-scrollbar { display: none; }
.hot-row .pcard { flex: 0 0 44%; scroll-snap-align: start; }

/* ---------- 选款页 ---------- */
.filter-bar { position: sticky; top: calc(54px + var(--safe-t)); z-index: 15; margin: 0 -18px 14px; padding: 6px 0 12px; background: rgba(251, 247, 242, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.sort-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 20px 0; font-size: 13px; color: var(--ink2); }
.sort-row button { color: var(--ink2); font-weight: 600; display: inline-flex; align-items: center; gap: 2px; }
.sort-row button.on { color: var(--ink); }

/* ---------- 详情页 ---------- */
.detail { padding-top: 0; }
.gallery { position: relative; margin: 0 -18px; aspect-ratio: 1 / 1; background: var(--cream); }
.gallery .track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gallery .track::-webkit-scrollbar { display: none; }
.gallery .track > * { flex: 0 0 100%; height: 100%; scroll-snap-align: center; object-fit: cover; }
.gallery .dots { position: absolute; bottom: 30px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; }
.gallery .dots i { width: 6px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .7); transition: width .2s; }
.gallery .dots i.on { width: 16px; background: #fff; }
.float-top { position: fixed; top: calc(10px + var(--safe-t)); z-index: 25; left: 50%; width: 100%; max-width: 480px; transform: translateX(-50%); display: flex; justify-content: space-between; padding: 0 14px; pointer-events: none; }
.float-top > * { pointer-events: auto; }
.d-main { position: relative; margin: -22px -18px 0; padding: 22px 20px 4px; background: var(--bg); border-radius: 26px 26px 0 0; }
.d-main h2 { margin: 6px 0 2px; font-size: 22px; font-weight: 800; letter-spacing: .01em; }
.d-price { display: flex; align-items: baseline; gap: 12px; margin-top: 8px; }
.d-price .price { font-size: 28px; }
.block { margin-top: 14px; padding: 16px; }
.block h3 { margin: 0 0 12px; font-size: 15px; font-weight: 800; display: flex; justify-content: space-between; align-items: center; }
.block h3 small { font-size: 12px; color: var(--ink2); font-weight: 600; }
.sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.sz { min-width: 58px; height: 44px; padding: 0 14px; border-radius: 14px; background: var(--bg); font-weight: 700; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.1; box-shadow: inset 0 0 0 1.5px transparent; transition: all .15s; }
.sz small { font-size: 10px; font-weight: 600; color: var(--ink3); margin-top: 2px; }
.sz.on { background: var(--pink-s); color: var(--cherry); box-shadow: inset 0 0 0 1.5px var(--cherry); }
.sz.on small { color: var(--cherry); opacity: .7; }
.sz.rec::after { content: "推荐"; position: absolute; transform: translate(22px, -22px); font-size: 9px; padding: 0 5px; border-radius: 6px; background: var(--leaf); color: #fff; line-height: 15px; }
.sz { position: relative; }
.sz.out { opacity: .35; text-decoration: line-through; pointer-events: none; }
.fit { display: flex; gap: 8px; align-items: center; margin-top: 12px; padding: 10px 12px; border-radius: 14px; background: var(--bg); font-size: 13px; }
.fit input:focus, .field input:focus { outline: none; }
.fit input:focus { box-shadow: inset 0 0 0 1.5px var(--cherry); }
.fit input { width: 64px; height: 34px; border: 0; border-radius: 10px; background: #fff; text-align: center; font-weight: 700; box-shadow: inset 0 0 0 1px var(--line); }
.fit .res { margin-left: auto; font-weight: 700; color: var(--leaf); }
.desc { font-size: 14px; color: #5E4C50; line-height: 1.75; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: 13.5px; }
.kv dt { color: var(--ink2); }
.kv dd { margin: 0; }
.bar { position: fixed; z-index: 30; left: 50%; transform: translateX(-50%); bottom: 0; width: 100%; max-width: 480px; display: flex; gap: 10px; align-items: center; padding: 12px 16px calc(12px + var(--safe-b)); background: rgba(255, 255, 255, .94); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 -1px 0 var(--line); }
.bar.over-tab { bottom: calc(84px + var(--safe-b)); background: transparent; box-shadow: none; padding: 0 16px 10px; backdrop-filter: none; -webkit-backdrop-filter: none; }
.bar .sum { flex: 1; line-height: 1.25; }
.bar .sum .price { font-size: 22px; }
.stepper { display: inline-flex; align-items: center; height: 34px; border-radius: 17px; background: var(--bg); }
.stepper button { width: 34px; height: 34px; display: grid; place-items: center; font-size: 18px; font-weight: 700; color: var(--ink2); }
.stepper span { min-width: 20px; text-align: center; font-weight: 800; }

/* ---------- 樱桃篮 ---------- */
.bitem { display: flex; gap: 12px; padding: 12px; align-items: center; }
.bitem + .bitem { border-top: 1px solid var(--line); }
.bitem .pic { flex: none; width: 74px; height: 74px; border-radius: 16px; overflow: hidden; background: var(--cream); }
.bitem .pic > * { width: 100%; height: 100%; object-fit: cover; }
.bitem .mid { flex: 1; min-width: 0; }
.bitem .mid b { display: block; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bitem .mid .muted { font-size: 12.5px; }
.bitem .warn { color: var(--cherry); font-size: 12px; font-weight: 700; }
.dates { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; padding: 16px; }
.dates button { text-align: left; padding: 10px 12px; border-radius: 16px; background: var(--bg); }
.dates button small { display: block; font-size: 12px; color: var(--ink2); }
.dates button b { font-size: 16px; }
.dates .days { font-size: 12px; font-weight: 800; color: var(--cherry); background: var(--pink-s); padding: 4px 8px; border-radius: 10px; }
.field { display: block; padding: 4px 16px; }
.field + .field { border-top: 1px solid var(--line); }
.field label { display: flex; align-items: center; gap: 12px; min-height: 52px; }
.field label > span { width: 64px; flex: none; font-size: 14px; font-weight: 700; }
.field input, .field textarea { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-size: 15px; padding: 14px 0; }
.field textarea { resize: none; height: 72px; padding-top: 16px; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink3); }
.sumlist { padding: 16px; font-size: 14px; }
.sumlist div { display: flex; justify-content: space-between; padding: 4px 0; }
.sumlist .total { border-top: 1px dashed var(--line); margin-top: 8px; padding-top: 12px; font-weight: 800; }

/* ---------- 弹层 ---------- */
.mask { position: fixed; inset: 0; z-index: 50; background: rgba(58, 42, 46, .32); animation: fade .2s; }
@keyframes fade { from { opacity: 0; } }
.sheet { position: fixed; z-index: 51; left: 50%; bottom: 0; transform: translateX(-50%); width: 100%; max-width: 480px; max-height: 88vh; overflow-y: auto; padding: 10px 18px calc(18px + var(--safe-b)); border-radius: 28px 28px 0 0; background: var(--bg); animation: up .32s cubic-bezier(.2, .9, .3, 1); }
@keyframes up { from { transform: translate(-50%, 100%); } }
.sheet .grab { width: 38px; height: 5px; border-radius: 3px; background: var(--line); margin: 0 auto 10px; }
.sheet h3 { margin: 4px 0 14px; font-size: 18px; text-align: center; }
.cal-head { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; font-size: 12px; color: var(--ink2); padding: 6px 0; position: sticky; top: -10px; background: var(--bg); z-index: 2; }
.cal-m { margin-bottom: 14px; }
.cal-m h4 { margin: 10px 4px 6px; font-size: 15px; }
.cal-g { display: grid; grid-template-columns: repeat(7, 1fr); row-gap: 4px; }
.cal-d { height: 46px; display: flex; flex-direction: column; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; position: relative; }
.cal-d small { font-size: 9.5px; font-weight: 600; line-height: 1; margin-top: 2px; color: var(--ink2); }
.cal-d.past { color: var(--ink3); pointer-events: none; }
.cal-d.full { color: var(--ink3); }
.cal-d.full small { color: var(--cherry); }
.cal-d.mid { background: var(--pink-s); }
.cal-d.s, .cal-d.e { color: #fff; z-index: 1; }
.cal-d.s::before, .cal-d.e::before { content: ""; position: absolute; inset: 0 3px; border-radius: 14px; background: var(--cherry); z-index: -1; }
.cal-d.s small, .cal-d.e small { color: #fff; }
.cal-d.s { background: linear-gradient(90deg, transparent 50%, var(--pink-s) 50%); }
.cal-d.e { background: linear-gradient(90deg, var(--pink-s) 50%, transparent 50%); }
.cal-d.s.e { background: none; }
.cal-d.today:not(.s):not(.e) { color: var(--cherry); }

/* ---------- 提示 ---------- */
.toast { position: fixed; z-index: 99; left: 50%; top: 40%; transform: translate(-50%, -50%); max-width: 80%; padding: 12px 20px; border-radius: 16px; background: rgba(58, 42, 46, .9); color: #fff; font-size: 14px; font-weight: 600; text-align: center; animation: fade .2s; pointer-events: none; }
.flyer { position: fixed; z-index: 98; width: 26px; height: 26px; pointer-events: none; transition: transform .6s cubic-bezier(.4, -0.3, .6, 1), opacity .6s; }

/* ---------- 成功页 / 我的 ---------- */
.done { text-align: center; padding-top: 40px; }
.done .big { width: 96px; height: 96px; margin: 0 auto 18px; border-radius: 32px; display: grid; place-items: center; background: var(--pink-s); animation: pop .6s cubic-bezier(.3, 1.8, .5, 1); }
.done h2 { margin: 0; font-size: 22px; }
.code { display: inline-block; margin: 14px 0 4px; padding: 10px 22px; border-radius: 16px; background: var(--card); box-shadow: var(--sh-s); font-size: 24px; font-weight: 800; letter-spacing: .12em; }
.me-head { display: flex; align-items: center; gap: 14px; padding: 20px 4px 6px; }
.me-head img { width: 64px; height: 64px; border-radius: 22px; box-shadow: var(--sh-s); }
.me-head b { font-size: 19px; display: block; }
.order { padding: 16px; margin-bottom: 12px; }
.order .top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.order .top b { letter-spacing: .06em; }
.st { font-size: 12px; font-weight: 800; padding: 3px 10px; border-radius: 10px; }
.st-pending { background: #FFF1D6; color: #B7791F; }
.st-confirmed { background: var(--pink-s); color: var(--cherry); }
.st-picked { background: var(--ice); color: #3E6D97; }
.st-returned { background: #E8F2DC; color: #5D8A2E; }
.st-cancelled { background: #EFEAEA; color: var(--ink3); }
.order .thumbs { display: flex; gap: 6px; margin: 10px 0; }
.order .thumbs > * { width: 46px; height: 46px; border-radius: 12px; overflow: hidden; }
.order .thumbs > * > * { width: 100%; height: 100%; object-fit: cover; }
.timeline { display: flex; justify-content: space-between; margin: 12px 4px 4px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 10px; right: 10px; top: 7px; border-top: 2px solid var(--line); }
.timeline div { position: relative; text-align: center; font-size: 11px; color: var(--ink3); font-weight: 600; flex: 1; }
.timeline div i { display: block; width: 16px; height: 16px; margin: 0 auto 4px; border-radius: 50%; background: var(--line); border: 3px solid var(--bg); }
.timeline div.on { color: var(--ink); }
.timeline div.on i { background: var(--cherry); }
.menu a, .menu button { display: flex; width: 100%; align-items: center; gap: 12px; padding: 16px; font-size: 15px; font-weight: 600; text-align: left; }
.menu > * + * { border-top: 1px solid var(--line); }
.menu svg { width: 20px; height: 20px; color: var(--cherry); flex: none; }
.menu .arr { margin-left: auto; color: var(--ink3); }
.foot { text-align: center; font-size: 12px; color: var(--ink3); margin-top: 28px; }
.skel { background: linear-gradient(90deg, #F4ECE7 25%, #FAF4F0 50%, #F4ECE7 75%); background-size: 200% 100%; animation: sk 1.2s infinite; border-radius: var(--r); }
@keyframes sk { to { background-position: -200% 0; } }

/* ---------- 套餐 ---------- */
.pk-list { display: grid; gap: 12px; }
.pkc { display: flex; gap: 14px; padding: 12px; border-radius: var(--r); background: var(--card); box-shadow: var(--sh-s); animation: pageIn .35s ease backwards; position: relative; overflow: hidden; transition: transform .15s; }
.pkc:active { transform: scale(.98); }
.pkc::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--c); }
.pkc-art { flex: none; width: 104px; height: 104px; display: grid; grid-template-columns: 1fr 1fr; gap: 3px; border-radius: 18px; overflow: hidden; background: color-mix(in srgb, var(--c) 14%, #fff); padding: 3px; }
.pkc-art i { display: block; border-radius: 12px; overflow: hidden; }
.pkc-art i > * { width: 100%; height: 100%; object-fit: cover; }
.pkc-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.pkc-info .tags { display: flex; gap: 4px; flex-wrap: wrap; min-height: 20px; }
.pkc-info b { font-size: 17px; font-weight: 800; margin-top: 2px; }
.pkc-info .sub { font-size: 12.5px; color: var(--ink2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pkc-info .bot { margin-top: auto; display: flex; align-items: baseline; justify-content: space-between; }
.pkc-info .price { font-size: 20px; }
.pkc-info .go { font-size: 12.5px; font-weight: 700; color: var(--cherry); }
.pk-hero { margin: 0 -18px; aspect-ratio: 1.25 / 1; background: color-mix(in srgb, var(--c) 18%, #FFFDFB); display: grid; place-items: center; overflow: hidden; }
.pk-hero > img { width: 100%; height: 100%; object-fit: cover; }
.pk-collage { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; width: 82%; padding-bottom: 14px; }
.pk-collage i { display: block; aspect-ratio: 1; border-radius: 20px; overflow: hidden; box-shadow: 0 6px 16px -8px rgba(120, 60, 70, .35); }
.pk-collage i > * { width: 100%; height: 100%; object-fit: cover; }
.pk-left { margin-top: 10px; padding: 9px 12px; border-radius: 12px; background: var(--ice); color: #3E6D97; font-size: 13px; font-weight: 600; }
.pk-left b { font-size: 16px; }
.pk-left.out { background: var(--pink-s); color: var(--cherry); }
.slot h3 > span { display: flex; align-items: center; gap: 8px; }
.slot .sn { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 8px; background: var(--cherry); color: #fff; font-style: normal; font-size: 13px; }
.opts { display: flex; gap: 10px; overflow-x: auto; margin: 0 -16px; padding: 2px 16px 4px; scrollbar-width: none; }
.opts::-webkit-scrollbar { display: none; }
.opt { flex: 0 0 104px; display: flex; flex-direction: column; gap: 6px; padding: 6px; border-radius: 18px; background: var(--bg); text-align: left; box-shadow: inset 0 0 0 1.5px transparent; transition: box-shadow .15s, background .15s; position: relative; }
.opt.on { background: var(--pink-s); box-shadow: inset 0 0 0 1.5px var(--cherry); }
.opt.on::after { content: "✓"; position: absolute; top: 10px; right: 10px; width: 20px; height: 20px; border-radius: 50%; background: var(--cherry); color: #fff; font-size: 12px; line-height: 20px; text-align: center; }
.opt.out { opacity: .4; pointer-events: none; }
.opt .op { display: block; aspect-ratio: 1; border-radius: 14px; overflow: hidden; }
.opt .op > * { width: 100%; height: 100%; object-fit: cover; }
.opt .on2 { font-size: 12.5px; font-weight: 700; line-height: 1.3; padding: 0 2px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.opt .sur { font-size: 11.5px; font-weight: 800; color: var(--cherry); padding: 0 2px 2px; }
.one { display: flex; gap: 12px; align-items: center; }
.one .op { width: 60px; height: 60px; border-radius: 14px; overflow: hidden; flex: none; }
.one .op > * { width: 100%; height: 100%; object-fit: cover; }
.bitem .pkpic { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; padding: 2px; background: color-mix(in srgb, var(--c) 16%, #fff); }
.bitem .pkpic i { display: block; border-radius: 8px; overflow: hidden; }
.bitem .pkpic i > * { width: 100%; height: 100%; object-fit: cover; }
.bitem.pk .mid .muted { white-space: normal; line-height: 1.4; margin: 2px 0; }

/* ---------- 取货方式 ---------- */
.ship { padding: 8px 0 4px; }
.ship-seg { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 8px; padding: 6px 12px 8px; }
.ship-seg button { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 8px; align-items: center; text-align: left; padding: 12px; border-radius: 16px; background: var(--bg); box-shadow: inset 0 0 0 1.5px transparent; transition: all .15s; }
.ship-seg button svg { grid-row: span 2; width: 22px; height: 22px; color: var(--ink3); }
.ship-seg button b { font-size: 15px; }
.ship-seg button small { font-size: 11.5px; color: var(--ink2); }
.ship-seg button.on { background: var(--pink-s); box-shadow: inset 0 0 0 1.5px var(--cherry); }
.ship-seg button.on svg, .ship-seg button.on b { color: var(--cherry); }
.ship-tip { display: flex; gap: 8px; margin: 4px 16px 12px; padding: 10px 12px; border-radius: 12px; background: var(--bg); font-size: 12.5px; color: var(--ink2); line-height: 1.5; }
.ship-tip svg { flex: none; width: 16px; height: 16px; margin-top: 1px; color: var(--cherry); }
.ship .field textarea { height: 64px; }
