/* ==========================================================================
   呆小鹿手作 · 前台样式（奶油手作风）
   单文件、无外部依赖、移动优先
   ========================================================================== */

:root {
    --bg: #FFF9EF;
    --bg-2: #FFF1DB;
    --cream: #FFF6E7;
    --butter: #FFD98A;
    --butter-deep: #FFC24F;
    --pink: #FFC3D5;
    --pink-soft: #FFE9F2;
    --rose: #F5809C;
    --rose-deep: #D64B70;
    --cocoa: #5C4132;
    --cocoa-2: #8A6550;
    --cocoa-3: #B59B85;
    --matcha: #CDE4B3;
    --matcha-deep: #8AA974;
    --lemon: #FFD75E;
    --peach: #FFD2B5;
    --lilac: #E9DAF7;
    --sky: #CEE7F8;
    --line: #F6D8B6;
    --white: #FFFDF6;
    --tb1: #FFD1DE; --tb2: #FFE4C4; --tb3: #FFE08A;
    --bs1: #FFD9A8; --bs2: #FFC0B4; --bs-text: #7A3B34; --bs-border: #F7B79A;
    --glow1: rgba(255, 195, 213, .7); --glow2: rgba(255, 222, 158, .95);
    --dot1: rgba(245, 128, 156, .13); --dot2: rgba(255, 203, 107, .22);
    --cta1: #FFF8E9; --cta2: #FFF0E2; --cta3: #FFEAF1; --cta-border: #FFD9C2;
    --fin1: #FFF1DA; --fin2: #FFE8EE; --fin3: #FFF6DA;
    --fab1: #FFD9A8; --fab2: #FFB7C2;
    --shadow-s: 0 6px 18px rgba(214, 75, 112, .09);
    --shadow-m: 0 14px 34px rgba(214, 75, 112, .13);
    --shadow-l: 0 24px 60px rgba(214, 75, 112, .17);
    --r-s: 12px;
    --r-m: 20px;
    --r-l: 28px;
    --r-xl: 44px;
    --wrap: 1200px;
    --serif: "Songti SC", "STSong", "Noto Serif SC", "Source Han Serif SC", Georgia, serif;
    --sans: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--cocoa);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.75;
    background-image:
        radial-gradient(var(--dot1) 1.5px, transparent 1.5px),
        radial-gradient(var(--dot2) 1.5px, transparent 1.5px);
    background-size: 30px 30px, 30px 30px;
    background-position: 0 0, 15px 15px;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
    font-family: var(--serif);
    font-weight: 600;
    line-height: 1.28;
    letter-spacing: .01em;
    margin: 0;
}

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip {
    position: absolute; left: -999px; top: 0; z-index: 999;
    background: var(--cocoa); color: #fff; padding: 10px 18px; border-radius: 0 0 12px 0;
}
.skip:focus { left: 0; }

.ico { flex: none; vertical-align: -3px; }

/* ---------------------------------------------------------------- 按钮 */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 13px 26px; border-radius: 999px;
    font-size: 15px; font-weight: 600; border: 1.5px solid transparent;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
    white-space: nowrap;
}
.btn-primary {
    background: var(--cocoa); color: #FFF9F0;
    box-shadow: 0 8px 0 rgba(95, 71, 56, .18);
}
.btn-primary:hover { transform: translateY(-2px); background: #4E3A2D; box-shadow: 0 10px 0 rgba(95, 71, 56, .2); }
.btn-ghost { background: var(--white); border-color: var(--line); color: var(--cocoa-2); }
.btn-ghost:hover { border-color: var(--rose); color: var(--rose-deep); transform: translateY(-2px); }
.btn-rose { background: var(--rose); color: #fff; box-shadow: 0 8px 0 rgba(201, 101, 123, .22); }
.btn-rose:hover { transform: translateY(-2px); background: var(--rose-deep); }
.btn-mini { padding: 8px 16px; font-size: 13px; border-radius: 999px; background: var(--cream); border-color: var(--line); }

/* ---------------------------------------------------------------- 顶栏 */
.topbar {
    background: linear-gradient(90deg, var(--tb1) 0%, var(--tb2) 52%, var(--tb3) 100%);
    color: var(--cocoa);
    font-size: 13px; letter-spacing: .02em;
    border-bottom: 1px solid rgba(92, 65, 50, .08);
}
.topbar-in { display: flex; align-items: center; justify-content: space-between; height: 40px; gap: 16px; }
.topbar-note { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar-links { display: inline-flex; gap: 16px; align-items: center; white-space: nowrap; }
.topbar-links a { color: var(--cocoa-2); display: inline-flex; align-items: center; gap: 5px; }
.topbar-links a:hover { color: var(--rose-deep); text-decoration: underline; }
.topbar-links .tb-shop { color: var(--rose-deep); font-weight: 600; }

/* ---------------------------------------------------------------- 页头 */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255, 250, 241, .93);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}
.header-in { display: flex; align-items: center; gap: 26px; height: 78px; }

.brand { display: inline-flex; align-items: center; gap: 11px; flex: none; }
.brand-mark { display: inline-grid; place-items: center; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--serif); font-size: 21px; letter-spacing: .04em; }
.brand-text em { font-style: normal; font-size: 9.5px; letter-spacing: .22em; color: var(--cocoa-3); margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 4px; flex: 1; overflow-x: auto; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav-a {
    position: relative; padding: 8px 12px; border-radius: 999px;
    font-size: 14.5px; color: var(--cocoa-2); white-space: nowrap;
    transition: color .16s ease, background .16s ease;
}
.nav-a:hover { color: var(--cocoa); background: var(--pink-soft); }
.nav-a.on { color: var(--cocoa); font-weight: 600; background: var(--butter); }

.btn-shop {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 10px 16px; border-radius: 999px;
    background: linear-gradient(135deg, var(--bs1), var(--bs2));
    color: var(--bs-text); font-size: 13.5px; font-weight: 600;
    border: 1.5px solid var(--bs-border);
    box-shadow: 0 5px 0 rgba(214, 75, 112, .10);
    white-space: nowrap;
    transition: transform .16s ease, box-shadow .16s ease;
}
.btn-shop:hover { transform: translateY(-2px); box-shadow: 0 7px 0 rgba(214, 75, 112, .14); }

.header-tools { display: flex; align-items: center; gap: 10px; flex: none; }
.hsearch { position: relative; display: flex; align-items: center; }
.hsearch input {
    width: 168px; height: 40px; padding: 0 40px 0 16px;
    border: 1.5px solid var(--line); border-radius: 999px;
    background: var(--white); color: var(--cocoa); font-size: 13.5px; outline: none;
    transition: width .2s ease, border-color .2s ease;
}
.hsearch input::placeholder { color: var(--cocoa-3); }
.hsearch input:focus { width: 200px; border-color: var(--rose); }
.hsearch button {
    position: absolute; right: 4px; width: 34px; height: 32px;
    display: grid; place-items: center; border: 0; border-radius: 999px;
    background: transparent; color: var(--cocoa-2);
}
.hsearch button:hover { background: var(--pink-soft); color: var(--rose-deep); }
.nav-toggle { display: none; width: 42px; height: 42px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--white); color: var(--cocoa); place-items: center; }

/* ---------------------------------------------------------------- 首页 Hero */
.hero { padding: 54px 0 20px; position: relative; overflow: hidden; }
.hero::before, .hero::after {
    content: ""; position: absolute; border-radius: 50%; z-index: 0; filter: blur(2px);
}
.hero::before { width: 360px; height: 360px; left: -130px; top: 40px; background: radial-gradient(circle, var(--glow1), transparent 68%); }
.hero::after { width: 300px; height: 300px; right: -80px; bottom: -50px; background: radial-gradient(circle, var(--glow2), transparent 70%); }

.hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: 1.02fr .98fr; gap: 54px; align-items: center; }

