:root {
    --ink: #0c1220;
    --navy: #142033;
    --navy-2: #1c2c44;
    --paper: #f6f1e8;
    --paper-2: #fffdf8;
    --line: #e4dac8;
    --copper: #c4923a;
    --copper-2: #e0b35c;
    --teal: #1f8a80;
    --text: #243044;
    --muted: #667085;
    --danger: #b42318;
    --ok: #067647;
    --shadow: 0 18px 50px rgba(12, 18, 32, .10);
    /* 主题可覆盖变量（金色商务 = 默认） */
    --header-fg: #f4efe4;
    --header-link: #d9d0bf;
    --header-faint: #c8b896;
    --on-accent: #16110a;
    --accent-border: rgba(224, 179, 92, .45);
    --accent-glow: rgba(224, 179, 92, .18);
    --accent-soft: rgba(224, 179, 92, .14);
    --accent-soft-2: rgba(224, 179, 92, .05);
    --header-bg: rgba(12, 18, 32, .92);
    --header-line: rgba(224, 179, 92, .25);
    --strip-border: rgba(196, 146, 58, .35);
    --strip-deep: #3d2c13;
    --glow: rgba(196, 146, 58, .3);
    --glow-strong: rgba(196, 146, 58, .42);
    --price: var(--price);
    --band: #d8cbb3;
    --hero-bg: #0b1220;
    --crumb-muted: #c5bba8;
    --info-muted: #d7cdb8;
    --radius: 18px;
    --header: 76px;
    --font: "Noto Sans SC", "Outfit", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font);
    color: var(--text);
    background: var(--paper);
    line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
    position: sticky; top: 0; z-index: 40;
    height: var(--header);
    background: var(--header-bg);
    backdrop-filter: blur(16px);
    color: var(--header-fg);
    border-bottom: 1px solid var(--header-line);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--header-fg); flex-shrink: 0; }
.logo-mark { color: var(--copper-2); display: flex; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text strong { letter-spacing: .12em; font-size: 15px; }
.logo-text small { color: #c8b896; font-size: 11px; margin-top: 3px; letter-spacing: .08em; }
.nav { display: flex; gap: 20px; flex: 1; }
.nav a { color: var(--header-link); font-size: 14px; font-weight: 500; }
.nav a:hover, .nav a.is-active { color: var(--copper-2); }
.header-tools { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.lang-switch { position: relative; }
.lang-btn {
    display: flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,.06);
    border: 1px solid var(--accent-border);
    color: var(--header-fg);
    border-radius: 999px;
    padding: 8px 14px;
    cursor: pointer;
    min-width: 118px;
}
.lang-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--copper-2); box-shadow: 0 0 0 3px var(--accent-glow); }
.lang-menu {
    display: none; position: absolute; right: 0; top: calc(100% + 8px);
    background: #101826; border: 1px solid var(--accent-border);
    border-radius: 14px; min-width: 160px; padding: 8px; box-shadow: var(--shadow);
    z-index: 40;
}
.lang-switch.is-open .lang-menu { display: grid; }
.lang-menu a { padding: 8px 10px; border-radius: 8px; color: #e8e0d0; font-size: 14px; }
.lang-menu a:hover, .lang-menu a.is-current { background: var(--accent-soft); color: var(--copper-2); }
.icon-link { position: relative; color: var(--header-fg); display: flex; }
.icon-link em {
    position: absolute; top: -8px; right: -10px;
    background: var(--copper); color: var(--on-accent); font-style: normal;
    min-width: 18px; height: 18px; border-radius: 999px;
    font-size: 11px; display: grid; place-items: center; font-weight: 700;
}
.text-link { color: var(--copper-2); font-size: 14px; }
.acct-ico { display: none; }
.nav-auth-link { display: none; }
.nav-toggle { display: none; background: none; border: 0; width: 36px; height: 36px; }
.nav-toggle span { display: block; height: 1.5px; background: var(--header-fg); margin: 7px 0; }

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    border-radius: 999px; border: 0; cursor: pointer;
    padding: 12px 22px; font-weight: 600; transition: .2s ease;
}
.btn-sm { padding: 8px 14px; font-size: 14px; }
.btn-primary { background: var(--copper); color: var(--on-accent); }
.btn-primary:hover { background: var(--copper-2); }
.btn-dark { background: var(--ink); color: var(--header-fg); }
.btn-ghost { background: transparent; border: 1px solid rgba(244,239,228,.28); color: var(--header-fg); }
.btn-line { background: transparent; border: 1px solid var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-block { width: 100%; }

.flash { text-align: center; padding: 12px 20px; }
.flash-ok { background: #e8f6ee; color: var(--ok); }
.flash-err { background: #fdecea; color: var(--danger); }

.hero {
    position: relative; min-height: 680px;
    background: var(--hero-bg) center/cover no-repeat;
    color: #f7f2e8; display: grid; align-items: end;
}
.hero::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(8,12,20,.82) 0%, rgba(8,12,20,.35) 62%, rgba(8,12,20,.2) 100%);
}
.hero-content { position: relative; z-index: 1; padding: 90px 0 80px; max-width: 100%; }
.kicker {
    display: inline-flex; align-items: center; gap: 10px;
    color: var(--copper-2); letter-spacing: .16em; font-size: 12px; text-transform: uppercase;
}
.kicker::before { content: ""; width: 28px; height: 1px; background: var(--copper-2); }
.hero h1 {
    font-size: clamp(22px, 2.4vw, 40px);
    font-weight: 600;
    line-height: 1.3;
    margin: 16px 0 18px;
    letter-spacing: .06em;
    /* 英文标题较长：允许换行，避免手机端/中屏被裁切 */
    white-space: normal;
    overflow-wrap: break-word;
    text-wrap: balance;
    max-width: 100%;
}
.hero p { color: #d8d0c0; font-size: 18px; max-width: 540px; }
.hero-actions { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }

.stats {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
    background: var(--band); margin-top: -36px; position: relative; z-index: 2;
    border-radius: 20px; overflow: hidden; box-shadow: var(--shadow);
}
.stat { background: var(--paper-2); padding: 26px 20px; }
.stat b { display: block; font-size: 32px; letter-spacing: -.03em; }
.stat span { color: var(--muted); font-size: 13px; }

.live-section { padding-top: 36px; padding-bottom: 10px; }
.live-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.live-card {
    background: var(--paper-2);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 20px 20px 8px;
    box-shadow: 0 10px 30px rgba(12, 18, 32, .04);
}
.live-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.live-head h2 { margin: 4px 0 0; font-size: 22px; letter-spacing: -.02em; }
.live-dot {
    width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0;
    background: #12b76a; box-shadow: 0 0 0 6px rgba(18, 183, 106, .16);
    animation: live-pulse 1.6s ease-in-out infinite;
}
.live-dot-ok { background: var(--copper); box-shadow: 0 0 0 6px var(--accent-glow); }
@keyframes live-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(.85); opacity: .7; }
}
.live-ticker { height: 268px; overflow: hidden; position: relative; }
.live-ticker::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 36px;
    background: linear-gradient(180deg, transparent, var(--paper-2));
    pointer-events: none;
}
.live-list { list-style: none; margin: 0; padding: 0; }
.live-list li {
    padding: 12px 4px 12px 0;
    border-bottom: 1px solid rgba(228, 218, 200, .7);
    display: grid; gap: 4px;
}
.live-list em { font-style: normal; color: var(--copper); font-weight: 700; font-size: 13px; }
.live-list span { color: var(--text); font-size: 14px; line-height: 1.5; }
@media (prefers-reduced-motion: reduce) {
    .live-dot { animation: none; }
}

.section { padding: 84px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 32px; }
.section-head h2, .page-title h1 { font-size: clamp(28px, 4vw, 40px); margin: 8px 0 0; letter-spacing: -.03em; }
.section-head p { color: var(--muted); margin: 8px 0 0; }

