/* 佳英电器：清爽蓝色、轻卡片、少量动效。移动端优先。 */
:root {
  --navy: #0c3f78;
  --blue: #1677d2;
  --blue-2: #3c96ea;
  --ice: #e7f2fc;
  --bg: #f4f7fb;
  --card: #ffffff;
  --text: #1b2836;
  --muted: #5d6d7e;
  --line: #e3ebf4;
  --ok: #0e9a6c;
  --warn: #c4841d;
  --danger: #d24b4b;
  --shadow: 0 10px 28px rgba(16, 72, 130, .08);
  --radius: 16px;
  --max: 1120px;
  --font: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}
a { color: var(--blue); text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
.wrap { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 18px; min-height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--navy); font-weight: 700; }
.mark {
  width: 36px; height: 36px; border-radius: 10px;
  display: grid; place-items: center; color: white;
  background: linear-gradient(145deg, var(--blue-2), var(--navy));
  box-shadow: 0 6px 16px rgba(22,119,210,.28);
}
.nav { display: flex; gap: 16px; margin-left: 8px; }
.nav a { color: var(--text); font-size: 14px; }
.nav a:hover { color: var(--blue); }
.spacer { flex: 1; }
.switch { display: flex; background: var(--ice); border-radius: 999px; padding: 3px; }
.switch a { padding: 6px 12px; border-radius: 999px; color: var(--navy); font-size: 13px; }
.switch a.on { background: white; box-shadow: var(--shadow); color: var(--blue); }
.icon-btn, .btn, .btn-line, .btn-ghost {
  border: 0; border-radius: 12px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
}
.btn { background: var(--blue); color: white; padding: 10px 16px; box-shadow: 0 8px 16px rgba(22,119,210,.22); }
.btn:hover { background: #0f68bc; }
.btn-line { background: white; color: var(--navy); border: 1px solid var(--line); padding: 10px 16px; }
.btn-ghost { background: transparent; color: var(--blue); padding: 8px 10px; }
.btn.danger { background: var(--danger); }
.menu-btn { display: none; background: transparent; border: 0; font-size: 22px; }
.hero {
  display: grid; grid-template-columns: 1.3fr .7fr; gap: 22px;
  padding: 36px 0 10px;
}
.eyebrow { color: var(--blue); font-size: 13px; letter-spacing: .08em; }
h1 { font-size: 40px; line-height: 1.25; margin: 8px 0; color: var(--navy); }
.lead { color: var(--muted); font-size: 16px; max-width: 46em; }
.hero-actions { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.card {
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid rgba(255,255,255,.7);
}
.stat { padding: 16px; }
.stat b { display: block; font-size: 22px; color: var(--navy); }
.stat span { color: var(--muted); font-size: 13px; }
.section { padding: 28px 0; }
.section h2 { margin: 0 0 14px; color: var(--navy); font-size: 26px; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.pcard { padding: 14px; display: flex; flex-direction: column; gap: 8px; color: inherit; min-height: 210px; }
.thumb {
  height: 92px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(160deg, #f3f8fd, #d7e9fa); color: var(--navy); font-size: 28px; font-weight: 700;
}
.pcard h3 { margin: 0; font-size: 16px; color: var(--navy); }
.muted { color: var(--muted); }
.price { color: var(--blue); font-weight: 700; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.step { padding: 16px; }
.step em { color: var(--blue); font-style: normal; font-weight: 700; }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 18px; }
.prose { padding: 22px; }
.prose h2, .prose h3 { color: var(--navy); }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.chip { position: relative; z-index: 1; display: inline-flex; align-items: center; min-height: 36px; padding: 6px 12px; border-radius: 999px; background: white; border: 1px solid var(--line); color: var(--text); font-size: 13px; cursor: pointer; }
.chip.on { background: var(--navy); color: white; border-color: var(--navy); }
.product { display: grid; grid-template-columns: .9fr 1.1fr; gap: 20px; }
.gallery { padding: 18px; }
.sku-list { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.sku-select, .sku-custom { min-height: 40px; min-width: 140px; max-width: 220px; }
.sku { border: 1px solid var(--line); background: white; border-radius: 10px; padding: 8px 10px; cursor: pointer; }
.sku.on { border-color: var(--blue); color: var(--blue); background: var(--ice); }
.row-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.row-actions form { margin: 0; }
.row-actions .btn { padding: 6px 10px; }
.publish-bar {
  position: sticky; bottom: 12px; z-index: 5;
  display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
  margin-top: 14px; padding: 12px 14px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 10px 24px rgba(16, 72, 130, .1);
}
.publish-bar form { margin: 0; }
.form-section { display: grid; gap: 12px; margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--line); }
.form-section h2 { margin: 0; font-size: 18px; }
.table { width: 100%; border-collapse: collapse; background: white; border-radius: 12px; overflow: hidden; }
.table th, .table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); font-size: 14px; vertical-align: top; }
.table th { background: #f8fbfe; color: var(--muted); font-weight: 600; }
.form { display: grid; gap: 12px; }
label { display: grid; gap: 6px; font-size: 14px; color: var(--navy); }
input[type="text"], input[type="password"], input[type="number"], input[type="search"], select, textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; background: white; color: var(--text);
}
textarea { min-height: 110px; resize: vertical; }
.notice { padding: 10px 12px; border-radius: 12px; background: #fff7e8; color: #8a5a10; }
.okbox { padding: 10px 12px; border-radius: 12px; background: #e9f8f2; color: #0d7a56; }
.site-footer { margin-top: 30px; padding: 28px 0 90px; background: white; border-top: 1px solid var(--line); color: var(--muted); }
.foot { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; display: none;
  background: white; border-top: 1px solid var(--line); z-index: 30;
}
.tabbar a { flex: 1; text-align: center; padding: 8px 0 10px; color: var(--muted); font-size: 12px; }
.chat-dock { display: none; position: fixed; right: 18px; bottom: 18px; z-index: 40; }
.chat-dock.open { display: block; }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.chat-head img { width: 48px; height: 48px; object-fit: cover; border-radius: 8px; background: rgba(255,255,255,.16); }
.chat-head strong { display: block; }
.chat-head .btn-ghost { margin-left: auto; }
.chat-panel {
  width: min(380px, calc(100vw - 24px)); height: 460px; display: none; flex-direction: column;
  margin-bottom: 10px; overflow: hidden;
}
.chat-panel.open { display: flex; }
.chat-log { flex: 1; overflow: auto; padding: 12px; display: flex; flex-direction: column; gap: 8px; background: #f7fbfe; }
.bubble { padding: 8px 10px; border-radius: 12px; max-width: 85%; font-size: 14px; }
.bubble.me { margin-left: auto; background: var(--blue); color: white; }
.bubble.bot { background: white; border: 1px solid var(--line); }
.chat-form { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--line); }
.timeline { border-left: 2px solid var(--ice); margin-left: 8px; padding-left: 14px; }
.timeline div { margin: 0 0 10px; }
.flash { margin: 12px auto; width: min(var(--max), calc(100% - 32px)); }
.admin-body { display: grid; grid-template-columns: 230px 1fr; min-height: 100vh; }
.side { background: var(--navy); color: white; padding: 12px 10px; position: sticky; top: 0; height: 100vh; overflow: auto; }
.side a { display: block; color: rgba(255,255,255,.86); padding: 5px 10px; border-radius: 8px; font-size: 13px; }
.side a.on, .side a:hover { background: rgba(255,255,255,.12); color: white; }
.side .group { margin: 12px 10px 4px; font-size: 12px; color: rgba(255,255,255,.55); }
.main { padding: 14px 16px 28px; }
.admin-body .main { line-height: 1.45; }
.admin-body h1 { font-size: 22px; margin: 0 0 6px; }
.admin-body h2 { font-size: 16px; margin: 14px 0 6px; }
.admin-body h3 { font-size: 14px; margin: 8px 0 4px; }
.admin-body .muted, .admin-body .notice, .admin-body .okbox { font-size: 13px; }
.admin-body .prose { padding: 12px 14px; }
.admin-body .form { gap: 8px; }
.admin-body .card { margin-top: 10px; }
.admin-body .card:first-of-type { margin-top: 8px; }
.admin-body textarea { min-height: 64px; }
.admin-body .table th, .admin-body .table td { padding: 6px 8px; }
.admin-body .btn, .admin-body .btn-line { padding: 6px 12px; border-radius: 8px; box-shadow: none; }
.admin-body .card:hover { transform: none; }
.admin-body .kpis { gap: 8px; }
.admin-body .kpi { padding: 10px 12px; }
.admin-body .kpi b { font-size: 20px; }
.admin-body .fold {
  margin: 8px 0; background: #fff; border: 1px solid var(--line); border-radius: 10px;
}
.admin-body .fold > summary {
  cursor: pointer; padding: 8px 12px; font-weight: 650; color: var(--navy); list-style: none;
}
.admin-body .fold > summary::-webkit-details-marker { display: none; }
.admin-body .fold > summary::before { content: "▸ "; color: var(--blue); }
.admin-body .fold[open] > summary { border-bottom: 1px solid var(--line); }
.admin-body .fold[open] > summary::before { content: "▾ "; }
.admin-body .fold > :not(summary) { margin-left: 12px; margin-right: 12px; }
.admin-body .fold > :last-child { margin-bottom: 10px; }
.admin-body .fold .form-section { border-top: 0; margin-top: 0; padding-top: 4px; }
.admin-body .fold > h2 { display: none; }
.admin-body .fold .form-section > h2 { height: 0; margin: 0; overflow: hidden; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.kpi { padding: 14px 16px; }
.kpi b { font-size: 24px; color: var(--navy); }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 120px; padding: 12px; }
.bars span { flex: 1; background: linear-gradient(180deg, var(--blue-2), var(--blue)); border-radius: 8px 8px 2px 2px; min-height: 4px; }
.bars i { display: block; text-align: center; font-style: normal; font-size: 11px; color: var(--muted); }
.pagerow { display: flex; justify-content: space-between; gap: 12px; align-items: center; flex-wrap: wrap; }
.tag { display: inline-block; padding: 2px 8px; border-radius: 999px; background: var(--ice); color: var(--navy); font-size: 12px; }
.status { font-size: 12px; padding: 2px 8px; border-radius: 999px; background: #eef3f8; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.check { display: flex; gap: 8px; align-items: center; }
.print-bar { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; }
.print-bar select { min-width: 220px; display: block; margin-top: 4px; }
.tool-ok { color: #0d7a3f; }
.tool-off { color: #8a5a00; }
.waybill { width: 720px; margin: 20px auto; background: white; color: #1c2b3a; padding: 24px; page-break-after: always; }
.waybill:last-child { page-break-after: auto; }
.waybill h1, .waybill p, .waybill strong { color: #1c2b3a; }
@media print {
  .site-header, .side, .no-print, .tabbar, .chat-dock { display: none !important; }
  .admin-body { display: block; }
  .waybill { box-shadow: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .pcard, .card { transition: box-shadow .18s ease; }
}
@media (max-width: 980px) {
  .hero, .product, .split, .two, .admin-body { grid-template-columns: 1fr; }
  .grid, .steps, .kpis { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
  .nav.open { display: flex; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: white; padding: 12px 18px 16px; border-bottom: 1px solid var(--line); }
  .menu-btn { display: inline-flex; }
  .tabbar { display: flex; }
  .chat-dock { bottom: 70px; }
  .side { position: static; top: auto; height: auto; }
  h1 { font-size: 32px; }
}
@media (max-width: 640px) {
  .grid, .steps, .kpis, .stat-grid { grid-template-columns: 1fr; }
  .header-inner { min-height: 60px; }
}

/* 官网前台：深蓝底、青色描边和发光卡片。后台不带 .store。 */
body.store {
  --navy: #e8f6ff;
  --blue: #3ec4ff;
  --blue-2: #7ad8ff;
  --ice: rgba(46, 180, 255, .16);
  --bg: #06101c;
  --card: rgba(10, 32, 64, .78);
  --text: #e8f6ff;
  --muted: #8eafcc;
  --line: rgba(80, 186, 255, .38);
  --shadow: 0 0 0 1px rgba(70, 176, 255, .28), 0 16px 40px rgba(0, 8, 24, .45);
  --max: 1240px;
  background:
    radial-gradient(880px 420px at 88% 6%, rgba(32, 130, 255, .28), transparent 58%),
    radial-gradient(640px 360px at 6% 16%, rgba(12, 70, 160, .24), transparent 55%),
    radial-gradient(520px 280px at 50% 100%, rgba(16, 90, 180, .16), transparent 62%),
    #06101c;
  color: var(--text);
  min-height: 100vh;
}
body.store a { color: #9fd8ff; }
body.store .site-header {
  background: rgba(6, 16, 32, .9);
  border-bottom: 1px solid rgba(70, 176, 255, .32);
  box-shadow: 0 8px 28px rgba(0, 0, 0, .35);
  backdrop-filter: blur(16px);
}
body.store .logo, body.store .nav a, body.store .btn-ghost { color: #fff; }
body.store .nav a:hover, body.store .btn-ghost:hover { color: #fff; opacity: .82; }
body.store .nav { gap: 12px; align-items: center; }
body.store .nav a { font-size: 13px; white-space: nowrap; }
body.store .nav-drop { position: relative; }
body.store .nav-sub {
  display: none; position: absolute; top: 100%; left: 0; min-width: 132px;
  padding: 10px 8px 8px; background: #0b1c34; border: 1px solid rgba(80, 186, 255, .4); border-radius: 12px;
  box-shadow: 0 12px 28px rgba(0, 8, 24, .45); z-index: 40;
}
body.store .pcard .row-actions { position: relative; z-index: 2; }
body.store .nav-drop:hover .nav-sub,
body.store .nav-drop:focus-within .nav-sub { display: grid; gap: 4px; }
body.store .nav-sub a { display: block; padding: 6px 8px; border-radius: 8px; }
body.store .nav-sub a:hover { background: rgba(255,255,255,.14); opacity: 1; }
body.store .nav-tools { display: none; }
body.store .nav-more { display: none; }
body.store .header-inner .btn,
body.store .header-inner .btn-line,
body.store .header-inner .btn-ghost,
body.store .switch a { white-space: nowrap; }
body.store .logo { white-space: nowrap; }
body.store .logo-img { height: 42px; width: auto; max-width: 180px; object-fit: contain; background: transparent; }
body.store .header-inner { gap: 10px; }
body.store .mark {
  background: linear-gradient(145deg, #4ad0ff, #1478e6);
  color: #fff;
  box-shadow: 0 0 16px rgba(50, 180, 255, .45);
}
body.store .btn,
body.store .btn:hover {
  color: #fff;
  background: linear-gradient(180deg, #3ec4ff, #1478e8);
  box-shadow: 0 0 18px rgba(40, 160, 255, .42);
}
body.store .btn:hover { filter: brightness(1.06); }
body.store .btn.danger,
body.store .btn.danger:hover { background: #d24b4b; filter: none; }
body.store .btn-line,
body.store .btn-line:hover {
  background: rgba(8, 28, 56, .55);
  color: #e8f6ff;
  border: 1px solid rgba(90, 196, 255, .7);
  box-shadow: 0 0 14px rgba(40, 160, 255, .18);
}
body.store .btn-line:hover { background: rgba(24, 72, 130, .55); }
body.store .switch { background: rgba(20, 60, 110, .45); }
body.store .switch a { color: #e8f6ff; }
body.store .switch a.on { background: #fff; color: #0c4f9a; box-shadow: none; }
body.store .card {
  background: linear-gradient(180deg, rgba(16, 48, 92, .78), rgba(8, 26, 54, .88));
  border: 1px solid rgba(90, 196, 255, .48);
  border-radius: 16px;
  box-shadow: 0 0 0 1px rgba(40, 140, 255, .12), 0 0 22px rgba(30, 130, 255, .18), inset 0 1px 0 rgba(170, 226, 255, .16);
  backdrop-filter: blur(10px);
}
body.store h1, body.store h2, body.store h3, body.store .pcard h3,
body.store .prose h2, body.store .prose h3, body.store strong { color: #fff; }
body.store .b2b-hero { align-items: center; grid-template-columns: 1.05fr .95fr; gap: 36px; }
body.store .b2b-hero h1 {
  font-size: 64px; font-weight: 800; line-height: 1.08; letter-spacing: .02em; margin: 14px 0 10px;
}
body.store .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px 6px 10px; border-radius: 999px;
  background: rgba(10, 36, 72, .55); border: 1px solid rgba(90, 196, 255, .4);
  color: #d7f1ff; letter-spacing: 0; font-size: 13px;
}
body.store .live-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #3dde7a;
  box-shadow: 0 0 0 4px rgba(61, 222, 122, .22);
}
body.store .hero-line {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin: 0 0 8px; color: #fff; font-size: 18px;
}
body.store .pill-hot {
  display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 8px;
  background: linear-gradient(180deg, #3ec4ff, #1478e8); color: #fff; font-weight: 700; font-size: 14px;
}
body.store .lead { color: #b7d4ea; }
body.store .mode-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
body.store .hero-modes { grid-template-columns: 1fr; gap: 14px; }
body.store .mode { padding: 16px 18px; color: #fff; min-height: 0; }
body.store .hero-modes .mode {
  display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; align-items: center; padding: 18px 18px;
}
body.store .hero-modes .mode-icon { grid-column: 1; grid-row: 1 / span 2; }
body.store .mode b { display: block; margin: 10px 0 4px; font-size: 18px; color: #fff; }
body.store .hero-modes .mode b { grid-column: 2; grid-row: 1; margin: 0; font-size: 18px; }
body.store .hero-modes .mode p { grid-column: 2; grid-row: 2; }
body.store .mode p { margin: 0; color: #9ec4de; }
body.store .mode-icon {
  width: 44px; height: 44px; display: block; border-radius: 12px;
  background-color: #1a7ee0; background-repeat: no-repeat; background-position: center; background-size: 24px;
  box-shadow: 0 0 16px rgba(50, 180, 255, .4);
}
body.store .mode-retail .mode-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath fill='none' stroke='white' stroke-width='2.4' d='M8 16 h32 l-3 18 H11 z M18 16 v-4 a6 6 0 0 1 12 0 v4'/%3E%3C/svg%3E");
}
body.store .mode-wholesale .mode-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath fill='none' stroke='white' stroke-width='2.4' d='M10 18 L24 10 L38 18 L24 26 Z M10 18 V30 L24 38 V26 M38 18 V30 L24 38'/%3E%3C/svg%3E");
}
body.store .mode-dropship .mode-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath fill='white' d='M26 6 L14 26 h10 l-2 16 14-22 H26 z'/%3E%3C/svg%3E");
}
body.store .mode-oem .mode-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath fill='none' stroke='white' stroke-width='2.4' d='M24 42 s-12-8.5-12-18 a8 8 0 0 1 16 0 c0 9.5-4 18-4 18z'/%3E%3Ccircle cx='24' cy='22' r='3' fill='white'/%3E%3C/svg%3E");
}
body.store .thumb {
  background: rgba(12, 40, 78, .7);
  color: #e8f6ff;
  border: 1px solid rgba(90, 196, 255, .35);
}
body.store .pcard { color: #e8f6ff; }
body.store .pcard .btn { margin-top: auto; }
body.store .price { color: #7ad8ff; }
body.store .step em { color: #7ad8ff; }
body.store .tag, body.store .status {
  background: rgba(30, 90, 150, .4); color: #e8f6ff;
}
body.store .spec-list { list-style: none; padding: 0; margin: 14px 0; display: grid; gap: 8px; }
body.store .spec-list li {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px;
}
body.store .spec-list span { color: var(--muted); }
body.store .gallery-main {
  width: 100%; aspect-ratio: 1; object-fit: contain;
  background: rgba(255, 255, 255, .08); border-radius: 12px;
}
body.store .gallery-thumbs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
body.store .gallery-thumbs button {
  padding: 0; border: 2px solid transparent; border-radius: 10px; background: transparent; cursor: pointer;
}
body.store .gallery-thumbs button.on { border-color: #fff; }
body.store .gallery-thumbs img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; display: block; }
body.store .sku img { width: 28px; height: 28px; object-fit: cover; border-radius: 6px; vertical-align: middle; margin-right: 6px; }
body.store .detail-page img { width: 100%; border-radius: 12px; margin-top: 12px; }
body.store input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="submit"]):not([type="button"]),
body.store select, body.store textarea {
  background: rgba(6, 18, 36, .85); color: #e8f6ff; border: 1px solid rgba(90, 196, 255, .4);
}
body.store input::placeholder, body.store textarea::placeholder { color: #7ea3bf; }
body.store .pdd input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="submit"]):not([type="button"]),
body.store .pdd select, body.store .pdd textarea {
  background: #fff; color: #151516; border: 1px solid #ddd;
}
body.store .table { background: rgba(255, 255, 255, .1); }
body.store .table th { background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .78); }
body.store .table td { color: #fff; }
body.store .sku { background: rgba(10, 32, 64, .7); color: #e8f6ff; border-color: rgba(90, 196, 255, .4); }
body.store .sku.on { background: #1478e8; color: #fff; border-color: #3ec4ff; }
body.store .chip { background: rgba(10, 32, 64, .7); color: #e8f6ff; border-color: rgba(90, 196, 255, .4); }
body.store .chip.on { background: #1478e8; color: #fff; border-color: #3ec4ff; }
body.store .notice { background: rgba(255, 244, 230, .95); color: #8a4b10; }
body.store .okbox { background: rgba(232, 255, 244, .95); color: #0d7a56; }
body.store .site-footer {
  background: rgba(4, 12, 24, .85); border-top: 1px solid rgba(80, 186, 255, .28); color: #8eafcc;
}
body.store .tabbar {
  background: rgba(6, 16, 32, .94); border-top-color: rgba(80, 186, 255, .32); backdrop-filter: blur(12px);
}
body.store .tabbar a { color: rgba(255, 255, 255, .88); }
body.store .chat-head { color: #fff; border-bottom-color: rgba(255,255,255,.16); }
body.store .chat-dock { bottom: 18px; }
@media (max-width: 980px) {
  body.store .chat-dock { bottom: 78px; }
}
body.store .chat-log { background: rgba(6, 18, 36, .72); }
body.store .bubble.me { background: #1478e8; color: #fff; }
body.store .bubble.bot { background: rgba(16, 48, 92, .8); color: #e8f6ff; border-color: rgba(90, 196, 255, .35); }
body.store .chat-form { background: transparent; flex-wrap: wrap; border-top-color: rgba(255, 255, 255, .16); }
body.store .chat-form input { width: auto; flex: 1 1 120px; min-width: 0; }
body.store .nav.open { background: #071422; border-bottom-color: rgba(80, 186, 255, .32); }
body.store .menu-btn { color: #fff; }
@media (max-width: 980px) {
  body.store .nav.open {
    display: flex; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0;
    background: #071422; padding: 12px 18px 28px; border-bottom: 1px solid rgba(80, 186, 255, .32);
    z-index: 45; max-height: calc(100vh - 68px); overflow-y: auto;
  }
  body.store:has(.nav.open) .tabbar { visibility: hidden; }
  body.store .nav.open a { min-height: 44px; display: flex; align-items: center; }
  body.store .tabbar a { min-height: 44px; }
  body.store main { padding-bottom: 8px; }
  body.store .site-footer { padding-bottom: 120px; }
}
@media (max-width: 980px) {
  body.store .b2b-hero h1 { font-size: 40px; }
  body.store .hero-modes { grid-template-columns: 1fr 1fr; }
  body.store .hero-modes .mode { text-align: left; padding: 12px; scroll-margin-bottom: 72px; }
  body.store .pcard, body.store .pdd-detail, body.store form { scroll-margin-bottom: 88px; }
  body.store .hero-modes .mode p { display: none; }
  body.store .hero-modes .mode b { font-size: 16px; }
  body.store .hero-modes .mode-icon { margin: 0; }
  body.store .hero { padding-top: 18px; }
  body.store .nav.open { background: #071422; }
  body.store .nav.open .nav-more, body.store .nav.open .nav-tools { display: block; }
  body.store .nav.open .nav-sub { display: grid; position: static; background: transparent; border: 0; box-shadow: none; padding: 0 0 8px 12px; }
  body.store .desk-cta, body.store .switch, body.store .header-inner > .btn-ghost { display: none; }
}

/* 商品页按拼多多上架页：白底、红价、底栏。只作用在 .pdd，其余页面仍是蓝色官网。 */
body.store .pdd { background: #f4f4f4; color: #151516; padding-bottom: 84px; }
body.store .pdd h1, body.store .pdd h2, body.store .pdd h3, body.store .pdd p,
body.store .pdd strong, body.store .pdd b, body.store .pdd label { color: #151516; }
body.store .pdd a { color: #151516; }
body.store .pdd .btn-line { background: #fff; color: #e02e24; border: 1px solid #e02e24; }
body.store .pdd-top { display: block; }
body.store .pdd-gallery { position: relative; background: #fff; }
body.store .pdd-photo { width: 100%; aspect-ratio: 1; object-fit: contain; background: #f7f7f7; display: block; }
body.store .pdd-empty { display: grid; place-items: center; font-size: 48px; color: #c8c8c8; }
body.store .pdd-count {
  position: absolute; right: 12px; bottom: 12px; padding: 2px 8px; border-radius: 999px;
  background: rgba(0, 0, 0, .45); color: #fff; font-size: 12px;
}
body.store .pdd-film { display: flex; gap: 8px; padding: 8px 12px 12px; overflow: auto; background: #fff; }
body.store .pdd-film button { padding: 0; border: 2px solid transparent; border-radius: 6px; background: #fff; }
body.store .pdd-film button.on { border-color: #e02e24; }
body.store .pdd-film img { width: 52px; height: 52px; object-fit: cover; display: block; }
body.store .pdd-film button[data-video] {
  width: 52px; height: 52px; font-size: 12px; color: #fff; background: #111;
}
.store-preview {
  position: fixed; inset: 0; z-index: 80; display: grid; place-items: center;
  background: rgba(0, 0, 0, .72); padding: 24px;
}
.store-preview[hidden] { display: none !important; }
.store-preview-card {
  position: relative; max-width: min(920px, 96vw); max-height: 90vh;
  background: #111; border-radius: 12px; padding: 16px 16px 20px;
}
.store-preview-card img,
.store-preview-card video {
  display: block; max-width: 100%; max-height: 78vh; margin: 0 auto; object-fit: contain;
}
.store-preview-card [data-preview-close] { margin-bottom: 12px; }
.frame-row { display: flex; align-items: center; gap: 10px; margin: 8px 0; }
.frame-row img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; background: #f4f4f4; cursor: pointer; }
body.store .sku-pool { display: none; }
body.store .pdd .sku-select, body.store .pdd .sku-custom {
  background: #fff; color: #151516; border: 1px solid #ddd; border-radius: 8px; padding: 8px 10px;
}
body.store .sku-list button[hidden] { display: none !important; }
[data-sku-builder] [hidden] { display: none !important; }
.boards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.board { padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.board h2 { margin: 0 0 6px; font-size: 18px; }
.board p { margin: 0 0 10px; }
[data-board="toc"] [data-price="sample"],
[data-board="toc"] [data-price="wholesale"],
[data-board="toc"] [data-price="dropship"],
[data-board="wholesale"] [data-price="dropship"],
[data-board="dropship"] [data-price="sample"],
[data-board="dropship"] [data-price="stock"],
[data-board="dropship"] [data-price="wholesale"],
[data-board="oem"] [data-price="sample"],
[data-board="oem"] [data-price="stock"],
[data-board="oem"] [data-price="wholesale"],
[data-board="oem"] [data-price="dropship"] { display: none !important; }
.wholesale-only[hidden] { display: none !important; }
@media (max-width: 980px) {
  .boards { grid-template-columns: 1fr; }
}
.spec-box { display: grid; gap: 8px; margin: 0 0 12px; padding: 12px; border: 1px solid #e3ebf4; border-radius: 12px; background: #f8fbfe; }
.spec-box .spec-name { max-width: 280px; }
.spec-values { display: flex; flex-wrap: wrap; gap: 8px; }
.spec-chip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid #e3ebf4; border-radius: 4px; padding: 4px 8px; background: #fff; }
.spec-add { display: flex; gap: 8px; align-items: center; }
.spec-add input { width: auto; flex: 1; min-width: 0; }
.spec-add .btn-line { flex: 0 0 auto; }
.sku-scroll { overflow-x: auto; }
.sku-grid { width: 100%; border-collapse: collapse; margin-top: 12px; }
.sku-grid th, .sku-grid td { border-bottom: 1px solid #e3ebf4; padding: 6px; text-align: left; font-size: 13px; vertical-align: middle; }
.sku-grid input[type="text"], .sku-grid input[type="number"] { width: 100%; }
.region-grid { display: flex; flex-wrap: wrap; gap: 8px 14px; margin: 8px 0 12px; }
.upload-preview { display: flex; flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: 8px; margin: 8px 0; }
.pdd-shots > .upload-preview { flex: 1 0 100%; width: 100%; margin: 0; }
.preview-tile { border: 1px solid #e3ebf4; background: #fff; border-radius: 8px; padding: 6px; cursor: pointer; }
.preview-tile img, .preview-tile video { width: 96px; height: 96px; object-fit: cover; border-radius: 6px; background: #111; display: block; }
.preview-tile span { display: block; text-align: center; font-size: 12px; color: #1677d2; }
#media-preview[hidden] { display: none !important; }
#media-preview { position: fixed; inset: 0; z-index: 80; background: rgba(0,0,0,.72); display: grid; place-items: center; padding: 24px; }
.media-preview-card { max-width: min(920px, 100%); }
.media-preview-card img, .media-preview-card video { max-width: 100%; max-height: 80vh; background: #111; display: block; }
.media-preview-card button { margin-bottom: 8px; }
body.store .pdd-video-btn {
  position: absolute; left: 12px; bottom: 12px; border: 0; border-radius: 999px;
  background: rgba(0, 0, 0, .55); color: #fff; padding: 4px 10px; font-size: 12px;
}
body.store .pdd video { width: 100%; background: #000; }
body.store .pdd-info, body.store .pdd-detail, body.store .pdd-panel { background: #fff; margin-top: 8px; padding: 12px 14px; }
body.store .pdd-price-row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
body.store .pdd-price { margin: 0; color: #e02e24; font-size: 28px; font-weight: 700; line-height: 1; }
body.store .pdd-price span { color: #e02e24; }
body.store .pdd-side, body.store .pdd-note, body.store .pdd-sell { color: #9c9c9c; font-size: 13px; }
body.store .pdd h1 { margin: 8px 0 4px; font-size: 17px; line-height: 1.45; font-weight: 650; }
body.store .pdd-sell { margin: 0 0 8px; }
body.store .pdd-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
body.store .pdd-tags span { background: #fff4f3; color: #e02e24; border-radius: 4px; padding: 1px 6px; font-size: 12px; }
body.store .pdd-cell { display: grid; grid-template-columns: 42px 1fr; gap: 8px; padding: 10px 0; border-top: 1px solid #f2f2f2; font-size: 14px; }
body.store .pdd-cell span { color: #9c9c9c; }
body.store .pdd-label { color: #9c9c9c; font-size: 13px; margin-bottom: 8px; }
body.store .pdd .sku { background: #fff; color: #151516; border: 1px solid #e5e5e5; border-radius: 4px; }
body.store .pdd .sku.on { color: #e02e24; border-color: #e02e24; background: #fff5f4; }
body.store .pdd .sku img { width: 22px; height: 22px; object-fit: cover; border-radius: 2px; vertical-align: middle; margin-right: 4px; }
body.store .pdd-qty { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
body.store .pdd-qty input { width: 88px; }
body.store .pdd .table { background: #fff; }
body.store .pdd .table th { background: #fafafa; color: #666; width: 88px; }
body.store .pdd .table td, body.store .pdd .table th { color: #151516; border-bottom-color: #f2f2f2; }
body.store .pdd-actions, body.store .pdd-bar { display: flex; gap: 8px; align-items: center; }
body.store .pdd-actions { margin-top: 10px; flex-wrap: wrap; }
body.store .pdd-cart, body.store .pdd-buy, body.store .pdd-ghost {
  display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 16px;
  border-radius: 20px; border: 0; text-decoration: none; font-weight: 650; cursor: pointer;
}
body.store .pdd-cart { background: #f6c343; color: #333 !important; }
body.store .pdd-buy { background: #e02e24; color: #fff !important; }
body.store .pdd-ghost { background: #fff; color: #e02e24 !important; border: 1px solid #e02e24; }
body.store .pdd-detail h2 { text-align: center; font-size: 15px; margin: 0 0 12px; }
body.store .pdd-detail h2::before, body.store .pdd-detail h2::after { content: ""; display: inline-block; width: 28px; height: 1px; background: #ddd; vertical-align: middle; margin: 0 8px; }
body.store .pdd-detail img { width: 100%; margin-top: 8px; }
body.store .pdd-copy { font-size: 14px; line-height: 1.7; }
body.store .pdd-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 28;
  background: #fff; border-top: 1px solid #eee; padding: 8px 12px;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, .05);
}
body.store .pdd-icon { background: transparent; border: 0; color: #666 !important; font-size: 12px; padding: 0 8px; cursor: pointer; }
@media (min-width: 900px) {
  body.store .pdd-top { display: grid; grid-template-columns: minmax(280px, 460px) 1fr; gap: 12px; align-items: start; max-width: 1080px; margin: 12px auto; }
  body.store .pdd-detail { max-width: 1080px; margin-left: auto; margin-right: auto; }
}
@media (max-width: 980px) {
  body.store .pdd-bar { bottom: 58px; flex-wrap: wrap; }
  body.store .pdd-cart, body.store .pdd-buy { flex: 1 1 120px; text-align: center; }
  body.store .pdd { padding-bottom: 170px; }
}

.pdd-copy { margin: 0 0 12px; padding: 12px 14px; background: #fff; border: 1px solid #ececec; border-radius: 4px; }
.pdd-copy p { margin: 0 0 8px; }
.pdd-copy div { display: flex; flex-wrap: wrap; gap: 8px; }
.link-copy ol { margin: 0 0 8px; padding-left: 1.2em; }
.link-copy li { margin: 0 0 4px; }
.link-copy label { display: grid; gap: 4px; min-width: min(100%, 320px); flex: 1; font-size: 13px; }
.link-copy input, .link-copy select { width: 100%; }
.link-copy .btn { align-self: end; }
.pdd-page { margin: -14px -16px -28px; padding: 16px 16px 28px; background: #f5f5f5; }
.pdd-pub { display: grid; gap: 12px; }
.pdd-pub [hidden] { display: none !important; }
.pdd-cat, .pdd-card {
  background: #fff; border: 1px solid #ececec; border-radius: 4px; padding: 16px 18px;
}
.pdd-cat { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.pdd-cat strong { font-size: 14px; }
.pdd-cat label { display: flex; align-items: center; gap: 8px; margin-left: auto; min-width: 220px; }
.pdd-cat select { width: 180px; border-radius: 4px; }
.pdd-card h2 { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; font-size: 16px; }
.pdd-card h2 i {
  display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%;
  background: #2f6bff; color: #fff; font-style: normal; font-size: 12px;
}
.pdd-card h3 { margin: 0 0 8px; font-size: 15px; }
.pdd-tool { margin: -6px 0 12px; }
.pdd-field { display: grid; grid-template-columns: 112px 1fr; gap: 12px; margin: 0 0 16px; }
.pdd-label { color: #333; font-size: 14px; padding-top: 6px; }
.pdd-label em { color: #e02e24; font-style: normal; margin-right: 2px; }
.pdd-label span { display: block; margin-top: 6px; color: #888; font-size: 12px; }
.pdd-shots { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-start; }
.pdd-shot {
  width: 112px; display: grid; gap: 4px; justify-items: center;
  padding: 6px; border: 1px solid #eee; border-radius: 4px; background: #fafafa; font-size: 12px;
}
.pdd-shot img, .pdd-shot video { width: 96px; height: 96px; object-fit: cover; background: #f4f4f4; }
.pdd-pub label.pdd-drop {
  position: relative; display: grid; place-items: center; width: 104px; height: 104px;
  border: 1px dashed #d0d3d8; border-radius: 4px; background: #fff; color: #666; cursor: pointer;
}
.pdd-pub label.pdd-drop input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.pdd-pub label.pdd-drop b { font-weight: 400; font-size: 13px; }
.pdd-pub label.pdd-local {
  position: relative; display: inline-flex; align-items: center; margin-left: auto;
  padding: 4px 10px; border: 1px solid #2f6bff; border-radius: 4px; color: #2f6bff; cursor: pointer;
}
.pdd-pub label.pdd-local input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.pdd-attr-box { background: #f7f8fa; border-radius: 4px; padding: 12px; }
.pdd-attrs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
.pdd-pub .pdd-attrs label, .pdd-pub label.pdd-slim { display: grid; gap: 4px; font-size: 13px; color: #666; }
.pdd-pub input, .pdd-pub select, .pdd-pub textarea { border-radius: 4px; }
.pdd-price-table {
  display: grid; grid-template-columns: repeat(4, minmax(120px, 1fr)); gap: 0;
  border: 1px solid #eee; border-radius: 4px; overflow: hidden;
}
.pdd-price-table label { gap: 0; background: #fff; }
.pdd-price-table label span { display: block; padding: 8px 10px; background: #fafafa; border-bottom: 1px solid #eee; color: #888; font-size: 13px; }
.pdd-price-table input { border: 0; border-radius: 0; }
.pdd-detail { display: grid; grid-template-columns: 280px 1fr; gap: 12px; align-items: start; }
.pdd-page .pdd-detail { grid-template-columns: 1fr; }
.pdd-preview, .pdd-editor { border: 1px solid #eee; border-radius: 4px; background: #fff; min-height: 280px; }
.pdd-page .pdd-preview, .pdd-page .pdd-editor { min-height: 0; }
.pdd-preview-bar, .pdd-editor-bar {
  display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-bottom: 1px solid #eee; background: #fafafa; font-size: 13px;
}
.pdd-stage { padding: 12px; }
.pdd-stage img { width: 100%; display: block; margin-bottom: 8px; background: #f7f7f7; }
.pdd-page .pdd-stage {
  display: flex; flex-direction: row; flex-wrap: nowrap; align-items: center; gap: 8px;
  overflow-x: auto; padding: 12px;
}
.pdd-page .pdd-stage img {
  width: 96px; height: 96px; flex: 0 0 auto; object-fit: cover; margin: 0; border-radius: 6px;
}
.pdd-empty { display: grid; place-items: center; min-height: 220px; color: #999; text-align: center; }
.pdd-empty b { font-size: 42px; font-weight: 400; color: #d0d0d0; }
.pdd-editor .pdd-shots, .pdd-editor > label { margin: 10px; }
.pdd-submit {
  position: sticky; bottom: 0; z-index: 6; justify-content: center;
  border-radius: 0; border-left: 0; border-right: 0; box-shadow: 0 -4px 12px rgba(0,0,0,.06);
}
.pdd-submit .btn { min-width: 128px; background: #2f6bff; border-radius: 4px; box-shadow: none; }
.pdd-submit .btn-line { min-width: 128px; border-radius: 4px; }
@media (max-width: 980px) {
  .pdd-field, .pdd-detail, .pdd-attrs, .pdd-price-table { grid-template-columns: 1fr; }
}