.hero-copy .kicker {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
    color: var(--rose-deep); background: var(--pink-soft);
    border: 1px dashed var(--rose); border-radius: 999px; padding: 6px 14px;
}
.hero-copy h1 {
    font-size: clamp(34px, 4.4vw, 54px);
    margin: 18px 0 14px;
    letter-spacing: .02em;
}
.hero-copy h1 span { position: relative; display: inline-block; }
.hero-copy h1 span::after {
    content: ""; position: absolute; left: 2%; right: 2%; bottom: 6px; height: 14px; z-index: -1;
    background: linear-gradient(90deg, var(--pink), var(--lemon)); border-radius: 10px;
    opacity: .95;
}
.hero-copy p { color: var(--cocoa-2); font-size: 16.5px; max-width: 30em; margin: 0 0 28px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 30px; margin-top: 38px; }
.hero-stats div b { font-family: var(--serif); font-size: 28px; display: block; line-height: 1.1; }
.hero-stats div span { font-size: 12.5px; color: var(--cocoa-3); letter-spacing: .08em; }

.hero-media { position: relative; }
.hero-frame {
    position: relative; aspect-ratio: 4 / 4.3;
    border-radius: var(--r-xl); overflow: hidden;
    background: var(--butter);
    border: 8px solid var(--white);
    box-shadow: var(--shadow-l);
    transform: rotate(-1.2deg);
}
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease, transform 6s ease; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide.on { opacity: 1; }

.hero-sticker {
    position: absolute; right: -18px; top: 26px; z-index: 3;
    background: var(--rose); color: #fff;
    width: 96px; height: 96px; border-radius: 50%;
    display: grid; place-items: center; text-align: center;
    font-family: var(--serif); font-size: 15px; line-height: 1.3;
    box-shadow: var(--shadow-m);
    transform: rotate(8deg);
    border: 3px solid #FFF1F3;
}
.hero-sticker small { display: block; font-size: 9px; letter-spacing: .16em; font-family: var(--sans); opacity: .85; }

.hero-dots { position: absolute; left: 18px; bottom: 18px; z-index: 3; display: flex; gap: 8px; }
.hero-dots button {
    width: 10px; height: 10px; padding: 0; border-radius: 50%;
    border: 0; background: rgba(255, 255, 255, .72); box-shadow: 0 0 0 1px rgba(95, 71, 56, .12);
}
.hero-dots button.on { background: var(--cocoa); }
.hero-arrow {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
    width: 40px; height: 40px; border-radius: 50%; border: 0;
    background: rgba(255, 253, 249, .82); color: var(--cocoa);
    display: grid; place-items: center; box-shadow: var(--shadow-s);
    opacity: 0; transition: opacity .2s ease;
}
.hero-frame:hover .hero-arrow, .hero-arrow:focus-visible { opacity: 1; }
.hero-arrow.prev { left: 14px; }
.hero-arrow.next { right: 14px; transform: translateY(-50%) rotate(180deg); }

/* ---------------------------------------------------------------- 跑马灯 */
.marquee { margin: 44px 0 0; border-top: 1px dashed var(--line); border-bottom: 1px dashed var(--line); background: rgba(255, 247, 236, .7); }
.marquee-in { display: flex; gap: 34px; align-items: center; padding: 14px 0; font-size: 13px; letter-spacing: .12em; color: var(--cocoa-2); white-space: nowrap; overflow: hidden; }
.marquee-in span { display: inline-flex; align-items: center; gap: 8px; }
.marquee-in i { width: 5px; height: 5px; background: var(--rose); border-radius: 50%; display: inline-block; }

/* ---------------------------------------------------------------- 通用区块 */
.section { padding: 76px 0; position: relative; }
.section.tight { padding: 52px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.section-head .eyebrow { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--rose-deep); display: block; margin-bottom: 8px; }
.section-head h2 { font-size: clamp(26px, 2.6vw, 36px); }
.section-head p { color: var(--cocoa-2); font-size: 14.5px; margin: 10px 0 0; max-width: 46em; }
.section-head .more { font-size: 14px; color: var(--cocoa-2); display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; padding-bottom: 4px; border-bottom: 1.5px solid var(--line); }
.section-head .more:hover { color: var(--rose-deep); border-color: var(--rose); }

/* 卖点 */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 6px; }
.feature {
    background: var(--white); border: 1.5px solid var(--line); border-radius: var(--r-l);
    padding: 24px 22px; box-shadow: var(--shadow-s);
    position: relative; overflow: hidden;
}
.feature::after {
    content: ""; position: absolute; right: -26px; top: -26px; width: 74px; height: 74px;
    border-radius: 50%; background: var(--pink-soft); opacity: .8;
}
.feature .fi { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; background: var(--cream); color: var(--rose-deep); border: 1px dashed var(--line); }
.feature h3 { font-size: 17.5px; margin: 14px 0 6px; }
.feature p { margin: 0; font-size: 13.5px; color: var(--cocoa-2); }

