:root {
  --bg: #0e1013;
  --bg-soft: #12151a;
  --card: #171a20;
  --card-2: #1d2128;
  --line: #2a2f38;
  --ink: #f2f3f5;
  --muted: #9aa2ae;
  --gold: #d4af6a;
  --gold-soft: rgba(212, 175, 106, .14);
  --orange: #ff6a2b;
  --danger: #ff6b6b;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 12px 40px rgba(0, 0, 0, .35);
  --wrap: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; }

.wrap { width: min(var(--wrap), calc(100% - 40px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--gold); color: #111; padding: 10px 16px; z-index: 200; }
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(14, 16, 19, .92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  width: min(var(--wrap), calc(100% - 40px));
  margin-inline: auto;
  min-height: 70px;
  display: flex; align-items: center; gap: 26px;
}
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 50%;
  border: 2px solid var(--gold);
  display: grid; place-items: center;
  background: radial-gradient(circle at 35% 30%, #2a2318, #0e1013 70%);
}
.brand-mark i { width: 13px; height: 13px; border-radius: 50%; background: var(--gold); display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong { font-size: 17px; letter-spacing: .04em; }
.brand-text small { color: var(--muted); font-size: 11px; letter-spacing: .12em; }

.main-nav { display: flex; gap: 22px; margin-left: auto; }
.main-nav a { color: var(--muted); font-size: 14px; padding: 6px 0; border-bottom: 2px solid transparent; transition: .2s; }
.main-nav a:hover, .main-nav a.active { color: var(--gold); border-bottom-color: var(--gold); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.search-box { display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: #13161b; }
.search-box input { width: 190px; padding: 8px 14px; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 13px; }
.search-box input::placeholder { color: #6f7783; }
.search-box button { border: 0; background: var(--gold-soft); color: var(--gold); padding: 8px 15px; font-size: 13px; }
.search-box button:hover { background: var(--gold); color: #14161a; }
.cart-trigger {
  position: relative; border: 1px solid var(--line); background: #171a20; color: var(--ink);
  border-radius: 999px; padding: 8px 16px; font-size: 13px;
}
.cart-trigger:hover { border-color: var(--gold); color: var(--gold); }
.cart-badge {
  position: absolute; top: -6px; right: -6px; min-width: 18px; height: 18px; padding: 0 4px;
  border-radius: 9px; background: var(--orange); color: #fff; font-size: 11px; line-height: 18px; text-align: center;
}

/* ---------- hero ---------- */
.hero {
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(900px 500px at 78% 20%, rgba(212, 175, 106, .10), transparent 65%),
    linear-gradient(160deg, #14171d, #0e1013 60%);
  overflow: hidden;
}
.hero-inner {
  width: min(var(--wrap), calc(100% - 40px)); margin-inline: auto;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center;
  padding: 74px 0 80px;
}
.eyebrow { color: var(--gold); font-size: 12px; letter-spacing: .22em; margin: 0 0 18px; }
.hero h1 { margin: 0 0 18px; font-size: clamp(34px, 5vw, 58px); line-height: 1.18; letter-spacing: .02em; }
.hero-lead { color: var(--muted); max-width: 540px; font-size: 15px; margin: 0 0 28px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-block; padding: 12px 26px; border-radius: 999px; font-size: 14px; border: 1px solid transparent; transition: .2s; }
.btn-primary { background: var(--gold); color: #14161a; font-weight: 600; }
.btn-primary:hover { background: #e6c483; }
.btn-ghost { border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.hero-stats { display: flex; gap: 34px; margin: 42px 0 0; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats dt { font-size: 28px; color: var(--gold); font-weight: 600; line-height: 1.2; }
.hero-stats dd { margin: 2px 0 0; color: var(--muted); font-size: 12px; }

.hero-visual { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.speaker-art {
  position: relative; width: min(360px, 80vw); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 38% 32%, #2b2b2b, #15171b 58%, #0b0d10 100%);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6), inset 0 2px 3px rgba(255, 255, 255, .08);
  border: 1px solid #33383f;
  display: grid; place-items: center;
}
.speaker-art .ring { position: absolute; border-radius: 50%; border: 1px solid rgba(212, 175, 106, .22); }
.ring-1 { inset: 8%; box-shadow: inset 0 0 40px rgba(0, 0, 0, .6); }
.ring-2 { inset: 20%; border-color: rgba(212, 175, 106, .35); background: radial-gradient(circle at 40% 35%, #24272c, #101317 70%); }
.ring-3 { inset: 33%; border-color: rgba(212, 175, 106, .2); }
.dome { width: 22%; height: 22%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #e9cf9c, #a5813f 55%, #4b3a1c); box-shadow: 0 0 30px rgba(212, 175, 106, .25); }
.glint { position: absolute; inset: 12%; border-radius: 50%; background: linear-gradient(145deg, rgba(255, 255, 255, .07), transparent 42%); pointer-events: none; }
.hero-visual-caption { color: var(--muted); font-size: 12px; letter-spacing: .16em; }

/* ---------- sections ---------- */
section { scroll-margin-top: 84px; }
.section-title { font-size: clamp(22px, 3vw, 30px); margin: 0 0 8px; letter-spacing: .02em; }
.section-sub { color: var(--muted); font-size: 13px; margin: 0; }
.category-strip { padding: 56px 0 8px; }
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 26px; }
.category-card {
  background: linear-gradient(160deg, var(--card-2), var(--card));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; display: block; transition: .22s;
}
.category-card:hover { transform: translateY(-3px); border-color: var(--gold); }
.category-card .glyph { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--gold-soft); color: var(--gold); font-size: 20px; }
.category-card h3 { margin: 16px 0 6px; font-size: 17px; }
.category-card p { margin: 0; color: var(--muted); font-size: 12px; }

.catalog { padding: 56px 0 72px; }
.catalog-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.catalog-tools { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.filter-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { border: 1px solid var(--line); background: transparent; color: var(--muted); padding: 7px 15px; border-radius: 999px; font-size: 13px; }
.chip:hover { color: var(--ink); border-color: #4a515c; }
.chip.active { background: var(--gold); border-color: var(--gold); color: #14161a; font-weight: 600; }
#sort-select { background: #171a20; color: var(--ink); border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; font-size: 13px; }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 18px; }
.product-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; transition: .22s;
}
.product-card:hover { border-color: #4a4030; transform: translateY(-3px); box-shadow: var(--shadow); }
.product-cover {
  height: 168px; position: relative; display: grid; place-items: center; overflow: hidden;
  background: linear-gradient(145deg, var(--cover-from, #3b3020), var(--cover-to, #12151a));
  border-bottom: 1px solid rgba(255, 255, 255, .05);
}
.cover-label { position: absolute; bottom: 12px; left: 14px; font-size: 11px; letter-spacing: .16em; color: var(--cover-accent, #d4af6a); text-transform: uppercase; }
.cover-art { position: relative; width: 108px; height: 108px; }
.cover-art.speaker { border-radius: 50%; background: radial-gradient(circle at 38% 32%, #33363c, #14171b 62%, #0c0e12); border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 12px 30px rgba(0, 0, 0, .45); display: grid; place-items: center; }
.cover-art.speaker::before { content: ''; position: absolute; inset: 14%; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .16); }
.cover-art.speaker::after { content: ''; width: 30%; height: 30%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, var(--cover-accent, #d4af6a), #4b3a1c 75%); box-shadow: 0 0 18px rgba(0, 0, 0, .5); }
.cover-art.usb { width: 128px; height: 66px; border-radius: 8px; background: linear-gradient(160deg, #3a3f47, #171a1f 60%); border: 1px solid rgba(255, 255, 255, .18); box-shadow: 0 12px 26px rgba(0, 0, 0, .45); }
.cover-art.usb::before { content: ''; position: absolute; right: -30px; top: 16px; width: 32px; height: 34px; border-radius: 3px; background: linear-gradient(180deg, #b9bcc2, #6f747c); border: 1px solid #d7d9dd; }
.cover-art.usb::after { content: ''; position: absolute; left: 12px; top: 20px; width: 46px; height: 5px; border-radius: 3px; background: var(--cover-accent, #d4af6a); box-shadow: 0 13px 0 rgba(255, 255, 255, .12); }
.cover-art.block { width: 112px; height: 96px; border-radius: 12px; background: linear-gradient(150deg, rgba(255, 255, 255, .10), rgba(0, 0, 0, .25)); border: 1px solid rgba(255, 255, 255, .14); display: grid; place-items: center; }
.cover-art.block::before { content: ''; width: 46px; height: 46px; border-radius: 50%; border: 6px solid var(--cover-accent, #d4af6a); opacity: .85; }
.cover-art.block::after { content: ''; position: absolute; bottom: 12px; right: 14px; width: 24px; height: 24px; border-radius: 6px; background: var(--cover-accent, #d4af6a); opacity: .5; }

.product-body { padding: 16px; display: flex; flex-direction: column; flex: 1; }
.product-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.tag { font-size: 11px; color: var(--gold); background: var(--gold-soft); border-radius: 4px; padding: 2px 7px; }
.product-name { font-size: 15px; margin: 0 0 6px; line-height: 1.45; }
.product-desc { color: var(--muted); font-size: 12px; margin: 0 0 14px; flex: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-meta { display: flex; align-items: baseline; gap: 8px; }
.price { color: var(--orange); font-size: 20px; font-weight: 700; }
.price small { font-size: 12px; font-weight: 400; }
.original-price { color: #6d7480; font-size: 12px; text-decoration: line-through; }
.sales { margin-left: auto; color: var(--muted); font-size: 11px; }
.product-actions { display: flex; gap: 8px; margin-top: 14px; }
.product-actions button, .product-actions a { flex: 1; text-align: center; border-radius: 8px; padding: 9px 6px; font-size: 13px; border: 1px solid var(--line); background: transparent; color: var(--ink); }
.product-actions .add-cart { background: var(--gold); border-color: var(--gold); color: #14161a; font-weight: 600; }
.product-actions .add-cart:hover { background: #e6c483; }
.product-actions .view-detail:hover { border-color: var(--gold); color: var(--gold); }
.catalog-empty { text-align: center; color: var(--muted); padding: 60px 0; }

/* ---------- service / faq / footer ---------- */
.service-band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #11141a; padding: 60px 0; }
.service-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.service-band p { color: var(--muted); font-size: 14px; max-width: 520px; }
.service-location { color: var(--gold) !important; font-weight: 600; letter-spacing: .04em; }
.service-note { font-size: 12px !important; color: #717986 !important; }
.service-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.service-list li { display: flex; gap: 16px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 18px; }
.service-list span { color: var(--gold); font-size: 20px; font-weight: 600; }
.service-list div { display: flex; flex-direction: column; }
.service-list strong { font-size: 15px; }
.service-list small { color: var(--muted); font-size: 12px; }
.faq { padding: 60px 0 72px; }
.faq-list { margin-top: 24px; display: grid; gap: 10px; }
.faq-list details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 20px; }
.faq-list summary { cursor: pointer; font-size: 15px; font-weight: 600; }
.faq-list details[open] summary { color: var(--gold); }
.faq-list p { color: var(--muted); font-size: 13px; margin: 12px 0 0; }
.site-footer { border-top: 1px solid var(--line); background: #0b0d10; padding: 36px 0; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: start; }
.site-footer strong { color: var(--gold); font-size: 16px; }
.site-footer p { color: var(--muted); font-size: 12px; margin: 6px 0 0; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); font-size: 13px; }
.footer-links a:hover { color: var(--gold); }
.footer-legal { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 16px; margin-top: 8px !important; }

/* ---------- drawer / view layer / toast ---------- */
.drawer-mask { position: fixed; inset: 0; background: rgba(0, 0, 0, .6); z-index: 80; }
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); z-index: 90;
  background: var(--bg-soft); border-left: 1px solid var(--line);
  transform: translateX(100%); transition: transform .26s ease;
  display: flex; flex-direction: column;
}
.cart-drawer.open { transform: translateX(0); }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { margin: 0; font-size: 18px; }
.drawer-head button { border: 0; background: transparent; color: var(--muted); font-size: 26px; line-height: 1; }
.drawer-body { flex: 1; overflow-y: auto; padding: 18px 22px; }
.drawer-foot { padding: 18px 22px; border-top: 1px solid var(--line); }
.cart-line { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-line-main { flex: 1; min-width: 0; }
.cart-line-name { font-size: 14px; margin: 0 0 4px; }
.cart-line-spec { color: var(--muted); font-size: 12px; }
.cart-line-price { color: var(--orange); font-size: 14px; margin-top: 6px; }
.qty { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; }
.qty button { width: 26px; height: 26px; border: 1px solid var(--line); background: #1b1f26; color: var(--ink); border-radius: 6px; line-height: 1; }
.qty span { min-width: 22px; text-align: center; font-size: 13px; }
.cart-line-remove { border: 0; background: transparent; color: var(--muted); font-size: 12px; align-self: flex-start; }
.cart-line-remove:hover { color: var(--danger); }
.drawer-total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.drawer-total strong { color: var(--orange); font-size: 24px; }
.empty-state { text-align: center; color: var(--muted); padding: 70px 10px; font-size: 14px; }
.empty-state span { display: block; font-size: 38px; margin-bottom: 12px; opacity: .5; }
.btn-block { display: block; width: 100%; text-align: center; padding: 12px; border-radius: 10px; background: var(--gold); color: #14161a; font-weight: 600; border: 0; }
.btn-block:disabled { opacity: .45; cursor: not-allowed; }

.view-layer { position: fixed; inset: 0; z-index: 100; background: rgba(8, 9, 12, .92); overflow-y: auto; padding: 28px 16px 60px; }
.view-panel { width: min(880px, 100%); margin: 0 auto; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); }
.view-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 24px; border-bottom: 1px solid var(--line); }
.view-head h2 { margin: 0; font-size: 19px; }
.view-head button { border: 0; background: transparent; color: var(--muted); font-size: 26px; line-height: 1; }
.view-content { padding: 24px; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.detail-cover { height: 280px; border-radius: 14px; position: relative; display: grid; place-items: center; background: linear-gradient(145deg, var(--cover-from, #3b3020), var(--cover-to, #12151a)); }
.detail-cover .cover-art { transform: scale(1.5); }
.detail-price { color: var(--orange); font-size: 30px; font-weight: 700; margin: 14px 0; }
.detail-price small { font-size: 14px; }
.detail-desc { color: var(--muted); font-size: 14px; }
.spec-list, .highlight-list { display: grid; gap: 8px; margin: 10px 0 22px; padding: 0; list-style: none; }
.spec-list li { display: inline-block; }
.spec-chip { border: 1px solid var(--line); border-radius: 8px; padding: 8px 14px; font-size: 13px; display: inline-block; cursor: pointer; margin: 0 8px 8px 0; }
.spec-chip.active { border-color: var(--gold); color: var(--gold); background: var(--gold-soft); }
.highlight-list li { color: var(--muted); font-size: 13px; padding-left: 18px; position: relative; }
.highlight-list li::before { content: '·'; position: absolute; left: 4px; color: var(--gold); font-size: 20px; line-height: 1; }
.detail-paragraph { color: var(--muted); font-size: 13px; margin: 0 0 12px; }
.detail-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.detail-actions .btn { flex: 1; text-align: center; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; color: var(--muted); }
.field input, .field textarea { background: #13161b; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; color: var(--ink); outline: none; font-size: 14px; }
.field input:focus, .field textarea:focus { border-color: var(--gold); }
.field .err { color: var(--danger); font-size: 12px; }
.field.invalid input { border-color: var(--danger); }
.order-summary { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px; margin-bottom: 20px; }
.order-line { display: flex; justify-content: space-between; font-size: 13px; padding: 6px 0; color: var(--muted); }
.order-line strong { color: var(--ink); }
.order-total { display: flex; justify-content: space-between; border-top: 1px solid var(--line); margin-top: 10px; padding-top: 12px; font-size: 15px; }
.order-total strong { color: var(--orange); font-size: 22px; }
.list-card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px; margin-bottom: 12px; }
.list-card-head { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--muted); }
.status { color: var(--gold); }
.result-icon { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; font-size: 30px; background: var(--gold-soft); color: var(--gold); }
.result-center { text-align: center; }
.result-center h3 { font-size: 20px; margin: 0 0 8px; }
.result-center p { color: var(--muted); font-size: 13px; }

.toast { position: fixed; left: 50%; bottom: 38px; transform: translateX(-50%); z-index: 200; background: #23272f; color: var(--ink); border: 1px solid var(--line); border-radius: 10px; padding: 11px 20px; font-size: 14px; box-shadow: var(--shadow); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .header-inner { flex-wrap: wrap; gap: 12px; padding: 12px 0; }
  .main-nav { order: 3; width: 100%; margin-left: 0; justify-content: space-between; gap: 8px; }
  .main-nav a { font-size: 13px; }
  .header-actions { margin-left: auto; }
  .search-box input { width: 130px; }
  .hero-inner { grid-template-columns: 1fr; padding: 48px 0 56px; text-align: left; }
  .hero-visual { order: -1; }
  .speaker-art { width: min(260px, 65vw); }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .service-inner { grid-template-columns: 1fr; gap: 28px; }
  .detail-grid, .form-grid { grid-template-columns: 1fr; }
  .catalog-head { align-items: flex-start; }
}
@media (max-width: 560px) {
  .wrap, .header-inner { width: calc(100% - 28px); }
  .brand-text small { display: none; }
  .search-box { display: none; }
  .hero-stats { gap: 22px; }
  .category-grid { gap: 10px; }
  .category-card { padding: 16px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .product-cover { height: 120px; }
  .cover-art { transform: scale(.78); }
  .product-body { padding: 12px; }
  .product-actions { flex-direction: column; }
  .product-actions button, .product-actions a { font-size: 12px; padding: 8px; }
  .footer-inner { grid-template-columns: 1fr; }
  .view-content { padding: 18px; }
}
