/* ==========================================================
   YAKUN — PT YAKUN PRIMA INDONESIA · B2B 批发目录设计系统
   深海军蓝 + 活力橙 CTA + WhatsApp 绿 · 移动优先
   ========================================================== */
:root {
  --navy: #0b2447;
  --navy-2: #14356b;
  --navy-3: #1e4d8f;
  --blue: #2563eb;
  --orange: #ff6b1a;
  --orange-dark: #e0560a;
  --wa: #25d366;
  --wa-dark: #1da851;
  --bg: #f5f7fb;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --green: #16a34a;
  --green-light: #dcfce7;
  --amber: #f59e0b;
  --amber-light: #fef3c7;
  --red: #dc2626;
  --red-light: #fee2e2;
  --blue-light: #dbeafe;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 10px 30px rgba(15, 23, 42, .07);
  --shadow-lg: 0 6px 16px rgba(15, 23, 42, .1), 0 24px 48px rgba(15, 23, 42, .14);
  --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.6; -webkit-font-smoothing: antialiased; }
.price, .stat-num, .sku, .cart-badge, .cat-count { font-variant-numeric: tabular-nums; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ============ 按钮 ============ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: none; border-radius: 999px; font-weight: 600; font-size: .95em; padding: 12px 22px; transition: all .18s; white-space: nowrap; }
.btn-lg { padding: 15px 30px; font-size: 1.02em; }
.btn-sm { padding: 8px 16px; font-size: .86em; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-dark); transform: translateY(-1px); box-shadow: 0 6px 16px rgba(37, 211, 102, .35); }
.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { background: var(--orange-dark); transform: translateY(-1px); box-shadow: 0 6px 16px rgba(255, 107, 26, .35); }
.btn-quote { background: #fff; color: var(--navy); border: 1.5px solid var(--navy); }
.btn-quote:hover { background: var(--navy); color: #fff; }
.btn-outline { background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, .55); }
.btn-outline:hover { border-color: #fff; background: rgba(255, 255, 255, .1); }
.btn-ghost { background: transparent; color: var(--muted); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }

/* ============ 公告条 ============ */
.announce { background: var(--navy); color: #fff; font-size: .86em; text-align: center; overflow: hidden; }
.announce-inner { padding: 8px 16px; transition: opacity .4s; }

/* ============ 头部 ============ */
.site-header { position: sticky; top: 0; z-index: 200; background: rgba(255, 255, 255, .95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { max-width: 1200px; margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; gap: 20px; }
.logo { font-size: 1.5em; font-weight: 800; letter-spacing: 1px; color: var(--navy); }
.logo-dot { color: var(--orange); }
.nav { display: flex; gap: 4px; margin-left: 8px; }
.nav a { padding: 8px 14px; border-radius: 999px; font-size: .92em; font-weight: 500; color: var(--muted); transition: all .15s; }
.nav a:hover { color: var(--navy); background: var(--bg); }
.nav a.active { color: #fff; background: var(--navy); }
.header-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.lang-switch { display: flex; gap: 2px; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang-btn { border: none; background: transparent; border-radius: 999px; padding: 5px 10px; font-size: .8em; font-weight: 600; color: var(--muted); transition: all .15s; display: inline-flex; align-items: center; gap: 4px; }
.lang-btn .flag { font-size: 1.05em; }
.lang-btn:hover { color: var(--navy); }
.lang-btn.active { background: var(--navy); color: #fff; }
.menu-btn { display: none; border: none; background: var(--bg); border-radius: 10px; padding: 10px 15px; font-size: 1.15em; color: var(--navy); }

/* ============ Hero ============ */
.hero { background: radial-gradient(1200px 500px at 80% -10%, var(--navy-3) 0%, transparent 60%), linear-gradient(150deg, var(--navy) 0%, var(--navy-2) 70%, var(--navy) 100%); color: #fff; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.035'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); pointer-events: none; }
.hero-inner { max-width: 1200px; margin: 0 auto; padding: 76px 20px 52px; text-align: center; position: relative; z-index: 1; }
.hero-badge { display: inline-block; background: rgba(255, 107, 26, .16); border: 1px solid rgba(255, 107, 26, .5); color: #ffb38a; border-radius: 999px; padding: 7px 18px; font-size: .84em; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 22px; }
.hero h1 { font-size: clamp(2.1em, 5.5vw, 3.4em); font-weight: 800; line-height: 1.15; letter-spacing: -.5px; }
.hero-accent { color: var(--orange); }
.hero-sub { margin-top: 18px; font-size: clamp(1em, 2.2vw, 1.2em); opacity: .92; }
.hero-value { margin-top: 10px; font-size: .94em; opacity: .7; }
.hero-cta { margin-top: 34px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-stats { margin-top: 56px; display: flex; justify-content: center; gap: clamp(22px, 6vw, 72px); flex-wrap: wrap; }
.stat { text-align: center; }
.stat-num { font-size: 1.75em; font-weight: 800; }
.stat-lbl { font-size: .8em; opacity: .65; margin-top: 2px; letter-spacing: .5px; }

/* ============ Hero 悬浮产品卡（桌面视觉锚点） ============ */
.hero-anchor { position: absolute; right: 36px; top: 42%; transform: translateY(-50%) rotate(4deg); z-index: 2; width: 210px; display: none; }
@media (min-width: 1280px) { .hero-anchor { display: block; } }
.hero-anchor-inner { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); transition: transform .3s; display: block; }
.hero-anchor:hover { transform: translateY(-50%) rotate(0deg) scale(1.03); }
.hero-anchor img { width: 100%; aspect-ratio: 1/1; object-fit: contain; padding: 12px; background: linear-gradient(160deg, #fbfcfe, #f1f4f8); }
.hero-anchor-info { padding: 12px 14px; display: block; }
.hero-anchor-info .sku { font-size: .7em; }
.hero-anchor-name { font-size: .88em; font-weight: 700; margin: 4px 0 6px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hero-anchor-info .price { font-size: 1.05em; }
.hero-anchor-hot { position: absolute; top: 10px; left: 10px; background: #fff; color: #dc2626; border: 1px solid #fecaca; font-size: .68em; font-weight: 800; border-radius: 999px; padding: 3px 9px; box-shadow: 0 2px 8px rgba(15,23,42,.12); }

/* ============ Hero 产品滚动带 ============ */
.hero-marquee { position: relative; overflow: hidden; padding: 0 0 26px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: marquee 60s linear infinite; }
.marquee-track:hover { animation-play-state: paused; }
.mq-item { width: 74px; height: 74px; border-radius: 14px; overflow: hidden; background: #fff; padding: 5px; flex-shrink: 0; box-shadow: 0 6px 18px rgba(0, 0, 0, .28); transition: transform .25s; }
.mq-item:hover { transform: translateY(-4px) scale(1.05); }
.mq-item img { width: 100%; height: 100%; object-fit: cover; border-radius: 9px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============ 滚动入场动画 ============ */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .65s ease, transform .65s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============ 信任区 ============ */
.trust { background: var(--card); border-bottom: 1px solid var(--line); }
.trust-inner { max-width: 1200px; margin: 0 auto; padding: 40px 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; }
.trust-item { display: flex; gap: 14px; align-items: flex-start; }
.trust-ic { font-size: 2.05em; line-height: 1; }
.trust-item h4 { font-size: 1.02em; margin-bottom: 3px; }
.trust-item p { font-size: .88em; color: var(--muted); }

/* ============ 区块标题 ============ */
.section-title { text-align: center; font-size: clamp(1.5em, 3.5vw, 2em); font-weight: 800; letter-spacing: -.3px; color: var(--navy); }
.section-sub { text-align: center; color: var(--muted); margin-top: 6px; font-size: .95em; }

/* ============ 合作流程 ============ */
.steps { max-width: 1200px; margin: 0 auto; padding: 64px 20px; }
.steps-inner { margin-top: 36px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 20px; text-align: center; position: relative; transition: all .2s; }
.step:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.step-num { width: 40px; height: 40px; margin: 0 auto 14px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.step h4 { font-size: 1.05em; margin-bottom: 6px; }
.step p { font-size: .88em; color: var(--muted); }

/* ============ 品类入口 ============ */
.cats { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 64px 20px; }
.cats-grid { max-width: 1200px; margin: 36px auto 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; }
.cat-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 16px; text-align: center; transition: all .2s; position: relative; overflow: hidden; }
.cat-card:hover { border-color: var(--navy); background: #fff; transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.cat-card:hover .cat-ic { animation: bounce .5s ease; }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(-7px); } 70% { transform: translateY(2px); } }
.cat-ic { font-size: 2.3em; margin-bottom: 10px; }
.cat-card h3 { font-size: 1.02em; color: var(--navy); }
.cat-count { display: inline-block; margin-top: 6px; font-size: .8em; color: var(--muted); background: var(--card); border-radius: 999px; padding: 2px 10px; }
.cat-badge { position: absolute; top: 10px; right: 10px; font-size: .68em; font-weight: 700; color: var(--orange-dark); background: #fff1e8; border-radius: 999px; padding: 3px 8px; }

/* ============ 精选 ============ */
.featured { max-width: 1200px; margin: 0 auto; padding: 64px 20px; }
.feat-tabs { display: flex; justify-content: center; gap: 10px; margin: 28px 0 30px; flex-wrap: wrap; }
.feat-tab { border: 1.5px solid var(--line); background: #fff; color: var(--muted); border-radius: 999px; padding: 9px 22px; font-weight: 600; font-size: .92em; transition: all .15s; }
.feat-tab:hover { border-color: var(--navy); color: var(--navy); }
.feat-tab.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.feat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.feat-more { display: table; margin: 30px auto 0; color: var(--blue); font-weight: 600; font-size: .95em; }
.feat-more:hover { text-decoration: underline; }

/* ============ 下载横幅 ============ */
.download-banner { background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; padding: 56px 20px; }
.dl-inner { max-width: 1000px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.dl-inner h3 { font-size: 1.5em; margin-bottom: 6px; }
.dl-inner p { opacity: .75; }

/* ============ FAQ ============ */
.faq { max-width: 820px; margin: 0 auto; padding: 64px 20px; }
.faq-list { margin-top: 30px; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.faq-item summary { padding: 18px 22px; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; color: var(--navy); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.3em; color: var(--orange); transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 22px 18px; color: var(--muted); font-size: .94em; }

/* ============ 询盘表单 ============ */
.contact-form { background: var(--card); border-top: 1px solid var(--line); padding: 64px 20px; }
.form { max-width: 640px; margin: 30px auto 0; display: flex; flex-direction: column; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form input, .form textarea { font-family: inherit; font-size: .98em; padding: 15px 18px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--bg); transition: all .15s; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--navy); background: #fff; }
.form-status { text-align: center; font-weight: 600; min-height: 1.4em; }
.form-status.ok { color: var(--green); }
.form-status.err { color: var(--red); }
.form-error input, .form-error textarea { border-color: #fca5a5 !important; background: #fff7f7 !important; }

/* ============ 目录页 ============ */
.catalog { max-width: 1200px; margin: 0 auto; padding: 40px 20px 72px; }
.catalog-head { text-align: center; margin-bottom: 26px; }
.catalog-head h1 { font-size: clamp(1.6em, 4vw, 2.2em); font-weight: 800; color: var(--navy); }
.catalog-head p { color: var(--muted); margin-top: 6px; }
.toolbar { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin-bottom: 28px; display: flex; flex-direction: column; gap: 14px; position: sticky; top: 68px; z-index: 90; box-shadow: var(--shadow); }
.search-box input { width: 100%; font-family: inherit; font-size: .98em; padding: 13px 18px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--bg); transition: all .15s; }
.search-box input:focus { outline: none; border-color: var(--navy); background: #fff; }
.chip-row { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { border: 1.5px solid var(--line); background: #fff; color: var(--muted); border-radius: 999px; padding: 7px 16px; font-size: .86em; font-weight: 600; transition: all .15s; }
.chip:hover { border-color: var(--navy); color: var(--navy); }
.chip-active { background: var(--orange); border-color: var(--orange); color: #fff; font-weight: 700; box-shadow: 0 3px 10px rgba(255, 107, 26, .3); }
.toolbar-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.toolbar-row select { font-family: inherit; font-size: .88em; padding: 8px 14px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; color: var(--text); }

/* ============ 产品卡片 ============ */
.p-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(235px, 1fr)); gap: 18px; }
.p-grid-sm { grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); }
.p-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: all .2s; }
.p-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(11, 36, 71, .18); }
.p-card-img { position: relative; aspect-ratio: 1 / 1; background: linear-gradient(160deg, #fbfcfe 0%, #f1f4f8 100%); overflow: hidden; display: block; }
.p-card-img img { width: 100%; height: 100%; object-fit: contain; padding: 10px; transition: transform .35s; }
.p-card:hover .p-card-img img { transform: scale(1.05); }
.stock-chip { position: absolute; top: 10px; right: 10px; font-size: .72em; font-weight: 700; border-radius: 999px; padding: 5px 11px; letter-spacing: .4px; box-shadow: 0 2px 8px rgba(15, 23, 42, .12); backdrop-filter: blur(4px); }
.stock-chip.ready { background: var(--green-light); color: var(--green); }
.stock-chip.preorder { background: var(--amber-light); color: #b45309; }
.stock-chip.soldout { background: #f1f5f9; color: #64748b; }
.chip.label-new { background: rgba(255,255,255,.94); color: #2563eb; border: 1px solid #bfdbfe; font-size: .68em; font-weight: 800; border-radius: 999px; padding: 3px 9px; letter-spacing: .5px; box-shadow: 0 2px 8px rgba(15,23,42,.1); }
.chip.label-hot { background: rgba(255,255,255,.94); color: #dc2626; border: 1px solid #fecaca; font-size: .68em; font-weight: 800; border-radius: 999px; padding: 3px 9px; letter-spacing: .5px; box-shadow: 0 2px 8px rgba(15,23,42,.1); }
.chip.label-best { background: rgba(255,255,255,.94); color: #b45309; border: 1px solid #fde68a; font-size: .68em; font-weight: 800; border-radius: 999px; padding: 3px 9px; letter-spacing: .5px; box-shadow: 0 2px 8px rgba(15,23,42,.1); }
.p-card-img > .chip { position: absolute; top: 10px; left: 10px; }
.p-card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.p-card-top { display: flex; align-items: center; gap: 8px; }
.sku { font-size: .74em; font-weight: 700; color: var(--muted); letter-spacing: .6px; background: var(--bg); border-radius: 6px; padding: 2px 8px; }
.p-name { font-size: .98em; font-weight: 600; color: var(--text); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.p-name:hover { color: var(--blue); }
.p-meta { display: flex; gap: 10px; flex-wrap: wrap; font-size: .8em; color: var(--muted); }
.p-meta b { color: var(--navy); }
.p-price-row { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price { font-size: 1.22em; font-weight: 800; color: var(--orange-dark); }
.price-na { color: var(--navy); font-size: .98em; }
.price-note { font-size: .72em; color: var(--muted); }
.p-actions { margin-top: auto; display: flex; gap: 8px; }
.p-actions .btn { flex: 1; padding: 9px 6px; font-size: .84em; }

/* ============ 品类页 banner ============ */
.cat-banner { display: flex; align-items: center; gap: 20px; background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; border-radius: var(--radius); padding: 30px 28px; margin-bottom: 26px; flex-wrap: wrap; }
.cat-ic-lg { font-size: 3em; }
.cat-banner h1 { font-size: 1.7em; font-weight: 800; }
.cat-banner p { opacity: .75; font-size: .92em; max-width: 560px; }
.cat-banner .btn { margin-left: auto; }
.back-link { display: inline-block; margin-top: 28px; color: var(--muted); font-weight: 600; font-size: .92em; }
.back-link:hover { color: var(--navy); }

/* ============ 详情页 ============ */
.detail { max-width: 1200px; margin: 0 auto; padding: 30px 20px 72px; }
.crumbs { font-size: .86em; color: var(--muted); margin-bottom: 22px; display: flex; gap: 6px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--navy); text-decoration: underline; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.gallery { position: sticky; top: 90px; }
.gallery-main { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; aspect-ratio: 1 / 1; box-shadow: var(--shadow); }
.gallery-main { background: linear-gradient(160deg, #fbfcfe 0%, #f1f4f8 100%); }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; padding: 18px; }
.gallery-main > .chip { position: absolute; top: 14px; left: 14px; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.thumb { width: 72px; height: 72px; border: 2px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; padding: 0; transition: all .15s; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.active { border-color: var(--orange); }
.detail-info { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.d-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.d-top .stock-chip { position: static; }
.detail-info h1 { font-size: 1.5em; font-weight: 800; margin: 14px 0 10px; line-height: 1.3; }
.d-price { display: flex; align-items: baseline; gap: 10px; }
.d-price .price { font-size: 1.6em; }
.d-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 12px; margin: 22px 0; }
.fact { background: var(--bg); border-radius: var(--radius-sm); padding: 12px 14px; }
.fact span { display: block; font-size: .76em; color: var(--muted); margin-bottom: 3px; }
.fact b { color: var(--navy); }
.d-variants { margin-bottom: 20px; }
.v-label { font-size: .85em; color: var(--muted); margin-bottom: 8px; display: block; }
.v-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.v-btn { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 7px 16px; font-size: .86em; font-weight: 600; color: var(--muted); transition: all .15s; }
.v-btn:hover { border-color: var(--navy); color: var(--navy); }
.v-btn.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.d-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.d-cta .btn { flex: 1; min-width: 180px; }
.specs-section, .related-section { margin-top: 56px; }
.specs-section h2, .related-section h2 { font-size: 1.35em; font-weight: 800; color: var(--navy); margin-bottom: 18px; }
.specs-table { width: 100%; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); border-collapse: separate; border-spacing: 0; overflow: hidden; }
.specs-table td { padding: 13px 20px; border-top: 1px solid var(--line); font-size: .93em; }
.specs-table tr:first-child td { border-top: none; }
.specs-table tbody tr:nth-child(even) td { background: #fafbfd; }
.specs-table .spec-k { width: 190px; font-weight: 600; color: var(--navy); background: var(--bg); }
.related-section .p-grid { margin-top: 0; }

/* ============ 悬浮按钮 ============ */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 300; width: 56px; height: 56px; border-radius: 50%; background: var(--wa); display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(37, 211, 102, .45); transition: all .2s; }
.wa-float:hover { transform: scale(1.08); }
.wa-tip { position: absolute; right: 66px; background: var(--navy); color: #fff; font-size: .8em; padding: 7px 13px; border-radius: 8px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s; }
.wa-float:hover .wa-tip { opacity: 1; }
.cart-float { position: fixed; right: 18px; bottom: 84px; z-index: 300; width: 56px; height: 56px; border-radius: 50%; background: var(--navy); color: #fff; border: none; font-size: 1.35em; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(11, 36, 71, .4); transition: all .2s; }
.cart-float:hover { transform: scale(1.08); }
.cart-badge { position: absolute; top: -4px; right: -4px; background: var(--orange); color: #fff; font-size: .72em; font-weight: 800; border-radius: 999px; min-width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; padding: 0 5px; }

/* ============ 询价单面板 ============ */
.cart-overlay { position: fixed; inset: 0; background: rgba(15, 23, 42, .45); z-index: 400; }
.cart-panel { position: fixed; top: 0; right: 0; bottom: 0; width: min(400px, 94vw); background: #fff; z-index: 401; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; transform: translateX(105%); transition: transform .28s cubic-bezier(.2, .8, .3, 1); }
.cart-panel.open { transform: none; }
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.cart-head h3 { font-size: 1.1em; color: var(--navy); }
.cart-close { border: none; background: var(--bg); width: 34px; height: 34px; border-radius: 50%; font-size: .95em; color: var(--muted); }
.cart-close:hover { color: var(--red); }
.cart-body { flex: 1; overflow-y: auto; padding: 14px 20px; display: flex; flex-direction: column; gap: 12px; }
.cart-empty { text-align: center; color: var(--muted); padding: 48px 12px; font-size: .95em; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.cart-empty .btn { margin-top: 4px; }
.cart-item { display: flex; gap: 12px; align-items: center; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px; }
.cart-item img { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; background: var(--bg); }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-size: .86em; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-item-sku { font-size: .74em; color: var(--muted); }
.cart-qty { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.cart-qty button { width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; font-weight: 700; color: var(--navy); line-height: 1; }
.cart-qty button:hover { border-color: var(--navy); }
.cart-qty b { min-width: 32px; text-align: center; font-size: .9em; }
.cart-qty-input { width: 54px; height: 30px; text-align: center; border: 1.5px solid var(--line); border-radius: 8px; font-family: inherit; font-size: .9em; font-weight: 600; color: var(--navy); background: #fff; -moz-appearance: textfield; appearance: textfield; }
.cart-qty-input::-webkit-outer-spin-button, .cart-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.cart-qty-input:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255, 107, 26, .15); }
.cart-item-rm { border: none; background: transparent; color: var(--muted); font-size: 1em; padding: 6px; }
.cart-item-rm:hover { color: var(--red); }
.cart-foot { padding: 16px 20px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.cart-foot-row { display: flex; gap: 10px; }
.cart-foot-row .btn { flex: 1; }
.cart-note { font-size: .76em; color: var(--muted); text-align: center; }
.cart-total { font-size: .9em; font-weight: 700; color: var(--navy); text-align: center; }

/* ============ Footer ============ */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .78); margin-top: 40px; position: relative; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--orange), #ffb38a, var(--orange)); pointer-events: none; }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 52px 20px 36px; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
.f-col { display: flex; flex-direction: column; gap: 10px; font-size: .92em; }
.f-col h4 { color: #fff; font-size: .95em; margin-bottom: 6px; letter-spacing: .4px; }
.f-col a { color: rgba(255, 255, 255, .78); }
.f-col a:hover { color: var(--orange); }
.logo-footer { color: #fff; }
.f-fullname { color: #fff; font-weight: 700; font-size: .95em; }
.f-bottom { border-top: 1px solid rgba(255, 255, 255, .12); text-align: center; padding: 18px 20px; font-size: .82em; color: rgba(255, 255, 255, .55); }

/* ============ 响应式 ============ */
@media (max-width: 900px) {
  .detail-layout { grid-template-columns: 1fr; gap: 24px; }
  .gallery { position: static; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .lang-btn { padding: 5px 8px; font-size: .76em; }
  .hero::after { display: none; }
  .menu-btn { display: block; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; padding: 10px 16px 16px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; border-radius: 10px; }
  .header-inner { position: relative; padding: 10px 16px; }
  .hero-inner { padding: 60px 16px 52px; }
  .form-row { grid-template-columns: 1fr; }
  .toolbar { position: static; }
  .specs-table .spec-k { width: 120px; }
  .footer-inner { grid-template-columns: 1fr; gap: 26px; }
  .p-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
  .p-card-body { padding: 10px 12px 12px; }
  .p-actions { flex-direction: column; }
  .cat-banner { padding: 22px 18px; gap: 14px; }
  .cat-banner .btn { margin-left: 0; }
  .dl-inner { justify-content: center; text-align: center; }
}
