/* ==========================================================================
   寒山雪Studio · 产品介绍站样式
   主色取自工作室 logo：#353434（炭灰）+ #FFFFFF（纯白），辅以中性灰阶。
   前台页面不依赖任何 CSS 框架，纯手写，保证首屏速度与分享预览稳定。
   ========================================================================== */

:root {
    --ink: #353434;          /* 品牌主色（logo 底色） */
    --ink-deep: #232222;     /* 更深一档：页脚 / 暗色面板 */
    --ink-hover: #1e1d1d;
    --ink-soft: #55514f;
    --paper: #ffffff;        /* 卡片：纯白，浮在灰底上 */
    --bg: #e6e3e1;           /* 页面底色：浅灰，比 logo 炭灰浅得多，和白卡片拉开层次 */
    --bg-soft: #f4f2f0;      /* 卡片内的浅色块（图片区 / 小色块） */
    --line: #d8d4d1;         /* 外部分隔线：比底色略深 */
    --line-soft: #edebe9;    /* 卡片内部的细分隔线 */
    --text: #2c2b2b;
    --body: #4c4947;
    --muted: #7e7975;
    --muted-2: #a29c98;
    --ok: #2e6b4f;
    --presale: #9a6a1f;
    --radius: 16px;
    --radius-lg: 20px;
    --shadow-sm: 0 1px 2px rgba(35, 34, 34, .05);
    --shadow: 0 1px 2px rgba(35, 34, 34, .05), 0 12px 30px -16px rgba(35, 34, 34, .28);
    --shadow-lg: 0 2px 6px rgba(35, 34, 34, .06), 0 26px 50px -22px rgba(35, 34, 34, .38);
    --ease: cubic-bezier(.16, 1, .3, 1);
    --font: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Source Han Sans SC",
            "Noto Sans SC", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

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

body {
    margin: 0;
    font-family: var(--font);
    color: var(--body);
    background: var(--bg);
    line-height: 1.6;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------------- 页头 ---------------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    /* 顶栏底色设为纯正淡灰色 #dedad6，和 logo 背景(#353434)以及下方内容形成显著层次 */
    background: #dedad6;
    border-bottom: 1px solid #cfcac5;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.header-inner { display: flex; align-items: center; gap: 22px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { width: 36px; height: 34px; object-fit: contain; }
.brand-text {
    font-weight: 800; font-size: 17px; color: var(--ink);
    letter-spacing: .12em; white-space: nowrap;
}
.brand-text i {
    font-style: normal; font-weight: 300; font-size: 11px;
    color: var(--muted); letter-spacing: .22em; margin-left: 6px;
}

.cat-nav { display: flex; align-items: center; gap: 6px; flex: 1; overflow-x: auto; scrollbar-width: none; }
.cat-nav::-webkit-scrollbar { display: none; }
.chip {
    display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0;
    padding: 7px 14px; border-radius: 999px; font-size: 13.5px; color: var(--body);
    border: 1px solid transparent; transition: all .2s var(--ease); white-space: nowrap;
}
.chip:hover { background: rgba(255, 255, 255, .7); border-color: var(--line); }
.chip.is-active { background: var(--ink); color: #fff; font-weight: 700; box-shadow: var(--shadow-sm); }
.chip-n {
    font-size: 11px; color: var(--muted-2); font-variant-numeric: tabular-nums;
    background: rgba(0, 0, 0, .05); padding: 1px 6px; border-radius: 999px; min-width: 18px; text-align: center;
}
.chip.is-active .chip-n { background: rgba(255, 255, 255, .22); color: #fff; }

.header-links { display: flex; gap: 18px; flex-shrink: 0; font-size: 13px; color: var(--muted); }
.header-links a { transition: color .2s; }
.header-links a:hover { color: var(--ink); }

/* ---------------- 首页 Hero ---------------- */
main { padding-bottom: 72px; }

.hero {
    position: relative; overflow: hidden; margin: 28px 0 36px;
    border-radius: var(--radius-lg);
    background: linear-gradient(140deg, #3b3a3a 0%, #2b2a2a 46%, #1d1c1c 100%);
    color: #fff; padding: 46px 44px 40px;
    box-shadow: var(--shadow-lg);
}
.hero-glow {
    position: absolute; inset: -40% -10% auto auto; width: 620px; height: 620px;
    background: radial-gradient(circle at 60% 40%, rgba(255, 255, 255, .13), transparent 62%);
    pointer-events: none;
}
.hero::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .18), transparent);
}
.hero-inner { position: relative; }
.hero-copy { max-width: 660px; }
/* 右侧品牌水印：描边大字，作为横幅右侧的视觉重心 */
.hero-mark {
    position: absolute; right: 40px; top: 50%; transform: translateY(-50%);
    font-size: 112px; font-weight: 800; letter-spacing: .1em; line-height: 1;
    color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .12);
    pointer-events: none; user-select: none; white-space: nowrap;
}
.hero-eyebrow {
    font-size: 11px; letter-spacing: .34em; color: rgba(255, 255, 255, .5);
    text-transform: uppercase; margin-bottom: 18px;
}
.hero-eyebrow::before {
    content: ""; display: inline-block; width: 26px; height: 1px;
    background: rgba(255, 255, 255, .38); vertical-align: middle; margin-right: 12px;
}
.hero-title {
    margin: 0 0 14px; font-size: 46px; line-height: 1.1; font-weight: 800; letter-spacing: .06em;
}
.hero-title span {
    display: inline-block; font-weight: 200; font-size: 20px; letter-spacing: .32em;
    color: rgba(255, 255, 255, .55); margin-left: 14px; vertical-align: middle;
}
.hero-sub { margin: 0; max-width: 620px; color: rgba(255, 255, 255, .76); font-size: 15px; letter-spacing: .02em; }

/* ---------------- 列表标题 ---------------- */
.list-head { display: flex; align-items: baseline; justify-content: space-between; margin: 0 0 20px; }
.list-title { margin: 0; font-size: 22px; font-weight: 800; color: var(--ink); letter-spacing: .04em; }
.list-count { margin-left: 12px; font-size: 13px; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.tool-tip { font-size: 12px; color: var(--muted-2); }

/* ---------------- 产品网格 ---------------- */
.grid {
    display: grid; gap: 22px;
    grid-template-columns: repeat(auto-fill, minmax(258px, 1fr));
}
.card {
    display: flex; flex-direction: column; background: var(--paper);
    border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #dcd7d4; }
.card-media {
    position: relative; display: block; aspect-ratio: 4 / 3; background: var(--bg-soft);
    border-bottom: 1px solid var(--line-soft); overflow: hidden;
}
.card-media img { width: 100%; height: 100%; object-fit: contain; transition: transform .55s var(--ease); }
.card:hover .card-media img { transform: scale(1.045); }
.card-noimg {
    width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
    color: var(--muted-2); font-size: 12px; letter-spacing: .2em;
    background: repeating-linear-gradient(45deg, #f5f3f1, #f5f3f1 10px, #eeecea 10px, #eeecea 20px);
}
.card-noimg.big { aspect-ratio: 4 / 3; border-radius: var(--radius); }

.badge {
    position: absolute; top: 12px; left: 12px; z-index: 2;
    padding: 4px 11px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .1em;
    background: rgba(255, 255, 255, .93); backdrop-filter: blur(6px);
    border: 1px solid rgba(0, 0, 0, .05); color: var(--ink); box-shadow: var(--shadow-sm);
}
.badge.st-onsale { color: var(--ok); }
.badge.st-presale { color: var(--presale); }
.badge.st-soldout { color: var(--muted); }

.card-body { display: flex; flex-direction: column; gap: 7px; padding: 16px 18px 18px; flex: 1; }
.card-cat { font-size: 11px; letter-spacing: .2em; color: var(--muted-2); }
.card-title { margin: 0; font-size: 17px; font-weight: 700; color: var(--ink); letter-spacing: .01em; line-height: 1.35; }
.card-title a:hover { color: #000; }
.card-sub {
    margin: 0; font-size: 13px; color: var(--muted);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card-foot {
    display: flex; align-items: center; justify-content: space-between;
    margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line-soft);
}
.price { font-size: 17px; font-weight: 800; color: var(--ink); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.price em { font-style: normal; font-size: 11px; font-weight: 500; color: var(--muted); margin-left: 3px; letter-spacing: 0; }
.card-more { font-size: 12px; color: var(--muted-2); transition: color .2s, transform .2s var(--ease); }
.card:hover .card-more { color: var(--ink); transform: translateX(3px); }

/* 标签 */
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
    font-size: 11px; color: var(--ink-soft); background: var(--bg-soft);
    border: 1px solid var(--line); padding: 2.5px 9px; border-radius: 6px; letter-spacing: .02em;
}
.tags-card { margin-top: 2px; }
.tags-detail .tag { padding: 4px 11px; font-size: 12px; }

/* ---------------- 主站首页 ---------------- */
.home-block { margin-bottom: 48px; }

.entry-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(264px, 1fr)); }
.entry-card {
    display: flex; flex-direction: column; gap: 10px; padding: 24px 22px;
    background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.entry-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #dcd7d4; }
.entry-icon {
    width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background: var(--ink); color: #fff; margin-bottom: 4px;
}
.entry-title { font-size: 17px; font-weight: 800; color: var(--ink); letter-spacing: .02em; }
.entry-desc { font-size: 13px; color: var(--muted); line-height: 1.7; }
.entry-go { margin-top: auto; padding-top: 10px; font-size: 12.5px; color: var(--muted-2); transition: color .2s, transform .2s var(--ease); }
.entry-card:hover .entry-go { color: var(--ink); transform: translateX(3px); }

.team-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(232px, 1fr)); }
.team-card {
    display: flex; align-items: center; gap: 14px; padding: 18px 20px;
    background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
    transition: box-shadow .3s var(--ease), border-color .3s;
}
.team-card:hover { box-shadow: var(--shadow); border-color: #dcd7d4; }
.team-avatar {
    width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background: var(--ink); color: #fff; font-size: 17px; font-weight: 700;
    border: 1px solid var(--line-soft);
}
/* 上传的头像：前端已裁成正方形，这里填满圆形不拉伸 */
img.team-avatar { object-fit: cover; object-position: center; background: var(--bg-soft); border-color: var(--line); }
.team-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.team-role { font-size: 11px; letter-spacing: .16em; color: var(--muted-2); }
.team-name { font-size: 15.5px; font-weight: 700; color: var(--ink); letter-spacing: .01em; }

/* ---------------- 非卖品（展示品）：画册式详情 ---------------- */
.nfs-badge {
    display: inline-flex; align-items: center; font-size: 11px; font-weight: 700;
    letter-spacing: .12em; color: var(--ink); background: var(--bg-soft);
    border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; white-space: nowrap;
}
.badge.st-nfs { color: var(--ink); }
.nfs-price { font-size: 13.5px; font-weight: 600; color: var(--muted); letter-spacing: .02em; }

.show-head { margin: 4px 0 32px; max-width: 780px; }
.show-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.show-title { margin: 0 0 10px; font-size: 40px; line-height: 1.15; font-weight: 800; color: var(--ink); letter-spacing: .02em; }
.show-sub { margin: 0 0 14px; font-size: 15px; color: var(--muted); }

.show-intro, .show-spec { margin-bottom: 42px; }
.show-intro .desc-text { max-width: 920px; }
.show-spec .spec-block { max-width: 920px; }

/* 大图流水：全宽堆叠，圆角卡片，纯展示 */
.show-gallery { display: flex; flex-direction: column; gap: 22px; margin-bottom: 52px; }
.show-figure {
    margin: 0; background: var(--paper); border: 1px solid var(--line);
    border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm);
}
.show-figure img { width: 100%; height: auto; display: block; }

/* ---------------- 空状态 ---------------- */
.empty {
    grid-column: 1 / -1; text-align: center; padding: 70px 20px; background: var(--paper);
    border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted);
}
.empty.tall { margin-top: 40px; padding: 110px 20px; }
.empty-icon { font-size: 34px; color: var(--line); margin-bottom: 12px; }
.empty-sub { font-size: 13px; color: var(--muted-2); margin-top: 6px; }
.link-underline { color: var(--ink); border-bottom: 1px solid var(--ink); padding-bottom: 1px; }

/* ---------------- 详情页 ---------------- */
.crumb {
    display: flex; align-items: center; gap: 9px; flex-wrap: wrap;
    margin: 24px 0 22px; font-size: 12.5px; color: var(--muted);
}
.crumb a:hover { color: var(--ink); }
.crumb span { color: var(--muted-2); }
.crumb b { color: var(--ink); font-weight: 600; }

.detail-grid {
    display: grid; gap: 24px 42px; align-items: start;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
    /* 左栏：图集 + 参数表；右栏：选购区（跨两行） */
    grid-template-areas: "gallery buy" "specs buy";
}
.gallery { grid-area: gallery; }
.buybox { grid-area: buy; }
.spec-block { grid-area: specs; }

.gallery-main {
    position: relative; aspect-ratio: 4 / 3; background: var(--paper);
    border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm);
}
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.thumb {
    width: 76px; height: 76px; padding: 0; border: 1px solid var(--line); border-radius: 10px;
    background: var(--paper); overflow: hidden; cursor: pointer; transition: all .2s var(--ease);
}
.thumb img { width: 100%; height: 100%; object-fit: contain; }
.thumb:hover { border-color: var(--muted-2); transform: translateY(-2px); }
.thumb.is-active { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }

.buybox {
    grid-area: buy; position: sticky; top: 88px;
    display: flex; flex-direction: column; gap: 20px;
    background: var(--paper); border: 1px solid var(--line);
    border-radius: var(--radius-lg); padding: 26px 26px 22px; box-shadow: var(--shadow);
}
.buybox-head { display: flex; flex-direction: column; gap: 8px; }
.detail-title { margin: 0; font-size: 30px; line-height: 1.2; font-weight: 800; color: var(--ink); letter-spacing: .02em; }
.detail-sub { margin: 0; font-size: 14px; color: var(--muted); }

.price-panel {
    background: linear-gradient(180deg, #f8f6f4, #f1efed);
    border: 1px solid var(--line-soft); border-radius: 14px; padding: 16px 18px;
}
.price-label { font-size: 12px; color: var(--muted); letter-spacing: .08em; margin-bottom: 6px; }
.price-now {
    font-size: 32px; font-weight: 800; color: var(--ink); letter-spacing: -.02em;
    font-variant-numeric: tabular-nums; line-height: 1.1;
}
.price-now em { font-style: normal; font-size: 13px; font-weight: 500; color: var(--muted); margin-left: 6px; }

.opt-block, .qty-row { display: flex; flex-direction: column; gap: 10px; }
.opt-label { font-size: 12.5px; color: var(--muted); letter-spacing: .06em; }
.opt-picked { color: var(--ink); font-weight: 700; letter-spacing: 0; margin-left: 4px; }
.opt-values { display: flex; flex-wrap: wrap; gap: 9px; }
.opt-chip {
    padding: 9px 16px; border: 1px solid var(--line); background: var(--paper); color: var(--body);
    border-radius: 10px; font-size: 13.5px; cursor: pointer; transition: all .18s var(--ease);
}
.opt-chip:hover { border-color: #cbc6c3; background: var(--bg-soft); }
.opt-chip.is-active {
    border-color: var(--ink); background: #f2f0ef; color: var(--ink);
    font-weight: 700; box-shadow: inset 0 0 0 1px var(--ink);
}
.opt-chip.is-off { color: var(--muted-2); background: var(--bg-soft); text-decoration: line-through; cursor: not-allowed; }

.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; width: fit-content; background: var(--paper); }
.qty button {
    width: 40px; height: 38px; border: 0; background: transparent; font-size: 16px; color: var(--body);
    cursor: pointer; transition: background .18s;
}
.qty button:hover { background: var(--bg-soft); color: var(--ink); }
.qty input {
    width: 52px; height: 38px; border: 0; border-left: 1px solid var(--line); border-right: 1px solid var(--line);
    text-align: center; font-size: 14px; font-weight: 700; color: var(--ink); background: transparent;
    font-family: inherit;
}

.cta { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.btn-primary {
    width: 100%; border: 0; border-radius: 13px; padding: 15px 18px; cursor: pointer;
    background: var(--ink); color: #fff; font-size: 15px; font-weight: 700; letter-spacing: .1em;
    transition: all .22s var(--ease); box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--ink-hover); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-primary:active { transform: translateY(0) scale(.995); }
.btn-ghost {
    display: inline-flex; align-items: center; justify-content: center; padding: 15px 20px;
    border: 1px solid var(--line); border-radius: 13px; background: var(--paper);
    color: var(--ink); font-size: 14px; font-weight: 600; white-space: nowrap; transition: all .2s var(--ease);
}
.btn-ghost:hover { border-color: var(--ink); background: var(--bg-soft); }
.cta-tip { margin: -8px 0 0; font-size: 12px; color: var(--muted-2); }

.spec-block {
    background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 20px 22px; margin-top: 4px;
}
.spec-title { font-size: 13px; font-weight: 700; color: var(--ink); letter-spacing: .1em; margin-bottom: 10px; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.spec-table th {
    width: 108px; text-align: left; font-weight: 500; color: var(--muted);
    padding: 8px 12px 8px 0; vertical-align: top; border-bottom: 1px solid var(--line-soft);
}
.spec-table td { padding: 8px 0; color: var(--text); border-bottom: 1px solid var(--line-soft); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }

.block-title {
    font-size: 17px; font-weight: 800; color: var(--ink); letter-spacing: .08em;
    margin: 0 0 16px; padding-left: 12px; border-left: 3px solid var(--ink);
}
.desc-block, .related { margin-top: 56px; }
.desc-text {
    background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 26px 28px; font-size: 14.5px; line-height: 1.95; color: var(--body); white-space: normal;
}

/* 购买咨询块 */
.contact-block {
    margin-top: 56px; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    gap: 30px; align-items: center; padding: 30px 34px; border-radius: var(--radius-lg);
    background: linear-gradient(140deg, #3b3a3a 0%, #2a2929 60%, #1d1c1c 100%);
    color: #fff; box-shadow: var(--shadow-lg);
}
.contact-block .block-title { color: #fff; border-left-color: rgba(255, 255, 255, .5); }
.contact-tip { margin: 0 0 8px; font-size: 14px; color: rgba(255, 255, 255, .78); }
.contact-tip.muted { color: rgba(255, 255, 255, .45); font-size: 13px; }
/* 群卡片自适应两列：4 个群时排成 2×2，不再把整块撑得很高 */
.contact-right { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(196px, 1fr)); }
.group-card {
    display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; cursor: pointer;
    background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 12px; padding: 12px 14px; color: #fff; transition: all .22s var(--ease);
}
.group-card:hover { background: rgba(255, 255, 255, .13); border-color: rgba(255, 255, 255, .28); transform: translateY(-1px); }
.group-card.big { padding: 13px 15px; }
.group-name { font-size: 12px; color: rgba(255, 255, 255, .6); letter-spacing: .08em; min-width: 32px; white-space: nowrap; }
.group-no { font-size: 17px; font-weight: 700; letter-spacing: .02em; font-variant-numeric: tabular-nums; flex: 1; white-space: nowrap; }
.group-copy { font-size: 10.5px; color: rgba(255, 255, 255, .5); border: 1px solid rgba(255, 255, 255, .18); padding: 2px 8px; border-radius: 999px; white-space: nowrap; flex-shrink: 0; }

/* ---------------- 页脚 ---------------- */
.site-footer { background: var(--ink-deep); color: rgba(255, 255, 255, .72); margin-top: auto; }
.footer-inner {
    display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between;
    max-width: 900px; margin: 0 auto; padding: 26px 20px 20px;
}
.footer-brand { display: flex; gap: 12px; align-items: center; }
.footer-brand img { width: 34px; height: 32px; object-fit: contain; opacity: .95; }
.footer-name { font-weight: 800; color: #fff; letter-spacing: .12em; font-size: 15px; }
.footer-name i { font-style: normal; font-weight: 200; font-size: 10px; letter-spacing: .22em; color: rgba(255, 255, 255, .5); margin-left: 5px; }
.footer-slogan { font-size: 12px; color: rgba(255, 255, 255, .55); margin-top: 2px; }
.footer-label { font-size: 11px; letter-spacing: .15em; color: rgba(255, 255, 255, .4); margin-bottom: 6px; }
/* 两列网格：2 个群一行排开，4 个群排成整齐的 2×2 */
.group-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.group-list .group-card { width: auto; padding: 6px 11px; gap: 6px; background: rgba(255, 255, 255, .06); border-radius: 10px; border: 1px solid rgba(255, 255, 255, .1); }
.group-list .group-name { font-size: 11px; min-width: 28px; letter-spacing: .04em; }
.group-list .group-no { font-size: 13px; letter-spacing: .01em; }
.footer-links { display: flex; gap: 16px; font-size: 12.5px; align-items: center; }
.footer-links a { color: rgba(255, 255, 255, .6); transition: color .2s; }
.footer-links a:hover { color: #fff; }
.footer-bottom {
    display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
    max-width: 900px; margin: 0 auto; padding: 12px 20px 16px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    font-size: 11.5px; color: rgba(255, 255, 255, .38);
}
.footer-admin a { color: rgba(255, 255, 255, .38); }
.footer-admin a:hover { color: rgba(255, 255, 255, .8); }

/* ---------------- 轻提示（复制成功等） ---------------- */
.toast {
    position: fixed; left: 50%; bottom: 40px; transform: translate(-50%, 16px);
    background: var(--ink); color: #fff; padding: 11px 20px; border-radius: 999px;
    font-size: 13.5px; letter-spacing: .04em; box-shadow: var(--shadow-lg);
    opacity: 0; pointer-events: none; transition: all .28s var(--ease); z-index: 999;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1280px) {
    .hero-mark { font-size: 92px; right: 28px; }
}
@media (max-width: 1024px) {
    .detail-grid { grid-template-columns: 1fr; gap: 26px; grid-template-areas: "gallery" "buy" "specs"; }
    .buybox { position: static; }
    .contact-block { grid-template-columns: 1fr; gap: 22px; padding: 28px; }
    .hero-mark { display: none; }   /* 窄屏让位给"产品数量"卡片，避免互相压字 */
}
@media (max-width: 860px) {
    .header-inner { height: auto; padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap; gap: 12px; }
    /* flex:0 0 100% 才能真正换行（基础样式的 flex:1 会把 flex-basis 压成 0，导致分类胶囊挤在标题行） */
    .cat-nav { order: 3; flex: 0 0 100%; width: auto; }
    .header-links { margin-left: auto; }
    .hero-mark { display: none; }
    .hero { padding: 34px 26px 30px; }
    .hero-title { font-size: 34px; }
    .hero-title span { display: block; margin: 8px 0 0; }
    .buybox { padding: 20px 18px 18px; }
    .show-title { font-size: 28px; }
    .show-gallery { gap: 14px; margin-bottom: 36px; }
    .show-intro, .show-spec { margin-bottom: 30px; }
    .detail-title { font-size: 25px; }
    .price-now { font-size: 27px; }
    .cta { grid-template-columns: 1fr; }
    .footer-inner { padding: 32px 20px 24px; }
}
@media (max-width: 560px) {
    .wrap { padding: 0 16px; }
    .grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
    .card-body { padding: 13px 14px 15px; }
    .card-title { font-size: 15px; }
    .price { font-size: 15.5px; line-height: 1.3; }
    .card-more { display: none; }        /* 手机上卡片本身就是可点的，省掉这行提示，避免价格被挤换行 */
    .card-foot { padding-top: 10px; }
    .thumb { width: 62px; height: 62px; }
    .desc-text { padding: 20px; }
    .list-head { flex-direction: column; gap: 6px; }
}
