/* ============================================================
 * AUTO·SOUND 主样式 — 暗色科技风
 * ============================================================ */
:root {
  --bg: #0b0f14;
  --bg-2: #0f141b;
  --surface: #161d27;
  --surface-2: #1b2431;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #e8ecf1;
  --text-dim: #9aa3b2;
  --accent: #FD3444;
  --accent-2: #D92536;
  --accent-soft: rgba(253, 52, 68, 0.14);
  --green: #2ecc71;
  --wa: #25d366;
  --tg: #2aabee;
  --vk: #07f;
  --wx: #07c160;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  --maxw: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea { font-family: inherit; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ============ 顶部栏 ============ */
.topbar {
  background: #070a0e;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-dim);
}
.topbar-inner { display: flex; justify-content: space-between; align-items: center; height: 38px; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 20px; }
.topbar-item { display: inline-flex; align-items: center; gap: 6px; transition: color .2s; }
.topbar-item:hover { color: var(--accent); }
.topbar-item svg { opacity: .8; }
.topbar-hours { white-space: nowrap; }

/* ============ Header ============ */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11, 15, 20, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }

.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; letter-spacing: .5px; }
.logo-mark {
  display: grid; place-items: center; width: 40px; height: 40px;
  background: transparent;
  border-radius: 11px; color: #0b0f14;
}
.logo-img { width: 34px; height: 34px; object-fit: contain; display: block; }
.logo-text { white-space: nowrap; }
.logo-sub {
  font-size: 10.5px; font-weight: 600; color: var(--text-dim);
  letter-spacing: .18em; margin-left: -1px; padding-left: 9px;
  border-left: 1px solid var(--border-strong); line-height: 1.1;
}
@media (max-width: 620px) { .logo-sub { display: none; } }

.nav { display: flex; gap: 8px; }
.nav a {
  padding: 8px 14px; border-radius: 8px; font-size: 14px; color: var(--text-dim);
  transition: all .2s;
}
.nav a:hover { color: var(--text); background: var(--surface); }
.nav a.active { color: var(--accent); background: var(--accent-soft); }

.header-actions { display: flex; align-items: center; gap: 14px; }

.lang-switch { display: flex; background: var(--surface); border: 1px solid var(--border); border-radius: 9px; padding: 3px; }
.lang-btn {
  padding: 5px 11px; font-size: 13px; font-weight: 600; border-radius: 6px; color: var(--text-dim);
  transition: all .2s;
}
.lang-btn.active { background: var(--accent); color: #0b0f14; }
.lang-btn:not(.active):hover { color: var(--text); }

.cart-btn {
  position: relative; display: grid; place-items: center; width: 42px; height: 42px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 10px; transition: all .2s;
}
.cart-btn:hover { border-color: var(--accent); color: var(--accent); }
.cart-count {
  position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px;
  background: var(--accent); color: #0b0f14; font-size: 12px; font-weight: 700;
  border-radius: 10px; display: grid; place-items: center;
}

.menu-btn { display: none; flex-direction: column; gap: 5px; width: 42px; height: 42px; align-items: center; justify-content: center; }
.menu-btn span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all .3s; }

/* ============ Hero ============ */
/* isolation:isolate —— 建立独立层叠上下文，保证下面几层负 z-index 只在 hero 内部生效，
   不会穿透到页面背景之后导致轮播图不可见 */