/* 分类 */
.cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.cat-card {
    display: flex; flex-direction: column; gap: 12px; align-items: flex-start;
    padding: 22px 20px 20px; border-radius: var(--r-l);
    background: var(--white); border: 1.5px solid var(--line);
    box-shadow: var(--shadow-s); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    position: relative; overflow: hidden;
}
.cat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-m); border-color: var(--pink); }
.cat-card .ci { width: 46px; height: 46px; border-radius: 16px; display: grid; place-items: center; background: var(--cream); color: var(--cocoa); border: 1px solid var(--line); }
.cat-card strong { font-family: var(--serif); font-size: 17px; }
.cat-card span { font-size: 12.5px; color: var(--cocoa-3); line-height: 1.6; }
.cat-card .arrow { position: absolute; right: 18px; top: 24px; color: var(--cocoa-3); }
.cat-card:nth-child(2n) .ci { background: #FDF1E3; }
.cat-card:nth-child(3n) .ci { background: #F4F7EF; }

/* 商品网格 */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px 22px; }
.product-grid.three { grid-template-columns: repeat(3, 1fr); }
.card {
    display: flex; flex-direction: column; background: transparent;
    transition: transform .22s ease;
}
.card:hover { transform: translateY(-6px); }
.card-media {
    position: relative; border-radius: var(--r-l); overflow: hidden;
    background: var(--cream); aspect-ratio: 1 / 1;
    border: 6px solid var(--white); box-shadow: var(--shadow-s);
    transition: box-shadow .22s ease;
}
.card:hover .card-media { box-shadow: var(--shadow-m); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-media img { transform: scale(1.045); }
.card-badges { position: absolute; left: 12px; top: 12px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.badge {
    font-size: 11px; letter-spacing: .06em; padding: 4px 10px; border-radius: 999px;
    background: var(--white); color: var(--cocoa); box-shadow: 0 3px 8px rgba(95, 71, 56, .12);
}
.badge.new { background: var(--matcha); color: #3F4B34; }
.badge.hot { background: var(--rose); color: #fff; }
.card-quick {
    position: absolute; right: 12px; bottom: 12px;
    width: 40px; height: 40px; border-radius: 50%;
    display: grid; place-items: center; background: var(--white); color: var(--cocoa);
    box-shadow: var(--shadow-s); opacity: 0; transform: translateY(6px); transition: opacity .2s ease, transform .2s ease;
}
.card:hover .card-quick { opacity: 1; transform: none; }
.card-body { padding: 15px 4px 0; }
.card-cat { font-size: 11.5px; letter-spacing: .14em; color: var(--cocoa-3); text-transform: uppercase; }
.card h3 {
    font-family: var(--sans); font-weight: 600; font-size: 15px; line-height: 1.5; margin: 6px 0 8px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card-price { display: flex; align-items: baseline; gap: 8px; }
.price { font-family: var(--serif); font-size: 19px; color: var(--rose-deep); font-weight: 600; }
.price-old { font-size: 12.5px; color: var(--cocoa-3); text-decoration: line-through; }
.card-note { font-size: 11.5px; color: var(--cocoa-3); margin-top: 4px; }

/* 品牌故事 */
.story { display: grid; grid-template-columns: .95fr 1.05fr; gap: 54px; align-items: center; }
.story-media { position: relative; }
.story-media img { width: 100%; border-radius: var(--r-xl); border: 9px solid var(--white); box-shadow: var(--shadow-l); transform: rotate(1.4deg); }
.story-badge {
    position: absolute; left: -22px; bottom: 34px; background: var(--butter);
    border: 1.5px dashed var(--cocoa-3); border-radius: 18px; padding: 14px 20px;
    font-family: var(--serif); font-size: 15px; line-height: 1.5; transform: rotate(-3deg); box-shadow: var(--shadow-s);
}
.story-copy .eyebrow { font-size: 12px; letter-spacing: .2em; color: var(--rose-deep); text-transform: uppercase; }
.story-copy h2 { font-size: clamp(28px, 3vw, 40px); margin: 12px 0 18px; }
.story-copy p { color: var(--cocoa-2); margin: 0 0 14px; }
.story-points { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 24px 0 28px; }
.story-point { display: flex; gap: 10px; align-items: flex-start; }
.story-point i { width: 26px; height: 26px; border-radius: 50%; background: var(--pink-soft); color: var(--rose-deep); display: grid; place-items: center; flex: none; }
.story-point b { display: block; font-size: 14px; }
.story-point span { font-size: 12.5px; color: var(--cocoa-3); }

/* 留言墙 */
.comment-wall { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cmt-card {
    background: var(--white); border: 1.5px solid var(--line); border-radius: var(--r-l);
    padding: 22px 22px 18px; position: relative; box-shadow: var(--shadow-s);
}
.cmt-card::before {
    content: "“"; position: absolute; left: 16px; top: 6px;
    font-family: var(--serif); font-size: 40px; color: var(--pink); line-height: 1;
}
.cmt-text { font-size: 14px; color: var(--cocoa); margin: 10px 0 16px; position: relative; z-index: 1; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.cmt-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 12px; color: var(--cocoa-3); border-top: 1px dashed var(--line); padding-top: 12px; }
.cmt-meta b { color: var(--cocoa-2); font-weight: 600; }
.cmt-meta a { color: var(--rose-deep); }
.section-empty { color: var(--cocoa-3); font-size: 14px; }

/* 渠道 */
.channels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.channel {
    display: flex; gap: 16px; align-items: center;
    padding: 22px; border-radius: var(--r-l); background: var(--white);
    border: 1.5px solid var(--line); box-shadow: var(--shadow-s);
}
.channel .chi { width: 46px; height: 46px; border-radius: 16px; background: var(--cream); display: grid; place-items: center; color: var(--cocoa); flex: none; }
.channel b { font-family: var(--serif); font-size: 16.5px; }
.channel span { font-size: 12.5px; color: var(--cocoa-3); display: block; }
button.channel { width: 100%; text-align: left; font: inherit; color: inherit; cursor: pointer; }

/* ---------------------------------------------------------------- 商品列表页 */
.page-head { padding: 48px 0 8px; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 12.5px; color: var(--cocoa-3); flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--rose-deep); }
.breadcrumb .ico { width: 14px; height: 14px; opacity: .6; }

.cat-hero {
    margin-top: 20px; padding: 34px 36px; border-radius: var(--r-xl);
    background: linear-gradient(120deg, var(--cream), var(--pink-soft));
    border: 1.5px solid var(--line);
    display: flex; align-items: center; justify-content: space-between; gap: 30px;
    position: relative; overflow: hidden;
}
.cat-hero::after {
    content: ""; position: absolute; right: -40px; bottom: -60px; width: 220px; height: 220px;
    border-radius: 50%; background: rgba(255, 255, 255, .6);
}
.cat-hero h1 { font-size: clamp(28px, 3vw, 40px); position: relative; z-index: 1; }
.cat-hero p { color: var(--cocoa-2); font-size: 14.5px; margin: 10px 0 0; max-width: 52em; position: relative; z-index: 1; }
.cat-hero .cat-count { font-family: var(--serif); font-size: 15px; color: var(--cocoa-2); background: var(--white); border-radius: 999px; padding: 10px 18px; border: 1px dashed var(--cocoa-3); white-space: nowrap; position: relative; z-index: 1; }

.filter-bar { display: flex; gap: 10px; align-items: center; margin: 26px 0 6px; flex-wrap: wrap; }
.filter-bar a {
    font-size: 13.5px; padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--line);
    background: var(--white); color: var(--cocoa-2);
}
.filter-bar a.on { background: var(--cocoa); color: #FFF7EC; border-color: var(--cocoa); }
.filter-bar .count { margin-left: auto; font-size: 13px; color: var(--cocoa-3); }

.list-section { padding: 26px 0 84px; }
.pager { display: flex; gap: 8px; align-items: center; justify-content: center; margin-top: 54px; flex-wrap: wrap; }
.pg {
    min-width: 42px; height: 42px; padding: 0 16px; border-radius: 999px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 14px; background: var(--white); border: 1.5px solid var(--line); color: var(--cocoa-2);
}
.pg:hover { border-color: var(--rose); color: var(--rose-deep); }
.pg.on { background: var(--cocoa); border-color: var(--cocoa); color: #FFF7EC; }
.pg.info { border: 0; background: transparent; color: var(--cocoa-3); font-size: 12.5px; }

/* ---------------------------------------------------------------- 商品详情 */
.product-hero { display: grid; grid-template-columns: 1.02fr .98fr; gap: 48px; padding: 42px 0 20px; align-items: start; }

.gallery { position: sticky; top: 100px; }
.gallery-main {
    position: relative; border-radius: var(--r-xl); overflow: hidden;
    border: 8px solid var(--white); box-shadow: var(--shadow-l);
    background: var(--cream); aspect-ratio: 1 / 1;
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 14px; overflow-x: auto; padding-bottom: 4px; }
.gallery-thumbs button {
    width: 76px; height: 76px; flex: none; padding: 0; border-radius: 18px; overflow: hidden;
    border: 3px solid transparent; background: var(--cream);
    outline: 1.5px solid var(--line);
}
.gallery-thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs button.on { border-color: var(--rose); outline-color: var(--rose); }

.p-info .p-cat { font-size: 11.5px; letter-spacing: .16em; color: var(--cocoa-3); text-transform: uppercase; }
.p-info h1 { font-size: clamp(26px, 2.8vw, 38px); margin: 10px 0 8px; }
.p-info .p-sub { color: var(--cocoa-2); font-size: 15px; margin: 0 0 20px; }

.price-box {
    display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
    background: var(--cream); border: 1.5px dashed var(--line); border-radius: var(--r-m);
    padding: 18px 22px;
}
.price-now { font-family: var(--serif); font-size: 38px; line-height: 1; color: var(--rose-deep); font-weight: 600; }
.price-now small { font-size: 18px; margin-right: 2px; }
.price-old2 { font-size: 13px; color: var(--cocoa-3); text-decoration: line-through; }
.price-tags { display: flex; gap: 8px; margin-left: auto; flex-wrap: wrap; }
.price-tags span { font-size: 11.5px; padding: 4px 10px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); color: var(--cocoa-2); }

.p-note {
    display: flex; gap: 12px; align-items: center; margin: 18px 0;
    background: var(--pink-soft); border-radius: var(--r-m); padding: 14px 18px;
    font-size: 13px; color: var(--cocoa-2);
}
.p-note b { color: var(--cocoa); }

.spec-table { width: 100%; border-collapse: collapse; margin: 6px 0 22px; font-size: 13.5px; }
.spec-table th, .spec-table td { text-align: left; padding: 11px 0; border-bottom: 1px dashed var(--line); vertical-align: top; }
.spec-table th { width: 84px; color: var(--cocoa-3); font-weight: 500; white-space: nowrap; }
.spec-table td { color: var(--cocoa); }

.p-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.p-actions .btn { flex: 1 1 200px; justify-content: center; }
.p-meta-line { margin-top: 16px; font-size: 12.5px; color: var(--cocoa-3); display: flex; gap: 16px; flex-wrap: wrap; }

.p-detail { padding: 54px 0; border-top: 1px dashed var(--line); margin-top: 40px; }
.p-detail-grid { display: grid; grid-template-columns: 1fr 320px; gap: 50px; align-items: start; }
.article-body { font-size: 15.5px; line-height: 1.95; color: var(--cocoa); }
.article-body p { margin: 0 0 16px; }
.article-body h2 { font-size: 24px; margin: 34px 0 14px; }
.article-body h2::before { content: ""; display: inline-block; width: 7px; height: 7px; background: var(--rose); border-radius: 50%; margin-right: 10px; vertical-align: 3px; }
.article-body h3 { font-size: 18px; margin: 24px 0 10px; }
.article-body ul, .article-body ol { padding-left: 4px; margin: 0 0 18px; }
.article-body li { margin-bottom: 8px; padding-left: 20px; position: relative; }
.article-body li::before { content: ""; position: absolute; left: 2px; top: 12px; width: 7px; height: 7px; border: 1.5px solid var(--rose); border-radius: 50%; }
.article-body strong { color: var(--cocoa); }

.aside-card {
    background: var(--white); border: 1.5px solid var(--line); border-radius: var(--r-l);
    padding: 22px; box-shadow: var(--shadow-s); margin-bottom: 18px;
}
.aside-card h3 { font-size: 16px; margin: 0 0 12px; display: flex; align-items: center; gap: 8px; }
.aside-card p { font-size: 13px; color: var(--cocoa-2); margin: 0 0 10px; }
.aside-mini { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px dashed var(--line); }
.aside-mini img { width: 56px; height: 56px; border-radius: 14px; object-fit: cover; }
.aside-mini b { font-size: 13px; display: block; line-height: 1.4; }
.aside-mini span { font-size: 12px; color: var(--rose-deep); }

/* 留言 */
.comments-section { padding: 54px 0 90px; border-top: 1px dashed var(--line); }
.comments-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 8px; }
.comments-head h2 { font-size: 28px; }
.comments-head span { font-size: 13px; color: var(--cocoa-3); }
.comment-free {
    display: inline-flex; gap: 8px; align-items: center;
    background: var(--matcha); color: #3C4A31; font-size: 12px;
    padding: 6px 14px; border-radius: 999px;
}
.comment-list { margin: 26px 0 34px; display: flex; flex-direction: column; gap: 14px; }
.comment-item { background: var(--white); border: 1.5px solid var(--line); border-radius: var(--r-m); padding: 18px 20px; }
.comment-item .ci-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--pink-soft); color: var(--rose-deep); display: grid; place-items: center; font-family: var(--serif); font-size: 15px; flex: none; }
.comment-item b { font-size: 13.5px; }
.comment-item time { font-size: 12px; color: var(--cocoa-3); margin-left: auto; }
.comment-item p { margin: 0; font-size: 14.5px; color: var(--cocoa); white-space: pre-wrap; word-break: break-word; }
.comment-reply {
    margin-top: 12px; padding: 12px 16px; border-radius: 14px;
    background: var(--cream); border-left: 3px solid var(--rose);
    font-size: 13.5px;
}
.comment-reply b { color: var(--rose-deep); display: block; font-size: 12.5px; margin-bottom: 4px; }

.comment-form {
    background: var(--white); border: 1.5px solid var(--line); border-radius: var(--r-l);
    padding: 26px; box-shadow: var(--shadow-s);
}
.comment-form h3 { font-size: 19px; margin: 0 0 4px; }
.comment-form .cf-sub { font-size: 13px; color: var(--cocoa-3); margin: 0 0 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.field label { display: block; font-size: 12.5px; color: var(--cocoa-2); margin-bottom: 6px; }
.field input, .field textarea {
    width: 100%; border: 1.5px solid var(--line); border-radius: 14px;
    background: var(--cream); padding: 12px 14px; font: inherit; font-size: 14px; color: var(--cocoa);
    outline: none; transition: border-color .18s ease, background .18s ease;
}
.field input:focus, .field textarea:focus { border-color: var(--rose); background: var(--white); }
.field textarea { min-height: 110px; resize: vertical; }
.form-foot { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 6px; }
.cap-box { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--cocoa-2); }
.cap-box input { width: 72px; padding: 9px 10px; text-align: center; border: 1.5px solid var(--line); border-radius: 12px; background: var(--cream); font-size: 14px; }
.cap-box b { font-family: var(--serif); font-size: 16px; }
.hp { position: absolute; left: -9999px; }
.form-tip { font-size: 12px; color: var(--cocoa-3); margin-top: 12px; }

.flash { border-radius: 14px; padding: 12px 16px; font-size: 13.5px; margin-bottom: 16px; }
.flash.ok { background: #EDF3E6; color: #47603A; border: 1px solid #CFE0C0; }
.flash.err { background: #FDECEC; color: #97353D; border: 1px solid #F5C9CB; }

/* ---------------------------------------------------------------- 静态页 */
.page-hero { padding: 52px 0 10px; }
.page-hero h1 { font-size: clamp(30px, 3.2vw, 44px); }
.page-hero p { color: var(--cocoa-2); margin: 12px 0 0; max-width: 52em; }
.page-body { padding: 20px 0 84px; }
.page-grid { display: grid; grid-template-columns: 1fr 300px; gap: 56px; }
.page-aside { position: sticky; top: 100px; }
.toc-card { background: var(--cream); border: 1.5px solid var(--line); border-radius: var(--r-l); padding: 20px; }
.toc-card h3 { font-size: 14px; margin: 0 0 10px; color: var(--cocoa-2); }
.toc-card a { display: block; font-size: 13px; padding: 6px 0; color: var(--cocoa-2); border-bottom: 1px dashed rgba(240, 220, 198, .8); }
.toc-card a:hover { color: var(--rose-deep); }
.page-updated { font-size: 12px; color: var(--cocoa-3); margin-top: 20px; }

/* ---------------------------------------------------------------- CTA */
.cta-band { padding: 52px 0; background: var(--cocoa); color: #FFF6EA; position: relative; overflow: hidden; }
.cta-band::before {
    content: ""; position: absolute; inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px);
    background-size: 22px 22px; opacity: .5;
}
.cta-in { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-text { max-width: 44em; }
.tape {
    display: inline-block; font-size: 11px; letter-spacing: .16em;
    background: var(--pink); color: #6D2F3C; padding: 4px 12px; border-radius: 4px;
    transform: rotate(-2deg);
}
.cta-text h2 { font-size: clamp(24px, 2.6vw, 34px); margin: 14px 0 8px; }
.cta-text p { margin: 0; font-size: 14px; opacity: .82; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-band .btn-primary { background: #FFF7EC; color: var(--cocoa); box-shadow: 0 8px 0 rgba(0, 0, 0, .18); }
.cta-band .btn-ghost { background: transparent; border-color: rgba(255, 247, 236, .4); color: #FFF7EC; }

/* ---------------------------------------------------------------- 页脚 */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--line); padding-top: 58px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 46px; }
.foot-brand .brand { margin-bottom: 14px; }
.foot-desc { font-size: 13px; color: var(--cocoa-2); margin: 0 0 10px; max-width: 32em; }
.foot-tip { font-size: 12.5px; color: var(--rose-deep); display: flex; align-items: center; gap: 7px; }
.foot-col h3 { font-size: 14.5px; margin: 0 0 14px; color: var(--cocoa); letter-spacing: .04em; }
.foot-col li { margin-bottom: 8px; }
.foot-col a { font-size: 13px; color: var(--cocoa-2); }
.foot-col a:hover { color: var(--rose-deep); }
.foot-shop { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.foot-shop a { border: 1.5px solid var(--line); background: var(--white); border-radius: 999px; padding: 5px 12px; font-size: 12.5px; }
.foot-shop .foot-copy { border: 1.5px solid var(--line); background: var(--white); border-radius: 999px; padding: 5px 12px; font-size: 12.5px; font-family: inherit; color: var(--cocoa-2); cursor: pointer; }
.foot-shop .foot-copy:hover { border-color: var(--rose); color: var(--rose-deep); }
.foot-shop-tip { font-size: 12.5px; color: var(--cocoa-2); margin: 0 0 12px; }
.foot-line { font-size: 12.5px; color: var(--cocoa-2); display: flex; align-items: center; gap: 7px; margin: 0 0 8px; }
.foot-contact .btn-mini { margin-top: 6px; display: inline-flex; }

.foot-legal {
    border-top: 1px dashed var(--line); padding: 20px 24px 30px;
    display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
    font-size: 12px; color: var(--cocoa-3);
}
.foot-legal a:hover { color: var(--rose-deep); }
.foot-legal .sep { margin: 0 4px; }
.legal-left { display: flex; align-items: center; flex-wrap: wrap; gap: 2px; }
.legal-right { max-width: 46em; }

.to-top {
    position: fixed; right: 26px; bottom: 26px; z-index: 60;
    width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line);
    background: var(--white); color: var(--cocoa); display: grid; place-items: center;
    box-shadow: var(--shadow-m); opacity: 0; pointer-events: none; transform: translateY(10px);
    transition: opacity .2s ease, transform .2s ease;
}
.to-top.on { opacity: 1; pointer-events: auto; transform: none; }

/* ---------------------------------------------------------------- 店铺引流 */
.channel { transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.channel:hover { transform: translateY(-3px); box-shadow: var(--shadow-m); border-color: var(--pc, var(--pink)); }
.channel .chi { background: var(--ps, var(--cream)); color: var(--pc, var(--cocoa)); border: 1px dashed rgba(92, 65, 50, .14); }

.card-shop {
    position: absolute; left: 12px; bottom: 12px;
    display: inline-flex; align-items: center; gap: 5px;
    background: rgba(255, 253, 246, .94); color: var(--rose-deep);
    font-size: 11px; font-weight: 600; padding: 5px 10px; border-radius: 999px;
    box-shadow: 0 3px 10px rgba(92, 65, 50, .12);
    border: 1px solid rgba(245, 128, 156, .28);
}

.shop-cta {
    margin-top: 18px; border-radius: var(--r-m);
    border: 1.5px solid var(--cta-border);
    background: linear-gradient(160deg, var(--cta1), var(--cta2) 60%, var(--cta3));
    padding: 18px 20px 16px;
    position: relative; overflow: hidden;
}
.shop-cta::after {
    content: ""; position: absolute; right: -32px; top: -32px; width: 96px; height: 96px;
    border-radius: 50%; background: rgba(255, 222, 158, .45);
}
.shop-cta-head { position: relative; z-index: 1; margin-bottom: 12px; }
.shop-cta-kicker { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; letter-spacing: .1em; color: var(--rose-deep); background: var(--white); padding: 4px 10px; border-radius: 999px; border: 1px dashed var(--rose); }
.shop-cta-head b { display: block; font-size: 14.5px; margin-top: 8px; color: var(--cocoa); }
.shop-btns { position: relative; z-index: 1; display: flex; gap: 10px; flex-wrap: wrap; }
.shop-btn {
    flex: 1 1 150px; justify-content: center;
    display: inline-flex; align-items: center; gap: 8px;
    padding: 11px 16px; border-radius: 999px;
    background: var(--white); color: var(--pc);
    border: 1.5px solid var(--pc);
    font-size: 14px; font-weight: 600;
    font-family: inherit;
    box-shadow: 0 4px 0 rgba(92, 65, 50, .06);
    transition: transform .16s ease, background .16s ease, color .16s ease;
    cursor: pointer;
}
.shop-btn:hover { background: var(--pc); color: #fff; transform: translateY(-2px); }
.shop-notes { position: relative; z-index: 1; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 12px; }
.copy-chip {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: 12.5px; padding: 6px 12px; border-radius: 999px;
    background: var(--white); border: 1.5px solid var(--line); color: var(--cocoa-2);
    cursor: pointer;
}
.copy-chip:hover { border-color: var(--rose); color: var(--rose-deep); }
.ghost-chip { border-style: dashed; }
.copy-hint { font-size: 11.5px; color: var(--cocoa-3); }
.shop-empty { position: relative; z-index: 1; font-size: 13px; color: var(--cocoa-2); margin: 0; }
.shop-assure {
    position: relative; z-index: 1; display: flex; gap: 14px; flex-wrap: wrap; align-items: center;
    margin-top: 14px; padding-top: 12px; border-top: 1px dashed rgba(246, 216, 182, .9);
    font-size: 11.5px; color: var(--cocoa-3);
}
.shop-assure span { display: inline-flex; align-items: center; gap: 4px; }
.shop-assure .ico { color: var(--matcha-deep); }
.aside-shop a { display: inline-flex; align-items: center; gap: 7px; }
.aside-copy { display: inline-flex; align-items: center; gap: 7px; border: 0; background: transparent; padding: 0; font: inherit; color: var(--rose-deep); cursor: pointer; }
.aside-shop i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }

/* 店铺导购页 */
.shop-hero { padding: 46px 0 10px; position: relative; overflow: hidden; }
.shop-hero::before {
    content: ""; position: absolute; left: -140px; top: -60px; width: 420px; height: 420px;
    border-radius: 50%; background: radial-gradient(circle, var(--glow2), transparent 68%);
}
.shop-hero-in { position: relative; display: grid; grid-template-columns: 1.25fr .75fr; gap: 40px; align-items: center; }
.shop-hero .kicker {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 12px; letter-spacing: .18em;
    color: var(--rose-deep); background: var(--pink-soft);
    border: 1px dashed var(--rose); border-radius: 999px; padding: 6px 14px;
}
.shop-hero h1 { font-size: clamp(30px, 3.6vw, 46px); margin: 16px 0 12px; }
.shop-hero p { color: var(--cocoa-2); font-size: 15.5px; max-width: 40em; margin: 0 0 20px; }
.shop-hero-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.shop-hero-badges span { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--cocoa-2); background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; }
.shop-hero-art { position: relative; height: 240px; }
.art-bubble {
    position: absolute; display: grid; place-items: center;
    border-radius: 50%; background: var(--white);
    border: 2px dashed rgba(92, 65, 50, .16); color: var(--rose-deep);
    box-shadow: var(--shadow-s);
}
.art-bubble.b1 { width: 110px; height: 110px; left: 6%; top: 22px; background: var(--pink-soft); transform: rotate(-8deg); }
.art-bubble.b2 { width: 86px; height: 86px; right: 8%; top: 0; background: var(--butter); color: #8A6420; transform: rotate(9deg); }
.art-bubble.b3 { width: 74px; height: 74px; left: 30%; bottom: 12px; background: var(--matcha); color: #4C6338; transform: rotate(-4deg); }
.art-note {
    position: absolute; right: 4%; bottom: 8px;
    background: var(--white); border: 1.5px dashed var(--rose);
    border-radius: 16px; padding: 10px 14px; font-family: var(--serif);
    font-size: 13.5px; line-height: 1.5; transform: rotate(3deg); text-align: center;
    box-shadow: var(--shadow-s);
}

.shop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.shop-card {
    background: var(--white); border: 1.5px solid var(--line); border-radius: var(--r-l);
    padding: 22px 22px 18px; box-shadow: var(--shadow-s);
    position: relative; overflow: hidden;
    transition: transform .18s ease, box-shadow .18s ease;
}
.shop-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); }
.shop-card::after { content: ""; position: absolute; right: -34px; bottom: -34px; width: 110px; height: 110px; border-radius: 50%; background: var(--ps); opacity: .7; }
.shop-card-top { display: flex; align-items: center; gap: 12px; position: relative; z-index: 1; }
.shop-logo { width: 50px; height: 50px; border-radius: 18px; background: var(--ps); color: var(--pc); display: grid; place-items: center; flex: none; border: 1.5px solid rgba(92, 65, 50, .08); }
.shop-card h3 { font-size: 18px; margin: 0 0 3px; }
.shop-tag { font-size: 11px; letter-spacing: .08em; color: var(--pc); background: var(--ps); padding: 2px 8px; border-radius: 999px; }
.shop-how { position: relative; z-index: 1; font-size: 12.5px; color: var(--cocoa-2); margin: 14px 0 16px; min-height: 3em; }
.shop-card-actions { position: relative; z-index: 1; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.shop-go {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 10px 18px; border-radius: 999px;
    background: var(--pc); color: #fff; font-size: 13.5px; font-weight: 600;
    font-family: inherit;
    box-shadow: 0 4px 0 rgba(92, 65, 50, .1);
    transition: transform .16s ease;
    border: 0; cursor: pointer;
}
.shop-go:hover { transform: translateY(-2px); }
.shop-empty-box { background: var(--cream); border: 1.5px dashed var(--line); border-radius: var(--r-l); padding: 26px; }
.shop-empty-box p { color: var(--cocoa-2); font-size: 14px; margin: 0 0 14px; }

.buy-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 34px; }
.buy-step { background: linear-gradient(160deg, var(--white), var(--cream)); border: 1.5px solid var(--line); border-radius: var(--r-l); padding: 22px; }
.step-no { font-family: var(--serif); font-size: 26px; color: var(--rose); display: block; line-height: 1; }
.buy-step b { display: block; font-size: 15.5px; margin: 10px 0 6px; }
.buy-step p { font-size: 12.5px; color: var(--cocoa-2); margin: 0; }

.shop-split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.shop-tips-card { background: var(--white); border: 1.5px solid var(--line); border-radius: var(--r-l); padding: 26px; box-shadow: var(--shadow-s); }
.shop-tips-card h2 { font-size: 20px; display: flex; align-items: center; gap: 8px; margin: 0 0 14px; }
.shop-tips-card ul { margin: 0 0 14px; }
.shop-tips-card li { font-size: 13.5px; color: var(--cocoa-2); margin-bottom: 9px; padding-left: 18px; position: relative; line-height: 1.75; }
.shop-tips-card li::before { content: ""; position: absolute; left: 0; top: 9px; width: 7px; height: 7px; border: 1.5px solid var(--rose); border-radius: 50%; }
.shop-tips-card p { font-size: 13.5px; color: var(--cocoa-2); line-height: 1.8; }
.muted-inline { color: var(--cocoa-3) !important; font-size: 12.5px !important; }
.copy-line { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 16px !important; }

.shop-final {
    text-align: center; background: linear-gradient(150deg, var(--fin1), var(--fin2) 70%, var(--fin3));
    border: 1.5px solid var(--cta-border); border-radius: var(--r-xl); padding: 46px 30px;
    position: relative; overflow: hidden;
}
.shop-final h2 { font-size: clamp(24px, 2.6vw, 34px); margin: 12px 0 10px; }
.shop-final p { color: var(--cocoa-2); margin: 0 auto 22px; max-width: 42em; }
.shop-final-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* 悬浮店铺入口 */
.shop-fab {
    position: fixed; right: 26px; bottom: 86px; z-index: 60;
    display: inline-flex; flex-direction: column; align-items: center; gap: 2px;
    width: 56px; height: 56px; border-radius: 50%;
    background: linear-gradient(140deg, var(--fab1), var(--fab2));
    color: var(--bs-text); font-size: 10.5px; font-weight: 600;
    border: 2px solid var(--white);
    box-shadow: 0 8px 20px rgba(214, 75, 112, .22);
    padding-top: 8px;
    transition: transform .18s ease;
}
.shop-fab:hover { transform: translateY(-3px) rotate(-3deg); }
.shop-fab span { line-height: 1; }

/* 复制提示 */
.dxl-toast {
    position: fixed; left: 50%; bottom: 120px; transform: translate(-50%, 10px);
    z-index: 100; background: rgba(92, 65, 50, .94); color: #FFF7EC;
    font-size: 13px; padding: 10px 18px; border-radius: 999px;
    box-shadow: var(--shadow-m); opacity: 0; transition: opacity .22s ease, transform .22s ease;
    max-width: 80vw; text-align: center;
}
.dxl-toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ---------------------------------------------------------------- 响应式 */
@media (max-width: 1180px) {
    .nav-a { padding: 8px 9px; font-size: 14px; }
    .hsearch input { width: 140px; }
    .product-grid { grid-template-columns: repeat(3, 1fr); }
    .cat-grid { grid-template-columns: repeat(3, 1fr); }
    .story { gap: 36px; }
    .p-detail-grid { grid-template-columns: 1fr 280px; gap: 30px; }
}

@media (max-width: 960px) {
    .header-in { height: 68px; gap: 14px; }
    .nav {
        position: fixed; inset: 68px 0 auto; z-index: 49;
        flex-direction: column; align-items: stretch; gap: 2px;
        background: var(--bg); border-bottom: 1px solid var(--line);
        padding: 10px 18px 18px; max-height: calc(100vh - 68px); overflow-y: auto;
        transform: translateY(-12px); opacity: 0; pointer-events: none;
        transition: opacity .2s ease, transform .2s ease;
        box-shadow: var(--shadow-m);
    }
    .nav.open { opacity: 1; transform: none; pointer-events: auto; }
    .nav-a { padding: 12px 10px; border-radius: 12px; font-size: 15px; }
    .nav-toggle { display: grid; }
    .hsearch { display: none; }
    .header-tools { margin-left: auto; }
    .hero-in { grid-template-columns: 1fr; gap: 34px; }
    .hero-media { order: -1; max-width: 520px; }
    .hero-frame { transform: none; aspect-ratio: 4 / 3.4; }
    .hero-copy h1 { font-size: 34px; }
    .features { grid-template-columns: 1fr 1fr; }
    .product-grid, .product-grid.three { grid-template-columns: repeat(2, 1fr); gap: 20px 16px; }
    .comment-wall { grid-template-columns: 1fr 1fr; }
    .channels { grid-template-columns: 1fr; }
    .story { grid-template-columns: 1fr; gap: 30px; }
    .story-media img { transform: none; }
    .product-hero { grid-template-columns: 1fr; gap: 28px; }
    .gallery { position: static; }
    .p-detail-grid, .page-grid { grid-template-columns: 1fr; }
    .page-aside, .aside-card.wide { position: static; }
    .cat-hero { flex-direction: column; align-items: flex-start; gap: 16px; padding: 26px; }
    .section { padding: 54px 0; }
    .section-head { flex-direction: column; align-items: flex-start; gap: 10px; }
    .shop-hero-in { grid-template-columns: 1fr; gap: 10px; }
    .shop-hero-art { display: none; }
    .shop-grid { grid-template-columns: 1fr 1fr; }
    .shop-split { grid-template-columns: 1fr; }
    .buy-steps { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
    .shop-grid { grid-template-columns: 1fr; }
    .shop-card { padding: 20px 18px 16px; }
    .shop-how { min-height: 0; }
}

@media (max-width: 620px) {
    .wrap { padding: 0 18px; }
    body { font-size: 15px; }
    .topbar-links { display: none; }
    .hero { padding-top: 30px; }
    .hero-copy h1 { font-size: 29px; }
    .hero-actions .btn { flex: 1; justify-content: center; }
    .hero-stats { gap: 18px; flex-wrap: wrap; }
    .features, .comment-wall { grid-template-columns: 1fr; }
    .cat-grid { grid-template-columns: 1fr 1fr; }
    .product-grid { grid-template-columns: 1fr 1fr; gap: 16px 12px; }
    .card-media { border-width: 4px; border-radius: 18px; }
    .card h3 { font-size: 13.5px; }
    .price { font-size: 17px; }
    .section { padding: 44px 0; }
    .gallery-thumbs button { width: 62px; height: 62px; }
    .price-now { font-size: 30px; }
    .form-row { grid-template-columns: 1fr; }
    .cta-in { gap: 22px; }
    .foot-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
    .foot-legal { flex-direction: column; }
    .to-top { right: 16px; bottom: 16px; }
    .p-actions .btn { flex: 1 1 100%; }
    .btn-shop { display: none; }
    .shop-fab { right: 16px; bottom: 76px; width: 50px; height: 50px; }
    .shop-grid { grid-template-columns: 1fr; }
    .shop-hero { padding-top: 26px; }
    .shop-final { padding: 34px 20px; }
    .shop-notes { gap: 6px; }
    .card-shop { font-size: 10px; padding: 4px 8px; }
}

@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto; }
    .slide { transition: opacity .2s linear; }
}

/* 打印（商品页报价单） */
@media print {
    .topbar, .site-header, .cta-band, .site-footer, .to-top, .shop-fab, .shop-cta, .comment-form, .hero-dots { display: none !important; }
    body { background: #fff; }
}

/* ------------------------------------------------------------------
 * 五套主题（后台一键切换）
 * ------------------------------------------------------------------ */
[data-theme="strawberry"] {
    --bg: #FFF4F8; --bg-2: #FFE7EF; --cream: #FFF8FB;
    --butter: #FFC9D8; --butter-deep: #FF9FBA; --lemon: #FFD3DE;
    --pink: #FFB3C8; --pink-soft: #FFE3EC; --rose: #E85C86; --rose-deep: #B93460;
    --cocoa: #57323E; --cocoa-2: #8A5B69; --cocoa-3: #C29AA6;
    --line: #F8D3DE; --white: #FFFBFC; --peach: #FFD6C7; --lilac: #F2DDF3;
    --matcha: #DAE8CB; --matcha-deep: #8AA974;
    --tb1: #FFD6E2; --tb2: #FFE3EC; --tb3: #FFD1E4;
    --bs1: #FFCFDC; --bs2: #FFB0C6; --bs-text: #7A2D45; --bs-border: #F7A6BD;
    --glow1: rgba(255, 160, 190, .62); --glow2: rgba(255, 206, 220, .9);
    --dot1: rgba(232, 92, 134, .13); --dot2: rgba(255, 159, 186, .22);
    --cta1: #FFF3F7; --cta2: #FFE6EE; --cta3: #FFEFF3; --cta-border: #F8D3DE;
    --fin1: #FFEDF3; --fin2: #FFE1EA; --fin3: #FFF3F7;
    --fab1: #FFC9D8; --fab2: #FFB0C6;
}
[data-theme="matcha"] {
    --bg: #F8FBF2; --bg-2: #EEF6E3; --cream: #FBFDF6;
    --butter: #D7E8BC; --butter-deep: #B6D18E; --lemon: #DCE9A8;
    --pink: #F4CBB0; --pink-soft: #FBEDE0; --rose: #7E9C61; --rose-deep: #5F7B46;
    --cocoa: #3F4A34; --cocoa-2: #6B7A5C; --cocoa-3: #9DAB8C;
    --line: #DDE8CB; --white: #FDFDF8; --peach: #F3D3B8; --lilac: #E8E6D3;
    --matcha: #CDE4B3; --matcha-deep: #8AA974;
    --tb1: #E6F1D6; --tb2: #F3F8E8; --tb3: #DCEBC4;
    --bs1: #DCEBC4; --bs2: #C2DCA4; --bs-text: #46583A; --bs-border: #BCD49C;
    --glow1: rgba(214, 232, 188, .7); --glow2: rgba(240, 226, 184, .9);
    --dot1: rgba(126, 156, 97, .14); --dot2: rgba(194, 220, 164, .25);
    --cta1: #F8FBEF; --cta2: #EFF6E2; --cta3: #FBF7E8; --cta-border: #DDE8CB;
    --fin1: #F4F9EA; --fin2: #EDF5DE; --fin3: #FAF7E9;
    --fab1: #D7E8BC; --fab2: #C2DCA4;
}
[data-theme="soda"] {
    --bg: #F3FAFD; --bg-2: #E6F4FA; --cream: #F8FCFE;
    --butter: #CBE5F6; --butter-deep: #9CCDE6; --lemon: #BFE3F2;
    --pink: #F5D3C8; --pink-soft: #FDECE6; --rose: #6FA6C4; --rose-deep: #3F7E9E;
    --cocoa: #33474F; --cocoa-2: #5C737D; --cocoa-3: #90A5AD;
    --line: #D4E7F0; --white: #FBFDFE; --peach: #F7DACC; --lilac: #E4EDF6;
    --matcha: #D5EBDD; --matcha-deep: #86AE95;
    --tb1: #D8EDF9; --tb2: #EAF7FC; --tb3: #CFE8F5;
    --bs1: #CFE8F5; --bs2: #B7DBEE; --bs-text: #33586A; --bs-border: #A9CFE3;
    --glow1: rgba(190, 226, 242, .7); --glow2: rgba(247, 218, 204, .8);
    --dot1: rgba(111, 166, 196, .14); --dot2: rgba(159, 205, 227, .24);
    --cta1: #F3FAFD; --cta2: #E7F5FB; --cta3: #FDF3EE; --cta-border: #D4E7F0;
    --fin1: #EDF8FD; --fin2: #E2F2F9; --fin3: #FAF4EF;
    --fab1: #CBE5F6; --fab2: #B7DBEE;
}
[data-theme="memory"] {
    --bg: #F6F6F3; --bg-2: #EEEEEA; --cream: #FAFAF7;
    --butter: #DCDCD7; --butter-deep: #BDBDB6; --lemon: #E4E4DC;
    --pink: #D9D9D5; --pink-soft: #EFEFEC; --rose: #7A7A76; --rose-deep: #555552;
    --cocoa: #333331; --cocoa-2: #5F5F5B; --cocoa-3: #90908A;
    --line: #E2E2DC; --white: #FDFDFB; --peach: #E4E4DF; --lilac: #EAEAE6;
    --matcha: #D7D7D1; --matcha-deep: #9A9A94;
    --tb1: #EAEAE6; --tb2: #F2F2EF; --tb3: #E4E4DF;
    --bs1: #E4E4DF; --bs2: #D5D5CF; --bs-text: #4A4A47; --bs-border: #C9C9C3;
    --glow1: rgba(210, 210, 204, .55); --glow2: rgba(228, 228, 222, .7);
    --dot1: rgba(120, 120, 116, .1); --dot2: rgba(170, 170, 164, .16);
    --cta1: #F7F7F4; --cta2: #EFEFEB; --cta3: #F5F5F2; --cta-border: #E2E2DC;
    --fin1: #F4F4F1; --fin2: #ECECE8; --fin3: #F7F7F4;
    --fab1: #DCDCD7; --fab2: #CFCFC9;
}
[data-theme="memory"] img { filter: grayscale(100%); }
[data-theme="memory"] .hero-blob, [data-theme="memory"] .bubble, [data-theme="memory"] .art-bubble { filter: grayscale(100%); }
[data-theme="memory"] .topbar-note { color: #3E3E3B; }
[data-theme="memory"] .brand-mark svg circle[fill="#FFF3E4"] { fill: #F0F0EC; }
[data-theme="memory"] .brand-mark svg path[stroke="#E8879B"],
[data-theme="memory"] .brand-mark svg circle[fill="#F8C6CE"] { stroke: #8C8C87; fill: #C9C9C3; }
[data-theme="memory"] .badge.hot, [data-theme="memory"] .ribbon { background: #E4E4DF; color: #4A4A47; }
[data-theme="memory"] .hero-copy h1 em { background: none; -webkit-text-fill-color: currentColor; color: var(--cocoa); }
[data-theme="memory"] .btn-primary { background: #4A4A47; }

/* 页脚微信分享入口 */
.foot-share {
    display: inline-flex; align-items: center; gap: 7px; margin-top: 10px;
    border: 1.5px dashed var(--rose); color: var(--rose-deep); background: var(--pink-soft);
    border-radius: 999px; padding: 7px 14px; font-size: 12.5px; font-weight: 600; cursor: pointer;
}

/* 顶栏「去哪买」当前态 */
.topbar-links .tb-shop.on { color: var(--cocoa); background: rgba(255, 255, 255, .45); border-radius: 999px; padding: 2px 8px; }

/* 分享按钮（商品页 / 导购页） */
.p-share, .shop-share {
    display: inline-flex; align-items: center; gap: 7px; cursor: pointer;
    border: 1.5px dashed var(--rose); color: var(--rose-deep); background: var(--pink-soft);
    border-radius: 999px; padding: 9px 16px; font-size: 13px; font-weight: 600;
}
.p-share:hover, .shop-share:hover { background: var(--pink); color: var(--cocoa); transform: translateY(-1px); }
.p-share svg, .shop-share svg { flex: 0 0 auto; }
.p-share-line { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; }
.share-mini-tip { font-size: 11px; color: var(--cocoa-3); }

.share-sheet { position: fixed; inset: 0; z-index: 60; display: none; align-items: flex-end; justify-content: center; background: rgba(60, 40, 30, .42); backdrop-filter: blur(2px); }
.share-sheet.open { display: flex; }
.share-panel { width: 100%; max-width: 480px; background: var(--white); border-radius: 22px 22px 0 0; padding: 22px 20px 26px; box-shadow: 0 -12px 40px rgba(70, 45, 30, .22); animation: sheetUp .22s ease; }
@keyframes sheetUp { from { transform: translateY(24px); opacity: .6; } to { transform: none; opacity: 1; } }
.share-panel h3 { margin: 0 0 4px; font-size: 17px; color: var(--cocoa); }
.share-panel p { margin: 0 0 16px; font-size: 12.5px; line-height: 1.75; color: var(--cocoa-2); }
.share-wechat { display: flex; gap: 12px; align-items: center; background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; padding: 13px 14px; margin-bottom: 14px; }
.share-wechat .wc { width: 38px; height: 38px; border-radius: 50%; background: #3EB575; display: grid; place-items: center; color: #fff; flex: 0 0 auto; }
.share-wechat b { display: block; font-size: 13.5px; color: var(--cocoa); }
.share-wechat span { font-size: 12px; color: var(--cocoa-2); }
.share-link-row { display: flex; gap: 8px; }
.share-link-row input { flex: 1; min-width: 0; border: 1px solid var(--line); background: var(--bg); border-radius: 10px; padding: 10px 12px; font-size: 12px; color: var(--cocoa-2); }
.share-link-row .btn { white-space: nowrap; }
.share-close { border: 0; background: transparent; color: var(--cocoa-3); font-size: 12px; padding: 8px; cursor: pointer; display: block; margin: 6px auto 0; }
.share-native-wrap { margin-top: 10px; }
.share-native-wrap .btn { width: 100%; justify-content: center; }
.share-hint { margin-top: 10px; font-size: 11.5px; color: var(--cocoa-3); text-align: center; }
.share-mini-copy { border: 0; background: transparent; color: var(--rose-deep); font-size: 11.5px; text-decoration: underline; cursor: pointer; padding: 2px; }

/* 分享小卡片页 */
.share-body {
    min-height: 100vh; padding: 24px 16px 42px; display: flex; flex-direction: column;
    align-items: center; background-color: var(--bg); background-image: radial-gradient(var(--dot1) 1.5px, transparent 1.5px), radial-gradient(var(--dot2) 1.5px, transparent 1.5px);
    background-size: 34px 34px, 60px 60px; background-position: 0 0, 16px 22px;
}
.share-stage { width: 100%; max-width: 520px; }
.share-back { display: inline-block; margin: 0 0 14px 6px; font-size: 12.5px; color: var(--cocoa-2); text-decoration: none; }
.share-back:hover { color: var(--rose-deep); }
.share-card {
    position: relative; background: var(--white); border: 2px solid var(--line); border-radius: 26px;
    padding: 13px 13px 20px; box-shadow: 0 18px 44px rgba(120, 80, 50, .16);
}
.share-card::after { content: ""; position: absolute; inset: 9px; border: 1px dashed var(--line); border-radius: 20px; pointer-events: none; opacity: .75; }
.share-tape { position: absolute; width: 74px; height: 22px; background: rgba(255, 215, 142, .6); border-left: 1px dashed rgba(150, 110, 60, .35); border-right: 1px dashed rgba(150, 110, 60, .35); z-index: 2; }
.share-tape.t1 { left: -18px; top: 22px; transform: rotate(-24deg); }
.share-tape.t2 { right: -18px; bottom: 84px; transform: rotate(-20deg); background: rgba(255, 195, 213, .58); }
.share-stamp { position: absolute; right: 20px; top: 18px; z-index: 3; width: 42px; height: 42px; border-radius: 50%; background: var(--pink); color: #fff; display: grid; place-items: center; box-shadow: 0 4px 0 rgba(200, 120, 140, .25); transform: rotate(8deg); }
.share-photo { position: relative; border-radius: 18px; overflow: hidden; background: var(--bg-2); }
.share-photo img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.share-ribbon { position: absolute; left: 14px; top: 14px; background: var(--pink); color: var(--cocoa); font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 999px; box-shadow: 0 3px 0 rgba(0, 0, 0, .06); }
.share-info { padding: 22px 9px 0; position: relative; z-index: 1; }
.share-kicker { display: inline-flex; align-items: center; gap: 6px; font-size: 10.5px; letter-spacing: .14em; color: var(--rose-deep); font-weight: 700; }
.share-info h1 { margin: 8px 0 6px; font-size: 25px; line-height: 1.28; color: var(--cocoa); letter-spacing: .01em; }
.share-sub { margin: 0 0 12px; font-size: 13px; line-height: 1.7; color: var(--cocoa-2); }
.share-price { display: flex; align-items: baseline; gap: 8px; margin: 4px 0 14px; }
.share-price b { font-size: 28px; color: var(--rose-deep); font-family: Georgia, serif; }
.share-price s { font-size: 13px; color: var(--cocoa-3); }
.share-price span { margin-left: auto; font-size: 11px; color: var(--cocoa-2); background: var(--bg-2); border-radius: 999px; padding: 4px 10px; }
.share-note {
    margin: 0 0 18px; padding: 14px 15px; background: var(--cream); border: 1px dashed var(--line); border-radius: 14px;
    font-family: "Kaiti SC", "STKaiti", "KaiTi", serif; font-size: 14.5px; line-height: 1.85; color: var(--cocoa-2);
}
.share-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.share-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border-radius: 999px; padding: 13px 12px; font-size: 13.5px; font-weight: 700; text-decoration: none; }
.share-btn.main { background: var(--cocoa); color: var(--white); box-shadow: 0 6px 0 rgba(90, 60, 40, .16); }
.share-btn.ghost { background: var(--pink-soft); color: var(--rose-deep); border: 1.5px solid var(--pink); }
.share-shops { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-top: 16px; font-size: 11.5px; color: var(--cocoa-2); }
.share-shops a { text-decoration: none; border-radius: 999px; padding: 4px 10px; color: #fff; background: var(--pc, var(--rose)); font-size: 11.5px; }
.share-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 11.5px; color: var(--cocoa-3); }
.share-copy { border: 0; background: transparent; color: var(--rose-deep); font-size: 11.5px; cursor: pointer; text-decoration: underline; padding: 4px; }
.share-tip { margin: 18px auto 0; max-width: 460px; text-align: center; font-size: 11.5px; line-height: 1.8; color: var(--cocoa-3); }

@media (max-width: 420px) {
    .share-info h1 { font-size: 22px; }
    .share-actions { grid-template-columns: 1fr; }
}