.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cat-card {
    position: relative; min-height: 340px; border-radius: 24px; overflow: hidden;
    color: #fff; display: flex; align-items: end;
}
.cat-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cat-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(8,12,20,.82)); }
.cat-card div { position: relative; z-index: 1; padding: 26px; }
.cat-card h3 { margin: 0 0 6px; font-size: 26px; }
.cat-card span { color: var(--copper-2); font-size: 14px; }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.product-card {
    background: var(--paper-2); border-radius: 22px; overflow: hidden;
    border: 1px solid var(--line); transition: .2s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-card .thumb { aspect-ratio: 1; background: #111826; position: relative; }
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.badge {
    position: absolute; top: 12px; left: 12px;
    background: var(--copper); color: var(--on-accent);
    border-radius: 999px; padding: 4px 10px; font-size: 12px; font-weight: 700;
}
.badge-used { background: #344054; color: #fff; }
.product-card .body { padding: 18px 18px 20px; }
.product-card .sku { color: var(--muted); font-size: 12px; letter-spacing: .08em; overflow-wrap: anywhere; }
.product-card h3 { margin: 6px 0 10px; font-size: 18px; line-height: 1.35; overflow-wrap: anywhere; }
.price { color: var(--price); font-weight: 700; font-size: 18px; }
.price-dual { color: var(--price); font-weight: 700; font-size: 15px; line-height: 1.45; }
.price-used { color: #667085; font-weight: 600; }
.stock { color: var(--muted); font-size: 13px; }
.social-meta {
    display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center;
    margin-top: 10px; color: var(--muted); font-size: 12px;
    background: none; border: 0; padding: 0; cursor: pointer; text-align: left; width: 100%;
}
.social-meta:hover { color: var(--copper); }
.social-more { color: var(--copper); font-weight: 600; }
.catalog-table .social-meta { margin-top: 6px; }
.buy-box .social-meta { font-size: 13px; margin-top: 16px; }
.social-panel-wrap { display: none; margin: 0 0 40px; }
.social-panel-wrap.is-open { display: block; }
.social-panel {
    display: grid; grid-template-columns: 1fr 1fr; gap: 28px;
}
.social-list { list-style: none; margin: 0; padding: 0; }
.social-list li {
    padding: 12px 0; border-bottom: 1px solid var(--line);
    display: grid; gap: 4px;
}
.social-list b { font-size: 14px; }
.social-list span { font-size: 14px; color: var(--text); }
.social-list small { color: var(--muted); font-size: 12px; }

.why-grid, .ind-grid, .value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.why-card, .value-card {
    background: var(--paper-2); border: 1px solid var(--line);
    border-radius: 18px; padding: 22px;
}
.why-card b { display: block; margin-bottom: 8px; }
.ind-grid { grid-template-columns: repeat(6, 1fr); }
.ind-item {
    background: var(--navy); color: var(--header-fg); border-radius: 16px;
    min-height: 92px; display: grid; place-items: center; text-align: center; padding: 12px; font-weight: 600;
}

/* ── Trust badges + countries marquee ── */
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.trust-badge {
    background: var(--paper-2); border: 1px solid var(--line); border-radius: 18px;
    padding: 22px; display: block; text-decoration: none; color: var(--text);
    transition: transform .15s ease, box-shadow .15s ease;
}
.trust-badge:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.trust-ico {
    display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px;
    background: var(--accent-soft); border: 1px solid var(--accent-border);
    font-size: 22px; margin-bottom: 12px;
}
.trust-badge b { display: block; margin-bottom: 6px; font-size: 15px; }
.trust-badge p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.55; }
.countries-wrap {
    background: var(--navy); border-radius: 18px; padding: 18px 0 16px;
    overflow: hidden; margin-top: 22px;
}
.countries-title {
    text-align: center; color: var(--header-faint); font-size: 13px;
    letter-spacing: .06em; text-transform: uppercase; margin-bottom: 12px;
}
.countries-track { display: flex; width: max-content; animation: countries-scroll 45s linear infinite; }
.countries-wrap:hover .countries-track { animation-play-state: paused; }
.countries-seg { display: flex; gap: 34px; padding-right: 34px; }
.countries-item { color: var(--header-fg); white-space: nowrap; font-weight: 600; font-size: 14px; opacity: .9; }
@keyframes countries-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) { .countries-track { animation: none; } }
@media (max-width: 900px) { .trust-grid { grid-template-columns: 1fr 1fr; } }

.band {
    background: var(--ink) url("/assets/images/hero.jpg") center/cover;
    color: var(--header-fg); position: relative;
}
.band::before { content: ""; position: absolute; inset: 0; background: rgba(8,12,20,.78); }
.band .container { position: relative; padding: 72px 0; }
.band h2 { max-width: 640px; font-size: 36px; margin: 0 0 10px; }

.page-hero { padding: 56px 0 20px; }
.page-hero h1 { font-size: clamp(32px, 5vw, 48px); margin: 8px 0; }
.page-hero p { color: var(--muted); max-width: 640px; }
.seo-intro { max-width: 820px !important; font-size: 15px; }
.crumbs { margin: 0 0 12px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px 0; list-style: none; margin: 0; padding: 0; font-size: 13px; color: var(--muted); }
.crumbs li:not(:last-child)::after { content: "/"; margin: 0 8px; color: var(--crumb-muted); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--copper); }
.crumbs span { color: var(--text); }
.seo-links { display: flex; flex-wrap: wrap; gap: 10px 16px; margin-top: 18px; font-size: 13px; }
.seo-links a { color: var(--teal); }
.seo-links a:hover { color: var(--copper); }
.series-bar { margin-top: 0; }

.toolbar { display: flex; gap: 12px; flex-wrap: wrap; margin: 10px 0 28px; }
.toolbar input, .toolbar select, .field input, .field select, .field textarea {
    width: 100%; border: 1px solid var(--line); background: #fff;
    border-radius: 12px; padding: 11px 12px; outline: none;
}
.toolbar input { max-width: 260px; }
.toolbar select { max-width: 180px; }
.toolbar .btn-search {
    padding: 12px 36px;
    font-size: 16px;
    border-radius: 12px;
    flex: 0 0 auto;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .15);
}

/* ---------- 新闻中心 ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card {
    display: flex; flex-direction: column; background: #fff; border-radius: 18px;
    overflow: hidden; text-decoration: none; color: inherit;
    box-shadow: 0 2px 10px rgba(10, 14, 24, .06); transition: .2s ease;
}
.news-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(10, 14, 24, .12); }
.news-card-img { aspect-ratio: 16 / 9; background: #141a26; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.news-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.news-card-noimg { color: rgba(246, 241, 232, .5); font-family: Outfit, sans-serif; letter-spacing: .3em; font-size: 15px; }
.news-card-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; }
.news-card-body time { color: #98a0ab; font-size: 13px; }
.news-card-body h3 { font-size: 17px; line-height: 1.45; color: var(--ink); }
.news-card-body p { font-size: 14px; color: #6c7480; line-height: 1.65; }
.news-card-more { margin-top: auto; font-size: 14px; color: var(--copper); font-weight: 600; }
.news-detail { max-width: 860px; margin: 0 auto; background: #fff; border-radius: 18px; padding: 34px 40px; box-shadow: 0 2px 10px rgba(10, 14, 24, .06); }
.news-cover { width: 100%; height: auto; border-radius: 12px; margin-bottom: 24px; }
.news-content { font-size: 16px; line-height: 1.9; color: #2a313c; overflow-wrap: break-word; }
.news-content img { max-width: 100%; height: auto; border-radius: 10px; margin: 14px 0; }
.news-content p { margin: 12px 0; }
.news-content h1, .news-content h2, .news-content h3 { margin: 26px 0 12px; color: var(--ink); }
.news-content a { color: var(--copper); }
.news-content table { border-collapse: collapse; width: 100%; margin: 14px 0; }
.news-content td, .news-content th { border: 1px solid #e4e6ea; padding: 8px 10px; font-size: 14px; }
.news-content blockquote { margin: 14px 0; padding: 10px 16px; border-left: 3px solid var(--copper); background: #faf7f2; color: #5b6270; }
.news-content ul, .news-content ol { padding-left: 24px; margin: 12px 0; }
/* 文章产品内链 + 相关产品模块 */
.news-content a.news-prod-link { color: var(--copper); text-decoration: none; border-bottom: 1px dashed var(--copper); font-weight: 600; }
.news-content a.news-prod-link:hover { border-bottom-style: solid; }
.news-related { max-width: 860px; margin: 34px auto 0; }
.news-related-title { font-size: 20px; color: var(--ink); margin: 0 0 16px; padding-left: 12px; border-left: 4px solid var(--copper); }
.news-related-grid { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .news-related-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .news-related-grid { grid-template-columns: 1fr; } }
.news-detail-foot { max-width: 860px; margin: 22px auto 0; }
@media (max-width: 900px) { .news-grid { grid-template-columns: 1fr 1fr; } .news-detail { padding: 22px 18px; } }
@media (max-width: 600px) { .news-grid { grid-template-columns: 1fr; } }