.hero { position: relative; isolation: isolate; padding: 90px 0 40px; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: -3;
  background:
    radial-gradient(600px 400px at 80% -10%, rgba(253,52,68,0.18), transparent 60%),
    radial-gradient(700px 500px at 10% 20%, rgba(42, 171, 238, 0.12), transparent 60%),
    var(--bg);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
/* ===== 首页轮播背景（公司名区域） ===== */
.hero-slides { position: absolute; inset: 0; z-index: -2; overflow: hidden; background: var(--bg); }
.hero-slides .hs {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity 1.1s ease-in-out, transform 7s linear;
  transform: scale(1.06);
}
.hero-slides .hs.on { opacity: 1; transform: scale(1); }
.hero-slides .hs img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  display: block; filter: saturate(1.05);
}
/* 遮罩：保证公司名与标题始终清晰可读 */
.hero-scrim {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(8,10,14,.60) 0%, rgba(8,10,14,.26) 45%, rgba(8,10,14,.70) 100%),
    radial-gradient(ellipse at center, rgba(8,10,14,.16) 0%, rgba(8,10,14,.56) 100%);
}
.hero-slides:empty + .hero-scrim { display: none; }
.hero-inner { text-align: center; max-width: 860px; margin: 0 auto; position: relative; z-index: 1; }
.hero-badge {
  display: inline-block; padding: 7px 16px; font-size: 13px; font-weight: 600;
  background: var(--accent-soft); color: var(--accent); border: 1px solid rgba(253,52,68,.3);
  border-radius: 99px; margin-bottom: 22px;
}
.hero-title { font-size: clamp(34px, 6vw, 62px); font-weight: 800; line-height: 1.1; letter-spacing: -.5px; margin-bottom: 18px; }
.hero-title em { font-style: normal; background: linear-gradient(90deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-subtitle { font-size: clamp(15px, 2vw, 19px); color: var(--text-dim); max-width: 640px; margin: 0 auto 30px; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; font-size: 15px; font-weight: 600; border-radius: 10px; transition: all .2s;
}
.btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #0b0f14; box-shadow: 0 8px 24px rgba(253,52,68,.3); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(253,52,68,.4); }
.btn-ghost { background: transparent; border: 1px solid var(--border-strong); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-block { width: 100%; }
.btn-sm { padding: 8px 14px; font-size: 13px; border-radius: 8px; }

.hero-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 60px; }
.hf-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.hf-item .hf-icon { color: var(--accent); margin-bottom: 10px; }
.hf-item h4 { font-size: 15px; margin-bottom: 4px; }
.hf-item p { font-size: 13px; color: var(--text-dim); }

/* ============ Section ============ */
.section { padding: 80px 0; }
.section-head { text-align: center; margin-bottom: 44px; }
.section-title { font-size: clamp(26px, 4vw, 38px); font-weight: 800; margin-bottom: 10px; }
.section-sub { color: var(--text-dim); font-size: 16px; }

/* ============ 分类 ============ */
.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.cat-card {
  position: relative; display: block; padding: 40px 32px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border); overflow: hidden; transition: all .25s;
}
.cat-card:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: var(--shadow); }
.cat-icon {
  display: grid; place-items: center; width: 68px; height: 68px; margin-bottom: 20px;
  background: var(--accent-soft); color: var(--accent); border-radius: 16px;
}
.cat-title { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.cat-desc { color: var(--text-dim); font-size: 14px; margin-bottom: 18px; }
.cat-link { color: var(--accent); font-size: 14px; font-weight: 600; }

/* ============ 筛选 & 搜索 ============ */
.filter-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 32px; flex-wrap: wrap; }
.filter-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-left { display: flex; flex-direction: column; flex: 1 1 auto; min-width: 260px; }
.filter-tab {
  padding: 9px 18px; font-size: 14px; font-weight: 600; border-radius: 99px;
  background: var(--surface); border: 1px solid var(--border); color: var(--text-dim); transition: all .2s;
}
.filter-tab:hover { color: var(--text); border-color: var(--border-strong); }
.filter-tab.active { background: var(--accent); color: #0b0f14; border-color: var(--accent); }
/* 二级子分类 */
.filter-subs { display: none; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.filter-subs.show { display: flex; }
.filter-sub {
  padding: 6px 14px; font-size: 13px; font-weight: 500; border-radius: 99px;
  background: transparent; border: 1px dashed var(--border-strong); color: var(--text-dim); transition: all .2s;
}
.filter-sub:hover { color: var(--text); border-style: solid; }
.filter-sub.active { background: rgba(253,52,68,.14); border-style: solid; border-color: var(--accent); color: var(--accent); }
.search-box { display: flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 9px 14px; min-width: 240px; }
.search-box svg { color: var(--text-dim); flex-shrink: 0; }
.search-box input { background: none; border: none; outline: none; color: var(--text); font-size: 14px; width: 100%; }
.search-box input::placeholder { color: var(--text-dim); }

/* ============ 产品网格 ============ */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.product-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; transition: all .25s;
}
.product-card:hover { transform: translateY(-4px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.product-thumb { position: relative; height: auto; aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden; background: #fff; border-bottom: 1px solid var(--border); }
.product-thumb svg { width: 88px; height: 88px; color: var(--accent); opacity: .9; }
.product-thumb .product-img { width: 100%; height: 100%; object-fit: contain; display: block; background: #fff; }
.product-cat-tag {
  position: absolute; top: 12px; left: 12px; z-index: 2; padding: 4px 10px; font-size: 11px; font-weight: 600;
  background: rgba(11,15,20,.7); border: 1px solid var(--border); border-radius: 6px; color: var(--text-dim); backdrop-filter: blur(4px);
}
.product-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.product-name { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.product-tagline { font-size: 13px; color: var(--text-dim); margin-bottom: 14px; flex: 1; }
.product-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.product-price { font-size: 15px; font-weight: 700; color: var(--accent); }
.product-actions { display: flex; gap: 8px; }
.icon-btn {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 9px;
  background: var(--surface-2); border: 1px solid var(--border); transition: all .2s;
}
.icon-btn:hover { border-color: var(--accent); color: var(--accent); }
.icon-btn.cart-add { background: var(--accent); color: #0b0f14; border-color: var(--accent); }
.icon-btn.cart-add:hover { filter: brightness(1.1); }
.no-results { grid-column: 1 / -1; text-align: center; padding: 60px 0; color: var(--text-dim); }

/* ============ 关于 ============ */
.about { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.about-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 50px; align-items: center; }
.about-text .section-title { text-align: left; }
.about-text p { color: var(--text-dim); margin-bottom: 14px; }
.about-points { display: flex; flex-direction: column; gap: 16px; }
.ap-item { display: flex; gap: 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.ap-icon { color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.ap-item h4 { font-size: 16px; margin-bottom: 4px; }
.ap-item p { font-size: 14px; color: var(--text-dim); }

/* ============ 支付 ============ */
.pay-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 24px; }
.pay-item {
  display: flex; align-items: center; gap: 14px; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px; transition: all .2s;
}
.pay-item:hover { border-color: var(--border-strong); }
.pay-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--surface-2); color: var(--accent); flex-shrink: 0; }
.pay-item h4 { font-size: 15px; margin-bottom: 2px; }
.pay-item p { font-size: 12px; color: var(--text-dim); }
.pay-note { text-align: center; color: var(--text-dim); font-size: 13px; max-width: 680px; margin: 0 auto; }

/* ============ 联系 ============ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.contact-info { display: flex; flex-direction: column; gap: 10px; }
.contact-item {
  display: flex; align-items: center; gap: 16px; padding: 14px 16px; border-radius: var(--radius-sm);
  transition: all .2s; border: 1px solid transparent;
}
a.contact-item:hover { background: var(--surface); border-color: var(--border); }
.ci-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 11px; background: var(--surface); color: var(--accent); flex-shrink: 0; }
.ci-wa { color: var(--wa); } .ci-tg { color: var(--tg); } .ci-vk { color: var(--vk); } .ci-wx { color: var(--wx); }
.ci-body { display: flex; flex-direction: column; }
.ci-label { font-size: 12px; color: var(--text-dim); }
.ci-value { font-size: 15px; font-weight: 600; word-break: break-all; }

.contact-form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.form-title { font-size: 18px; margin-bottom: 4px; }
.contact-form input, .contact-form textarea, .checkout-form-col input, .checkout-form-col textarea {
  background: var(--bg-2); border: 1px solid var(--border); border-radius: 9px; padding: 12px 14px;
  color: var(--text); font-size: 14px; outline: none; transition: border-color .2s;
}
.contact-form input:focus, .contact-form textarea:focus, .checkout-form-col input:focus, .checkout-form-col textarea:focus { border-color: var(--accent); }
.contact-form input::placeholder, .contact-form textarea::placeholder, .checkout-form-col input::placeholder, .checkout-form-col textarea::placeholder { color: var(--text-dim); }
.contact-form textarea, .checkout-form-col textarea { resize: vertical; }

/* ============ Footer ============ */
.footer { background: #070a0e; border-top: 1px solid var(--border); padding-top: 60px; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; }
.footer-brand p { color: var(--text-dim); font-size: 14px; margin: 14px 0 18px; }
.footer-logo-row { display: flex; align-items: center; gap: 10px; }
.footer-logo-img { width: 32px; height: 32px; object-fit: contain; display: block; }
.footer-flagship { font-size: 12px !important; letter-spacing: .12em; color: var(--accent) !important; margin: 8px 0 0 !important; font-weight: 700; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--surface); border: 1px solid var(--border); transition: all .2s; }
.footer-social a:hover { border-color: var(--accent); color: var(--accent); }
.footer-col h4 { font-size: 15px; margin-bottom: 16px; color: var(--text); }
.footer-col a { display: block; color: var(--text-dim); font-size: 14px; padding: 5px 0; transition: color .2s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--border); padding: 20px 0; font-size: 13px; color: var(--text-dim); }

/* ============ 浮动社交栏 ============ */
.float-social { position: fixed; right: 16px; bottom: 20px; z-index: 90; display: flex; flex-direction: column; gap: 10px; }
.float-social a {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  color: #fff; box-shadow: 0 6px 18px rgba(0,0,0,.4); transition: transform .2s;
}
.float-social a:hover { transform: scale(1.08); }
.fs-wa { background: var(--wa); } .fs-tg { background: var(--tg); } .fs-vk { background: var(--vk); }

/* ============ Modal ============ */
.modal { position: fixed; inset: 0; z-index: 200; display: none; }
.modal.open { display: block; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.6); backdrop-filter: blur(4px); }
.modal-panel {
  position: relative; margin: 5vh auto; width: min(920px, calc(100% - 32px)); max-height: 90vh; overflow-y: auto;
  background: var(--surface); border: 1px solid var(--border-strong); border-radius: 18px; padding: 32px;
  animation: pop .25s ease;
}
@keyframes pop { from { opacity: 0; transform: translateY(20px) scale(.98); } to { opacity: 1; transform: none; } }
.modal-close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 9px; font-size: 22px; line-height: 1; background: var(--bg-2); border: 1px solid var(--border); color: var(--text-dim); transition: all .2s; z-index: 2; }
.modal-close:hover { color: var(--accent); border-color: var(--accent); }

.pd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.pd-visual { display: grid; place-items: center; background: radial-gradient(circle at 50% 30%, var(--surface-2), var(--bg-2)); border-radius: 14px; min-height: 260px; overflow: hidden; }
.pd-visual svg { width: 120px; height: 120px; color: var(--accent); }
.pd-visual .product-img { width: 100%; max-height: 340px; object-fit: contain; display: block; background: #fff; }

/* ===== 产品图集（主图+子图轮播） ===== */
.gallery { position: relative; width: 100%; min-height: 260px; display: grid; place-items: center; overflow: hidden; border-radius: 14px; background: #fff; }
.gallery .gslide { position: absolute; inset: 0; width: 100%; height: 100%; max-height: 380px; object-fit: contain; opacity: 0; transition: opacity .35s ease; background: #fff; padding: 10px; }
.gallery .gslide.on { opacity: 1; position: relative; }
.gallery .garrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 34px; height: 34px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(0,0,0,.45); color: #fff; font-size: 22px; line-height: 1; padding: 0;
  display: grid; place-items: center; transition: .2s;
}
.gallery .garrow:hover { background: rgba(0,0,0,.7); }
.gallery .garrow.gl { left: 8px; } .gallery .garrow.gr { right: 8px; }
.gallery .gdots { position: absolute; bottom: 8px; left: 0; right: 0; display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; padding: 0 44px; z-index: 3; }
.gallery .gdot { width: 8px; height: 8px; border-radius: 50%; background: rgba(0,0,0,.25); cursor: pointer; transition: .2s; }
.gallery .gdot.on { background: var(--accent); transform: scale(1.25); }
.pd-info h2 { font-size: 24px; margin-bottom: 6px; }
.pd-tagline { color: var(--accent); font-size: 15px; margin-bottom: 14px; }
.pd-desc { color: var(--text-dim); margin-bottom: 20px; }
.pd-block h4 { font-size: 14px; color: var(--accent); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 10px; }
.pd-features { list-style: none; margin-bottom: 20px; }
.pd-features li { padding: 6px 0 6px 24px; position: relative; font-size: 14px; color: var(--text); }
.pd-features li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.pd-specs { width: 100%; border-collapse: collapse; margin-bottom: 22px; }
.pd-specs td { padding: 9px 12px; border: 1px solid var(--border); font-size: 14px; }
.pd-specs td:first-child { color: var(--text-dim); width: 40%; background: var(--bg-2); }
.pd-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ============ 抽屉 ============ */
.drawer { position: fixed; inset: 0; z-index: 210; display: none; }
.drawer.open { display: block; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.6); backdrop-filter: blur(4px); }
.drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%);
  background: var(--surface); border-left: 1px solid var(--border-strong);
  display: flex; flex-direction: column; animation: slideIn .28s ease;
}
@keyframes slideIn { from { transform: translateX(100%); } to { transform: none; } }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid var(--border); }
.drawer-head h3 { font-size: 18px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 16px 22px; }
.drawer-foot { padding: 18px 22px; border-top: 1px solid var(--border); }
.cart-total { display: flex; justify-content: space-between; font-size: 16px; font-weight: 700; margin-bottom: 14px; }

.cart-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.ci-thumb { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 9px; background: var(--bg-2); flex-shrink: 0; overflow: hidden; }
.ci-thumb svg { width: 30px; height: 30px; color: var(--accent); }
.ci-thumb .product-img { width: 100%; height: 100%; object-fit: contain; display: block; background: #fff; }
.ci-info { flex: 1; min-width: 0; }
.ci-info h4 { font-size: 14px; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ci-info .ci-meta { font-size: 12px; color: var(--text-dim); }
.ci-remove { color: var(--text-dim); font-size: 18px; padding: 0 4px; }
.ci-remove:hover { color: #e74c3c; }
.cart-empty { text-align: center; color: var(--text-dim); padding: 40px 0; }

/* ============ 结账 ============ */
.checkout-title { font-size: 22px; margin-bottom: 22px; padding-right: 40px; }
.checkout-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 30px; }
.checkout-form-col h4, .checkout-summary-col h4 { font-size: 15px; margin: 16px 0 10px; color: var(--accent); }
.checkout-form-col h4:first-child { margin-top: 0; }
.checkout-form-col form { display: flex; flex-direction: column; gap: 11px; }
.checkout-note { font-size: 12px; color: var(--text-dim); margin-top: 10px; }
.pay-methods { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.pay-radio {
  display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 9px;
  border: 1px solid var(--border); cursor: pointer; font-size: 13px; transition: all .2s;
}
.pay-radio:hover { border-color: var(--border-strong); }
.pay-radio input { accent-color: var(--accent); }
.pay-radio.checked { border-color: var(--accent); background: var(--accent-soft); }
.checkout-summary { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.cs-item { display: flex; justify-content: space-between; font-size: 14px; padding: 8px 0; border-bottom: 1px dashed var(--border); }
.cs-item .cs-name { color: var(--text-dim); }
.checkout-contact .contact-item { padding: 8px 0; }

/* ============ Toast ============ */
.toast {
  position: fixed; left: 50%; bottom: 30px; transform: translateX(-50%) translateY(20px);
  background: var(--accent); color: #0b0f14; font-weight: 600; padding: 13px 24px; border-radius: 10px;
  opacity: 0; pointer-events: none; transition: all .3s; z-index: 300; box-shadow: var(--shadow);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ============ 响应式 ============ */
@media (max-width: 960px) {
  .hero-features { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .pay-grid { grid-template-columns: repeat(2, 1fr); }
  .about-inner, .contact-grid, .pd-grid, .checkout-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  /* 头部收紧，避免窄屏横向溢出 */
  .header-inner { gap: 12px; }
  .header-actions { gap: 8px; }
  /* 移动端导航：位移负责动画，visibility 负责真正隐藏
     （.header 有 backdrop-filter，会让 .nav 的 fixed 相对页头定位，
      单靠 translateY 百分比藏不干净，最后一项会从顶部露出来） */
  .nav { position: fixed; top: 68px; left: 0; right: 0; flex-direction: column; background: var(--bg-2); border-bottom: 1px solid var(--border); padding: 12px 24px; gap: 4px; transform: translateY(calc(-100% - 120px)); visibility: hidden; transition: transform .3s, visibility .3s; z-index: 99; }
  .nav.open { transform: translateY(0); visibility: visible; }
  .menu-btn { display: flex; }
  .topbar-hours { display: none; }
  .cat-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .pay-grid { grid-template-columns: 1fr; }
  .hero-features { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .search-box { min-width: 100%; }
  .filter-bar { flex-direction: column; align-items: stretch; }
  .hero { padding: 60px 0 30px; }
  .section { padding: 56px 0; }
  .lang-switch .lang-btn { padding: 5px 8px; font-size: 12px; }
}

/* 超窄屏（360~420px，多数安卓机）进一步压缩头部，杜绝横向滚动 */
@media (max-width: 420px) {
  .header-inner { gap: 8px; }
  .header-actions { gap: 6px; }
  .logo { font-size: 15px; gap: 7px; }
  .logo-mark { width: 32px; height: 32px; }
  .logo-img { width: 27px; height: 27px; }
  .lang-switch { padding: 2px; }
  .lang-switch .lang-btn { padding: 4px 6px; font-size: 11px; }
  .cart-btn, .menu-btn { width: 38px; height: 38px; }
  .nav { padding: 10px 18px; }
}

/* ============ 主打品牌 VEAUDIO 展示块 ============ */
.about-brand {
  margin-top: 26px; padding: 20px 22px;
  background: linear-gradient(135deg, rgba(253,52,68,.10), rgba(253,52,68,.02));
  border: 1px solid rgba(253,52,68,.28);
  border-radius: var(--radius);
}
.about-brand-head { display: flex; align-items: center; gap: 14px; }
.about-brand-logo { width: 48px; height: 48px; object-fit: contain; flex: 0 0 auto; }
.about-brand-label {
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent); font-weight: 700;
}
.about-brand-name { font-size: 19px; font-weight: 800; letter-spacing: .06em; color: var(--text); margin-top: 3px; }
.about-brand-slogan {
  margin: 14px 0 0 !important; font-size: 13.5px; line-height: 1.65;
  color: var(--text-dim) !important; font-style: italic;
  border-left: 2px solid var(--accent); padding-left: 14px;
}
