/* =========================================================
   ecom_202608_001 全站样式
   ========================================================= */

:root {
  --black: #0a0a0a;
  --dark: #111;
  --text: #333;
  --gray: #757575;
  --bg-gray: #f5f5f7;
  --white: #fff;
  --blue: #0066cc;
  --nav-h: 56px;
  --radius: 12px;
  --font: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: var(--font); cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: var(--font); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: 1440px; margin: 0 auto; padding: 0 24px; }

/* ---------------- 顶部导航 ---------------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  background: rgba(0, 0, 0, 0.8);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  transition: background .3s;
}
.nav-inner {
  max-width: 1440px; margin: 0 auto; height: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 28px;
}
.nav-logo { display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; font-size: 17px; letter-spacing: 1px; }
.nav-logo svg { width: 26px; height: 26px; }
.nav-menu { display: flex; align-items: center; gap: 4px; height: 100%; }
.nav-item { position: relative; height: 100%; display: flex; align-items: center; }
.nav-item > a {
  color: rgba(255,255,255,.85); font-size: 14px; padding: 0 18px;
  height: 100%; display: flex; align-items: center; transition: color .2s;
}
.nav-item > a:hover, .nav-item > a.active { color: #fff; }
/* 下拉面板 */
.nav-dropdown {
  position: absolute; top: var(--nav-h); left: 50%; transform: translateX(-50%) translateY(8px);
  background: rgba(20,20,20,.97); border-radius: 10px; padding: 14px;
  min-width: 480px; display: none; box-shadow: 0 12px 40px rgba(0,0,0,.4);
}
.nav-item:hover .nav-dropdown { display: block; animation: fadeUp .25s ease forwards; }
@keyframes fadeUp { from { opacity: 0; transform: translateX(-50%) translateY(14px);} to { opacity: 1; transform: translateX(-50%) translateY(0);} }
.dropdown-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.dropdown-cat { padding: 12px; border-radius: 8px; transition: background .2s; }
.dropdown-cat:hover { background: rgba(255,255,255,.08); }
.dropdown-cat h4 { color: #fff; font-size: 14px; margin-bottom: 4px; }
.dropdown-cat p { color: #999; font-size: 12px; line-height: 1.5; }
/* 右侧图标 */
.nav-icons { display: flex; align-items: center; gap: 6px; }
.nav-icon-btn {
  position: relative; width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.85); transition: all .2s;
}
.nav-icon-btn:hover { color: #fff; background: rgba(255,255,255,.12); }
.nav-icon-btn svg { width: 20px; height: 20px; }
.cart-badge {
  position: absolute; top: 2px; right: 0; min-width: 16px; height: 16px;
  background: var(--blue); color: #fff; font-size: 10px; font-weight: 600;
  border-radius: 8px; display: none; align-items: center; justify-content: center; padding: 0 4px;
}
.cart-badge.show { display: flex; }
/* 汉堡 */
.nav-hamburger { display: none; color: #fff; width: 38px; height: 38px; align-items: center; justify-content: center; }
.nav-hamburger svg { width: 22px; height: 22px; }
.mobile-menu {
  position: fixed; inset: var(--nav-h) 0 0 0; background: rgba(10,10,10,.98);
  z-index: 999; padding: 24px; display: none; flex-direction: column;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { color: #fff; font-size: 18px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.mobile-menu .mobile-icons { display: flex; gap: 12px; margin-top: 20px; }
.mobile-menu .mobile-icons a { border: 1px solid rgba(255,255,255,.3); border-radius: 24px; padding: 10px 20px; font-size: 14px; }

/* ---------------- Hero ---------------- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center;
  overflow: hidden; text-align: center; color: #fff;
}
.hero-media, .banner-media { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to bottom, rgba(0,0,0,.25), rgba(0,0,0,.15) 60%, rgba(0,0,0,.45));
}
.hero-content { position: relative; z-index: 2; width: 100%; max-width: 760px; padding: 0 24px; animation: heroIn 1s ease; }
@keyframes heroIn { from { opacity: 0; transform: translateY(24px);} to { opacity: 1; transform: none;} }
.hero-title { font-size: 56px; font-weight: 700; letter-spacing: 2px; line-height: 1.2; text-shadow: 0 2px 24px rgba(0,0,0,.4); }
.hero-subtitle { font-size: 20px; margin-top: 16px; color: rgba(255,255,255,.9); font-weight: 300; letter-spacing: 1px; }
.hero-links { margin-top: 36px; display: flex; gap: 32px; justify-content: center; }
.hero-link {
  color: #fff; font-size: 15px; display: inline-flex; align-items: center; gap: 6px;
  border-bottom: 1px solid rgba(255,255,255,.5); padding-bottom: 4px; transition: all .2s;
}
.hero-link:hover { border-color: #fff; gap: 10px; }
.hero-link.solid {
  border: 1px solid #fff; border-radius: 24px; padding: 10px 28px; border-bottom: 1px solid #fff;
}
.hero-link.solid:hover { background: #fff; color: #000; }
.hero-small { min-height: 70vh; }
.hero-small .hero-title { font-size: 44px; }

/* ---------------- 通用 Section ---------------- */
.section { padding: 90px 0; }
.section-gray { background: var(--bg-gray); }
.section-dark { background: var(--black); color: #fff; }
.section-head { text-align: center; margin-bottom: 56px; }
.section-title { font-size: 40px; font-weight: 700; letter-spacing: 1px; color: var(--black); }
.section-dark .section-title { color: #fff; }
.section-desc { font-size: 16px; color: var(--gray); margin-top: 12px; max-width: 640px; margin-left: auto; margin-right: auto; }

/* ---------------- 系列大卡片（首页） ---------------- */
.series-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.series-card {
  position: relative; border-radius: var(--radius); overflow: hidden; background: var(--bg-gray);
  aspect-ratio: 3/4; display: flex; flex-direction: column; justify-content: flex-end;
  transition: transform .35s ease, box-shadow .35s ease; cursor: pointer;
}
.series-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0,0,0,.12); }
.series-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.series-card:hover img { transform: scale(1.04); }
.series-card-info {
  position: relative; z-index: 1; padding: 28px;
  background: linear-gradient(to top, rgba(0,0,0,.65), transparent); color: #fff;
}
.series-card-info h3 { font-size: 24px; font-weight: 600; }
.series-card-info p { font-size: 14px; color: rgba(255,255,255,.85); margin-top: 6px; }
.series-card-info .go { display: inline-flex; align-items: center; gap: 4px; margin-top: 12px; font-size: 14px; color: #fff; }

/* ---------------- 产品卡片 ---------------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.product-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
}
.section-gray .product-card { background: #fff; }
.product-card:hover { transform: translateY(-6px); box-shadow: 0 16px 44px rgba(0,0,0,.1); }
.product-card-img { background: var(--bg-gray); aspect-ratio: 1/1; overflow: hidden; }
.product-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card:hover .product-card-img img { transform: scale(1.05); }
.product-card-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.product-card-body h3 { font-size: 17px; font-weight: 600; color: var(--black); }
.product-card-body .tagline { font-size: 13px; color: var(--gray); margin-top: 6px; flex: 1; }
.product-card-body .price { font-size: 17px; font-weight: 600; color: var(--black); margin-top: 12px; }
.product-card-actions { display: flex; gap: 10px; margin-top: 14px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border-radius: 22px; padding: 9px 20px; font-size: 14px; transition: all .2s; white-space: nowrap;
}
.btn-primary { background: var(--black); color: #fff; }
.btn-primary:hover { background: #333; }
.btn-outline { border: 1px solid #d2d2d7; color: var(--text); }
.btn-outline:hover { border-color: var(--black); color: var(--black); }
.btn-block { width: 100%; }
.btn-lg { padding: 14px 32px; font-size: 16px; border-radius: 28px; }

/* ---------------- 沉浸横幅 ---------------- */
.banner {
  position: relative; min-height: 72vh; display: flex; align-items: center; justify-content: center;
  overflow: hidden; text-align: center; color: #fff;
}
.banner::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(0,0,0,.35); }
.banner-content { position: relative; z-index: 2; padding: 0 24px; }
.banner-content h2 { font-size: 44px; font-weight: 700; letter-spacing: 2px; }
.banner-content p { font-size: 17px; margin-top: 14px; color: rgba(255,255,255,.9); }

/* ---------------- 页脚 ---------------- */
.footer { background: var(--black); color: var(--gray); padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding-bottom: 40px; border-bottom: 1px solid #2a2a2a; }
.footer-col h4 { color: #fff; font-size: 13px; font-weight: 600; margin-bottom: 16px; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: 12px; color: var(--gray); transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 12px; }
.footer-logo { display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; font-size: 14px; }
.footer-logo svg { width: 22px; height: 22px; }

/* ---------------- 页面头部（内页） ---------------- */
.page-head { padding: calc(var(--nav-h) + 72px) 0 48px; text-align: center; }
.page-head h1 { font-size: 44px; font-weight: 700; color: var(--black); letter-spacing: 1px; }
.page-head p { font-size: 16px; color: var(--gray); margin-top: 12px; }
.page-head.gray { background: var(--bg-gray); }

/* ---------------- 产品筛选 Tab ---------------- */
.filter-tabs { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-bottom: 48px; }
.filter-tab {
  padding: 10px 24px; border-radius: 22px; font-size: 14px; color: var(--text);
  border: 1px solid #d2d2d7; transition: all .25s;
}
.filter-tab:hover { border-color: var(--black); }
.filter-tab.active { background: var(--black); color: #fff; border-color: var(--black); }
.product-card.hide { display: none; }
.catalog-runtime-state { min-height: 24px; margin-top: 24px; text-align: center; color: var(--gray); font-size: 14px; }
.product-stock { margin-top: 8px; color: var(--gray); font-size: 13px; }
@keyframes cardIn { from { opacity: 0; transform: translateY(16px);} to { opacity: 1; transform: none;} }
.product-card { animation: cardIn .4s ease; }

/* ---------------- 产品详情 ---------------- */
.pd-subnav {
  position: sticky; top: var(--nav-h); z-index: 900; background: rgba(255,255,255,.9);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-bottom: 1px solid #e8e8ed;
}
.pd-subnav-inner { display: flex; align-items: center; justify-content: space-between; height: 52px; }
.pd-subnav-name { font-size: 15px; font-weight: 600; color: var(--black); }
.pd-subnav-links { display: flex; gap: 28px; align-items: center; }
.pd-subnav-links a { font-size: 13px; color: var(--gray); transition: color .2s; }
.pd-subnav-links a:hover { color: var(--black); }
.pd-subnav-links .btn { padding: 6px 16px; font-size: 13px; }

.pd-main { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; padding: 56px 0; align-items: start; }
.pd-gallery { position: sticky; top: calc(var(--nav-h) + 76px); }
.pd-gallery-main { border-radius: var(--radius); overflow: hidden; background: var(--bg-gray); }
.pd-gallery-main img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.pd-info h1 { font-size: 32px; font-weight: 700; color: var(--black); }
.pd-description { margin-top: 12px; color: var(--gray); line-height: 1.7; }
.pd-rating { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 13px; color: var(--gray); }
.pd-rating .stars { color: #f5a623; letter-spacing: 2px; }
.pd-price { font-size: 28px; font-weight: 700; color: var(--black); margin-top: 18px; }
.pd-price small { font-size: 13px; color: var(--gray); font-weight: 400; margin-left: 8px; }
.pd-option-group { margin-top: 24px; }
.pd-option-group h4 { font-size: 14px; font-weight: 600; color: var(--black); margin-bottom: 12px; }
.pd-options { display: flex; gap: 10px; flex-wrap: wrap; }
.pd-option {
  padding: 10px 20px; border: 1px solid #d2d2d7; border-radius: 10px; font-size: 14px; transition: all .2s;
}
.pd-option:hover { border-color: var(--black); }
.pd-option.active { border-color: var(--black); border-width: 2px; font-weight: 600; padding: 9px 19px; }
.pd-select { width: 100%; min-height: 44px; padding: 0 12px; border: 1px solid #d2d2d7; border-radius: 10px; background: #fff; color: var(--text); }
.pd-availability { margin-top: 16px; color: var(--gray); font-size: 14px; }
.pd-qty { display: inline-flex; align-items: center; border: 1px solid #d2d2d7; border-radius: 10px; overflow: hidden; }
.pd-qty button { width: 40px; height: 42px; font-size: 18px; color: var(--text); transition: background .2s; }
.pd-qty button:hover { background: var(--bg-gray); }
.pd-qty span { width: 48px; text-align: center; font-size: 15px; }
/* 数量输入框嵌在带边框的步进容器内，需去掉 input 自身边框避免框套框 */
.pd-qty input { border: none; width: 48px; text-align: center; font-size: 15px; min-height: 42px; }
.pd-actions { display: flex; gap: 12px; margin-top: 28px; }
.pd-meta { margin-top: 24px; padding-top: 20px; border-top: 1px solid #e8e8ed; }
.pd-meta li { font-size: 13px; color: var(--gray); display: flex; gap: 8px; margin-bottom: 8px; }
.pd-meta li::before { content: "✓"; color: var(--black); font-weight: 700; }

/* ---------------- 客户中心 ---------------- */
.customer-page { padding-top: calc(var(--nav-h) + 48px); }
.customer-panel { max-width: 960px; }
.customer-center { background: #fff; }
.customer-center[hidden], .account-wrap[hidden] { display: none; }
.customer-auth { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-bottom: 40px; }
.customer-auth form, .customer-panel form { display: grid; gap: 16px; }
.customer-auth form { padding: 24px; border: 1px solid #e8e8ed; border-radius: var(--radius); }
.customer-auth label, .customer-panel label { display: grid; gap: 7px; color: var(--gray); font-size: 13px; }
.customer-auth input, .customer-panel input { min-height: 44px; padding: 0 12px; border: 1px solid #d2d2d7; border-radius: 10px; color: var(--text); }
/* 错误色与样版表单体系一致（.form-control.error / .form-error-msg 均用 #d33） */
.customer-error, [data-form-error] { min-height: 24px; color: #d33; font-size: 13px; }
.cart-list, .order-list { display: grid; gap: 12px; margin-bottom: 24px; }
.cart-row, .order-row { display: grid; grid-template-columns: minmax(0, 1fr) 120px auto; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid #e8e8ed; }
.cart-row__summary { display: grid; gap: 4px; }
.cart-row__summary span, .order-row span { color: var(--gray); font-size: 13px; }
.cart-row__quantity { width: 100%; }
.pd-quantity { width: 88px; min-height: 42px; padding: 0 10px; border: 1px solid #d2d2d7; border-radius: 10px; }
/* 与样版表单反馈风格一致：默认灰字，错误态用 #d33（.form-error-msg 同色） */
.product-cart-message { align-self: center; min-width: 140px; margin-top: 10px; color: var(--gray); font-size: 13px; }
.product-cart-message.error { color: #d33; }

.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature-card { background: #fff; border-radius: var(--radius); padding: 32px 24px; text-align: center; }
.feature-card .icon { width: 48px; height: 48px; margin: 0 auto 16px; color: var(--black); }
.feature-card h3 { font-size: 17px; font-weight: 600; color: var(--black); }
.feature-card p { font-size: 13px; color: var(--gray); margin-top: 8px; }

.spec-table { width: 100%; max-width: 820px; margin: 0 auto; border-collapse: collapse; }
.spec-table th, .spec-table td { text-align: left; padding: 14px 16px; font-size: 14px; border-bottom: 1px solid #e8e8ed; }
.spec-table th { color: var(--gray); font-weight: 400; width: 220px; }
.spec-table td { color: var(--black); }

/* ---------------- 关于页 ---------------- */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat-item .num { font-size: 48px; font-weight: 700; color: var(--black); }
.stat-item .label { font-size: 14px; color: var(--gray); margin-top: 8px; }
.timeline { max-width: 720px; margin: 0 auto; position: relative; padding-left: 40px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 8px; bottom: 8px; width: 2px; background: #e8e8ed; }
.timeline-item { position: relative; padding-bottom: 44px; }
.timeline-item::before {
  content: ""; position: absolute; left: -38px; top: 6px; width: 14px; height: 14px;
  border-radius: 50%; background: var(--black); border: 3px solid #fff; box-shadow: 0 0 0 2px #e8e8ed;
}
.timeline-item .year { font-size: 22px; font-weight: 700; color: var(--black); }
.timeline-item h3 { font-size: 17px; font-weight: 600; color: var(--black); margin-top: 4px; }
.timeline-item p { font-size: 14px; color: var(--gray); margin-top: 6px; max-width: 560px; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value-card { background: #fff; border-radius: var(--radius); padding: 40px 28px; }
.value-card .icon { width: 44px; height: 44px; color: var(--black); margin-bottom: 18px; }
.value-card h3 { font-size: 19px; font-weight: 600; color: var(--black); }
.value-card p { font-size: 14px; color: var(--gray); margin-top: 10px; }
.manifesto { max-width: 780px; margin: 0 auto; text-align: center; }
.manifesto h2 { font-size: 34px; font-weight: 700; color: var(--black); line-height: 1.4; }
.manifesto p { font-size: 16px; color: var(--gray); margin-top: 20px; }

/* ---------------- 视频页 ---------------- */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.video-card {
  position: relative; border-radius: var(--radius); overflow: hidden; cursor: pointer;
  aspect-ratio: 16/10; background: #000; border: 0; padding: 0; width: 100%;
  color: inherit; font: inherit; text-align: left;
}
.video-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, opacity .3s; }
.video-card:hover img { transform: scale(1.05); opacity: .85; }
.video-card-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 64px; height: 64px; border-radius: 50%; background: rgba(0,0,0,.45);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; transition: all .25s;
}
.video-card:hover .video-card-play { background: rgba(0,0,0,.7); transform: translate(-50%,-50%) scale(1.08); }
.video-card-play svg { width: 26px; height: 26px; color: #fff; margin-left: 3px; }
.video-card-info { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 20px; background: linear-gradient(to top, rgba(0,0,0,.7), transparent); color: #fff; }
.video-card-info strong { display: block; font-size: 16px; font-weight: 600; }
.video-card-info > span { display: block; margin-top: 4px; color: rgba(255,255,255,.82); font-size: 13px; }
.video-card-duration {
  position: absolute; top: 14px; right: 14px; background: rgba(0,0,0,.6); color: #fff;
  font-size: 12px; padding: 4px 10px; border-radius: 6px;
}
.video-grid-dialog { width: min(960px, calc(100vw - 32px)); max-width: none; padding: 0; border: 0; border-radius: var(--radius); background: #000; overflow: visible; }
.video-grid-dialog::backdrop { background: rgba(0,0,0,.88); }
.video-grid-dialog-content { position: relative; width: 100%; }
.video-grid-dialog video { display: block; width: 100%; aspect-ratio: 16/9; background: #000; border-radius: var(--radius); }
.video-grid-dialog-close { position: absolute; z-index: 1; top: 10px; right: 10px; width: 38px; height: 38px; border-radius: 50%; background: rgba(0,0,0,.68); color: #fff; font-size: 18px; }
.video-grid-dialog-close:hover { background: rgba(0,0,0,.9); }
.modal {
  position: fixed; inset: 0; z-index: 2000; background: rgba(0,0,0,.92);
  display: none; align-items: center; justify-content: center; padding: 24px;
}
.modal.open { display: flex; animation: modalIn .25s ease; }
@keyframes modalIn { from { opacity: 0;} to { opacity: 1;} }
.modal-box { max-width: 960px; width: 100%; position: relative; }
.modal-box img { width: 100%; border-radius: var(--radius); }
.modal-box .modal-caption { color: #fff; text-align: center; margin-top: 20px; }
.modal-box .modal-caption h3 { font-size: 20px; }
.modal-box .modal-caption p { color: #aaa; font-size: 14px; margin-top: 8px; }
.modal-close {
  position: absolute; top: -48px; right: 0; color: #fff; width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center; border-radius: 50%; transition: background .2s;
}
.modal-close:hover { background: rgba(255,255,255,.15); }
.modal-close svg { width: 24px; height: 24px; }

/* ---------------- 联系页 ---------------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; }
.form-card { background: #fff; border-radius: var(--radius); padding: 40px; box-shadow: 0 4px 24px rgba(0,0,0,.06); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; font-weight: 500; color: var(--black); margin-bottom: 8px; }
.form-group label .req { color: #d33; margin-left: 2px; }
.form-group label .opt { color: var(--gray); font-weight: 400; font-size: 12px; margin-left: 6px; }
.form-control {
  width: 100%; padding: 12px 16px; border: 1px solid #d2d2d7; border-radius: 10px;
  font-size: 14px; transition: border .2s, box-shadow .2s; background: #fff;
}
.form-control:focus { outline: none; border-color: var(--black); box-shadow: 0 0 0 3px rgba(0,0,0,.06); }
.form-control.error { border-color: #d33; }
textarea.form-control { resize: vertical; min-height: 120px; }
.form-error-msg { color: #d33; font-size: 12px; margin-top: 6px; display: none; }
.form-error-msg.show { display: block; }
.contact-info-card { background: var(--bg-gray); border-radius: var(--radius); padding: 36px; }
.contact-info-card h3 { font-size: 20px; font-weight: 600; color: var(--black); margin-bottom: 24px; }
.contact-line { display: flex; gap: 14px; margin-bottom: 20px; font-size: 14px; }
.contact-line .icon { width: 20px; height: 20px; color: var(--black); flex-shrink: 0; margin-top: 2px; }
.contact-line .label { color: var(--gray); font-size: 13px; }
.contact-line .value { color: var(--black); margin-top: 2px; }
.map-placeholder {
  margin-top: 24px; border-radius: var(--radius); overflow: hidden; background: #e8e8ed;
  aspect-ratio: 16/9; position: relative; display: flex; align-items: center; justify-content: center;
}
.map-pin { text-align: center; color: var(--gray); }
.map-pin svg { width: 40px; height: 40px; margin: 0 auto 8px; color: var(--black); }

/* ---------------- 购物车 ---------------- */
.cart-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: start; }
.cart-items { display: flex; flex-direction: column; gap: 16px; }
.cart-item {
  display: grid; grid-template-columns: 110px 1fr auto; gap: 20px; align-items: center;
  background: #fff; border-radius: var(--radius); padding: 18px; box-shadow: 0 2px 12px rgba(0,0,0,.05);
}
.cart-item-img { width: 110px; height: 110px; border-radius: 10px; overflow: hidden; background: var(--bg-gray); }
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info h3 { font-size: 16px; font-weight: 600; color: var(--black); }
.cart-item-info .unit { font-size: 13px; color: var(--gray); margin-top: 6px; }
.cart-item-right { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.cart-item-right .line-total { font-size: 17px; font-weight: 700; color: var(--black); }
.cart-item-ops { display: flex; align-items: center; gap: 16px; }
.cart-remove { color: var(--gray); font-size: 13px; transition: color .2s; }
.cart-remove:hover { color: #d33; }
.cart-summary { background: var(--bg-gray); border-radius: var(--radius); padding: 32px; position: sticky; top: calc(var(--nav-h) + 24px); }
.cart-summary h3 { font-size: 19px; font-weight: 600; color: var(--black); margin-bottom: 20px; }
.summary-line { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 12px; color: var(--text); }
.summary-line.total { border-top: 1px solid #d2d2d7; padding-top: 16px; margin-top: 16px; font-size: 17px; font-weight: 700; color: var(--black); }
.cart-empty { text-align: center; padding: 90px 0; }
.cart-empty .icon { width: 72px; height: 72px; color: #d2d2d7; margin: 0 auto 20px; }
.cart-empty h2 { font-size: 22px; font-weight: 600; color: var(--black); }
.cart-empty p { color: var(--gray); margin-top: 10px; font-size: 14px; }
.cart-empty .btn { margin-top: 24px; }

/* ---------------- 帐户页 ---------------- */
.account-wrap { min-height: 100vh; background: var(--bg-gray); padding: calc(var(--nav-h) + 60px) 24px 80px; display: flex; justify-content: center; align-items: flex-start; }
.account-card { background: #fff; border-radius: 16px; width: 100%; max-width: 440px; padding: 44px 40px; box-shadow: 0 8px 40px rgba(0,0,0,.08); }
.account-logo { text-align: center; margin-bottom: 28px; }
.account-logo svg { width: 40px; height: 40px; margin: 0 auto 8px; }
.account-logo h1 { font-size: 20px; font-weight: 600; color: var(--black); }
.account-tabs { display: flex; background: var(--bg-gray); border-radius: 24px; padding: 4px; margin-bottom: 28px; }
.account-tab { flex: 1; text-align: center; padding: 10px; border-radius: 20px; font-size: 14px; color: var(--gray); transition: all .25s; }
.account-tab.active { background: #fff; color: var(--black); font-weight: 600; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.account-form { display: none; }
.account-form.active { display: block; animation: cardIn .3s ease; }
.account-links { display: flex; justify-content: space-between; align-items: center; margin: 14px 0 22px; font-size: 13px; }
.account-links a { color: var(--gray); transition: color .2s; }
.account-links a:hover { color: var(--black); }
.checkbox-line { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--gray); }
.checkbox-line input { width: 16px; height: 16px; accent-color: var(--black); }
.agreement { font-size: 12px; color: var(--gray); margin-top: 16px; line-height: 1.6; }
.login-success:empty { display: none; }
.login-success:not(:empty) {
  display: block; max-width: 560px; margin: 24px auto; padding: 12px 16px; border: 1px solid #b7dfc5;
  border-radius: 8px; background: #effaf3; color: #16733c; font-size: 14px; text-align: center;
}
.agreement a { color: var(--blue); }
.registration-success-dialog {
  width: min(400px, calc(100vw - 32px)); max-width: none; padding: 0; border: 0; border-radius: 16px;
  background: #fff; color: var(--black); box-shadow: 0 20px 70px rgba(0,0,0,.2);
}
.registration-success-dialog::backdrop { background: rgba(0,0,0,.56); }
.registration-success-content { position: relative; padding: 40px 32px 32px; text-align: center; }
.registration-success-close {
  position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%;
  color: var(--gray); font-size: 16px; transition: background .2s, color .2s;
}
.registration-success-close:hover { background: var(--bg-gray); color: var(--black); }
.registration-success-icon {
  display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto 18px; border-radius: 50%;
  background: #eaf7ef; color: #16733c; font-size: 26px; font-weight: 700;
}
.registration-success-content h2 { font-size: 22px; font-weight: 600; }
.registration-success-content p { margin: 10px 0 24px; color: var(--gray); font-size: 14px; line-height: 1.6; }

/* ---------------- 个人中心 ---------------- */
.customer-center { min-height: 100vh; background: var(--bg-gray); }
.customer-center[hidden], .account-wrap[hidden] { display: none; }
.profile-page-head { padding-bottom: 36px; }
.profile-section { padding-top: 40px; }
.profile-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 28px; align-items: start; }
.profile-side {
  overflow: hidden; position: sticky; top: calc(var(--nav-h) + 24px); background: #fff;
  border-radius: var(--radius); box-shadow: 0 4px 20px rgba(0,0,0,.06);
}
.profile-user { padding: 28px 24px; text-align: center; border-bottom: 1px solid #f0f0f2; }
.profile-avatar {
  display: flex; align-items: center; justify-content: center; width: 72px; height: 72px; margin: 0 auto 12px;
  border-radius: 50%; background: var(--black); color: #fff; font-size: 26px; font-weight: 600;
}
.profile-user h3 { font-size: 16px; color: var(--black); }
.profile-user p { margin-top: 4px; color: var(--gray); font-size: 12px; word-break: break-all; }
.profile-menu { padding: 12px; }
.profile-menu button {
  display: flex; align-items: center; gap: 10px; width: 100%; padding: 12px 16px; border-radius: 10px;
  color: var(--text); font-size: 14px; text-align: left; transition: background .2s, color .2s;
}
.profile-menu button:hover { background: var(--bg-gray); }
.profile-menu button.active { background: var(--black); color: #fff; }
.profile-menu button svg { width: 18px; height: 18px; flex-shrink: 0; }
.profile-menu button.logout { color: #c41e1e; }
.profile-menu button.logout:hover { background: #fde8e8; }
.profile-panel { display: none; }
.profile-panel.active { display: block; animation: cardIn .3s ease; }
.panel-card { min-height: 430px; padding: 32px; border-radius: var(--radius); background: #fff; box-shadow: 0 4px 20px rgba(0,0,0,.06); }
.panel-card > h2 {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-bottom: 24px; color: var(--black); font-size: 20px; font-weight: 600;
}
.panel-card > h2 .btn { padding: 8px 18px; font-size: 13px; }
.profile-phone { max-width: calc(50% - 8px); }
.profile-status { display: inline-block; margin-left: 14px; color: #16733c; font-size: 13px; }
.customer-error:not(:empty) { display: block; margin-bottom: 16px; color: #c41e1e; font-size: 13px; }
.panel-empty { padding: 60px 0; color: var(--gray); text-align: center; }
.panel-empty h3 { color: var(--black); font-size: 16px; font-weight: 600; }
.panel-empty p { margin-top: 6px; font-size: 13px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }

.order-card { overflow: hidden; margin-bottom: 16px; border: 1px solid #ececf0; border-radius: var(--radius); }
.order-head { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; padding: 13px 20px; background: var(--bg-gray); color: var(--gray); font-size: 13px; }
.order-head .order-no { color: var(--black); font-weight: 500; }
.order-items { padding: 12px 20px; }
.order-item { display: flex; gap: 14px; align-items: center; padding: 8px 0; }
.order-item .oi-name { color: var(--black); font-size: 14px; font-weight: 500; }
.order-item .oi-qty { margin-top: 2px; color: var(--gray); font-size: 12px; }
.order-item .oi-price { margin-left: auto; color: var(--black); font-size: 14px; white-space: nowrap; }
.order-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding: 14px 20px; border-top: 1px solid #f0f0f2; }
.order-total { color: var(--black); font-size: 15px; font-weight: 700; }
.order-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.order-actions .btn { padding: 7px 16px; font-size: 13px; }
.tag { display: inline-block; padding: 3px 12px; border-radius: 12px; font-size: 12px; font-weight: 500; }
.tag-blue { background: #e8f0fe; color: #1a56c4; }
.tag-orange { background: #fff4e5; color: #b26a00; }
.tag-green { background: #e6f7ec; color: #1e8e3e; }
.tag-gray { background: #f0f0f2; color: #757575; }
.tag-red { background: #fde8e8; color: #c41e1e; }

.addr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.addr-card { padding: 20px; border: 1px solid #ececf0; border-radius: var(--radius); }
.addr-card.default { padding: 19px; border: 2px solid var(--black); }
.addr-card h4 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; color: var(--black); font-size: 15px; }
.addr-card p { margin-top: 8px; color: var(--gray); font-size: 13px; line-height: 1.7; white-space: pre-line; }
.addr-ops { display: flex; gap: 16px; margin-top: 14px; }
.addr-ops button { color: var(--gray); font-size: 13px; }
.addr-ops button:hover { color: var(--black); }
.addr-ops button.danger:hover { color: #c41e1e; }
.default-badge { padding: 2px 8px; border-radius: 8px; background: var(--black); color: #fff; font-size: 11px; font-weight: 400; }
.return-card { margin-bottom: 14px; padding: 20px; border: 1px solid #ececf0; border-radius: var(--radius); }
.return-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.return-head h4 { color: var(--black); font-size: 15px; }
.return-card .meta { margin-top: 8px; color: var(--gray); font-size: 13px; line-height: 1.8; }
.ship-select { max-width: 460px; margin-bottom: 28px; }
.ship-summary { padding: 18px 20px; margin-bottom: 28px; border-radius: var(--radius); background: var(--bg-gray); }
.tracking-list { display: grid; gap: 0; }
.tracking-event { position: relative; padding: 0 0 22px 28px; border-left: 2px solid #e8e8ed; }
.tracking-event::before { content: ""; position: absolute; top: 5px; left: -6px; width: 10px; height: 10px; border-radius: 50%; background: var(--black); }
.tracking-event strong { color: var(--black); font-size: 14px; }
.tracking-event p, .tracking-event time { display: block; margin-top: 3px; color: var(--gray); font-size: 12px; }

.profile-dialog { width: min(520px, calc(100vw - 32px)); max-width: none; padding: 0; border: 0; border-radius: 16px; background: #fff; box-shadow: 0 20px 70px rgba(0,0,0,.2); }
.profile-dialog::backdrop { background: rgba(0,0,0,.56); }
.profile-dialog .modal-form { position: relative; padding: 32px; }
.profile-dialog .modal-form h3 { margin-bottom: 20px; color: var(--black); font-size: 18px; }
.modal-form-close { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border-radius: 50%; color: var(--gray); }
.modal-form-close:hover { background: var(--bg-gray); color: var(--black); }

/* ---------------- ecom_202608_001 动态内容 ---------------- */
.pd-gallery-thumbs { display: flex; gap: 10px; margin-top: 14px; overflow-x: auto; }
.pd-gallery-thumb { width: 72px; height: 72px; padding: 0; border: 1px solid #d2d2d7; border-radius: 10px; overflow: hidden; background: #fff; cursor: pointer; flex: 0 0 auto; }
.pd-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd-specs { display: grid; grid-template-columns: minmax(100px, .35fr) 1fr; gap: 8px 16px; margin-top: 28px; font-size: 14px; }
.pd-specs dt { color: var(--gray); }
.pd-specs dd { margin: 0; color: var(--black); }
.pd-recommendations { grid-column: 1 / -1; margin-top: 24px; }
.pd-recommendations h2 { margin-bottom: 16px; font-size: 22px; }
.pd-recommendations .product-card { display: inline-flex; width: min(240px, 100%); margin-right: 14px; }
.order-result-card { margin-top: 24px; padding: 32px; border-radius: var(--radius); background: #fff; box-shadow: 0 4px 24px rgba(0,0,0,.06); }
.order-result-card h1 { margin-bottom: 24px; font-size: 28px; }
.order-result-summary { display: grid; grid-template-columns: 120px 1fr; gap: 10px 18px; margin-bottom: 28px; }
.order-result-summary dt { color: var(--gray); }
.order-result-summary dd { margin: 0; color: var(--black); font-weight: 600; }
.order-result-items { display: grid; gap: 10px; }
.order-result-item { display: grid; grid-template-columns: minmax(180px, 1fr) 150px 100px 120px; gap: 16px; padding: 16px 0; border-top: 1px solid #e8e8ed; align-items: center; }

/* ---------------- 售后服务与技术支持 ---------------- */
.promise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.promise-card { padding: 32px 24px; border-radius: var(--radius); background: #fff; text-align: center; box-shadow: 0 4px 20px rgba(0,0,0,.05); }
.promise-card .icon { width: 42px; height: 42px; margin-bottom: 18px; color: var(--black); }
.promise-card h3 { margin-bottom: 10px; color: var(--black); font-size: 18px; }
.promise-card p { color: var(--gray); font-size: 14px; line-height: 1.7; }
.step-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: step; }
.step-card { position: relative; padding: 28px 18px 22px; border-radius: var(--radius); background: #fff; text-align: center; counter-increment: step; }
.step-card::before { content: counter(step); display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; margin: 0 auto 16px; border-radius: 50%; background: var(--black); color: #fff; font-size: 14px; font-weight: 600; }
.step-card:not(:last-child)::after { content: ""; position: absolute; top: 45px; right: -17px; z-index: 1; width: 18px; height: 1px; background: #b8b8be; }
.step-card h4 { margin-bottom: 8px; color: var(--black); font-size: 15px; }
.step-card p { color: var(--gray); font-size: 12px; line-height: 1.6; }
.policy-table { width: 100%; overflow: hidden; border-collapse: collapse; border-radius: var(--radius); background: #fff; }
.policy-table th, .policy-table td { padding: 15px 20px; border-bottom: 1px solid #ececf0; font-size: 14px; text-align: left; }
.policy-table thead th { background: var(--black); color: #fff; font-weight: 500; }
.policy-table tbody th { width: 200px; color: var(--black); font-weight: 600; }
.policy-table tbody td { color: var(--gray); line-height: 1.7; }
.policy-table tbody tr:last-child th, .policy-table tbody tr:last-child td { border-bottom: 0; }
.faq-list { max-width: 860px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid #dedee3; }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; padding: 22px 0; color: var(--black); font-size: 16px; font-weight: 500; text-align: left; }
.faq-q .chev { width: 20px; height: 20px; flex: 0 0 auto; transition: transform .25s ease; }
.faq-item.open .faq-q .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a-inner { padding: 0 36px 22px 0; color: var(--gray); font-size: 14px; line-height: 1.8; }
.support-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.support-card { display: block; padding: 30px 20px; border-radius: var(--radius); background: #fff; color: inherit; text-align: center; box-shadow: 0 4px 20px rgba(0,0,0,.05); transition: transform .2s, box-shadow .2s; }
.support-card:hover { transform: translateY(-4px); box-shadow: 0 10px 30px rgba(0,0,0,.1); }
.support-card .icon { width: 40px; height: 40px; margin-bottom: 16px; }
.support-card h3 { margin-bottom: 8px; color: var(--black); font-size: 17px; }
.support-card p { color: var(--gray); font-size: 13px; line-height: 1.6; }
.download-list { max-width: 860px; margin: 0 auto; }
.download-row { display: grid; grid-template-columns: 44px 1fr auto; gap: 18px; align-items: center; padding: 20px 0; border-bottom: 1px solid #dedee3; }
.download-row .icon { width: 36px; height: 36px; color: var(--black); }
.download-row .d-name { color: var(--black); font-size: 15px; font-weight: 600; }
.download-row .d-meta { margin-top: 4px; color: var(--gray); font-size: 12px; line-height: 1.5; }
.download-unavailable { color: var(--gray); font-size: 13px; }
.service-actions { justify-content: center; margin-top: 28px; }
.section-dark .manifesto h2 { color: #fff; }
.section-dark .manifesto p { color: #999; }
.section-dark .btn-outline { border-color: #555; color: #ddd; }

/* ---------------- Toast ---------------- */
.toast {
  position: fixed; top: calc(var(--nav-h) + 16px); left: 50%; transform: translateX(-50%) translateY(-12px);
  background: rgba(20,20,20,.94); color: #fff; font-size: 14px; padding: 12px 28px; border-radius: 24px;
  z-index: 3000; opacity: 0; pointer-events: none; transition: all .3s ease;
  display: flex; align-items: center; gap: 8px; box-shadow: 0 8px 30px rgba(0,0,0,.3);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast svg { width: 16px; height: 16px; color: #4cd964; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .pd-main { grid-template-columns: 1fr; }
  .pd-gallery { position: static; }
  .nav-dropdown { min-width: 420px; }
}
@media (max-width: 768px) {
  .nav-menu { display: none; }
  .nav-icons .nav-icon-btn.hide-mobile { display: none; }
  .nav-hamburger { display: flex; }
  .hero-title { font-size: 34px; }
  .hero-subtitle { font-size: 16px; }
  .hero-small .hero-title { font-size: 30px; }
  .hero-links { gap: 18px; }
  .section { padding: 60px 0; }
  .section-title { font-size: 28px; }
  .series-grid, .value-grid, .video-grid { grid-template-columns: 1fr; }
  .product-grid, .product-grid.cols-3 { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .feature-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid, .cart-layout, .profile-layout { grid-template-columns: 1fr; }
  .profile-side { position: static; }
  .profile-menu { display: grid; grid-template-columns: 1fr 1fr; }
  .panel-card { min-height: 0; padding: 24px; }
  .addr-grid { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
  .page-head h1 { font-size: 30px; }
  .banner-content h2 { font-size: 28px; }
  .pd-actions { flex-direction: column; }
  .form-card { padding: 28px 22px; }
  .cart-item { grid-template-columns: 80px 1fr; }
  .cart-item-img { width: 80px; height: 80px; }
  .cart-item-right { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
  .spec-table th { width: 130px; }
  .customer-auth { grid-template-columns: 1fr; }
  .cart-row, .order-row { grid-template-columns: 1fr; }
  .order-result-item { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .profile-phone { max-width: none; }
  .promise-grid { grid-template-columns: 1fr; }
  .step-grid { grid-template-columns: repeat(2, 1fr); }
  .step-card::after { display: none; }
  .support-grid { grid-template-columns: repeat(2, 1fr); }
  .policy-table tbody th { width: 110px; }
}
@media (max-width: 480px) {
  .product-grid, .product-grid.cols-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .step-grid, .support-grid { grid-template-columns: 1fr; }
  .policy-table th, .policy-table td { padding: 12px; }
  .download-row { grid-template-columns: 36px 1fr; }
  .download-row .btn, .download-unavailable { grid-column: 2; justify-self: start; }
}
