/* ==========================================================
   海瓯网络 HAIOU NETWORK · 全站样式
   ========================================================== */
:root {
  --ink: #0B0D10;
  --ink-2: #14171C;
  --ink-3: #1D2229;
  --paper: #F4F4F0;
  --paper-2: #ECECE6;
  --card: #FFFFFF;
  --line: #E3E3DC;
  --line-2: #CFCFC6;
  --muted: #71747A;
  --muted-2: #9B9EA3;
  --accent: #FF4A17;
  --accent-dark: #DE390A;
  --accent-soft: #FFF1EB;
  --teal: #0BBF9B;
  --green: #12855F;
  --radius-s: 4px;
  --radius: 8px;
  --radius-l: 14px;
  --wrap: 1320px;
  --font: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  --shadow-s: 0 1px 2px rgba(11, 13, 16, .04);
  --shadow-m: 0 18px 42px rgba(11, 13, 16, .10);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 15px; color: var(--ink); }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--accent); color: #fff; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.ic { width: 18px; height: 18px; flex: none; display: inline-block; vertical-align: -3px; }
.mono { font-family: var(--mono); }

/* ---------------- 按钮 ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent;
  font-size: 15px; font-weight: 600; letter-spacing: .01em; line-height: 1;
  transition: background-position .45s ease, border-color .25s ease, color .25s ease, background-color .25s ease;
  white-space: nowrap;
}
.btn .ic { width: 17px; height: 17px; }
.btn-primary {
  color: #fff;
  background-image: linear-gradient(90deg, var(--accent) 0%, var(--accent) 50%, #0B0D10 50%, #0B0D10 100%);
  background-size: 220% 100%; background-position: 0 0;
}
.btn-primary:hover { background-position: -120% 0; }
.btn-dark {
  color: #fff; background-color: var(--ink);
  background-image: linear-gradient(90deg, var(--ink) 0%, var(--ink) 50%, var(--accent) 50%, var(--accent) 100%);
  background-size: 220% 100%;
}
.btn-dark:hover { background-position: -120% 0; }
.btn-ghost { border-color: var(--line-2); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); }
.btn-ghost.light { border-color: rgba(255, 255, 255, .28); color: #fff; }
.btn-ghost.light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn-lg { height: 52px; padding: 0 30px; font-size: 16px; }
.btn-block { display: flex; width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* ---------------- 头部 ---------------- */
.site-head {
  position: relative; z-index: 60;
  background: var(--paper); border-bottom: 1px solid var(--line);
}
.head-inner { display: flex; align-items: center; gap: 26px; height: 80px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex: none; }
.brand-mark { width: 36px; height: 36px; color: var(--accent); display: inline-flex; }
.brand-mark svg { width: 100%; height: 100%; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text b { font-size: 16px; font-weight: 800; letter-spacing: .02em; white-space: nowrap; }
.brand-text i { font-family: var(--mono); font-style: normal; font-size: 9px; letter-spacing: .28em; color: var(--muted); margin-top: 4px; }
.brand.light { color: #fff; }
.brand.light .brand-text i { color: rgba(255, 255, 255, .45); }

.nav { display: flex; align-items: center; gap: 2px; margin-left: 6px; }
.nav a {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 12px; border-radius: 999px; border: 1px solid transparent;
  font-size: 14.5px; font-weight: 500; color: #3E4247; white-space: nowrap;
  transition: color .2s, border-color .2s, background-color .2s;
}
.nav a .ic { width: 16px; height: 16px; color: var(--muted); transition: color .2s; }
.nav a:hover { color: var(--ink); background: #fff; border-color: var(--line); }
.nav a:hover .ic { color: var(--accent); }
.nav a.active { color: var(--ink); background: #fff; border-color: var(--line-2); font-weight: 600; }
.nav a.active .ic { color: var(--accent); }

.head-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.head-search {
  display: flex; align-items: center; width: 224px; height: 42px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 0 4px 0 16px; transition: border-color .25s;
}
.head-search:focus-within { border-color: var(--ink); }
.head-search input {
  flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 13.5px; padding: 0 6px;
}
.head-search input::placeholder { color: var(--muted-2); }
.head-search button {
  width: 34px; height: 34px; border: 0; border-radius: 50%; background: var(--paper-2);
  color: var(--ink); display: flex; align-items: center; justify-content: center;
  transition: background-color .2s, color .2s;
}
.head-search button:hover { background: var(--accent); color: #fff; }
.head-search button .ic { width: 16px; height: 16px; }

.head-icon {
  position: relative; width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid transparent; transition: border-color .2s, background-color .2s;
}
.head-icon:hover { border-color: var(--line-2); background: #fff; }
.cart-count {
  position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 4px;
  border-radius: 999px; background: var(--accent); color: #fff;
  font-size: 10.5px; font-weight: 700; display: none; align-items: center; justify-content: center;
  font-family: var(--mono);
}
.cart-count.bump { animation: bump .35s ease; }
@keyframes bump { 50% { transform: scale(1.28); } }

.auth-area { display: flex; align-items: center; }
.auth-link {
  font-size: 14.5px; font-weight: 500; color: var(--ink);
  padding: 8px 9px; border: 0; background: none; transition: color .2s;
}
.auth-link:hover { color: var(--accent); }
.auth-link.accent { color: var(--accent); }
.auth-sep { width: 1px; height: 12px; background: var(--line-2); }
.user-chip { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 5px; border: 1px solid var(--line); border-radius: 999px; background: #fff; transition: border-color .2s; }
.user-chip:hover { border-color: var(--accent); }
.user-chip .avatar {
  width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700;
}
.user-chip .u-name { font-size: 13.5px; font-weight: 600; max-width: 84px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink); align-items: center; justify-content: center; }

.mobile-panel { display: none; border-top: 1px solid var(--line); background: var(--paper); padding: 0 28px 22px; }
.mobile-panel.open { display: block; }
.m-search { display: flex; margin: 16px 0; height: 46px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding-left: 17px; }
.m-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; }
.m-search button { width: 46px; border: 0; background: none; color: var(--ink); }
.m-nav { display: flex; flex-direction: column; }
.m-nav a { display: flex; align-items: center; gap: 10px; padding: 13px 4px; font-size: 15px; border-bottom: 1px solid var(--line); }
.m-nav a .ic { color: var(--muted); }
.m-nav a.active, .m-nav a:hover { color: var(--accent); }
.m-nav a.active .ic, .m-nav a:hover .ic { color: var(--accent); }
.m-auth { display: flex; gap: 10px; margin-top: 18px; }
.m-auth .btn { flex: 1; }
.m-contact { display: flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 13px; color: var(--muted); }
.m-contact .ic { color: var(--accent); }

/* ---------------- 首页 HERO ---------------- */
.hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.hero::after {
  content: "IoT"; position: absolute; right: -20px; bottom: -90px;
  font-size: 340px; font-weight: 800; line-height: 1; letter-spacing: -.06em;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .07); pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.04fr .96fr; gap: 56px; padding: 78px 0 0; align-items: end; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent);
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.hero h1 {
  font-size: clamp(46px, 5.6vw, 84px); line-height: 1.02; font-weight: 800; letter-spacing: -.03em;
  margin: 26px 0 22px;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-sub { font-size: 16px; line-height: 1.8; color: #A8ABB0; max-width: 460px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 0; }
.hero-stats { display: flex; gap: 0; margin-top: 46px; border-top: 1px solid rgba(255, 255, 255, .13); padding-top: 26px; }
.hero-stat { padding-right: 34px; margin-right: 34px; border-right: 1px solid rgba(255, 255, 255, .13); }
.hero-stat:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.hero-stat b { display: block; font-size: 30px; font-weight: 800; letter-spacing: -.02em; }
.hero-stat span { font-size: 12px; color: #8C9096; letter-spacing: .04em; }
.hero-media { position: relative; }
.hero-media .frame { border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--radius-l); overflow: hidden; background: #15181D; }
.hero-media img { width: 100%; aspect-ratio: 16 / 12; object-fit: cover; }
.hero-chip {
  position: absolute; display: flex; align-items: center; gap: 10px;
  background: rgba(19, 22, 27, .9); border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 10px; padding: 11px 15px; backdrop-filter: blur(8px);
}
.hero-chip .ic { color: var(--accent); }
.hero-chip b { display: block; font-size: 13px; line-height: 1.3; }
.hero-chip span { font-family: var(--mono); font-size: 9.5px; letter-spacing: .14em; color: #8C9096; text-transform: uppercase; }
.hero-chip.c1 { left: -26px; top: 42px; }
.hero-chip.c2 { right: -14px; bottom: 66px; }
.hero-foot { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0 22px; margin-top: 30px; border-top: 1px solid rgba(255, 255, 255, .13); font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; color: #6F747A; text-transform: uppercase; }

.ticker { background: var(--ink-2); color: #C9CBC7; border-top: 1px solid rgba(255, 255, 255, .08); overflow: hidden; }
.ticker-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.ticker-track span { display: inline-flex; align-items: center; gap: 18px; padding: 14px 0 14px 18px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; white-space: nowrap; }
.ticker-track span::after { content: "◆"; color: var(--accent); font-size: 8px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------------- 通用区块 ---------------- */
.section { padding: 88px 0; }
.section.tight { padding: 64px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(30px, 3.2vw, 44px); font-weight: 800; letter-spacing: -.025em; line-height: 1.12; margin-top: 14px; }
.section-head .sub { margin-top: 12px; color: var(--muted); font-size: 14.5px; max-width: 560px; }
.sec-link { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ink); white-space: nowrap; padding-bottom: 4px; border-bottom: 1px solid var(--line-2); transition: color .2s, border-color .2s; }
.sec-link:hover { color: var(--accent); border-color: var(--accent); }
.sec-link .ic { width: 16px; height: 16px; }

/* 分类 */
.cat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.cat-card {
  position: relative; display: block; overflow: hidden; border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, .1); background: var(--ink-2);
  aspect-ratio: 3 / 4; color: #fff;
  transition: border-color .3s ease;
}
.cat-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .78; transition: opacity .35s ease; }
.cat-card::after { content: ""; position: absolute; inset: 0; background: rgba(9, 11, 14, .5); }
.cat-card:hover { border-color: var(--accent); }
.cat-card:hover img { opacity: .95; }
.cat-card .c-body { position: absolute; inset: auto 0 0 0; z-index: 2; padding: 22px 20px; }
.cat-card .c-code { position: absolute; top: 16px; left: 18px; z-index: 2; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: rgba(255, 255, 255, .72); }
.cat-card .c-en { font-family: var(--mono); font-size: 9.5px; letter-spacing: .2em; color: var(--accent); }
.cat-card h3 { font-size: 21px; font-weight: 700; margin: 7px 0 8px; letter-spacing: .01em; }
.cat-card p { font-size: 12.5px; color: rgba(255, 255, 255, .72); line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cat-card .c-arrow { position: absolute; right: 18px; bottom: 22px; z-index: 2; width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); display: flex; align-items: center; justify-content: center; transition: background-color .25s, border-color .25s, color .25s; }
.cat-card .c-arrow .ic { width: 14px; height: 14px; }
.cat-card:hover .c-arrow { background: var(--accent); border-color: var(--accent); }
.cat-card .c-body { right: 52px; }

/* 商品卡片 */
.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.prod-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.prod-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.prod-card:hover { border-color: var(--accent); box-shadow: 0 10px 30px rgba(11, 13, 16, .07); }
.prod-media { position: relative; display: block; aspect-ratio: 1 / 1; background: #F7F7F3; overflow: hidden; }
.prod-media img { width: 100%; height: 100%; object-fit: cover; transition: filter .35s ease; }
.prod-card:hover .prod-media img { filter: saturate(1.08); }
.prod-tag {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  padding: 3px 8px; border-radius: 3px; font-size: 10.5px; font-weight: 700; letter-spacing: .04em;
  background: var(--ink); color: #fff;
}
.prod-tag.tag-新品 { background: var(--accent); }
.prod-tag.tag-爆款 { background: var(--ink); }
.prod-tag.tag-热销 { background: #2C5BA8; }
.prod-tag.tag-工程优选 { background: #3E5B4C; }
.prod-tag.tag-企业服务 { background: #5B3F86; }
.prod-off { position: absolute; top: 10px; right: 10px; z-index: 2; font-family: var(--mono); font-size: 10px; font-weight: 700; color: var(--accent); background: #fff; border: 1px solid var(--line); border-radius: 3px; padding: 2px 5px; }
.prod-body { padding: 15px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.prod-en { font-family: var(--mono); font-size: 9px; letter-spacing: .14em; color: var(--muted-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.prod-body h3 { font-size: 15.5px; font-weight: 700; letter-spacing: .005em; margin: 5px 0 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.prod-body h3 a:hover { color: var(--accent); }
.prod-brief { font-size: 12.5px; color: var(--muted); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 40px; }
.prod-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 10px 0 12px; font-size: 11.5px; color: var(--muted-2); }
.stars { display: inline-flex; align-items: center; gap: 4px; color: #C08A18; font-family: var(--mono); font-size: 11.5px; }
.stars .ic { width: 12px; height: 12px; }
.prod-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: auto; }
.price { display: flex; align-items: baseline; gap: 7px; }
.price b { font-size: 20px; font-weight: 800; color: var(--accent); letter-spacing: -.02em; }
.price s { font-size: 11.5px; color: var(--muted-2); }
.add-btn {
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2); background: #fff; color: var(--ink);
  display: flex; align-items: center; justify-content: center; transition: border-color .2s, color .2s, background-color .2s;
}
.add-btn .ic { width: 16px; height: 16px; }
.add-btn:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }

/* 服务保障条 */
.svc-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.svc-item { display: flex; align-items: center; gap: 14px; padding: 26px 24px; border-right: 1px solid var(--line); }
.svc-item:last-child { border-right: 0; }
.svc-item .svc-ic { width: 42px; height: 42px; border-radius: 50%; background: var(--paper); display: flex; align-items: center; justify-content: center; color: var(--accent); flex: none; }
.svc-item b { display: block; font-size: 14.5px; font-weight: 700; }
.svc-item span { font-size: 12px; color: var(--muted); }

/* 方案 */
.sol-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.sol-card { position: relative; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); aspect-ratio: 4 / 3.2; color: #fff; background: var(--ink-2); transition: border-color .3s; }
.sol-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: opacity .35s; }
.sol-card::after { content: ""; position: absolute; inset: 0; background: rgba(9, 11, 14, .45); }
.sol-card:hover { border-color: var(--accent); }
.sol-card:hover img { opacity: .95; }
.sol-body { position: absolute; inset: auto 0 0 0; z-index: 2; padding: 26px; }
.sol-body .c-en { font-family: var(--mono); font-size: 9.5px; letter-spacing: .2em; color: var(--accent); }
.sol-body h3 { font-size: 22px; font-weight: 700; margin: 8px 0 8px; }
.sol-body p { font-size: 13px; color: rgba(255, 255, 255, .74); max-width: 320px; }
.sol-body .sec-link { margin-top: 16px; color: #fff; border-color: rgba(255, 255, 255, .35); font-size: 13px; }
.sol-body .sec-link:hover { color: var(--accent); border-color: var(--accent); }

/* 分类专题版块 */
.cat-block { display: grid; grid-template-columns: 320px 1fr; gap: 18px; align-items: stretch; }
.prod-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.cat-promo {
  position: relative; display: block; min-height: 340px; overflow: hidden;
  border-radius: var(--radius); border: 1px solid rgba(11, 13, 16, .12);
  background: var(--ink-2); color: #fff; transition: border-color .3s ease;
}
.cat-promo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .58; transition: opacity .35s ease; }
.cat-promo::after { content: ""; position: absolute; inset: 0; background: rgba(9, 11, 14, .55); }
.cat-promo:hover { border-color: var(--accent); }
.cat-promo:hover img { opacity: .74; }
.cp-body { position: relative; z-index: 2; height: 100%; padding: 26px; display: flex; flex-direction: column; }
.cp-body .c-en { font-family: var(--mono); font-size: 9.5px; letter-spacing: .2em; color: var(--accent); text-transform: uppercase; }
.cp-body h3 { font-size: 24px; font-weight: 700; margin: 8px 0; letter-spacing: .01em; }
.cp-body p { font-size: 12.5px; line-height: 1.7; color: rgba(255, 255, 255, .75); max-width: 230px; }
.cp-stats { display: flex; flex-wrap: wrap; gap: 18px; margin-top: auto; padding-top: 22px; }
.cp-stats span { font-size: 11px; color: rgba(255, 255, 255, .65); }
.cp-stats b { display: block; font-family: var(--mono); font-size: 18px; font-weight: 700; color: #fff; line-height: 1.3; }
.cp-link {
  display: inline-flex; align-items: center; gap: 7px; align-self: flex-start;
  margin-top: 16px; padding-bottom: 3px; font-size: 12.5px; font-weight: 600; color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .32); transition: color .2s, border-color .2s;
}
.cp-link .ic { width: 14px; height: 14px; }
.cat-promo:hover .cp-link { color: var(--accent); border-color: var(--accent); }

/* 数据条 */
.brand-stats { background: var(--paper-2); }
.brand-stats .wrap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding-top: 46px; padding-bottom: 46px; }
.bs-item { border-left: 2px solid var(--accent); padding-left: 18px; }
.bs-item b { display: block; font-size: 38px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.bs-item span { font-size: 12.5px; color: var(--muted); letter-spacing: .03em; }

/* CTA */
.cta-band { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 66px 0; position: relative; z-index: 2; }
.cta-inner .eyebrow { color: #FFB199; }
.cta-inner .eyebrow::before { background: #FFB199; }
.cta-inner h2 { font-size: clamp(28px, 3.4vw, 46px); font-weight: 800; letter-spacing: -.03em; margin: 14px 0 12px; }
.cta-inner p { color: #A8ABB0; font-size: 14.5px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-band::after { content: "100"; position: absolute; right: 2%; bottom: -60px; font-size: 240px; font-weight: 800; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .08); line-height: 1; }

/* ---------------- 通用页面头 ---------------- */
.page-hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.page-hero .ph-bg { position: absolute; inset: 0; }
.page-hero .ph-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: rgba(9, 11, 14, .52); }
.page-hero .wrap { position: relative; z-index: 2; padding-top: 54px; padding-bottom: 46px; }
.crumb { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 12.5px; color: rgba(255, 255, 255, .6); }
.crumb a:hover { color: var(--accent); }
.crumb .sep { opacity: .5; }
.crumb .cur { color: #fff; }
.page-hero h1 { font-size: clamp(30px, 4vw, 50px); font-weight: 800; letter-spacing: -.02em; margin: 18px 0 10px; }
.page-hero .ph-sub { font-size: 14.5px; color: rgba(255, 255, 255, .72); max-width: 640px; }
.ph-meta { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 22px; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: rgba(255, 255, 255, .6); text-transform: uppercase; }
.ph-meta b { color: #fff; }
.light .crumb { color: var(--muted); }

/* ---------------- 商品列表页 ---------------- */
.shop { padding: 40px 0 80px; }
.shop-layout { display: grid; grid-template-columns: 228px 1fr; gap: 30px; align-items: start; }
.side { position: sticky; top: 20px; }
.side-block { border-top: 1px solid var(--line-2); padding: 20px 0 24px; }
.side-block:first-child { border-top: 0; padding-top: 6px; }
.side-title { font-family: var(--mono); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.side-list a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px; border-radius: 6px; font-size: 13.5px; color: #41454A; border: 1px solid transparent; transition: color .2s, border-color .2s, background-color .2s; }
.side-list a:hover { color: var(--ink); background: #fff; border-color: var(--line); }
.side-list a.active { background: #fff; border-color: var(--line-2); color: var(--ink); font-weight: 600; }
.side-list a .num { font-family: var(--mono); font-size: 10.5px; color: var(--muted-2); }
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip {
  padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line);
  background: transparent; font-size: 12.5px; color: #4A4E53; transition: all .2s;
}
.chip:hover { border-color: var(--ink); }
.chip.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.side-reset { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); background: none; border: 0; padding: 6px 0; }
.side-reset:hover { color: var(--accent); }
.shop-main { min-width: 0; }
.shop-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.shop-count { font-size: 13px; color: var(--muted); }
.shop-count b { color: var(--ink); font-family: var(--mono); }
.sorts { display: flex; gap: 4px; }
.sort-btn { padding: 7px 13px; border-radius: 999px; border: 1px solid transparent; background: transparent; font-size: 13px; color: var(--muted); transition: all .2s; }
.sort-btn:hover { color: var(--ink); }
.sort-btn.active { border-color: var(--line-2); background: #fff; color: var(--ink); font-weight: 600; }
.more-wrap { text-align: center; margin-top: 36px; }
.empty { text-align: center; padding: 80px 20px; border: 1px dashed var(--line-2); border-radius: var(--radius); background: #fff; }
.empty .ic { width: 34px; height: 34px; color: var(--muted-2); }
.empty h3 { margin: 14px 0 8px; font-size: 17px; }
.empty p { color: var(--muted); font-size: 13.5px; margin-bottom: 18px; }

/* ---------------- 商品详情 ---------------- */
.crumb-bar { background: var(--paper); border-bottom: 1px solid var(--line); }
.crumb-bar .wrap { display: flex; align-items: center; gap: 8px; padding-top: 14px; padding-bottom: 14px; font-size: 12.5px; color: var(--muted); flex-wrap: wrap; }
.crumb-bar a:hover { color: var(--accent); }
.crumb-bar .cur { color: var(--ink); }
.detail { padding: 34px 0 10px; }
.detail-top { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: start; }
.gallery-main { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; position: relative; }
.gallery-main img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.gallery-main .g-tag { position: absolute; top: 14px; left: 14px; z-index: 2; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 10px; }
.gal-thumb { border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: #fff; padding: 0; aspect-ratio: 1/1; }
.gal-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gal-thumb.active { border-color: var(--ink); }
.buybox .tag-row { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 12px; }
.pill { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 3px; font-size: 11px; font-weight: 600; background: #fff; border: 1px solid var(--line); color: var(--muted); }
.pill.solid { background: var(--ink); border-color: var(--ink); color: #fff; }
.pill.accent { background: var(--accent-soft); border-color: #FFD3C4; color: var(--accent); }
.buybox h1 { font-size: clamp(26px, 2.6vw, 34px); font-weight: 800; letter-spacing: -.02em; line-height: 1.22; }
.buybox .p-en { font-family: var(--mono); font-size: 10.5px; letter-spacing: .18em; color: var(--muted-2); margin-top: 9px; text-transform: uppercase; }
.buybox .p-brief { font-size: 14px; color: var(--muted); margin-top: 12px; line-height: 1.75; }
.p-rate { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 14px; font-size: 12.5px; color: var(--muted); }
.p-rate b { color: #C08A18; font-family: var(--mono); }
.price-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin-top: 20px; }
.pp-main { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.pp-main b { font-size: 34px; font-weight: 800; color: var(--accent); letter-spacing: -.03em; line-height: 1; }
.pp-main s { font-size: 13px; color: var(--muted-2); }
.pp-main .save { font-size: 11px; color: var(--accent); background: var(--accent-soft); border: 1px solid #FFD3C4; border-radius: 3px; padding: 2px 6px; }
.pp-rows { margin-top: 14px; padding-top: 13px; border-top: 1px dashed var(--line); display: flex; flex-direction: column; gap: 8px; font-size: 12.5px; color: var(--muted); }
.pp-rows li { display: flex; align-items: center; gap: 8px; }
.pp-rows .ic { width: 14px; height: 14px; color: var(--accent); }
.pp-rows em { font-style: normal; color: var(--ink); }
.buy-row { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.buy-label { width: 54px; font-size: 13px; color: var(--muted); flex: none; }
.variants { display: flex; flex-wrap: wrap; gap: 8px; }
.variant {
  padding: 8px 15px; border: 1px solid var(--line); border-radius: 6px; background: #fff;
  font-size: 13px; color: var(--ink); transition: all .2s;
}
.variant:hover { border-color: var(--ink); }
.variant.active { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); font-weight: 600; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: #fff; }
.qty button { width: 36px; height: 36px; border: 0; background: #fff; color: var(--ink); display: flex; align-items: center; justify-content: center; }
.qty button:hover { color: var(--accent); }
.qty button .ic { width: 14px; height: 14px; }
.qty input { width: 46px; height: 36px; border: 0; border-left: 1px solid var(--line); border-right: 1px solid var(--line); text-align: center; font-family: var(--mono); font-size: 13px; outline: 0; }
.stock-note { font-size: 12px; color: var(--muted); }
.buy-actions { display: flex; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
.buy-actions .btn { flex: 1; min-width: 150px; }
.svc-badges { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 20px; border-top: 1px solid var(--line); padding-top: 18px; }
.svc-badge { display: flex; align-items: center; gap: 7px; font-size: 11.5px; color: var(--muted); }
.svc-badge .ic { width: 15px; height: 15px; color: var(--green); }
.mini-specs { margin-top: 18px; border-top: 1px solid var(--line); }
.mini-specs div { display: flex; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 12.5px; }
.mini-specs dt { width: 84px; color: var(--muted); flex: none; }
.mini-specs dd { margin: 0; color: #35383D; }

.detail-tabs { margin-top: 56px; border-top: 1px solid var(--line); }
.tab-bar { display: flex; gap: 30px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.tab-btn {
  position: relative; padding: 18px 0; border: 0; background: none; white-space: nowrap;
  font-size: 15px; color: var(--muted); font-weight: 500; transition: color .2s;
}
.tab-btn::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: transparent; }
.tab-btn:hover { color: var(--ink); }
.tab-btn.active { color: var(--ink); font-weight: 700; }
.tab-btn.active::after { background: var(--accent); }
.tab-panel { display: none; padding: 34px 0 10px; }
.tab-panel.active { display: block; }
.detail-intro { max-width: 860px; }
.detail-intro p { font-size: 15px; line-height: 2; color: #3C4046; }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; margin-top: 26px; }
.feature-item { display: flex; gap: 10px; align-items: flex-start; padding: 13px 0; border-top: 1px solid var(--line); font-size: 13.5px; color: #40444A; }
.feature-item .ic { width: 15px; height: 15px; color: var(--accent); margin-top: 3px; }
.detail-banner { margin-top: 30px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.detail-banner img { width: 100%; aspect-ratio: 21 / 8; object-fit: cover; }
.spec-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.spec-table tr:nth-child(odd) td { background: #FAFAF6; }
.spec-table td { padding: 13px 18px; font-size: 13.5px; border-bottom: 1px solid var(--line); }
.spec-table td:first-child { width: 210px; color: var(--muted); background: #F7F7F2; }
.spec-note { margin-top: 14px; font-size: 12px; color: var(--muted-2); }
.rate-summary { display: flex; align-items: center; gap: 34px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; flex-wrap: wrap; }
.rate-score { text-align: center; }
.rate-score b { display: block; font-size: 40px; font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.rate-score span { font-size: 12px; color: var(--muted); }
.rate-bars { flex: 1; min-width: 220px; display: flex; flex-direction: column; gap: 8px; }
.rate-bar { display: flex; align-items: center; gap: 10px; font-size: 11.5px; color: var(--muted); }
.rate-bar i { flex: 1; height: 5px; background: var(--paper-2); border-radius: 99px; overflow: hidden; }
.rate-bar i b { display: block; height: 100%; background: #C08A18; }
.review-list { margin-top: 18px; }
.review { padding: 18px 0; border-bottom: 1px solid var(--line); }
.review-head { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.review-head .avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--paper-2); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: #4A4E53; }
.review-head .rv-name { font-weight: 600; }
.review-head .rv-date { margin-left: auto; font-family: var(--mono); font-size: 11px; color: var(--muted-2); }
.review-stars { display: inline-flex; gap: 2px; color: #C08A18; margin-left: 6px; }
.review-stars .ic { width: 12px; height: 12px; }
.review p { margin-top: 9px; font-size: 13.5px; color: #45494F; line-height: 1.8; }
.after-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.after-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.after-card .ic { width: 22px; height: 22px; color: var(--accent); }
.after-card h4 { margin: 12px 0 8px; font-size: 15px; }
.after-card p { font-size: 13px; color: var(--muted); line-height: 1.8; }
.related { padding: 64px 0 20px; }

/* ---------------- 购物车 ---------------- */
.cart-page { padding: 40px 0 80px; }
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: start; }
.cart-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.cart-head { display: grid; grid-template-columns: 1fr 120px 130px 110px 46px; gap: 14px; padding: 14px 20px; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--muted); letter-spacing: .04em; }
.cart-row { display: grid; grid-template-columns: 1fr 120px 130px 110px 46px; gap: 14px; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.cart-row:last-child { border-bottom: 0; }
.cart-prod { display: flex; align-items: center; gap: 14px; min-width: 0; }
.cart-prod img { width: 76px; height: 76px; border-radius: 6px; object-fit: cover; background: #F7F7F3; border: 1px solid var(--line); flex: none; }
.cart-prod .cp-name { font-size: 14px; font-weight: 600; display: block; }
.cart-prod .cp-name:hover { color: var(--accent); }
.cart-prod .cp-var { font-size: 11.5px; color: var(--muted); margin-top: 4px; font-family: var(--mono); }
.cart-prod .cp-en { font-size: 9px; letter-spacing: .12em; color: var(--muted-2); font-family: var(--mono); margin-top: 3px; }
.cart-unit { font-size: 13px; color: var(--muted); }
.cart-sub { font-size: 15px; font-weight: 700; color: var(--accent); }
.cart-del { width: 34px; height: 34px; border: 1px solid var(--line); background: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--muted); }
.cart-del:hover { border-color: var(--accent); color: var(--accent); }
.cart-del .ic { width: 15px; height: 15px; }
.summary { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; position: sticky; top: 20px; }
.summary h3 { font-size: 16px; font-weight: 700; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.sum-row { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; font-size: 13px; color: var(--muted); }
.sum-row b { color: var(--ink); font-family: var(--mono); font-weight: 600; }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--line); }
.sum-total span { font-size: 13px; color: var(--muted); }
.sum-total b { font-size: 28px; font-weight: 800; color: var(--accent); letter-spacing: -.02em; }
.summary .btn { margin-top: 16px; }
.sum-tip { font-size: 11.5px; color: var(--muted-2); margin-top: 12px; line-height: 1.7; }
.coupon-line { display: flex; justify-content: space-between; font-size: 12px; color: var(--accent); background: var(--accent-soft); border: 1px dashed #FFC7B4; border-radius: 6px; padding: 8px 12px; margin-top: 4px; }

.checkout { background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius); margin-top: 20px; overflow: hidden; display: none; }
.checkout.open { display: block; }
.checkout-head { padding: 16px 22px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.checkout-head h3 { font-size: 15px; }
.checkout-body { padding: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.checkout-body .full { grid-column: 1 / -1; }
.checkout-body textarea { width: 100%; min-height: 76px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 6px; outline: 0; resize: vertical; }
.checkout-body textarea:focus { border-color: var(--ink); }
.checkout-foot { padding: 0 22px 22px; display: flex; justify-content: flex-end; gap: 10px; }
.order-done { padding: 28px 22px; display: none; }
.order-done.show { display: block; }
.order-done .ok-ic { width: 52px; height: 52px; border-radius: 50%; background: #E8F6F0; color: var(--green); display: flex; align-items: center; justify-content: center; }
.order-done .ok-ic .ic { width: 26px; height: 26px; }
.order-done h3 { margin: 14px 0 6px; font-size: 19px; }
.order-done p { color: var(--muted); font-size: 13px; }
.order-done .od-actions { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.cart-empty { text-align: center; padding: 90px 20px; background: #fff; border: 1px dashed var(--line-2); border-radius: var(--radius); }
.cart-empty .ic { width: 40px; height: 40px; color: var(--muted-2); }
.cart-empty h3 { margin: 16px 0 8px; font-size: 19px; }
.cart-empty p { color: var(--muted); font-size: 13.5px; margin-bottom: 20px; }

/* ---------------- 表单 / 登录注册 ---------------- */
.auth-page { padding: 48px 0 76px; }
.auth-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: stretch; max-width: 1130px; margin: 0 auto; }
.auth-form-wrap { max-width: 460px; }
.auth-form-wrap .eyebrow { margin-bottom: 14px; }
.auth-form-wrap h1 { font-size: clamp(30px, 3.4vw, 42px); font-weight: 800; letter-spacing: -.03em; line-height: 1.15; }
.auth-form-wrap .lead { color: var(--muted); font-size: 14px; margin: 12px 0 26px; }
.auth-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); padding: 28px; }
.auth-form.naked { background: transparent; border: 0; padding: 0; }
.field { margin-bottom: 16px; }
.field label { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; margin-bottom: 7px; }
.field label .req { color: var(--accent); }
.field .hint { font-size: 11.5px; color: var(--muted-2); font-weight: 400; margin-left: auto; }
.input-wrap { position: relative; display: flex; align-items: center; }
.input-wrap .ic { position: absolute; left: 14px; width: 17px; height: 17px; color: var(--muted-2); pointer-events: none; }
.input-wrap input { width: 100%; height: 48px; padding: 0 14px 0 42px; border: 1px solid var(--line); border-radius: 7px; background: #fff; outline: 0; transition: border-color .2s, box-shadow .2s; }
.input-wrap input:focus { border-color: var(--ink); }
.input-wrap input::placeholder { color: var(--muted-2); font-size: 13.5px; }
.field.error .input-wrap input { border-color: var(--accent); background: #FFF9F7; }
.field.ok .input-wrap input { border-color: #9FD3C2; }
.err-msg { font-size: 11.5px; color: var(--accent); margin-top: 6px; display: none; }
.field.error .err-msg { display: block; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.strength { display: flex; gap: 5px; margin-top: 8px; }
.strength i { flex: 1; height: 4px; border-radius: 99px; background: var(--line); transition: background-color .25s; }
.strength.s1 i:nth-child(1) { background: #E05A2B; }
.strength.s2 i:nth-child(-n+2) { background: #D89B1C; }
.strength.s3 i:nth-child(-n+3) { background: #4E9E63; }
.strength.s4 i { background: var(--green); }
.strength-text { font-size: 11px; color: var(--muted-2); margin-top: 5px; }
.agree { display: flex; align-items: flex-start; gap: 9px; margin: 6px 0 18px; font-size: 12.5px; color: var(--muted); line-height: 1.7; }
.agree input { width: 16px; height: 16px; margin: 3px 0 0; accent-color: var(--accent); flex: none; }
.agree a { color: var(--ink); border-bottom: 1px solid var(--line-2); }
.agree a:hover { color: var(--accent); border-color: var(--accent); }
.form-extra { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 2px 0 20px; font-size: 12.5px; color: var(--muted); }
.form-extra label { display: inline-flex; align-items: center; gap: 7px; cursor: pointer; }
.form-extra input { accent-color: var(--accent); width: 15px; height: 15px; }
.form-extra a { color: var(--muted); }
.form-extra a:hover { color: var(--accent); }
.auth-foot { margin-top: 18px; font-size: 13px; color: var(--muted); text-align: center; }
.auth-foot a { color: var(--accent); font-weight: 600; }
.auth-benefits { margin-top: 26px; display: flex; flex-direction: column; gap: 9px; font-size: 12.5px; color: var(--muted); }
.auth-benefits li { display: flex; align-items: center; gap: 8px; }
.auth-benefits .ic { width: 15px; height: 15px; color: var(--green); }
.auth-visual { position: relative; border-radius: var(--radius-l); overflow: hidden; background: var(--ink-2); min-height: 560px; border: 1px solid var(--line); }
.auth-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.auth-visual::after { content: ""; position: absolute; inset: 0; background: rgba(9, 11, 14, .42); }
.auth-v-inner { position: absolute; inset: auto 0 0 0; z-index: 2; padding: 34px; color: #fff; }
.auth-v-inner .eyebrow { color: #FFB199; }
.auth-v-inner .eyebrow::before { background: #FFB199; }
.auth-v-inner h2 { font-size: 28px; font-weight: 800; letter-spacing: -.02em; margin: 12px 0 10px; line-height: 1.3; }
.auth-v-inner p { font-size: 13px; color: rgba(255, 255, 255, .75); }
.auth-v-stats { display: flex; gap: 26px; margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .18); }
.auth-v-stats b { display: block; font-size: 22px; font-weight: 800; }
.auth-v-stats span { font-size: 11px; color: rgba(255, 255, 255, .6); }
.form-msg { padding: 11px 14px; border-radius: 6px; font-size: 12.5px; margin-bottom: 16px; display: none; align-items: flex-start; gap: 8px; }
.form-msg.show { display: flex; }
.form-msg.error { background: #FFF1EB; color: #C23A10; border: 1px solid #FFD3C4; }
.form-msg.success { background: #EAF7F1; color: #12704F; border: 1px solid #BFE7D8; }
.form-msg .ic { width: 15px; height: 15px; margin-top: 2px; flex: none; }

/* ---------------- 个人中心 ---------------- */
.account-page { padding: 40px 0 80px; }
.account-grid { display: grid; grid-template-columns: 300px 1fr; gap: 26px; align-items: start; }
.profile-card { background: var(--ink); color: #fff; border-radius: var(--radius-l); padding: 28px; position: relative; overflow: hidden; }
.profile-card::after { content: "ID"; position: absolute; right: -10px; bottom: -30px; font-size: 120px; font-weight: 800; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .1); }
.profile-top { display: flex; align-items: center; gap: 14px; position: relative; z-index: 2; }
.profile-top .big-avatar { width: 58px; height: 58px; border-radius: 50%; background: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 800; }
.profile-top b { font-size: 19px; display: block; }
.profile-top span { font-size: 11.5px; color: rgba(255, 255, 255, .55); font-family: var(--mono); }
.profile-rows { margin-top: 24px; position: relative; z-index: 2; }
.profile-rows div { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); font-size: 12.5px; }
.profile-rows span { color: rgba(255, 255, 255, .55); }
.profile-rows b { font-family: var(--mono); font-weight: 500; }
.profile-actions { display: flex; gap: 8px; margin-top: 22px; position: relative; z-index: 2; }
.profile-actions .btn { flex: 1; height: 40px; font-size: 13px; }
.account-main { display: flex; flex-direction: column; gap: 20px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 17px 22px; border-bottom: 1px solid var(--line); }
.panel-head h3 { font-size: 15.5px; }
.panel-head .sec-link { font-size: 12.5px; border-bottom: 0; }
.panel-body { padding: 22px; }
.coupon-card { display: flex; align-items: center; gap: 18px; border: 1px dashed #FFC7B4; background: var(--accent-soft); border-radius: var(--radius); padding: 18px 22px; }
.coupon-card b { font-size: 34px; font-weight: 800; color: var(--accent); letter-spacing: -.03em; }
.coupon-card span { font-size: 12.5px; color: #9A4A2C; }
.order-item { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; margin-bottom: 12px; }
.order-item:last-child { margin-bottom: 0; }
.order-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 12px; border-bottom: 1px dashed var(--line); font-size: 12px; color: var(--muted); flex-wrap: wrap; }
.order-top b { font-family: var(--mono); color: var(--ink); font-weight: 600; }
.order-status { font-size: 11px; padding: 2px 8px; border-radius: 3px; background: #EAF7F1; color: #12704F; font-weight: 600; }
.order-products { display: flex; gap: 10px; flex-wrap: wrap; padding: 14px 0; }
.order-products img { width: 54px; height: 54px; object-fit: cover; border: 1px solid var(--line); border-radius: 4px; }
.order-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 12.5px; flex-wrap: wrap; }
.order-foot b { color: var(--accent); font-size: 16px; }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.info-grid div { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; padding-bottom: 10px; border-bottom: 1px dashed var(--line); }
.info-grid span { color: var(--muted); }
.guard { text-align: center; padding: 90px 20px; background: #fff; border: 1px dashed var(--line-2); border-radius: var(--radius); }
.guard .ic { width: 36px; height: 36px; color: var(--muted-2); }
.guard h3 { margin: 14px 0 8px; }
.guard p { color: var(--muted); font-size: 13.5px; margin-bottom: 18px; }

/* ---------------- 协议文档 ---------------- */
.legal-page { padding: 36px 0 80px; }
.legal-layout { display: grid; grid-template-columns: 250px 1fr; gap: 36px; align-items: start; }
.legal-toc { position: sticky; top: 20px; border-left: 2px solid var(--line-2); padding-left: 18px; }
.legal-toc .toc-title { font-family: var(--mono); font-size: 10.5px; letter-spacing: .18em; color: var(--muted); margin-bottom: 12px; text-transform: uppercase; }
.legal-toc a { display: block; padding: 6px 0; font-size: 12.5px; color: var(--muted); transition: color .2s; }
.legal-toc a:hover, .legal-toc a.active { color: var(--accent); }
.legal-doc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 40px 48px 48px; }
.legal-meta { display: flex; flex-wrap: wrap; gap: 18px; padding-bottom: 22px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 11px; letter-spacing: .06em; color: var(--muted-2); }
.legal-doc h2 { font-size: 20px; font-weight: 700; margin: 34px 0 12px; padding-top: 6px; scroll-margin-top: 20px; }
.legal-doc h2:first-of-type { margin-top: 26px; }
.legal-doc h2 .idx { font-family: var(--mono); color: var(--accent); font-size: 13px; margin-right: 10px; }
.legal-doc p { font-size: 14px; line-height: 2; color: #3C4046; margin-bottom: 12px; }
.legal-doc ul { margin: 6px 0 16px; padding-left: 0; }
.legal-doc li { position: relative; padding-left: 18px; font-size: 14px; line-height: 2; color: #3C4046; }
.legal-doc li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.legal-doc strong { color: var(--ink); }
.legal-note { margin: 22px 0; padding: 16px 18px; background: var(--paper); border-left: 2px solid var(--accent); border-radius: 0 6px 6px 0; font-size: 13px; color: #4A4E53; line-height: 1.9; }
.legal-doc .doc-foot { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }

/* ---------------- 页脚 ---------------- */
.site-foot { background: var(--ink); color: #B7B9B5; }
.foot-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-top: 60px; padding-bottom: 46px; }
.foot-slogan { margin-top: 16px; font-size: 13px; color: #7E8288; max-width: 300px; }
.foot-contact { margin-top: 24px; display: flex; flex-direction: column; gap: 13px; }
.foot-contact li { display: flex; gap: 10px; font-size: 12.5px; color: #9A9DA2; line-height: 1.6; }
.foot-contact .ic { width: 15px; height: 15px; color: var(--accent); margin-top: 3px; flex: none; }
.foot-contact i { display: block; font-style: normal; font-size: 11px; color: #666A70; margin-top: 2px; }
.foot-col h4 { font-size: 12.5px; color: #fff; letter-spacing: .06em; margin-bottom: 16px; font-weight: 600; }
.foot-col a { display: block; font-size: 12.5px; color: #9A9DA2; padding: 5px 0; transition: color .2s; }
.foot-col a:hover { color: var(--accent); }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 20px; padding-bottom: 26px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 16.5px; color: #666A70; }
.foot-bottom .beian-link { color: inherit; text-decoration: none; transition: color .2s ease; }
.foot-bottom .beian-link:hover { color: var(--accent); }

/* ---------------- 提示 ---------------- */
.toast {
  position: fixed; left: 50%; bottom: 34px; transform: translate(-50%, 18px);
  background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 999px;
  font-size: 13px; display: flex; align-items: center; gap: 8px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .22); opacity: 0; pointer-events: none;
  transition: opacity .25s ease, transform .25s ease; z-index: 200; max-width: 90vw;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast .ic { color: var(--teal); width: 16px; height: 16px; }
.toast.error .ic { color: var(--accent); }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1399px) {
  .head-search { display: none; }
}
@media (max-width: 1280px) {
  .wrap { padding: 0 24px; }
  .hero-inner { gap: 36px; }
  .prod-grid { gap: 14px; }
}
/* 头部：品牌名较长时提前折叠导航 */
@media (max-width: 1260px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
}

@media (max-width: 1180px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
  .head-inner { height: 72px; gap: 16px; }
  .hero-inner { grid-template-columns: 1fr; padding-top: 56px; gap: 40px; }
  .hero::after { font-size: 240px; bottom: -60px; }
  .hero-media .frame { max-width: 620px; }
  .hero-chip.c1 { left: 14px; top: 14px; }
  .hero-chip.c2 { right: 10px; bottom: 16px; }
  .hero-stats { margin-top: 34px; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .cat-card { aspect-ratio: 4 / 3.4; }
  .shop-layout { grid-template-columns: 1fr; }
  .side { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 0 30px; }
  .side-block { border-top: 0; padding-top: 0; }
  .detail-top { gap: 30px; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { position: static; display: flex; flex-wrap: wrap; gap: 6px 16px; border-left: 0; padding-left: 0; border-bottom: 1px solid var(--line); padding-bottom: 14px; }
  .legal-toc .toc-title { width: 100%; margin-bottom: 4px; }
  .legal-toc a { padding: 2px 0; }
}
@media (max-width: 1024px) {
  .prod-grid { grid-template-columns: repeat(3, 1fr); }
  .prod-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .cart-layout { grid-template-columns: 1fr; }
  .summary { position: static; }
  .auth-layout { grid-template-columns: 1fr; gap: 30px; max-width: 560px; }
  .auth-visual { display: none; }
  .account-grid { grid-template-columns: 1fr; }
  .profile-card { padding: 24px; }
  .foot-top { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 860px) {
  .section { padding: 60px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 28px; }
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .cat-card { aspect-ratio: 4 / 3.6; }
  .cat-card .c-body { right: 18px; }
  .prod-grid, .prod-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .svc-item:nth-child(2) { border-right: 0; }
  .svc-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .sol-grid { grid-template-columns: 1fr; }
  .sol-card { aspect-ratio: 16 / 9; }
  .brand-stats .wrap { grid-template-columns: 1fr 1fr; gap: 26px; }
  .detail-top { grid-template-columns: 1fr; }
  .gallery-main img { aspect-ratio: 1 / 1; }
  .cta-inner { flex-direction: column; align-items: flex-start; padding: 50px 0; gap: 24px; }
  .cta-band::after { font-size: 160px; }
  .feature-list { grid-template-columns: 1fr; }
  .after-grid { grid-template-columns: 1fr; }
  .cart-head { display: none; }
  .cart-row { grid-template-columns: 1fr auto; gap: 12px 16px; }
  .cart-unit { display: none; }
  .cart-qty { grid-column: 1; }
  .cart-sub { grid-column: 2; text-align: right; }
  .cart-del { grid-row: 1; grid-column: 2; justify-self: end; }
  .cart-prod { grid-column: 1 / -1; }
  .legal-doc { padding: 26px 22px 32px; }
  .page-hero .wrap { padding-top: 40px; padding-bottom: 34px; }
  .checkout-body { grid-template-columns: 1fr; }
  .hero-foot { display: none; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 18px; }
  .hero h1 { font-size: 42px; }
  .hero-stats { flex-wrap: wrap; gap: 18px 0; }
  .hero-stat { padding-right: 24px; margin-right: 24px; }
  .hero-stat b { font-size: 24px; }
  .head-icon { width: 38px; }
  .user-chip .u-name { display: none; }
  .cat-grid { grid-template-columns: 1fr; }
  .cat-card { aspect-ratio: 16 / 9; }
  .prod-grid, .prod-grid.cols-3 { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .prod-body { padding: 12px 12px 14px; }
  .prod-brief { min-height: 36px; font-size: 11.5px; }
  .prod-body h3 { font-size: 14px; }
  .price b { font-size: 17px; }
  .prod-meta { font-size: 10.5px; margin: 8px 0 10px; }
  .add-btn { width: 30px; height: 30px; }
  .svc-item { padding: 18px 14px; gap: 10px; }
  .svc-item .svc-ic { width: 36px; height: 36px; }
  .brand-stats .wrap { grid-template-columns: 1fr 1fr; }
  .bs-item b { font-size: 28px; }
  .foot-top { grid-template-columns: 1fr; gap: 28px; padding-top: 44px; }
  .foot-bottom { flex-direction: column; }
  .side { grid-template-columns: 1fr; }
  .shop-toolbar { gap: 10px; }
  .tab-bar { gap: 20px; }
  .buy-actions .btn { min-width: 100%; }
  .gallery-thumbs { grid-template-columns: repeat(4, 1fr); }
  .buy-actions { flex-direction: column; }
  .auth-form { padding: 20px; }
  .field-row { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; }
  .rate-summary { gap: 20px; padding: 18px; }
  .rate-score b { font-size: 32px; }
  .profile-rows b { font-size: 11.5px; }
  .legal-doc h2 { font-size: 18px; }
  .legal-doc p, .legal-doc li { font-size: 13.5px; }
  .toast { bottom: 20px; font-size: 12px; padding: 11px 16px; }
}

/* 分类专题版块响应式 */
@media (max-width: 1180px) {
  .cat-block { grid-template-columns: 280px 1fr; gap: 14px; }
}
@media (max-width: 1024px) {
  .cat-block { grid-template-columns: 1fr; }
  .cat-promo { min-height: 280px; }
  .cp-body p { max-width: 420px; }
}
@media (max-width: 860px) {
  .cat-promo { min-height: 240px; }
  .cp-body { padding: 22px; }
  .cp-body p { max-width: none; }
  .prod-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .cat-promo { min-height: 230px; }
  .cp-body h3 { font-size: 21px; }
  .cp-stats { gap: 14px; }
  .cp-stats b { font-size: 16px; }
}
