/* ==========================================================================
   云擎支付 · 商城前台主题（九五云商风格）
   仅被 layouts/public.php 引用，不影响后台 / 商户中心
   ========================================================================== */

.sk-body {
    --sk-primary: #ef4444;
    --sk-primary-hover: #dc2626;
    --sk-primary-active: #b91c1c;
    --sk-soft: #fff8f8;
    --sk-soft-border: #fecaca;
    --sk-bg: #f8fafc;
    --sk-surface: #ffffff;
    --sk-ink: #1f2937;
    --sk-sub: #6b7280;
    --sk-line: #eceff3;
    --sk-green: #34c38f;
    --sk-amber: #f59e0b;
    --sk-radius: 16px;
    --sk-radius-sm: 10px;
    --sk-shadow: 0 6px 18px rgba(15, 34, 58, .045);
    --sk-shadow-hover: 0 0 0 3px rgba(239, 68, 68, .12), 0 12px 26px rgba(239, 68, 68, .16);
    background: var(--sk-bg);
    color: var(--sk-ink);
    font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, sans-serif;
    font-size: 14px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

.sk-body a { color: inherit; text-decoration: none; }
.sk-body img { max-width: 100%; display: block; }
.sk-body h1, .sk-body h2, .sk-body h3, .sk-body h4 { margin: 0; font-weight: 700; color: #111827; }
.sk-body p { margin: 0; }
.sk-body ul { margin: 0; padding: 0; list-style: none; }

.sk-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.sk-muted { color: var(--sk-sub); }
.sk-small { font-size: 12px; }
.sk-nowrap { white-space: nowrap; }
.sk-hide { display: none !important; }

/* ---------------- 顶栏 ---------------- */
.sk-top {
    position: sticky; top: 0; z-index: 90;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--sk-line);
}
.sk-top-in {
    display: flex; align-items: center; gap: 18px;
    height: 64px;
}
.sk-logo { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.sk-logo-mark {
    width: 38px; height: 38px; border-radius: 11px;
    background: linear-gradient(135deg, #ff7a5c, #ef4444 60%, #dc2626);
    display: grid; place-items: center; color: #fff;
    box-shadow: 0 6px 16px rgba(239, 68, 68, .28);
}
.sk-logo-mark svg { width: 21px; height: 21px; }
.sk-logo-mark img { width: 22px; height: 22px; object-fit: contain; border-radius: 5px; }
.sk-logo-txt { display: flex; flex-direction: column; line-height: 1.15; }
.sk-logo-txt strong { font-size: 16px; letter-spacing: -.2px; color: #111827; }
.sk-logo-txt span { font-size: 10px; color: #9ca3af; letter-spacing: 1.4px; text-transform: uppercase; }

.sk-cert {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: 11px; font-weight: 700; color: #16a34a;
    background: #ecfdf5; border: 1px solid #bbf7d0;
    border-radius: 999px; padding: 3px 9px; flex: 0 0 auto;
}
.sk-cert i { width: 5px; height: 5px; border-radius: 50%; background: #16a34a; }

.sk-nav { display: flex; align-items: center; gap: 4px; margin-left: 6px; flex: 1; min-width: 0; }
.sk-nav a {
    padding: 7px 12px; border-radius: 9px; font-size: 13px; color: #4b5563;
    white-space: nowrap; transition: .16s;
}
.sk-nav a:hover { background: var(--sk-soft); color: var(--sk-primary); }
.sk-nav a.on { color: var(--sk-primary); font-weight: 700; background: var(--sk-soft); }

.sk-top-act { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.sk-ghost-btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 7px 13px; border-radius: 9px; font-size: 12.5px;
    border: 1px solid var(--sk-line); background: #fff; color: #374151;
    cursor: pointer; transition: .16s; white-space: nowrap;
}
.sk-ghost-btn:hover { border-color: var(--sk-soft-border); color: var(--sk-primary); background: var(--sk-soft); }
.sk-main-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    padding: 8px 16px; border-radius: 9px; font-size: 12.5px; font-weight: 700;
    border: 0; cursor: pointer; color: #fff;
    background: linear-gradient(135deg, #f87171, #ef4444 55%, #dc2626);
    box-shadow: 0 6px 16px rgba(239, 68, 68, .24);
    transition: .16s; white-space: nowrap;
}
.sk-main-btn:hover { color: #fff; filter: brightness(1.05); transform: translateY(-1px); }
.sk-main-btn:active { transform: none; }
.sk-main-btn.lg { padding: 12px 24px; font-size: 14px; border-radius: 11px; }
.sk-main-btn.block { width: 100%; }

/* ---------------- 首页 Hero ---------------- */
.sk-hero {
    position: relative; overflow: hidden;
    background:
        radial-gradient(760px 340px at 88% -10%, rgba(239, 68, 68, .16), transparent 62%),
        radial-gradient(560px 300px at 6% 110%, rgba(251, 146, 60, .14), transparent 60%),
        linear-gradient(180deg, #fff6f5, #fff 72%);
    border-bottom: 1px solid #fdeceb;
}
.sk-hero-in {
    display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    gap: 40px; align-items: center;
    padding: 62px 0 54px;
}
.sk-eyebrow {
    display: inline-flex; align-items: center; gap: 7px;
    font-size: 12px; font-weight: 700; color: var(--sk-primary);
    background: #fff; border: 1px solid var(--sk-soft-border);
    padding: 5px 12px; border-radius: 999px;
    box-shadow: 0 2px 8px rgba(239, 68, 68, .08);
}
.sk-hero h1 {
    margin: 18px 0 14px;
    font-size: clamp(30px, 4.2vw, 46px);
    line-height: 1.18; letter-spacing: -1.4px; color: #0f172a;
}
.sk-hero h1 em {
    font-style: normal;
    background: linear-gradient(120deg, #ef4444, #f97316);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.sk-hero-sub { max-width: 560px; color: var(--sk-sub); font-size: 14.5px; line-height: 1.9; }
.sk-hero-act { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.sk-hero-stats {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.sk-stat {
    background: #fff; border: 1px solid var(--sk-line); border-radius: 14px;
    padding: 16px 18px; box-shadow: var(--sk-shadow);
}
.sk-stat b { display: block; font-size: 26px; letter-spacing: -.8px; color: #0f172a; line-height: 1.2; }
.sk-stat span { font-size: 12px; color: var(--sk-sub); }
.sk-stat i {
    display: inline-grid; place-items: center;
    width: 26px; height: 26px; border-radius: 8px; margin-bottom: 8px;
    background: var(--sk-soft); color: var(--sk-primary); font-style: normal;
}
.sk-stat i svg { width: 15px; height: 15px; }

/* ---------------- 区块 ---------------- */
.sk-sec { padding: 52px 0; }
.sk-sec.tight { padding: 34px 0; }
.sk-sec-h { text-align: center; margin-bottom: 30px; }
.sk-sec-h.left { text-align: left; }
.sk-sec-h h2 { font-size: clamp(22px, 2.6vw, 30px); letter-spacing: -.8px; }
.sk-sec-h p { margin-top: 9px; color: var(--sk-sub); font-size: 13.5px; }

/* 带红竖线的标题（九五云商式） */
.sk-title { display: flex; align-items: center; gap: 9px; margin-bottom: 14px; }
.sk-title::before { content: ""; width: 4px; height: 17px; border-radius: 3px; background: var(--sk-primary); }
.sk-title h2, .sk-title h3 { font-size: 17px; letter-spacing: -.3px; }
.sk-title small { color: var(--sk-sub); font-weight: 400; font-size: 12px; }

/* 优势卡片 */
.sk-feat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.sk-feat {
    background: #fff; border: 1px solid var(--sk-line); border-radius: var(--sk-radius);
    padding: 24px 22px; box-shadow: var(--sk-shadow); transition: .2s;
}
.sk-feat:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(15, 34, 58, .09); border-color: var(--sk-soft-border); }
.sk-feat-ic {
    width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
    background: linear-gradient(135deg, #fff1f0, #ffe4e1); color: var(--sk-primary); margin-bottom: 14px;
}
.sk-feat-ic svg { width: 21px; height: 21px; }
.sk-feat h3 { font-size: 15.5px; margin-bottom: 7px; }
.sk-feat p { color: var(--sk-sub); font-size: 13px; line-height: 1.85; }
.sk-feat-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.sk-feat-tags span { font-size: 11px; color: var(--sk-primary); background: var(--sk-soft); border-radius: 6px; padding: 2px 7px; }

/* 分类矩阵 */
.sk-cat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.sk-cat {
    display: flex; align-items: center; gap: 13px;
    background: #fff; border: 1px solid var(--sk-line); border-radius: 14px;
    padding: 16px 18px; box-shadow: var(--sk-shadow); transition: .18s;
}
.sk-cat:hover { border-color: var(--sk-soft-border); background: var(--sk-soft); transform: translateY(-2px); }
.sk-cat-ic {
    width: 40px; height: 40px; border-radius: 11px; flex: 0 0 auto;
    display: grid; place-items: center; font-size: 18px;
    background: linear-gradient(135deg, #fff1f0, #ffe4e1);
}
.sk-cat b { display: block; font-size: 14px; color: #111827; }
.sk-cat span { font-size: 11.5px; color: var(--sk-sub); }
.sk-cat em { margin-left: auto; font-style: normal; font-size: 11px; color: var(--sk-primary); background: var(--sk-soft); border-radius: 999px; padding: 3px 9px; white-space: nowrap; }

/* 流程 */
.sk-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.sk-step { background: #fff; border: 1px solid var(--sk-line); border-radius: 14px; padding: 20px; position: relative; }
.sk-step b { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--sk-primary); color: #fff; font-size: 12px; margin-bottom: 11px; }
.sk-step h3 { font-size: 14px; margin-bottom: 5px; }
.sk-step p { font-size: 12.5px; color: var(--sk-sub); }

/* CTA 带 */
.sk-cta {
    border-radius: 22px; padding: 40px 34px; color: #fff;
    display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
    background:
        radial-gradient(500px 200px at 92% 6%, rgba(255, 255, 255, .26), transparent 62%),
        linear-gradient(120deg, #f87171, #ef4444 45%, #dc2626);
    box-shadow: 0 20px 46px rgba(239, 68, 68, .26);
}
.sk-cta h2 { color: #fff; font-size: clamp(20px, 2.4vw, 26px); letter-spacing: -.6px; }
.sk-cta p { color: rgba(255, 255, 255, .86); font-size: 13px; margin-top: 7px; }
.sk-cta .sk-main-btn { background: #fff; color: var(--sk-primary); box-shadow: 0 10px 24px rgba(0, 0, 0, .12); }
.sk-cta .sk-ghost-btn { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .4); color: #fff; }
.sk-cta .sk-ghost-btn:hover { background: rgba(255, 255, 255, .24); color: #fff; }

/* ---------------- 商品卡 ---------------- */
.sk-prod-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.sk-prod {
    display: flex; flex-direction: column; background: #fff;
    border: 1px solid var(--sk-line); border-radius: 14px;
    overflow: hidden; box-shadow: var(--sk-shadow); transition: .18s;
}
.sk-prod:hover { transform: translateY(-3px); border-color: var(--sk-soft-border); box-shadow: var(--sk-shadow-hover); }
.sk-prod-cover {
    position: relative; aspect-ratio: 1 / 1; overflow: hidden;
    background: linear-gradient(135deg, #fff6f5, #f3f6fb);
    display: grid; place-items: center;
}
.sk-prod-cover img { width: 100%; height: 100%; object-fit: cover; }
.sk-prod-cover .ph { font-size: 40px; font-weight: 800; color: var(--sk-primary); opacity: .35; }
.sk-prod-tag {
    position: absolute; left: 9px; top: 9px;
    font-size: 10.5px; font-weight: 700; color: #fff;
    background: rgba(17, 24, 39, .72); border-radius: 6px; padding: 3px 7px;
    backdrop-filter: blur(4px);
}
.sk-prod-tag.hot { background: linear-gradient(135deg, #f97316, #ef4444); }
.sk-prod-body { padding: 12px 13px 13px; display: flex; flex-direction: column; flex: 1; }
.sk-prod-name {
    font-size: 13.5px; font-weight: 700; color: #111827; line-height: 1.5;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    min-height: 40px;
}
.sk-prod-meta { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.sk-prod-meta span {
    font-size: 10.5px; border-radius: 5px; padding: 2px 6px;
    background: #f3f4f6; color: #6b7280;
}
.sk-prod-meta span.ok { background: #ecfdf5; color: #16a34a; }
.sk-prod-meta span.warn { background: #fffbeb; color: #d97706; }
.sk-prod-foot { margin-top: 11px; display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; }
.sk-price { color: var(--sk-primary); font-weight: 800; letter-spacing: -.5px; line-height: 1; }
.sk-price b { font-size: 19px; }
.sk-price small { font-size: 11px; font-weight: 600; margin-left: 1px; }
.sk-price s { color: #c0c6d0; font-size: 11px; margin-left: 5px; font-weight: 400; }
.sk-prod-sale { font-size: 11px; color: #9ca3af; white-space: nowrap; }

/* ---------------- 列表页 ---------------- */
.sk-list-hero {
    background: linear-gradient(180deg, #fff6f5, #fff);
    border-bottom: 1px solid #fdeceb;
    padding: 26px 0 22px;
}
.sk-hot-strip { margin-bottom: 22px; }
.sk-hot-row { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.sk-hot-card {
    flex: 0 0 236px; background: #fff; border: 1px solid var(--sk-line);
    border-radius: 13px; padding: 13px 14px; box-shadow: var(--sk-shadow); transition: .18s;
}
.sk-hot-card:hover { border-color: var(--sk-soft-border); background: var(--sk-soft); }
.sk-hot-card > b { display: block; font-size: 13px; line-height: 1.5; min-height: 39px; }
.sk-hot-card .sk-price b { font-size: 17px; display: inline; min-height: 0; line-height: 1; }
.sk-hot-card .chips { display: flex; gap: 5px; margin-top: 8px; }
.sk-hot-card .chips span { font-size: 10.5px; border-radius: 5px; padding: 2px 6px; background: #ecfdf5; color: #16a34a; }

.sk-search { display: flex; gap: 8px; max-width: 620px; }
.sk-search input {
    flex: 1; min-width: 0; height: 42px; padding: 0 14px;
    border: 1px solid var(--sk-line); border-radius: 10px; background: #fff;
    font-size: 13px; outline: 0; transition: .16s; color: var(--sk-ink);
}
.sk-search input:focus { border-color: var(--sk-soft-border); box-shadow: 0 0 0 3px rgba(239, 68, 68, .08); }
.sk-search button {
    height: 42px; padding: 0 22px; border: 0; border-radius: 10px; cursor: pointer;
    color: #fff; font-size: 13px; font-weight: 700;
    background: linear-gradient(135deg, #f87171, #ef4444);
    box-shadow: 0 6px 16px rgba(239, 68, 68, .22);
}
.sk-search button:hover { filter: brightness(1.05); }

.sk-layout { display: grid; grid-template-columns: 218px minmax(0, 1fr); gap: 20px; align-items: start; padding: 24px 0 40px; }
.sk-side { background: #fff; border: 1px solid var(--sk-line); border-radius: 14px; overflow: hidden; box-shadow: var(--sk-shadow); position: sticky; top: 80px; }
.sk-side-head { padding: 14px 16px 9px; font-size: 12px; font-weight: 700; color: #111827; letter-spacing: .2px; }
.sk-side a {
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
    padding: 10px 16px; font-size: 12.5px; color: #4b5563;
    border-left: 3px solid transparent; transition: .14s;
}
.sk-side a:hover { background: var(--sk-soft); color: var(--sk-primary); }
.sk-side a.on { background: var(--sk-soft); color: var(--sk-primary); border-left-color: var(--sk-primary); font-weight: 700; }
.sk-side a em { font-style: normal; font-size: 11px; color: #9ca3af; }
.sk-side a.on em { color: var(--sk-primary); }
.sk-side-foot { padding: 12px 16px; border-top: 1px solid var(--sk-line); font-size: 11.5px; color: var(--sk-sub); line-height: 1.9; }
.sk-side-foot a { display: block; padding: 0; border: 0; color: var(--sk-primary); font-size: 11.5px; }

.sk-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.sk-bar h1 { font-size: 19px; letter-spacing: -.4px; }
.sk-bar p { font-size: 12px; color: var(--sk-sub); margin-top: 3px; }
.sk-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.sk-chips a, .sk-chips span {
    font-size: 12px; padding: 5px 12px; border-radius: 999px;
    border: 1px solid var(--sk-line); background: #fff; color: #4b5563;
}
.sk-chips a:hover { border-color: var(--sk-soft-border); color: var(--sk-primary); }
.sk-chips a.on { background: var(--sk-primary); border-color: var(--sk-primary); color: #fff; font-weight: 700; }

.sk-empty {
    background: #fff; border: 1px dashed #e3e8ef; border-radius: 16px;
    padding: 56px 20px; text-align: center; color: var(--sk-sub); font-size: 13px;
}
.sk-empty b { display: block; font-size: 15px; color: #374151; margin-bottom: 6px; }

/* 分页 */
.sk-pager { display: flex; justify-content: center; gap: 6px; margin-top: 26px; flex-wrap: wrap; }
.sk-pager a, .sk-pager span {
    min-width: 34px; height: 34px; padding: 0 10px; border-radius: 9px;
    display: inline-grid; place-items: center; font-size: 12.5px;
    border: 1px solid var(--sk-line); background: #fff; color: #4b5563;
}
.sk-pager a:hover { border-color: var(--sk-soft-border); color: var(--sk-primary); }
.sk-pager .on { background: var(--sk-primary); border-color: var(--sk-primary); color: #fff; font-weight: 700; }

/* ---------------- 商品详情 ---------------- */
.sk-crumbs { padding: 16px 0 0; font-size: 12px; color: #9ca3af; display: flex; gap: 6px; flex-wrap: wrap; }
.sk-crumbs a { color: var(--sk-sub); }
.sk-crumbs a:hover { color: var(--sk-primary); }

.sk-detail { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(340px, .98fr); gap: 18px; align-items: start; padding: 14px 0 0; }
.sk-media { background: #fff; border: 1px solid var(--sk-line); border-radius: 16px; overflow: hidden; box-shadow: var(--sk-shadow); }
.sk-media-cover {
    aspect-ratio: 16 / 11; display: grid; place-items: center; overflow: hidden;
    background: linear-gradient(135deg, #fff6f5, #f3f6fb);
}
.sk-media-cover img { width: 100%; height: 100%; object-fit: cover; }
.sk-media-cover .ph { font-size: 64px; font-weight: 800; color: var(--sk-primary); opacity: .3; }
.sk-media-body { padding: 18px 20px 20px; }
.sk-media-body h1 { font-size: clamp(19px, 2vw, 24px); letter-spacing: -.5px; line-height: 1.4; }
.sk-media-body .sum { color: var(--sk-sub); font-size: 13px; margin-top: 8px; line-height: 1.8; }
.sk-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.sk-badges span { font-size: 11px; border-radius: 6px; padding: 3px 8px; background: var(--sk-soft); color: var(--sk-primary); }
.sk-badges span.gray { background: #f3f4f6; color: #6b7280; }
.sk-badges span.green { background: #ecfdf5; color: #16a34a; }
.sk-recent { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--sk-line); font-size: 12px; color: var(--sk-sub); display: flex; flex-wrap: wrap; gap: 12px; }

/* 购买面板 */
.sk-buy { background: #fff; border: 1px solid var(--sk-line); border-radius: 16px; box-shadow: 0 12px 32px rgba(15, 34, 58, .08); overflow: hidden; position: sticky; top: 78px; }
.sk-buy-head { padding: 16px 18px 13px; border-bottom: 1px solid var(--sk-line); background: linear-gradient(180deg, #fff, #fffbfb); }
.sk-buy-head .nm { font-size: 13px; font-weight: 700; color: #374151; margin-bottom: 7px; }
.sk-buy-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.sk-buy-price b { color: var(--sk-primary); font-size: 30px; letter-spacing: -1px; line-height: 1; }
.sk-buy-price s { color: #c0c6d0; font-size: 12px; }
.sk-buy-price .tip { margin-left: auto; font-size: 10.5px; color: #047857; background: #ecfdf5; border-radius: 999px; padding: 3px 9px; }
.sk-buy-body { padding: 15px 18px 18px; }
.sk-label { display: flex; justify-content: space-between; gap: 8px; font-size: 11.5px; font-weight: 700; color: #6b7280; margin: 0 0 8px; }
.sk-label span { font-weight: 400; color: #9ca3af; }

.sk-specs { display: grid; gap: 8px; margin-bottom: 15px; }
.sk-spec {
    display: flex; align-items: center; gap: 10px; cursor: pointer;
    border: 1px solid var(--sk-line); border-radius: 10px; padding: 10px 12px;
    background: #fff; transition: .14s;
}
.sk-spec:hover { border-color: var(--sk-soft-border); background: #fffbfb; }
.sk-spec:has(input:checked) { border-color: var(--sk-primary); background: var(--sk-soft); box-shadow: 0 0 0 3px rgba(239, 68, 68, .07); }
.sk-spec input { accent-color: var(--sk-primary); }
.sk-spec .n { font-size: 12.5px; font-weight: 700; color: #111827; display: block; }
.sk-spec .m { font-size: 10.5px; color: #9ca3af; display: block; margin-top: 2px; }
.sk-spec .p { margin-left: auto; color: var(--sk-primary); font-weight: 800; font-size: 13.5px; white-space: nowrap; }

.sk-qty { display: flex; align-items: center; gap: 10px; margin-bottom: 15px; }
.sk-stepper { display: flex; border: 1px solid var(--sk-line); border-radius: 9px; overflow: hidden; }
.sk-stepper button { width: 34px; height: 34px; border: 0; background: #f9fafb; color: #4b5563; cursor: pointer; font-size: 16px; line-height: 1; }
.sk-stepper button:hover { background: var(--sk-soft); color: var(--sk-primary); }
.sk-stepper input { width: 54px; height: 34px; border: 0; border-left: 1px solid var(--sk-line); border-right: 1px solid var(--sk-line); text-align: center; outline: 0; font-size: 13px; }

.sk-pays { display: grid; gap: 7px; margin-bottom: 14px; }
.sk-pay {
    display: flex; align-items: center; gap: 9px; cursor: pointer;
    border: 1px solid var(--sk-line); border-radius: 9px; padding: 9px 11px;
    font-size: 12.5px; background: #fff;
}
.sk-pay:has(input:checked) { border-color: var(--sk-primary); background: var(--sk-soft); }
.sk-pay input { accent-color: var(--sk-primary); }
.sk-pay .meta { margin-left: auto; font-size: 10.5px; color: #9ca3af; }

.sk-field { margin-bottom: 10px; }
.sk-field label { display: block; font-size: 11.5px; font-weight: 700; color: #6b7280; margin-bottom: 5px; }
.sk-field input, .sk-field textarea {
    width: 100%; height: 38px; padding: 0 12px; font-size: 12.5px;
    border: 1px solid var(--sk-line); border-radius: 9px; background: #fcfdfe; outline: 0;
    color: var(--sk-ink); transition: .14s;
}
.sk-field input:focus { border-color: var(--sk-soft-border); background: #fff; box-shadow: 0 0 0 3px rgba(239, 68, 68, .07); }

.sk-note {
    background: #f9fafb; border: 1px dashed #e5e7eb; border-radius: 9px;
    padding: 9px 11px; font-size: 11.5px; color: #6b7280; line-height: 1.75; margin-bottom: 12px;
}
.sk-note a { color: var(--sk-primary); font-weight: 700; }
.sk-total { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding-top: 12px; border-top: 1px solid var(--sk-line); }
.sk-total .lb { font-size: 11.5px; color: #6b7280; }
.sk-total .vl { color: var(--sk-primary); font-size: 26px; font-weight: 800; letter-spacing: -.8px; line-height: 1.1; }

/* 详情 Tab */
.sk-tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--sk-line); margin: 26px 0 0; overflow-x: auto; }
.sk-tab {
    padding: 12px 17px; font-size: 13px; font-weight: 700; color: #6b7280;
    background: none; border: 0; border-bottom: 2px solid transparent; cursor: pointer; white-space: nowrap;
}
.sk-tab:hover { color: var(--sk-primary); }
.sk-tab.on { color: var(--sk-primary); border-bottom-color: var(--sk-primary); }
.sk-panel { display: none; background: #fff; border: 1px solid var(--sk-line); border-top: 0; border-radius: 0 0 14px 14px; padding: 22px; font-size: 13px; line-height: 1.95; color: #374151; }
.sk-panel.on { display: block; }
.sk-panel h3 { font-size: 14px; margin: 0 0 8px; }
.sk-panel img { border-radius: 10px; margin: 8px 0; }
.sk-panel ul { padding-left: 18px; list-style: disc; }
.sk-panel a { color: var(--sk-primary); }

/* 评价 */
.sk-reviews { display: grid; gap: 2px; }
.sk-review { padding: 12px 0; border-bottom: 1px solid #f1f3f7; }
.sk-review:last-child { border-bottom: 0; }
.sk-review-h { display: flex; justify-content: space-between; gap: 10px; font-size: 12.5px; }
.sk-stars { color: #f59e0b; letter-spacing: 1px; font-size: 11.5px; }

/* 底部悬浮结算条 */
.sk-sticky {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
    background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px);
    border-top: 1px solid var(--sk-line);
    box-shadow: 0 -6px 24px rgba(15, 34, 58, .07);
}
.sk-sticky-in { display: flex; align-items: center; gap: 14px; height: 62px; }
.sk-sticky .info { font-size: 12px; color: var(--sk-sub); }
.sk-sticky .info b { display: block; color: #111827; font-size: 13px; }
.sk-sticky .spacer { flex: 1; }

/* 页脚 */
.sk-foot { background: #14171c; color: #9aa3af; margin-top: 40px; padding: 40px 0 0; }
.sk-foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 26px; padding-bottom: 30px; }
.sk-foot h4 { color: #fff; font-size: 13.5px; margin-bottom: 12px; }
.sk-foot p { font-size: 12.5px; line-height: 1.9; }
.sk-foot a { display: block; font-size: 12.5px; color: #9aa3af; padding: 3px 0; }
.sk-foot a:hover { color: #fff; }
.sk-foot-brand { display: flex; align-items: center; gap: 9px; margin-bottom: 10px; }
.sk-foot-brand .sk-logo-mark { width: 32px; height: 32px; border-radius: 9px; }
.sk-foot-brand strong { color: #fff; font-size: 15px; }
.sk-foot-bot { border-top: 1px solid rgba(255, 255, 255, .07); padding: 16px 0; font-size: 11.5px; color: #6b7280; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.sk-foot-bot a { display: inline; color: #6b7280; }

/* 提示条 */
.sk-flash { border-radius: 10px; padding: 11px 14px; font-size: 12.5px; margin-bottom: 14px; border: 1px solid transparent; }
.sk-flash.success { background: #ecfdf5; border-color: #bbf7d0; color: #15803d; }
.sk-flash.danger { background: #fef2f2; border-color: #fecaca; color: #b91c1c; }
.sk-flash.warning { background: #fffbeb; border-color: #fde68a; color: #b45309; }
.sk-flash.info { background: #eff6ff; border-color: #bfdbfe; color: #1d4ed8; }

/* 通用卡片/表格（公告、文档、订单查询等复用） */
.sk-card { background: #fff; border: 1px solid var(--sk-line); border-radius: 14px; box-shadow: var(--sk-shadow); padding: 20px; }
.sk-card + .sk-card { margin-top: 14px; }
.sk-page-h { padding: 26px 0 18px; }
.sk-page-h h1 { font-size: clamp(20px, 2.4vw, 26px); letter-spacing: -.6px; }
.sk-page-h p { color: var(--sk-sub); font-size: 13px; margin-top: 6px; }
.sk-prose { font-size: 13.5px; line-height: 2; color: #374151; }
.sk-prose h2 { font-size: 17px; margin: 22px 0 10px; }
.sk-prose h3 { font-size: 15px; margin: 18px 0 8px; }
.sk-prose p { margin: 0 0 10px; }
.sk-prose ul, .sk-prose ol { padding-left: 20px; list-style: disc; margin: 0 0 12px; }
.sk-prose table { width: 100%; border-collapse: collapse; font-size: 12.5px; margin: 12px 0; }
.sk-prose th, .sk-prose td { border: 1px solid var(--sk-line); padding: 9px 12px; text-align: left; }
.sk-prose th { background: #f9fafb; }
.sk-prose pre { background: #0f172a; color: #e2e8f0; border-radius: 10px; padding: 14px; overflow: auto; font-size: 12px; }
.sk-prose code { background: #f3f4f6; border-radius: 4px; padding: 1px 5px; font-size: 12px; }

.sk-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.sk-table th, .sk-table td { padding: 10px 12px; border-bottom: 1px solid var(--sk-line); text-align: left; }
.sk-table th { background: #f9fafb; color: #6b7280; font-weight: 700; }

/* 订单查询 */
.sk-query { max-width: 520px; margin: 0 auto; }
.sk-query .sk-field { margin-bottom: 12px; }
.sk-query .sk-field input { height: 42px; }

/* 兼容旧版公共页（会员套餐 / 公告 / 文档）：统一成红色主题 */
.sk-legacy {
    --primary: #ef4444;
    --primary-2: #dc2626;
    --primary-gradient: linear-gradient(135deg, #f87171, #ef4444 60%, #dc2626);
    padding-top: 10px;
    padding-bottom: 40px;
}
.sk-legacy .eyebrow { color: var(--sk-primary); background: var(--sk-soft); border-color: var(--sk-soft-border); }
.sk-legacy .card { background: #fff; border: 1px solid var(--sk-line); border-radius: 14px; box-shadow: var(--sk-shadow); }
.sk-legacy .page-head h1, .sk-legacy h1 { color: #0f172a; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1080px) {
    .sk-prod-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .sk-cat-grid, .sk-feat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sk-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sk-hero-in { grid-template-columns: 1fr; gap: 26px; padding: 44px 0 38px; }
    .sk-hero-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
    .sk-layout { grid-template-columns: 1fr; }
    .sk-side { position: static; display: flex; flex-wrap: wrap; padding: 6px; }
    .sk-side-head, .sk-side-foot { display: none; }
    .sk-side a { border-left: 0; border-radius: 8px; padding: 7px 11px; }
    .sk-side a em { display: none; }
    .sk-detail { grid-template-columns: 1fr; }
    .sk-buy { position: static; }
    .sk-foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
    .sk-nav { display: none; }
    .sk-cert { display: none; }
    .sk-only-desktop { display: none !important; }
    .sk-top-in { height: 58px; gap: 8px; }
    .sk-logo-txt span { display: none; }
    .sk-top-act { gap: 6px; }
    .sk-top-act .sk-main-btn, .sk-top-act .sk-ghost-btn { padding: 7px 11px; font-size: 12px; }
    .sk-prod-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sk-hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sk-cat-grid, .sk-feat-grid, .sk-steps { grid-template-columns: 1fr; }
    .sk-cta { padding: 26px 20px; }
    .sk-sec { padding: 34px 0; }
    .sk-wrap { padding: 0 14px; }
    .sk-prod-name { font-size: 12.5px; }
    .sk-price b { font-size: 17px; }
    .sk-sticky-in { height: 58px; gap: 8px; }
    .sk-sticky .info { display: none; }
    .sk-tabs { margin-top: 18px; }
    .sk-panel { padding: 16px; }
    .sk-buy-head, .sk-buy-body { padding-left: 15px; padding-right: 15px; }
}

/* ==========================================================================
   v1.4.0 超级版 · 商品详情 / 购买页（PDP）
   ========================================================================== */
.sk-pdp-wrap { padding-top: 18px; padding-bottom: 96px; }
.sk-crumbs { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: #9ca3af; flex-wrap: wrap; }
.sk-crumbs a { color: #6b7280; }
.sk-crumbs a:hover { color: var(--sk-primary); }
.sk-crumbs .cur { color: #374151; font-weight: 600; max-width: 42ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.sk-alert {
    margin: 14px 0; padding: 12px 16px; border-radius: 12px; font-size: 13px;
    border: 1px solid var(--sk-line); background: #fff; color: #374151;
}
.sk-alert.ok { background: #f0fdf4; border-color: #bbf7d0; color: #15803d; }
.sk-alert.bad { background: #fef2f2; border-color: #fecaca; color: #b91c1c; }
.sk-alert.warn { background: #fffbeb; border-color: #fde68a; color: #b45309; }
.sk-alert a { color: inherit; text-decoration: underline; font-weight: 600; }

.sk-pdp { display: grid; grid-template-columns: minmax(0, 1fr) 366px; gap: 22px; margin-top: 14px; align-items: start; }
.sk-pdp-main { display: grid; gap: 18px; min-width: 0; }
.sk-pdp-side { position: sticky; top: 82px; display: grid; gap: 14px; }

/* ---- 商品主卡 ---- */
.sk-pdp-card {
    display: grid; grid-template-columns: 168px minmax(0, 1fr); gap: 22px;
    background: #fff; border: 1px solid var(--sk-line); border-radius: 20px;
    padding: 22px; box-shadow: var(--sk-shadow);
}
.sk-pdp-cover {
    width: 168px; height: 168px; border-radius: 16px; overflow: hidden;
    background: linear-gradient(140deg, #fff1f2, #f8fafc 70%);
    border: 1px solid #f3f4f6; display: grid; place-items: center;
}
.sk-pdp-cover img { width: 100%; height: 100%; object-fit: cover; }
.sk-pdp-cover .ph { font-size: 54px; font-weight: 800; color: #fca5a5; }
.sk-pdp-intro { min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.sk-pdp-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pill {
    display: inline-flex; align-items: center; height: 22px; padding: 0 9px;
    border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .2px;
    background: #f3f4f6; color: #4b5563; border: 1px solid transparent; white-space: nowrap;
}
.pill.sm { height: 19px; padding: 0 7px; font-size: 10.5px; }
.pill.brand { background: var(--sk-soft); color: var(--sk-primary); border-color: var(--sk-soft-border); }
.pill.green { background: #ecfdf5; color: #059669; border-color: #bbf7d0; }
.pill.gold { background: #fffbeb; color: #b45309; border-color: #fde68a; }
.pill.gray { background: #f8fafc; color: #94a3b8; border-color: #eef2f7; }
.sk-pdp-intro h1 { font-size: 25px; line-height: 1.32; letter-spacing: -.4px; }
.sk-pdp-sum { font-size: 13.5px; color: var(--sk-sub); line-height: 1.7; }
.sk-pdp-tags { display: flex; flex-wrap: wrap; gap: 10px; font-size: 12px; color: #94a3b8; }

.sk-pdp-pricebox {
    display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap;
    margin-top: 4px; padding: 12px 16px; border-radius: 14px;
    background: linear-gradient(96deg, #fff5f5, #fffaf9 60%, #fff);
    border: 1px solid #fee2e2;
}
.sk-pdp-pricebox .now { display: flex; align-items: baseline; gap: 2px; color: var(--sk-primary); }
.sk-pdp-pricebox .now small { font-size: 15px; font-weight: 700; }
.sk-pdp-pricebox .now b { font-size: 34px; font-weight: 800; letter-spacing: -1.2px; line-height: 1; }
.sk-pdp-pricebox .now i { font-style: normal; font-size: 12px; color: #f87171; margin-left: 3px; }
.sk-pdp-pricebox .now.none { font-size: 20px; font-weight: 700; color: #9ca3af; }
.sk-pdp-pricebox .was { font-size: 13px; color: #b6bcc6; }
.sk-pdp-pricebox .off { font-size: 11px; font-weight: 700; color: #b91c1c; background: #fee2e2; border-radius: 6px; padding: 2px 7px; }
.sk-pdp-pricebox .stockline { margin-left: auto; font-size: 12.5px; color: #6b7280; }
.sk-pdp-pricebox .stockline b { color: #111827; font-size: 15px; }
.sk-pdp-pricebox .stockline .warn { color: #b45309; font-weight: 700; }

.sk-pdp-live { display: flex; align-items: center; gap: 9px; font-size: 12px; color: #9ca3af; overflow: hidden; }
.sk-pdp-live .dot { width: 7px; height: 7px; border-radius: 50%; background: #34c38f; box-shadow: 0 0 0 4px rgba(52,195,143,.15); flex: 0 0 auto; }
.sk-pdp-live .rail { flex: 1; overflow: hidden; white-space: nowrap; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12px, #000 calc(100% - 26px), transparent); mask-image: linear-gradient(90deg, transparent, #000 12px, #000 calc(100% - 26px), transparent); }
.sk-pdp-live .track { display: inline-flex; gap: 26px; animation: skRail 26s linear infinite; }
.sk-pdp-live .track span { white-space: nowrap; }
.sk-pdp-live:hover .track { animation-play-state: paused; }

@keyframes skRail {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ---- 区块 ---- */
.sk-pdp-sec {
    background: #fff; border: 1px solid var(--sk-line); border-radius: 20px;
    padding: 20px 22px 22px; box-shadow: var(--sk-shadow);
}
.sk-pdp-h { display: flex; align-items: baseline; gap: 10px; margin-bottom: 15px; flex-wrap: wrap; }
.sk-pdp-h h2 { font-size: 16px; letter-spacing: -.2px; }
.sk-pdp-h h2::before {
    content: ""; display: inline-block; width: 3px; height: 14px; border-radius: 2px;
    background: linear-gradient(180deg, #ff7a5c, #ef4444); margin-right: 8px; vertical-align: -2px;
}
.sk-pdp-h small { font-size: 12px; color: #9ca3af; }

/* ---- 规格卡片列表 ---- */
.sk-vlist { display: grid; gap: 10px; }
.sk-vitem {
    position: relative; display: flex; align-items: center; gap: 14px;
    padding: 14px 46px 14px 16px; border-radius: 14px; cursor: pointer;
    border: 1.5px solid var(--sk-line); background: #fff; transition: .18s ease;
}
.sk-vitem:hover { border-color: #fca5a5; background: #fffafa; }
.sk-vitem input { position: absolute; opacity: 0; pointer-events: none; }
.sk-vitem.on {
    border-color: var(--sk-primary); background: var(--sk-soft);
    box-shadow: 0 0 0 3px rgba(239,68,68,.10);
}
.sk-vitem.off { opacity: .52; cursor: not-allowed; background: #fafafa; }
.sk-vitem-main { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.sk-vitem-main .n { font-size: 14.5px; font-weight: 700; color: #111827; }
.sk-vitem-main .d { font-size: 12px; color: #9ca3af; }
.sk-vitem-main .t { font-size: 11.5px; color: #d97706; }
.sk-vitem-right { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.sk-vitem-right .p { font-size: 17px; font-weight: 800; color: var(--sk-primary); letter-spacing: -.4px; }
.sk-vitem-check {
    position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
    width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid #d1d5db; background: #fff;
}
.sk-vitem.on .sk-vitem-check { border-color: var(--sk-primary); background: var(--sk-primary); }
.sk-vitem.on .sk-vitem-check::after {
    content: ""; position: absolute; left: 5.5px; top: 2.5px;
    width: 5px; height: 9px; border: 2px solid #fff; border-top: 0; border-left: 0; transform: rotate(42deg);
}

/* ---- 表单 ---- */
.sk-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.sk-field { display: flex; flex-direction: column; gap: 7px; }
.sk-field.span2 { grid-column: 1 / -1; }
.sk-field label { font-size: 12.5px; font-weight: 700; color: #374151; display: flex; align-items: center; gap: 4px; }
.sk-field label .req { color: var(--sk-primary); font-style: normal; font-weight: 800; }
.sk-field input, .sk-field textarea {
    width: 100%; height: 44px; padding: 0 14px; border-radius: 11px;
    border: 1.5px solid #e8ebf0; background: #fcfcfd; font-size: 13.5px; color: #111827;
    transition: .16s; font-family: inherit;
}
.sk-field input::placeholder { color: #b6bcc6; }
.sk-field input:focus, .sk-field textarea:focus {
    outline: 0; border-color: #fca5a5; background: #fff;
    box-shadow: 0 0 0 4px rgba(239,68,68,.09);
}
.sk-field .hint { font-size: 11.5px; color: #9ca3af; }
.sk-field .hint.ok { color: #059669; font-weight: 600; }
.sk-field .hint.bad { color: #dc2626; font-weight: 600; }

.sk-seg { display: flex; gap: 6px; background: #f4f6f9; border-radius: 11px; padding: 4px; }
.sk-seg label {
    flex: 1; text-align: center; font-size: 12.5px; font-weight: 600; color: #6b7280;
    padding: 8px 6px; border-radius: 8px; cursor: pointer; transition: .16s;
}
.sk-seg label.on { background: #fff; color: var(--sk-primary); box-shadow: 0 1px 4px rgba(15,34,58,.10); }
.sk-seg input { display: none; }

/* ---- 支付方式 ---- */
.sk-paygrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px; }
.sk-paycard {
    position: relative; display: flex; align-items: center; gap: 12px; cursor: pointer;
    padding: 13px 15px; border-radius: 14px; border: 1.5px solid var(--sk-line);
    background: #fff; transition: .18s;
}
.sk-paycard:hover { border-color: #fca5a5; }
.sk-paycard.on { border-color: var(--sk-primary); background: var(--sk-soft); box-shadow: 0 0 0 3px rgba(239,68,68,.10); }
.sk-paycard input { position: absolute; opacity: 0; pointer-events: none; }
.sk-paycard .ic {
    width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
    font-size: 15px; font-weight: 800; flex: 0 0 auto; color: #fff;
}
.sk-paycard .ic.wallet { background: linear-gradient(135deg, #fbbf24, #f59e0b); }
.sk-paycard .ic.online { background: linear-gradient(135deg, #34d399, #10b981); }
.sk-paycard .ic.plan { background: linear-gradient(135deg, #818cf8, #6366f1); }
.sk-paycard .tx { display: flex; flex-direction: column; min-width: 0; }
.sk-paycard .tx b { font-size: 13.5px; color: #111827; }
.sk-paycard .tx i { font-style: normal; font-size: 11.5px; color: #9ca3af; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---- 优惠码 / 数量 ---- */
.sk-inline-row { display: flex; gap: 16px; align-items: flex-start; flex-wrap: wrap; }
.sk-inline-row .grow { flex: 1; min-width: 240px; }
.sk-inline-row .qty-field { flex: 0 0 176px; }
.sk-coupon-input { display: flex; gap: 8px; }
.sk-coupon-input input { flex: 1; text-transform: uppercase; letter-spacing: .6px; }
.sk-coupon-input button {
    flex: 0 0 auto; height: 44px; padding: 0 18px; border-radius: 11px; border: 0;
    background: #111827; color: #fff; font-size: 13px; font-weight: 700; cursor: pointer; transition: .16s;
}
.sk-coupon-input button:hover { background: #374151; }
.sk-coupon-input button:disabled { opacity: .6; cursor: default; }

.sk-stepper.lg { height: 44px; }
.sk-stepper.lg input { width: 56px; font-size: 15px; }

/* ---- 优惠券展示 ---- */
.sk-coupon-strip { padding-bottom: 18px; }
.sk-coupon-list { display: flex; gap: 10px; flex-wrap: wrap; }
.sk-coupon {
    display: flex; flex-direction: column; align-items: flex-start; gap: 1px;
    padding: 9px 16px 9px 14px; border-radius: 12px; cursor: pointer;
    border: 1px dashed #fca5a5; background: linear-gradient(96deg, #fff5f5, #fff);
    transition: .16s; font-family: inherit; text-align: left;
}
.sk-coupon:hover { border-color: var(--sk-primary); transform: translateY(-1px); }
.sk-coupon b { font-size: 17px; font-weight: 800; color: var(--sk-primary); letter-spacing: -.4px; }
.sk-coupon span { font-size: 11.5px; color: #4b5563; font-weight: 600; }
.sk-coupon i { font-style: normal; font-size: 10.5px; color: #9ca3af; }

/* ---- 侧栏摘要 ---- */
.sk-side-card {
    background: #fff; border: 1px solid var(--sk-line); border-radius: 18px;
    box-shadow: var(--sk-shadow); overflow: hidden;
}
.sk-side-card.soft { background: #fbfcfd; }
.sk-side-h {
    padding: 14px 18px; font-size: 13.5px; font-weight: 800; color: #111827;
    border-bottom: 1px solid var(--sk-line); background: #fcfdfe;
}
.sk-side-body { padding: 16px 18px 18px; display: grid; gap: 10px; }
.sk-sum-row { display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: #6b7280; }
.sk-sum-row b { color: #111827; font-weight: 700; }
.sk-sum-row b.minus { color: #059669; }
.sk-sum-row i { font-style: normal; font-size: 11px; color: var(--sk-primary); background: var(--sk-soft); border-radius: 5px; padding: 1px 5px; margin-left: 4px; }
.sk-sum-total {
    display: flex; align-items: baseline; justify-content: space-between;
    margin-top: 4px; padding-top: 13px; border-top: 1px dashed var(--sk-line);
}
.sk-sum-total span { font-size: 13px; font-weight: 700; color: #374151; }
.sk-sum-total b { font-size: 27px; font-weight: 800; color: var(--sk-primary); letter-spacing: -1px; }
.sk-side-note { display: grid; gap: 5px; font-size: 11.5px; color: #9ca3af; padding-top: 4px; }
.sk-side-links { display: grid; gap: 7px; }
.sk-side-links a { font-size: 12.5px; color: #6b7280; padding: 7px 11px; border-radius: 9px; background: #fff; border: 1px solid var(--sk-line); transition: .16s; }
.sk-side-links a:hover { color: var(--sk-primary); border-color: var(--sk-soft-border); background: var(--sk-soft); }
.sk-fav-form { margin-top: 2px; }

/* ---- 底部悬浮结算条 ---- */
.sk-buybar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
    background: rgba(255,255,255,.97); backdrop-filter: saturate(180%) blur(14px);
    border-top: 1px solid var(--sk-line);
    box-shadow: 0 -8px 26px rgba(15,34,58,.08);
    transform: translateY(102%); transition: transform .26s cubic-bezier(.22,.8,.3,1);
}
.sk-buybar.on { transform: translateY(0); }
.sk-buybar-in { display: flex; align-items: center; gap: 16px; height: 68px; }
.sk-buybar-l { display: flex; align-items: center; gap: 14px; min-width: 0; }
.sk-buybar-unit { font-size: 12.5px; color: #6b7280; }
.sk-buybar-unit b { color: var(--sk-primary); font-size: 16px; font-weight: 800; margin-left: 2px; }
.sk-buybar-qty {
    display: inline-flex; align-items: center; height: 34px; border-radius: 9px;
    border: 1px solid var(--sk-line); background: #fff; overflow: hidden;
}
.sk-buybar-qty button {
    width: 30px; height: 100%; border: 0; background: #f8fafc; color: #6b7280;
    font-size: 15px; cursor: pointer; transition: .14s;
}
.sk-buybar-qty button:hover { background: #eef2f7; color: var(--sk-primary); }
.sk-buybar-qty input {
    width: 46px; height: 100%; border: 0; text-align: center; font-size: 13px;
    font-weight: 700; color: #111827; background: transparent; -moz-appearance: textfield;
}
.sk-buybar-qty input::-webkit-outer-spin-button, .sk-buybar-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.sk-buybar-r { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.sk-buybar-total { font-size: 13px; color: #6b7280; }
.sk-buybar-total b { font-size: 24px; font-weight: 800; color: var(--sk-primary); letter-spacing: -.8px; margin-left: 4px; }
.sk-buybar .sk-main-btn { height: 44px; padding: 0 34px; font-size: 14.5px; }

/* ---- FAQ ---- */
.sk-faq { display: grid; gap: 9px; }
.sk-faq-item { border: 1px solid var(--sk-line); border-radius: 12px; overflow: hidden; background: #fff; }
.sk-faq-item summary {
    padding: 12px 16px; font-size: 13.5px; font-weight: 700; color: #1f2937;
    cursor: pointer; list-style: none; display: flex; align-items: center; gap: 8px;
}
.sk-faq-item summary::-webkit-details-marker { display: none; }
.sk-faq-item summary::before { content: "?"; width: 18px; height: 18px; border-radius: 50%; background: var(--sk-soft); color: var(--sk-primary); font-size: 11px; font-weight: 800; display: grid; place-items: center; flex: 0 0 auto; }
.sk-faq-item[open] summary { background: #fcfdfe; }
.sk-faq-item div { padding: 0 16px 14px 42px; font-size: 13px; color: #4b5563; line-height: 1.8; }

.sk-link { margin-left: auto; font-size: 12.5px; color: var(--sk-primary); font-weight: 600; }
.sk-empty.slim { padding: 26px 0; border: 0; background: transparent; }
.sk-price.none { font-size: 13px; color: #9ca3af; font-weight: 600; }

/* ---- 评价增强 ---- */
.sk-review-h time { margin-left: auto; font-size: 11.5px; color: #b6bcc6; }
.sk-review-b { font-size: 13px; color: #4b5563; margin-top: 6px; line-height: 1.7; }

/* ---- 响应式 ---- */
@media (max-width: 1080px) {
    .sk-pdp { grid-template-columns: 1fr; }
    .sk-pdp-side { position: static; }
    .sk-buybar { display: block; }
}
@media (max-width: 760px) {
    .sk-pdp-wrap { padding-top: 12px; padding-bottom: 24px; }
    .sk-pdp-card { grid-template-columns: 1fr; padding: 16px; gap: 14px; }
    .sk-pdp-cover { width: 100%; height: 172px; }
    .sk-pdp-intro h1 { font-size: 20px; }
    .sk-pdp-pricebox .now b { font-size: 28px; }
    .sk-pdp-pricebox { padding: 11px 13px; }
    .sk-pdp-sec { padding: 16px 15px 17px; border-radius: 16px; }
    .sk-form-grid { grid-template-columns: 1fr; }
    .sk-inline-row .qty-field { flex: 1; }
    .sk-paygrid { grid-template-columns: 1fr; }
    .sk-buybar-in { height: 62px; gap: 10px; }
    .sk-buybar-unit, .sk-buybar-qty { display: none; }
    .sk-buybar-total b { font-size: 20px; }
    .sk-buybar .sk-main-btn { height: 40px; padding: 0 20px; font-size: 13.5px; }
    .sk-pdp-wrap { padding-bottom: 84px; }
}

/* ==========================================================================
   v1.4.0 超级版 · 商品列表增强
   ========================================================================== */
.sk-list-top { display: flex; align-items: flex-end; gap: 24px; flex-wrap: wrap; padding: 6px 0 20px; }
.sk-list-title { flex: 1; min-width: 260px; }
.sk-list-title h1 { font-size: 30px; letter-spacing: -.8px; line-height: 1.25; margin: 6px 0 8px; }
.sk-list-title p { font-size: 13px; color: #6b7280; display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.sk-list-title p b { color: #111827; font-weight: 800; }
.sk-list-title p i { font-style: normal; color: #d1d5db; }

.sk-search.lg { flex: 0 0 380px; height: 48px; }
.sk-search.lg input { height: 48px; font-size: 13.5px; }
.sk-search.lg button { height: 38px; }

.sk-side-block { padding: 12px 12px 6px; margin-top: 6px; border-top: 1px solid var(--sk-line); }
.sk-side-sub { font-size: 11px; font-weight: 800; color: #9ca3af; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 9px; }
.sk-price-filter { display: grid; grid-template-columns: 1fr auto 1fr; gap: 5px; align-items: center; }
.sk-price-filter button { grid-column: 1 / -1; width: 100%; margin-top: 4px; }
.sk-price-filter input {
    width: 100%; min-width: 0; height: 32px; padding: 0 7px; border-radius: 8px;
    border: 1px solid var(--sk-line); background: #fcfcfd; font-size: 12px; color: #111827;
}
.sk-price-filter input:focus { outline: 0; border-color: #fca5a5; background: #fff; }
.sk-price-filter span { color: #d1d5db; font-size: 11px; }
.sk-price-filter button {
    flex: 0 0 auto; height: 32px; padding: 0 10px; border: 0; border-radius: 8px;
    background: #111827; color: #fff; font-size: 12px; font-weight: 700; cursor: pointer;
}
.sk-price-filter button:hover { background: #374151; }
.sk-switch { display: flex; align-items: center; gap: 8px; margin-top: 11px; font-size: 12.5px; color: #4b5563; cursor: pointer; }
.sk-switch input { width: 15px; height: 15px; accent-color: var(--sk-primary); cursor: pointer; }

.sk-toolbar {
    display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
    background: #fff; border: 1px solid var(--sk-line); border-radius: 14px;
    padding: 8px 12px; margin-bottom: 16px; box-shadow: var(--sk-shadow);
}
.sk-sortbar { display: flex; gap: 2px; flex-wrap: wrap; }
.sk-sortbar a {
    padding: 6px 12px; border-radius: 9px; font-size: 12.5px; color: #6b7280;
    font-weight: 600; transition: .16s; white-space: nowrap;
}
.sk-sortbar a:hover { background: #f4f6f9; color: #111827; }
.sk-sortbar a.on { background: var(--sk-soft); color: var(--sk-primary); }
.sk-toolbar-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.sk-reset { font-size: 12px; color: #9ca3af; text-decoration: underline; }
.sk-reset:hover { color: var(--sk-primary); }
.sk-toolbar-count { font-size: 12px; color: #9ca3af; }

.sk-prod-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 3px; }
.sk-prod-tags span { font-size: 10.5px; color: #94a3b8; }
.sk-prod-tag.sold { background: #f8fafc; color: #94a3b8; border: 1px solid #eef2f7; }

@media (max-width: 900px) {
    .sk-list-title h1 { font-size: 24px; }
    .sk-search.lg { flex: 1 1 100%; }
    .sk-toolbar { padding: 7px 9px; gap: 8px; }
    .sk-sortbar { overflow-x: auto; flex-wrap: nowrap; width: 100%; -webkit-overflow-scrolling: touch; }
    .sk-sortbar::-webkit-scrollbar { display: none; }
    .sk-toolbar-right { margin-left: 0; width: 100%; justify-content: space-between; }
}

/* ==========================================================================
   v1.4.0 超级版 · 订单 / 提货页
   ========================================================================== */
.sk-order-wrap { max-width: 1080px; margin: 0 auto; padding: 22px 20px 60px; }
.sk-order-head { display: flex; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.sk-order-head h1 { font-size: 24px; letter-spacing: -.5px; margin: 8px 0 5px; }
.sk-order-head p { font-size: 13px; color: #6b7280; }
.sk-status {
    margin-left: auto; align-self: center; padding: 7px 16px; border-radius: 999px;
    font-size: 12.5px; font-weight: 800; background: #f3f4f6; color: #4b5563;
}
.sk-status.delivered { background: #ecfdf5; color: #059669; }
.sk-status.pending, .sk-status.paying { background: #fffbeb; color: #b45309; }
.sk-status.review { background: #eff6ff; color: #2563eb; }
.sk-status.paid { background: #f0f9ff; color: #0284c7; }
.sk-status.closed, .sk-status.refunded { background: #f8fafc; color: #94a3b8; }

/* 卡密盒子 */
.sk-secret-box {
    background: linear-gradient(150deg, #fff 0%, #fff9f8 55%, #fff 100%);
    border: 1.5px solid #fecaca; border-radius: 20px; padding: 20px 22px;
    box-shadow: 0 8px 26px rgba(239,68,68,.07); margin-bottom: 18px;
}
.sk-secret-head { display: flex; align-items: flex-start; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.sk-secret-head h2 { font-size: 18px; letter-spacing: -.3px; }
.sk-secret-head p { font-size: 12.5px; color: #9ca3af; margin-top: 3px; }
.sk-secret-actions { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.sk-secret-actions .sk-main-btn, .sk-secret-actions .sk-ghost-btn { height: 36px; padding: 0 16px; font-size: 12.5px; }
.sk-secret-list { display: grid; gap: 10px; }
.sk-secret-item {
    display: flex; gap: 13px; align-items: flex-start;
    background: #fff; border: 1px solid #f3f4f6; border-radius: 13px; padding: 12px 15px;
}
.sk-secret-item .idx {
    width: 24px; height: 24px; border-radius: 8px; flex: 0 0 auto;
    background: var(--sk-soft); color: var(--sk-primary);
    display: grid; place-items: center; font-size: 12px; font-weight: 800;
}
.sk-secret-item .rows { flex: 1; display: grid; gap: 7px; min-width: 0; }
.sk-secret-item .row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.sk-secret-item .row span { font-size: 11.5px; color: #9ca3af; flex: 0 0 32px; }
.sk-secret-item .row b {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 13.5px; color: #111827; letter-spacing: .4px; word-break: break-all;
}
.sk-secret-item .row b.secret { color: var(--sk-primary); font-weight: 800; }
.sk-secret-item .mini {
    border: 1px solid var(--sk-line); background: #fff; border-radius: 7px;
    font-size: 11px; color: #6b7280; padding: 3px 9px; cursor: pointer; transition: .14s;
}
.sk-secret-item .mini:hover { border-color: var(--sk-soft-border); color: var(--sk-primary); background: var(--sk-soft); }
.sk-secret-tip { margin-top: 13px; font-size: 11.5px; color: #9ca3af; }
.copied { color: #059669 !important; }

/* 订单栅格 */
.sk-order-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 18px; align-items: start; }
.sk-order-main { display: grid; gap: 18px; }
.sk-order-side { display: grid; gap: 14px; position: sticky; top: 20px; }

/* 时间轴 */
.sk-timeline { display: grid; gap: 0; }
.sk-tl-item { position: relative; display: flex; gap: 14px; padding: 0 0 20px 4px; }
.sk-tl-item:last-child { padding-bottom: 0; }
.sk-tl-item::before {
    content: ""; position: absolute; left: 10px; top: 16px; bottom: 0; width: 2px; background: #eef2f7;
}
.sk-tl-item:last-child::before { display: none; }
.sk-tl-item .dot {
    width: 14px; height: 14px; border-radius: 50%; flex: 0 0 auto; margin-top: 3px;
    background: #e5e7eb; border: 3px solid #fff; box-shadow: 0 0 0 1.5px #e5e7eb; z-index: 1;
}
.sk-tl-item.done .dot { background: var(--sk-primary); box-shadow: 0 0 0 1.5px var(--sk-primary); }
.sk-tl-item.done.danger .dot { background: #94a3b8; box-shadow: 0 0 0 1.5px #94a3b8; }
.sk-tl-item b { font-size: 13.5px; color: #111827; display: block; }
.sk-tl-item i { font-style: normal; font-size: 11.5px; color: #9ca3af; }

/* 键值列表 */
.sk-kv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 22px; }
.sk-kv > div { display: flex; flex-direction: column; gap: 2px; }
.sk-kv span { font-size: 11.5px; color: #9ca3af; }
.sk-kv b { font-size: 13px; color: #111827; font-weight: 600; word-break: break-all; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }

.sk-countdown {
    font-size: 12.5px; color: #b45309; background: #fffbeb; border: 1px solid #fde68a;
    border-radius: 9px; padding: 8px 12px; text-align: center; font-weight: 600;
}
.sk-countdown.expired { color: #b91c1c; background: #fef2f2; border-color: #fecaca; }
.sk-token {
    font-size: 11.5px; color: #6b7280; background: #fff; border: 1px dashed #d1d5db;
    border-radius: 9px; padding: 9px 11px; word-break: break-all; line-height: 1.6;
}
.sk-input {
    width: 100%; height: 42px; padding: 0 13px; border-radius: 10px;
    border: 1.5px solid #e8ebf0; background: #fcfcfd; font-size: 13px; color: #111827;
    font-family: inherit;
}
.sk-input:focus { outline: 0; border-color: #fca5a5; background: #fff; box-shadow: 0 0 0 4px rgba(239,68,68,.09); }

@media (max-width: 900px) {
    .sk-order-grid { grid-template-columns: 1fr; }
    .sk-order-side { position: static; }
    .sk-kv { grid-template-columns: 1fr; }
    .sk-order-wrap { padding: 16px 14px 46px; }
    .sk-secret-box { padding: 16px 15px; border-radius: 16px; }
    .sk-secret-actions { margin-left: 0; width: 100%; }
    .sk-order-head h1 { font-size: 19px; }
}

/* ==========================================================================
   v1.4.0 · 悬浮快捷按钮
   ========================================================================== */
.sk-fab {
    position: fixed; right: 18px; bottom: 92px; z-index: 70;
    display: flex; flex-direction: column; gap: 8px;
    opacity: 0; pointer-events: none; transform: translateY(10px);
    transition: .22s ease;
}
.sk-fab.on { opacity: 1; pointer-events: auto; transform: translateY(0); }
.sk-fab-item {
    display: flex; align-items: center; gap: 0; height: 40px; padding: 0 12px;
    border-radius: 12px; border: 1px solid var(--sk-line); background: #fff;
    color: #4b5563; font-size: 12.5px; font-weight: 600; cursor: pointer;
    box-shadow: 0 4px 14px rgba(15,34,58,.08); transition: .16s; overflow: hidden;
    white-space: nowrap; max-width: 40px;
}
.sk-fab-item:hover { max-width: 150px; color: var(--sk-primary); border-color: var(--sk-soft-border); background: var(--sk-soft); }
.sk-fab-item .ic { width: 16px; flex: 0 0 16px; text-align: center; font-size: 14px; font-weight: 800; }
.sk-fab-item .tx { margin-left: 8px; opacity: 0; transition: .16s; }
.sk-fab-item:hover .tx { opacity: 1; }
@media (max-width: 760px) {
    .sk-fab { right: 12px; bottom: 78px; }
    .sk-fab-item { height: 36px; max-width: 36px; padding: 0 10px; }
}

/* ===== v1.5.0 顶栏身份菜单（分开登录） ===== */
.sk-user { position: relative; }
.sk-user > summary {
    list-style: none; cursor: pointer; display: flex; align-items: center; gap: 7px;
    height: 36px; padding: 0 12px 0 5px; border-radius: 999px;
    border: 1px solid var(--sk-line); background: #fff; transition: .16s;
}
.sk-user > summary::-webkit-details-marker { display: none; }
.sk-user > summary:hover { border-color: var(--sk-soft-border); background: var(--sk-soft); }
.sk-avatar {
    width: 26px; height: 26px; border-radius: 50%; flex: 0 0 26px;
    display: inline-flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #ef4444, #f97316); color: #fff;
    font-size: 12px; font-weight: 800;
}
.sk-user-name { font-size: 13px; font-weight: 700; color: var(--sk-text); max-width: 96px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sk-user-pop {
    position: absolute; right: 0; top: calc(100% + 8px); z-index: 60;
    width: 208px; padding: 6px; border-radius: 14px; background: #fff;
    border: 1px solid var(--sk-line); box-shadow: 0 16px 40px rgba(15,34,58,.14);
}
.sk-user-head { padding: 8px 10px 10px; border-bottom: 1px solid var(--sk-line); margin-bottom: 6px; }
.sk-user-head strong { display: block; font-size: 13px; color: var(--sk-text); }
.sk-user-head span { font-size: 11.5px; color: var(--sk-muted); }
.sk-user-pop a, .sk-user-pop button {
    display: block; width: 100%; text-align: left; padding: 8px 10px; border-radius: 9px;
    font-size: 13px; color: #4b5563; background: none; border: 0; cursor: pointer;
    font-family: inherit; text-decoration: none;
}
.sk-user-pop a:hover, .sk-user-pop button:hover { background: var(--sk-soft); color: var(--sk-primary); }
.sk-user-pop form { margin: 0; }
.sk-user-other {
    margin: 4px 0; background: #fff8f8 !important; border: 1px dashed #fecaca !important;
    color: #b91c1c !important; font-size: 12px !important;
}
@media (max-width: 720px) {
    .sk-user-name { display: none; }
    .sk-user > summary { padding: 0 8px 0 4px; }
}