.catalog-wrap { overflow-x: auto; background: #fff; border-radius: 4px; }
.catalog-table { width: 100%; border-collapse: collapse; min-width: 1080px; }
.catalog-table th {
    text-align: left;
    font-weight: 500;
    color: #8b919a;
    font-size: 14px;
    padding: 20px 18px;
    border-bottom: 1px solid #ececec;
    white-space: nowrap;
}
.catalog-table td {
    padding: 18px;
    border-bottom: 1px solid #f3f3f3;
    color: #2b2f36;
    font-size: 15px;
    vertical-align: middle;
}
.catalog-table tbody tr:hover td { background: #fafafa; }
.catalog-table .sku-link { color: #2b2f36; font-weight: 500; }
.catalog-table .sku-link:hover { color: var(--copper); }
.swatch {
    width: 18px; height: 18px; border-radius: 50%;
    display: inline-block; vertical-align: middle;
}
.swatch-mono {
    background: radial-gradient(circle at 32% 32%, #f4f4f4 0 28%, #111 45%);
    box-shadow: inset 0 0 0 1px #d0d0d0;
}
.swatch-color {
    background: conic-gradient(#e23 0 40deg, #f90 70deg, #fd0 120deg, #3c3 180deg, #2af 240deg, #36f 300deg, #e23 360deg);
}
.swatch-nir { color: #667085; font-size: 14px; }
.field input:focus, .field textarea:focus, .toolbar input:focus { border-color: var(--copper); }

.detail { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: start; }
.gallery { background: #111826; border-radius: 24px; overflow: hidden; }
.gallery-main { display: flex; align-items: center; justify-content: center; min-height: 300px; }
.gallery-main img { display: block; width: 100%; height: auto; object-fit: contain; cursor: zoom-in; background: #fff; }
.thumbs { display: flex; gap: 8px; padding: 10px; background: #0c1220; overflow-x: auto; }
.thumbs img { width: 68px; height: 68px; flex: 0 0 auto; object-fit: cover; border-radius: 10px; cursor: pointer; opacity: .7; }
.thumbs img.is-active, .thumbs img:hover { opacity: 1; outline: 2px solid var(--copper-2); }
.lightbox { position: fixed; inset: 0; z-index: 1200; background: rgba(4, 8, 16, .94); display: none; align-items: center; justify-content: center; padding: 24px; cursor: zoom-out; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 96vw; max-height: 92vh; width: auto; height: auto; object-fit: contain; border-radius: 8px; box-shadow: 0 20px 60px rgba(0, 0, 0, .6); background: #fff; }
.lightbox-close { position: absolute; top: 14px; right: 20px; font-size: 36px; line-height: 1; color: #fff; background: none; border: 0; cursor: pointer; }
.img-ref-note {
    margin: 0;
    padding: 10px 14px 14px;
    font-size: 13px;
    color: #d4c7b0;
    background: #0c1220;
}
.img-ref-inline { margin: 6px 0 0; font-size: 13px; color: var(--muted); }
.buy-box h1 { margin: 8px 0 10px; font-size: 34px; letter-spacing: -.03em; overflow-wrap: anywhere; }
@media (max-width: 768px) { .buy-box h1 { font-size: 24px; } }
.meta-row { display: flex; gap: 16px; color: var(--muted); font-size: 14px; flex-wrap: wrap; }
.buy-price { font-size: 30px; color: var(--price); font-weight: 700; margin: 16px 0; }
.cond-pick { display: grid; gap: 10px; margin: 16px 0 8px; }
.cond-label { font-weight: 700; }
.cond-option { display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; background: var(--paper-2); cursor: pointer; }
.cond-option:has(input:checked) { border-color: var(--copper); box-shadow: 0 0 0 2px var(--accent-glow); }
.cond-option input { margin-top: 4px; }
.cond-option span { display: grid; gap: 2px; }
.cond-option em { font-style: normal; color: var(--price); font-weight: 700; }
.cond-option small { color: var(--muted); }
.used-note { margin: 28px 0 8px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper-2); }
.used-note h3 { margin: 0 0 8px; font-size: 18px; }
.used-note p { margin: 0; color: var(--text); line-height: 1.7; }
.qty-row { display: flex; gap: 12px; align-items: center; margin: 16px 0 22px; }
.qty-row input { width: 88px; }
.buy-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.specs { width: 100%; border-collapse: collapse; margin-top: 16px; }
.specs th, .specs td { border-bottom: 1px solid var(--line); text-align: left; padding: 12px 8px; }
.specs th { width: 34%; color: var(--muted); font-weight: 500; }
.rich { color: var(--text); }
.rich p { margin: 0 0 12px; }

.auth-wrap, .narrow { width: min(520px, calc(100% - 40px)); margin: 48px auto 80px; }
.card {
    background: var(--paper-2); border: 1px solid var(--line);
    border-radius: 22px; padding: 28px; box-shadow: var(--shadow);
}
.field { margin-bottom: 14px; }
.field label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; }
.muted { color: var(--muted); }
.center { text-align: center; }

.cart-table, .order-table { width: 100%; border-collapse: collapse; background: var(--paper-2); border-radius: 18px; overflow: hidden; }
.cart-table th, .cart-table td, .order-table th, .order-table td { padding: 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
/* ---------- 移动端表格适配 ---------- */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
@media (max-width: 768px) {
    /* 购物车表：整体横向滑动，不挤压不撑破 */
    .table-scroll .cart-table { min-width: 620px; }
    /* 订单/地址表：降级为卡片式行，标签左·内容右 */
    .order-table { display: block; background: none; border-radius: 0; overflow: visible; }
    .order-table thead, .order-table th { display: none; }
    .order-table tbody { display: block; }
    .order-table tr { display: block; background: var(--paper-2); border-radius: 16px; overflow: hidden; margin-bottom: 12px; }
    .order-table td[data-label] {
        display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap;
        padding: 10px 16px; border-bottom: 1px dashed var(--line); text-align: right;
    }
    .order-table td[data-label]::before {
        content: attr(data-label); flex-shrink: 0; text-align: left;
        color: var(--muted); font-size: 12px; letter-spacing: .04em;
    }
    .order-table td:not([data-label]) { display: block; text-align: right; }
    .order-table td:last-child { border-bottom: none; }
    .order-table td a { word-break: break-all; }
}
.cart-item { display: flex; gap: 12px; align-items: center; }
.cart-item img { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; background: #111; }
.checkout-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; }
.req-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; }
.req-list { padding-left: 18px; line-height: 1.6; }
.req-list li { margin-bottom: 10px; }
.item-refund { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.item-refund input[type="number"] { width: 64px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 8px; }
.item-refund input[name="reason"] { min-width: 140px; flex: 1; padding: 6px 8px; border: 1px solid var(--line); border-radius: 8px; }
.btn-sm { padding: 6px 10px; font-size: 13px; }

.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 36px; align-items: center; }
.about-photo { border-radius: 24px; overflow: hidden; min-height: 360px; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; min-height: 360px; }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 24px; }
.info-card { background: var(--navy); color: var(--header-fg); border-radius: 22px; padding: 28px; }
.info-card p { color: var(--info-muted); }

.pager { display: flex; gap: 8px; margin: 28px 0; }
.pager-link { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; background: #fff; border: 1px solid var(--line); }
.pager-link.is-active { background: var(--ink); color: #fff; }

.site-footer { background: #0b1220; color: #d8d0c0; padding: 56px 0 24px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .7fr .7fr 1fr; gap: 28px; }
.footer-logo { margin-bottom: 12px; }
.footer-grid h4 { color: var(--header-fg); margin: 0 0 12px; }
.footer-grid a, .footer-grid p { display: block; color: #c9c0ae; margin: 0 0 8px; font-size: 14px; }
.footer-bottom { margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; }
.lang-inline { display: flex; gap: 10px; flex-wrap: wrap; }
.lang-inline a { color: var(--copper-2); }

.empty { padding: 48px 20px; text-align: center; color: var(--muted); }
.track-list { list-style: none; margin: 18px 0; padding: 0; border-left: 2px solid var(--line); }
.track-list li { position: relative; padding: 0 0 22px 22px; }
.track-list li::before { content: ""; position: absolute; left: -6px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--copper); }
.track-time { font-size: 13px; color: var(--muted); }
.track-loc { font-size: 13px; color: var(--teal); }
.track-msg { font-weight: 600; }

.pay-box { max-width: 420px; margin: 22px auto 0; text-align: left; }
.pay-box h3 { margin: 0 0 8px; }
.pay-box #paypal-buttons { min-height: 140px; margin-top: 12px; }
.pay-sandbox { background: #fff6e5; color: #8a5a00; padding: 10px 14px; border-radius: 10px; font-size: 13px; margin: 0 0 12px; }
.pay-err { color: var(--danger); margin: 10px 0 0; font-size: 14px; }
.pay-fallback { margin-top: 14px; }

@media (max-width: 1180px) {
    .nav-extra { display: none; }
}
@media (max-width: 980px) {
    .nav-extra { display: block; }
    .nav { display: none; position: absolute; top: var(--header); left: 0; right: 0; background: #101826; padding: 16px 20px 22px; flex-direction: column; }
    .nav.is-open { display: flex; }
    .nav-toggle { display: block; }
    /* 手机端头部：登录/注册按钮外显（不收进汉堡菜单），已登录显示头像图标 */
    .nav-auth-link { display: block; }
    .header-tools .btn-ghost { display: inline-flex; }
    .header-tools .text-link { display: none; }
    .acct-ico { display: flex; }
    .header-inner { gap: 10px; }
    .header-tools { gap: 7px; }
    .lang-btn { min-width: 0; padding: 6px 8px; gap: 4px; font-size: 12px; }
    .lang-btn .lang-dot { display: none; }
    .header-tools .btn-sm { padding: 7px 10px; font-size: 12px; border-radius: 9px; }
    .hdr-reg { display: inline-flex !important; }
    .stats, .cat-grid, .product-grid, .why-grid, .value-grid, .live-grid { grid-template-columns: 1fr 1fr; }
    .ind-grid { grid-template-columns: 1fr 1fr 1fr; }
    .detail, .checkout-grid, .about-grid, .contact-grid, .footer-grid, .req-grid, .social-panel { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .stats, .cat-grid, .product-grid, .why-grid, .value-grid, .ind-grid, .live-grid { grid-template-columns: 1fr; }
    .hero { min-height: 560px; }
    .hero h1 { font-size: clamp(18px, 4.6vw, 26px); letter-spacing: .04em; }
    .logo-text small { display: none; }
    .logo-text strong { font-size: 14px; letter-spacing: .08em; }
}

/* 采集文章来源标注与免责声明 */
.news-source-note {
    margin-top: 28px;
    padding: 14px 18px;
    border-left: 3px solid #b8722c;
    background: #faf7f2;
    border-radius: 0 10px 10px 0;
    font-size: 14px;
    color: #667085;
    line-height: 1.7;
}
.news-source-note .news-src-line { margin: 0 0 6px; color: #475467; }
.news-source-note .news-src-line a { color: #b8722c; font-weight: 600; }
.news-source-note .news-disclaimer { margin: 0; font-size: 13px; }

/* 产品详情页相关文章 */
.news-related { list-style: none; margin: 12px 0 0; padding: 0; }
.news-related li { border-bottom: 1px solid var(--line, #e5e7eb); }
.news-related li:last-child { border-bottom: 0; }
.news-related a {
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
    padding: 12px 4px; color: inherit; text-decoration: none;
}
.news-related a:hover .nr-title { color: #b8722c; }
.news-related .nr-title { flex: 1; font-size: 15px; line-height: 1.5; }
.news-related time { color: #94a3b8; font-size: 13px; white-space: nowrap; }
.news-source-note .news-src-line a { color: #b8722c; font-weight: 600; }
.news-source-note .news-disclaimer { margin: 0; font-size: 13px; }

/* ============================================================
   分销招募广告位（Partner Program）
   总站：顶部醒目横幅；分销店铺：仅保留低调的文字入口
   ============================================================ */
.partner-strip {
    background: linear-gradient(90deg, #0c1220 0%, #1c2c44 46%, var(--strip-deep) 100%);
    color: var(--header-fg);
    border-bottom: 1px solid var(--strip-border);
    font-size: 14px;
}
.partner-strip-inner {
    display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
    padding: 10px 0;
}
.partner-strip-badge {
    flex: none;
    font-size: 11px; letter-spacing: .14em; font-weight: 700;
    padding: 4px 11px; border-radius: 999px;
    background: linear-gradient(135deg, var(--copper), var(--copper-2));
    color: var(--on-accent);
}
.partner-strip-text { flex: 1 1 300px; color: #e8e1d4; }
.partner-strip-cta {
    flex: none; display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 18px; border-radius: 999px;
    background: linear-gradient(135deg, var(--copper), var(--copper-2));
    color: var(--on-accent); font-weight: 700; white-space: nowrap;
    box-shadow: 0 6px 18px var(--glow);
    transition: transform .18s ease, box-shadow .18s ease;
}
.partner-strip-cta:hover { transform: translateY(-1px); box-shadow: 0 10px 24px var(--glow-strong); }
.partner-strip-x {
    flex: none; background: transparent; border: 0; cursor: pointer;
    color: #94a3b8; font-size: 20px; line-height: 1; padding: 0 4px;
}
.partner-strip-x:hover { color: #fff; }

.nav-partner-soft {
    color: rgba(244, 239, 228, .6) !important;
    font-size: 13px !important;
    border-bottom: 1px dashed rgba(244, 239, 228, .26);
}
.nav-partner-soft:hover { color: var(--copper-2) !important; border-color: var(--copper-2); }

.footer-partner-link {
    color: var(--copper); font-size: 13px;
    border-bottom: 1px dashed var(--accent-border);
}
.footer-partner-link.is-soft { color: var(--muted); border-color: rgba(102, 112, 133, .35); }

@media (max-width: 760px) {
    .partner-strip-inner { gap: 8px; padding: 9px 0; }
    .partner-strip-text { flex: 1 1 100%; order: 3; font-size: 13px; }
    .partner-strip-cta { margin-left: auto; }
}

/* ---------- 页脚分销推广卡（总站所有页面） ---------- */
.footer-partner-card {
    margin-top: 22px; max-width: 340px;
    padding: 18px 20px; border-radius: 14px;
    background: linear-gradient(135deg, var(--accent-soft), var(--accent-soft-2));
    border: 1px solid var(--accent-border);
}
.footer-partner-card .fpc-kicker {
    display: inline-block; font-size: 10px; font-weight: 700;
    letter-spacing: .16em; color: var(--copper-2);
    padding: 3px 10px; border-radius: 999px;
    border: 1px solid var(--accent-border);
}
.footer-partner-card .fpc-title {
    display: block; margin-top: 10px;
    font-size: 18px; color: #fff; letter-spacing: .01em;
}
.footer-partner-card .fpc-desc {
    margin: 8px 0 14px; font-size: 13px; line-height: 1.65; color: #b9c2d4;
}
.footer-partner-card .fpc-cta {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 9px 20px; border-radius: 999px;
    background: linear-gradient(135deg, var(--copper), var(--copper-2));
    color: var(--on-accent); font-weight: 700; font-size: 13.5px;
    box-shadow: 0 6px 16px var(--glow);
    transition: transform .18s ease, box-shadow .18s ease;
}
.footer-partner-card .fpc-cta:hover { transform: translateY(-1px); box-shadow: 0 9px 22px var(--glow-strong); }

/* ---------- 账号页优惠券中心 + 赚钱广告 ---------- */
.cp-box { background: #fff; border: 1px solid var(--line, #e5e7eb); border-radius: 16px; padding: 22px; margin-bottom: 26px; }
.cp-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; }
.cp-count { font-size: 13px; color: var(--copper, #c4923a); font-weight: 700; }
.cp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.cp-ticket { border: 1px solid var(--accent-border); border-radius: 12px; overflow: hidden; background: linear-gradient(135deg, var(--accent-soft), var(--accent-soft-2)); }
.cp-ticket.is-used { opacity: .45; filter: grayscale(.6); border-style: dashed; }
.cp-face { padding: 12px 14px 8px; text-align: center; }
.cp-face b { display: block; font-size: 24px; color: var(--copper, #c4923a); letter-spacing: .01em; }
.cp-face span { font-size: 12px; color: #667085; }
.cp-state { text-align: center; font-size: 12px; padding: 6px 0; border-top: 1px dashed var(--accent-border); color: #667085; }
.cp-ticket:not(.is-used) .cp-state { color: #1a7f37; font-weight: 600; }
.cp-note { margin: 12px 0 0; font-size: 12px; color: #98a2b3; }
.acct-earn { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; background: linear-gradient(90deg, #0c1220, #1c2c44 55%, var(--strip-deep)); border-radius: 16px; padding: 20px 24px; margin-bottom: 26px; }
.acct-earn strong { color: #fff; font-size: 16px; }
.acct-earn p { margin: 6px 0 0; color: #b9c2d4; font-size: 13px; }

/* ---------- 账号页：进入分销后台按钮（已开通分销的用户） ---------- */
.acct-partner-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: 999px;
    background: linear-gradient(135deg, var(--copper), var(--copper-2)); color: var(--on-accent); text-decoration: none;
    font-size: 15px; font-weight: 700; letter-spacing: .02em; white-space: nowrap;
    box-shadow: 0 8px 22px var(--glow); transition: transform .15s ease, box-shadow .15s ease; }
.acct-partner-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 26px var(--glow-strong); color: var(--on-accent); }
.acct-partner-btn .apb-ic { font-size: 14px; }
@media (max-width: 640px) { .acct-partner-btn { padding: 8px 16px; font-size: 14px; } }

/* ---------- 注册送券横幅（全站） ---------- */
.coupon-strip { background: linear-gradient(90deg, #0e2a1c 0%, #14432a 50%, #3d2c13 100%); border-bottom: 1px solid rgba(74,222,128,.3); color: #eafaf0; font-size: 14px; }
.coupon-badge { background: linear-gradient(135deg, #22c55e, #86efac) !important; color: #06210f !important; }
.coupon-text { color: #d9f5e4 !important; }
.coupon-text b { color: #86efac; font-size: 15px; }
.coupon-cta { background: linear-gradient(135deg, #22c55e, #86efac) !important; color: #06210f !important; box-shadow: 0 6px 18px rgba(34,197,94,.3) !important; }

/* ---------- 注册送券跟随长条广告（全站，未登录）：桌面右侧竖条 ---------- */
.coupon-float { position: fixed; right: 14px; top: 50%; z-index: 900; transform: translateY(-50%) translateX(140%); transition: transform .45s cubic-bezier(.22,.9,.36,1); }
.coupon-float.is-in { transform: translateY(-50%) translateX(0); }
.cf-banner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; width: 96px; padding: 18px 10px 14px; border-radius: 16px;
    text-decoration: none; text-align: center; overflow: visible;
    background: linear-gradient(165deg, #0e2a1c 0%, #14532d 55%, #166534 100%);
    border: 1px solid rgba(134,239,172,.5); box-shadow: 0 16px 40px rgba(0,0,0,.38); }
.cf-banner:hover { filter: brightness(1.06); }
.cfb-kicker { font-size: 11px; font-weight: 700; letter-spacing: .08em; color: #86efac; }
.cfb-main { margin-top: 6px; font-size: 13px; font-weight: 600; color: #d9f5e4; }
.cfb-amount { font-size: 32px; font-weight: 800; line-height: 1.1; color: #fff; text-shadow: 0 2px 12px rgba(34,197,94,.55); }
.cfb-sub { font-size: 14px; font-weight: 700; color: #fef08a; }
.cfb-badge { margin-top: 8px; padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 700; color: #06210f; background: linear-gradient(135deg, #86efac, #22c55e); }
.cfb-cta { margin-top: 9px; padding: 6px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; color: #fff;
    background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.4); }
.cf-banner:hover .cfb-cta { background: rgba(255,255,255,.24); }
.cfb-x { position: absolute; top: -9px; right: -9px; width: 24px; height: 24px; border: none; border-radius: 50%; cursor: pointer;
    background: #0c1220; color: #cbd5e1; font-size: 14px; line-height: 1; box-shadow: 0 4px 12px rgba(0,0,0,.35); }
.cfb-x:hover { color: #fff; }

/* 移动端：底部横条，完整适配小屏 */
@media (max-width: 768px) {
    .coupon-float { right: 10px; left: 10px; top: auto; bottom: 12px; transform: translateY(160%); }
    .coupon-float.is-in { transform: translateY(0); }
    .cf-banner { flex-direction: row; width: auto; gap: 8px; padding: 10px 40px 10px 12px; border-radius: 14px;
        align-items: center; justify-content: space-between; overflow: hidden; }
    .cfb-kicker, .cfb-sub { display: none; }
    .cfb-main { margin-top: 0; font-size: 12px; white-space: nowrap; }
    .cfb-amount { font-size: 20px; }
    .cfb-badge { margin-top: 0; padding: 2px 7px; font-size: 10px; white-space: nowrap; }
    .cfb-cta { margin-top: 0; padding: 5px 9px; font-size: 11px; white-space: nowrap; }
    .cfb-x { top: 50%; right: 8px; transform: translateY(-50%); width: 22px; height: 22px; font-size: 13px; }
}
@media (max-width: 360px) {
    .cfb-main { display: none; } /* 极小屏只留 $500 · 永久有效 · 立即注册 */
}

/* ---------- RFQ 询价页（/rfq.php） ---------- */
.nav-quote {
    color: var(--copper-2) !important;
    border: 1px solid rgba(224, 179, 92, .55);
    border-radius: 999px;
    padding: 7px 15px !important;
    font-weight: 600;
    white-space: nowrap;
}
.nav-quote:hover { background: var(--copper); border-color: var(--copper); color: var(--ink) !important; }
.rfq-grid { display: grid; grid-template-columns: 1.28fr .72fr; gap: 28px; align-items: start; }
.rfq-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.rfq-form textarea { resize: vertical; }
.rfq-side .info-card a { color: var(--copper-2); }
.rfq-side .info-card a.btn-primary { color: var(--on-accent) !important; }
.rfq-benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.rfq-benefit {
    display: flex; flex-direction: column; gap: 6px;
    background: var(--paper-2); border: 1px solid var(--line);
    border-radius: 14px; padding: 16px 18px;
}
.rfq-benefit strong { font-size: 15px; }
.rfq-benefit span { font-size: 13.5px; line-height: 1.75; }
.rfq-hint { line-height: 1.6; }
@media (max-width: 980px) {
    .rfq-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .rfq-2col, .rfq-benefits { grid-template-columns: 1fr; }
    .nav-quote { padding: 6px 11px !important; font-size: 13px; }
}

/* ---------- WhatsApp 跟随浮窗（右下角，全站前台） ---------- */
.wa-float {
    position: fixed; right: 20px; bottom: 24px; z-index: 880;
    display: flex; align-items: center; gap: 0;
    width: 56px; height: 56px; border-radius: 999px;
    background: #25d366; color: #fff;
    box-shadow: 0 6px 22px rgba(37, 211, 102, .45);
    transition: width .3s cubic-bezier(.22,.9,.36,1), background .25s, transform .25s;
    overflow: hidden;
}
.wa-float:hover { background: #1fb857; transform: translateY(-2px); width: 190px; }
.wa-float svg { flex: 0 0 56px; height: 30px; padding: 13px 0; box-sizing: content-box; }
.wa-float::before {
    content: ""; position: absolute; inset: 0; border-radius: inherit;
    border: 2px solid rgba(37, 211, 102, .55);
    animation: wa-pulse 2.4s ease-out infinite;
}
@keyframes wa-pulse {
    0% { transform: scale(1); opacity: .8; }
    70%, 100% { transform: scale(1.45); opacity: 0; }
}
.wa-tip {
    color: #fff; font-size: 13.5px; font-weight: 600; white-space: nowrap;
    opacity: 0; transition: opacity .2s .1s;
}
.wa-float:hover .wa-tip { opacity: 1; }
@media (max-width: 720px) {
    .wa-float { right: 14px; bottom: 96px; width: 48px; height: 48px; }
    .wa-float svg { flex-basis: 48px; height: 26px; padding: 11px 0; }
    .wa-float::before { display: none; }
}

/* ---------- 选型筛选：结果计数与已选条件 chip ---------- */
.result-count {
    display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
    margin: 14px 0 16px; font-size: 14px; color: var(--muted);
}
.result-count strong { color: var(--ink); font-size: 15px; }
.filter-chip {
    display: inline-flex; align-items: center; gap: 4px;
    background: var(--paper-2); border: 1px solid var(--line);
    border-radius: 999px; padding: 3px 11px; font-size: 13px;
    color: var(--copper-2) !important; white-space: nowrap;
}
.filter-chip:hover { border-color: var(--copper); background: var(--copper); color: var(--ink) !important; }

/* ===== Cookie 同意条（GDPR） ===== */
.footer-cookie-link { background:none; border:0; padding:0; color:inherit; font:inherit; cursor:pointer; text-decoration:underline; opacity:.85; }
.cookie-bar { position:fixed; left:0; right:0; bottom:0; z-index:60; background:rgba(12,18,32,.97); color:#e9e2d4; box-shadow:0 -8px 30px rgba(0,0,0,.28); backdrop-filter:blur(10px); }
.cookie-bar[hidden] { display:none; }
.cookie-inner { width:min(1180px,calc(100% - 32px)); margin:0 auto; padding:14px 0; display:flex; gap:18px; align-items:center; justify-content:space-between; flex-wrap:wrap; }
.cookie-copy { flex:1 1 380px; min-width:260px; }
.cookie-copy strong { display:block; font-size:15px; margin-bottom:2px; color:#fff; }
.cookie-copy p { margin:0; font-size:13px; line-height:1.6; color:#c8c0af; }
.cookie-copy a { color:var(--copper-2); text-decoration:underline; }
.cookie-actions { display:flex; gap:8px; flex-wrap:wrap; }
.cookie-actions .btn-sm { padding:8px 14px; }
.cookie-panel { border-top:1px solid rgba(224,179,92,.25); width:min(1180px,calc(100% - 32px)); margin:0 auto; padding:14px 0 18px; display:flex; flex-direction:column; gap:12px; }
.cookie-panel[hidden] { display:none; }
.cookie-row { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:10px 0; border-bottom:1px solid rgba(255,255,255,.08); }
.cookie-row b { display:block; font-size:14px; color:#fff; }
.cookie-row span { font-size:12.5px; color:#b9b1a0; line-height:1.5; }
.ck-switch { position:relative; flex:0 0 auto; width:46px; height:26px; }
.ck-switch input { position:absolute; opacity:0; width:100%; height:100%; margin:0; cursor:pointer; }
.ck-switch i { position:absolute; inset:0; background:rgba(255,255,255,.22); border-radius:999px; transition:.25s; }
.ck-switch i::after { content:""; position:absolute; top:3px; left:3px; width:20px; height:20px; background:#fff; border-radius:50%; transition:.25s; }
.ck-switch input:checked + i { background:var(--copper); }
.ck-switch input:checked + i::after { transform:translateX(20px); }
.ck-switch input:disabled + i { opacity:.55; }
.cookie-panel-actions { display:flex; justify-content:flex-end; }
@media (max-width:640px){
  .cookie-actions { width:100%; }
  .cookie-actions .btn { flex:1; text-align:center; }
  .cookie-row span { font-size:12px; }
}

/* ===== 产品对比 ===== */
.cmp-toggle { display:inline-flex; align-items:center; gap:6px; margin-top:10px; padding:6px 12px; font-size:12.5px; font-weight:600; border:1px solid var(--line,rgba(0,0,0,.14)); border-radius:8px; background:transparent; color:inherit; cursor:pointer; transition:.18s; }
.cmp-toggle::before { content:""; width:13px; height:13px; border:1.6px solid currentColor; border-radius:3px; opacity:.6; flex:0 0 auto; }
.cmp-toggle:hover { border-color:var(--copper,#c8a24a); color:var(--copper,#c8a24a); }
.cmp-toggle.is-on { border-color:var(--copper,#c8a24a); color:var(--copper,#c8a24a); background:rgba(200,162,74,.1); }
.cmp-toggle.is-on::before { content:"✓"; display:flex; align-items:center; justify-content:center; font-size:10px; line-height:1; opacity:1; border-color:var(--copper,#c8a24a); background:var(--copper,#c8a24a); color:#fff; }
.cmp-toggle-sm { margin-top:6px; padding:4px 9px; font-size:11.5px; }
.cmp-toggle-lg { padding:9px 18px; font-size:13.5px; }

.cmp-bar { position:fixed; left:50%; bottom:18px; transform:translateX(-50%); z-index:58; display:flex; align-items:center; gap:12px; padding:10px 16px; border-radius:999px; background:rgba(12,18,32,.96); color:#e9e2d4; box-shadow:0 10px 34px rgba(0,0,0,.3); backdrop-filter:blur(10px); max-width:calc(100% - 24px); }
.cmp-bar[hidden] { display:none; }
.cmp-bar-txt { font-size:13px; white-space:nowrap; }
.cmp-bar-txt b { color:var(--copper-2,#e0b35c); font-size:15px; }
.cmp-toast { position:fixed; left:50%; bottom:80px; transform:translateX(-50%) translateY(8px); z-index:59; padding:9px 16px; border-radius:10px; background:rgba(12,18,32,.95); color:#fff; font-size:13px; opacity:0; pointer-events:none; transition:.25s; }
.cmp-toast.is-in { opacity:1; transform:translateX(-50%) translateY(0); }

.cmp-wrap { margin-top:22px; overflow-x:auto; -webkit-overflow-scrolling:touch; border:1px solid var(--line,rgba(0,0,0,.1)); border-radius:12px; background:#fff; }
.cmp-table { width:100%; min-width:640px; border-collapse:collapse; }
.cmp-table th, .cmp-table td { padding:12px 14px; text-align:left; font-size:13.5px; border-bottom:1px solid rgba(0,0,0,.07); vertical-align:top; }
.cmp-table tbody th { width:180px; font-weight:600; color:inherit; background:rgba(0,0,0,.02); }
.cmp-table thead th { border-bottom:1px solid rgba(0,0,0,.12); vertical-align:top; }
.cmp-corner { background:rgba(0,0,0,.02); }
.cmp-head { min-width:200px; }
.cmp-thumb { display:block; }
.cmp-thumb img { width:100%; max-width:180px; height:130px; object-fit:contain; background:#f7f7f5; border-radius:10px; }
.cmp-sku { margin-top:10px; font-size:12px; color:#8892a0; letter-spacing:.4px; }
.cmp-head h3 { margin:4px 0 8px; font-size:14.5px; line-height:1.4; }
.cmp-head h3 a { color:inherit; text-decoration:none; }
.cmp-price b { font-size:16px; color:var(--copper,#c8a24a); }
.cmp-price .price-used { font-size:12.5px; color:#8892a0; margin-top:2px; }
.cmp-actions { display:flex; gap:8px; flex-wrap:wrap; margin-top:10px; }
.cmp-table tbody tr.cmp-same td { color:#98a2b0; }
.cmp-foot { display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; margin-top:16px; }
.cmp-diff-toggle { display:inline-flex; align-items:center; gap:8px; font-size:13.5px; cursor:pointer; }
.cmp-empty { margin-top:20px; padding:40px 24px; text-align:center; border:1px dashed var(--line,rgba(0,0,0,.16)); border-radius:14px; }
.cmp-empty p { margin:0 0 16px; color:#6b7684; }

@media (max-width:640px){
  .cmp-bar { left:12px; right:12px; transform:none; max-width:none; justify-content:space-between; border-radius:14px; flex-wrap:wrap; }
  .cmp-bar-txt { font-size:12.5px; width:100%; }
  .cmp-toast { bottom:96px; }
  .cmp-table { min-width:520px; }
  .cmp-table tbody th { width:120px; font-size:12.5px; }
}

/* ===== 页脚邮件订阅 ===== */
.nl-form { margin-top:16px; max-width:320px; }
.nl-label { display:block; font-size:12.5px; font-weight:700; letter-spacing:.4px; margin-bottom:8px; opacity:.9; }
.nl-row { display:flex; gap:8px; }
.nl-row input[type=email] { flex:1 1 auto; min-width:0; padding:9px 12px; border-radius:8px; border:1px solid rgba(255,255,255,.22); background:rgba(255,255,255,.08); color:inherit; font-size:13px; }
.nl-row input[type=email]::placeholder { color:currentColor; opacity:.45; }
.nl-row input[type=email]:focus { outline:none; border-color:var(--copper,#c8a24a); }
.nl-row .btn { flex:0 0 auto; white-space:nowrap; }
.nl-hp { position:absolute; left:-9999px; width:1px; height:1px; opacity:0; }
@media (max-width:640px){ .nl-form { max-width:none; } }

/* ==================== 下载中心（Download Center） ==================== */
.dl-lead { max-width: 720px; }
.dl-search { display: flex; gap: 10px; margin: 22px 0 14px; max-width: 660px; flex-wrap: wrap; }
.dl-search input[type="search"] {
    flex: 1 1 260px; min-width: 0; padding: 12px 16px; border: 1px solid var(--line);
    border-radius: 12px; font-size: 15px; font-family: inherit; background: var(--paper-2); color: var(--text);
}
.dl-search input[type="search"]:focus { outline: none; border-color: var(--copper); box-shadow: 0 0 0 3px var(--accent-soft); }
.dl-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; }
.dl-chip-n {
    display: inline-block; margin-left: 7px; padding: 0 7px; border-radius: 999px;
    background: var(--accent-soft); color: var(--copper); font-size: 11px; font-weight: 700; line-height: 18px;
}
.filter-chip.is-active .dl-chip-n { background: rgba(255, 255, 255, .22); color: inherit; }
.dl-h2 { font-size: 18px; margin: 30px 0 14px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }

.dl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.dl-card {
    display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--line);
    border-radius: 14px; background: var(--paper-2); color: var(--text); text-decoration: none;
    transition: border-color .18s, transform .18s, box-shadow .18s;
}
.dl-card:hover { border-color: var(--copper); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(12, 18, 32, .08); }
.dl-ico { font-size: 24px; line-height: 1; flex: 0 0 auto; }
.dl-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; flex: 1 1 auto; }
.dl-name { font-weight: 600; font-size: 14.5px; line-height: 1.45; }
.dl-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.dl-go { flex: 0 0 auto; font-size: 18px; color: var(--copper); font-weight: 700; }

.dl-list { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--paper-2); }
.dl-row {
    display: grid; grid-template-columns: minmax(140px, 1.5fr) minmax(120px, 1fr) 90px 96px;
    align-items: center; gap: 12px; padding: 13px 18px; text-decoration: none; color: var(--text);
    border-bottom: 1px solid var(--line); transition: background .15s;
}
.dl-row:last-child { border-bottom: 0; }
.dl-row:hover { background: var(--accent-soft-2); }
.dl-sku { font-weight: 700; font-size: 14.5px; letter-spacing: .01em; word-break: break-word; }
.dl-size { font-size: 13px; color: var(--muted); white-space: nowrap; }
.dl-dl {
    justify-self: end; font-size: 13px; font-weight: 700; color: var(--copper);
    border: 1px solid var(--accent-border); border-radius: 999px; padding: 5px 14px; white-space: nowrap;
}
.dl-row:hover .dl-dl { background: var(--copper); color: var(--on-accent); border-color: var(--copper); }
.dl-empty { margin: 18px 0; text-align: center; color: var(--muted); }
.dl-pager { display: flex; align-items: center; gap: 14px; justify-content: center; margin: 22px 0 4px; }
.dl-pager-info { font-size: 13px; color: var(--muted); }
.dl-note { margin: 26px 0 0; font-size: 12.5px; line-height: 1.7; max-width: 760px; }

/* 产品详情页：资料下载按钮 */
.pd-docs { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 4px; }
.pd-docs a {
    display: inline-flex; align-items: center; gap: 7px; padding: 9px 15px; border-radius: 10px;
    border: 1px solid var(--accent-border); background: var(--accent-soft-2);
    color: var(--text); text-decoration: none; font-size: 13.5px; font-weight: 600;
}
.pd-docs a:hover { border-color: var(--copper); background: var(--accent-soft); }

/* ============================================================
   资料在线查看页（doc-view.php）—— 先看后下载
   ============================================================ */
.dv-crumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.dv-crumb a { color: var(--copper); text-decoration: none; font-weight: 600; }
.dv-crumb a:hover { text-decoration: underline; }
.dv-head { display: flex; gap: 18px; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; margin-bottom: 18px; }
.dv-head-main { flex: 1 1 320px; min-width: 0; }
.dv-head h1 { margin: 6px 0 10px; font-size: clamp(20px, 2.6vw, 30px); line-height: 1.25; word-break: break-word; }
.dv-meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.dv-meta-item strong { color: var(--text); }
.dv-meta-link { color: var(--copper); text-decoration: none; font-weight: 600; white-space: nowrap; }
.dv-meta-link:hover { text-decoration: underline; }
.dv-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.dv-btn { min-width: 150px; justify-content: center; text-align: center; }
.dv-frame { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--paper-2); box-shadow: 0 10px 30px rgba(12, 18, 32, .06); }
.dv-frame iframe { display: block; width: 100%; height: min(78vh, 980px); border: 0; background: #fff; }
.dv-frame img { display: block; width: 100%; height: auto; }
.dv-hint { margin: 12px 0 0; font-size: 12.5px; }
.dv-nopreview { text-align: center; padding: 44px 22px; }
.dv-nopreview-ico { font-size: 40px; line-height: 1; margin-bottom: 12px; }
.dv-nopreview-t { font-weight: 700; font-size: 16px; margin: 0; }

@media (max-width: 720px) {
    .dv-head { align-items: stretch; }
    .dv-actions { width: 100%; }
    .dv-btn { flex: 1 1 100%; min-width: 0; }
    .dv-frame iframe { height: 62vh; }
    .dv-frame { border-radius: 12px; }
}

@media (max-width: 720px) {
    .dl-row { grid-template-columns: 1fr auto; grid-row-gap: 8px; }
    .dl-sku { grid-column: 1 / -1; }
    .dl-kind { grid-column: 1; }
    .dl-size { grid-column: 1; }
    .dl-dl { grid-column: 2; grid-row: 2 / span 2; align-self: center; }
    .dl-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   账户中心重构 + 全站移动端体验优化（2026-10-14）
   ============================================================ */

/* ---------- 账户中心：区块标题 ---------- */
.acct-sec-head { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; }
.acct-sec-head h2 { margin: 0; font-size: 24px; letter-spacing: -.02em; }
.acct-pill {
    display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 8px;
    border-radius: 999px; background: var(--accent-soft); color: var(--copper);
    font-size: 13px; font-weight: 700; border: 1px solid var(--accent-border);
}

/* ---------- 订单卡片列表（整卡可点） ---------- */
.order-list { display: grid; gap: 12px; }
.order-item { display: grid; gap: 10px; }
.order-card {
    display: grid; gap: 10px; padding: 16px 18px;
    background: var(--paper-2); border: 1px solid var(--line); border-radius: 16px;
    color: var(--text); text-decoration: none;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
    -webkit-tap-highlight-color: transparent;
}
.order-card:hover, .order-card:focus-visible {
    border-color: var(--copper); box-shadow: 0 12px 30px rgba(12, 18, 32, .09);
    transform: translateY(-2px); outline: none;
}
.order-item.is-pending .order-card { border-color: var(--accent-border); }
.oc-top { display: flex; align-items: center; gap: 10px; }
.oc-no { font-weight: 700; font-size: 15.5px; letter-spacing: .02em; overflow-wrap: anywhere; min-width: 0; }
.oc-badge {
    margin-left: auto; flex: 0 0 auto; font-size: 12px; font-weight: 700;
    padding: 4px 11px; border-radius: 999px; background: #eef1f5; color: #475467; white-space: nowrap;
}
.oc-st-pending   { background: var(--accent-soft); color: #8a5a00; }
.oc-st-paid      { background: #e8f1ff; color: #1d4ed8; }
.oc-st-shipped   { background: #e7f5f3; color: #0f766e; }
.oc-st-completed { background: #e8f6ee; color: #067647; }
.oc-st-cancelled { background: #f1f2f4; color: #667085; }
.oc-st-refunded  { background: #fdecea; color: #b42318; }
.oc-mid { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.oc-amount { font-size: 22px; font-weight: 700; color: var(--copper); letter-spacing: -.01em; }
.oc-date { font-size: 13px; color: var(--muted); white-space: nowrap; }
.oc-bot {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    border-top: 1px dashed var(--line); padding-top: 10px; font-size: 13px; min-width: 0;
}
.oc-track { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.oc-go { color: var(--copper); font-weight: 700; white-space: nowrap; flex: 0 0 auto; }
.oc-pay { width: 100%; }
@media (min-width: 720px) {
    .order-item { grid-template-columns: 1fr auto; align-items: center; }
    .oc-pay { width: auto; white-space: nowrap; padding: 12px 26px; }
}

/* ---------- 账户中心：折叠面板 ---------- */
.acct-fold {
    background: var(--paper-2); border: 1px solid var(--line); border-radius: 16px;
    margin-top: 14px; overflow: hidden;
}
.acct-fold > summary {
    display: flex; align-items: center; gap: 10px; padding: 15px 18px;
    cursor: pointer; font-weight: 600; list-style: none; min-height: 56px;
}
.acct-fold > summary::-webkit-details-marker { display: none; }
.acct-fold > summary::marker { content: ""; }
.acct-fold > summary:focus-visible { outline: 2px solid var(--copper); outline-offset: -2px; }
.acct-fold .af-title { font-size: 16px; }
.acct-fold .af-hint {
    margin-left: auto; font-size: 13px; color: var(--muted); font-weight: 500;
    max-width: 52%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.acct-fold .af-chev {
    flex: 0 0 auto; width: 9px; height: 9px; margin-left: 2px;
    border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
    transform: rotate(45deg) translate(-2px, -2px); transition: transform .2s ease;
}
.acct-fold[open] .af-chev { transform: rotate(-135deg) translate(-2px, -2px); }
.af-body { padding: 14px 18px 18px; border-top: 1px solid var(--line); }
.af-body > *:first-child { margin-top: 0; }

/* 账户设置内的入口行 */
.acct-link {
    display: flex; align-items: center; gap: 14px; padding: 14px 2px;
    border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none;
}
.acct-link:last-child { border-bottom: 0; }
.acct-link:hover .al-txt b { color: var(--copper); }
.acct-link .al-ic { flex: 0 0 auto; font-size: 18px; width: 24px; text-align: center; }
.acct-link .al-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.acct-link .al-txt b { font-weight: 600; font-size: 15px; transition: color .15s; }
.acct-link .al-txt small { color: var(--muted); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct-link .al-go { margin-left: auto; color: var(--muted); font-size: 20px; line-height: 1; flex: 0 0 auto; }

/* 折叠内的优惠券 */
.acct-fold-cp .cp-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.acct-fold-cp .cp-face b { font-size: 22px; }

/* ---------- 购物车：手机端卡片化（关键按钮不再被挤出屏幕） ---------- */
@media (max-width: 768px) {
    .table-scroll .cart-table { min-width: 0; }
    .cart-table { display: block; background: none; border-radius: 0; }
    .cart-table thead { display: none; }
    .cart-table tbody { display: block; }
    .cart-table tr {
        position: relative; display: grid; grid-template-columns: repeat(3, 1fr);
        gap: 12px; background: var(--paper-2); border: 1px solid var(--line);
        border-radius: 16px; padding: 16px 16px 14px; margin-bottom: 12px;
    }
    .cart-table td { display: block; padding: 0; border: 0; text-align: left; }
    .cart-table .cart-td-product { grid-column: 1 / -1; padding-right: 30px; }
    .cart-table .cart-td-check { position: absolute; top: 15px; right: 15px; }
    .cart-table .cart-td-check input { width: 20px; height: 20px; margin: 0; }
    .cart-table td[data-label] { display: flex; flex-direction: column; gap: 2px; }
    .cart-table td[data-label]::before {
        content: attr(data-label); color: var(--muted); font-size: 12px; letter-spacing: .03em;
    }
    .cart-table td[data-label] input[type="number"] { width: 100%; padding: 8px 6px; }
    .cart-table .cart-td-actions {
        grid-column: 1 / -1; display: flex; gap: 8px; flex-wrap: wrap;
        border-top: 1px dashed var(--line); padding-top: 12px;
    }
    .cart-table .cart-td-actions .btn { flex: 1 1 140px; }
    .cart-table .cart-item img { width: 56px; height: 56px; }
}

/* ---------- 购物车底部结算条 ---------- */
.cart-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 24px; flex-wrap: wrap; gap: 12px; }
.cart-foot-sum { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
@media (max-width: 640px) {
    .cart-foot { flex-direction: column; align-items: stretch; }
    .cart-foot > .btn { width: 100%; }
    .cart-foot-sum { flex-direction: column; align-items: stretch; text-align: center; }
    .cart-foot-sum strong { font-size: 20px; }
    .cart-foot-sum .btn { width: 100%; }
}

/* ---------- 订单明细表：退款项在手机端整行展开 ---------- */
@media (max-width: 768px) {
    .order-table td { overflow-wrap: anywhere; }
    .order-table td.td-refund { display: block; text-align: left; }
    .order-table td.td-refund::before { display: block; margin-bottom: 6px; }
    .order-table td.td-refund .item-refund { width: 100%; }
    .order-table td.td-refund .item-refund .btn { flex: 1 1 100%; }
}

/* ---------- 全站移动端通用：长英文不挤压、关键按钮可点 ---------- */
@media (max-width: 768px) {
    .btn { max-width: 100%; white-space: normal; text-align: center; line-height: 1.3; }
    .btn-primary, .btn-dark { min-height: 46px; }
    .card { padding: 20px 18px; }
}
@media (max-width: 640px) {
    .section { padding: 56px 0; }
    .page-hero { padding: 34px 0 12px; }
    .hero { min-height: 480px; }
    .hero-content { padding: 62px 0 54px; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero p { font-size: 16px; }
    .acct-hero { padding: 26px 0 8px; }
    .acct-hero h1 { font-size: 25px; }
    .acct-body { padding-bottom: 48px; }
    .acct-sec-head h2 { font-size: 21px; }
    .oc-amount { font-size: 20px; }
    .oc-date { font-size: 12px; }
    .acct-fold .af-hint { max-width: 44%; }
}

