/* =========================================================================
   HomeNurse Design System — Outdoor Hardcore + Minimal Luxury
   零依赖，原生 CSS 变量驱动明/暗主题。默认暗色（户外硬核），可切换亮色。
   ========================================================================= */
:root {
  --bg: #0c1116;
  --bg-2: #111a21;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-solid: #15212b;
  --text: #eef3f6;
  --muted: #9fb0bb;
  --border: rgba(255, 255, 255, 0.10);
  --accent: #ff7a18;       /* 户外橙 */
  --accent-2: #3fb98f;     /* 苔绿 */
  --danger: #ff5470;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --maxw: 1200px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --font: "Helvetica Neue", Helvetica, Arial, system-ui, -apple-system, "Segoe UI", sans-serif;
}
html[data-theme="light"] {
  --bg: #f6f4ef;
  --bg-2: #ffffff;
  --surface: rgba(20, 30, 38, 0.03);
  --surface-solid: #ffffff;
  --text: #14202a;
  --muted: #5d6b75;
  --border: rgba(20, 30, 38, 0.12);
  --shadow: 0 18px 50px rgba(20, 30, 38, 0.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.accent { color: var(--accent); }

/* ---------- Announcement ---------- */
.announcement {
  background: linear-gradient(90deg, var(--accent), #ff9d4d);
  color: #1a1206; font-weight: 700; font-size: 13px; letter-spacing: 0.3px;
  text-align: center; padding: 9px 16px;
}

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(18px) saturate(160%);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { font-weight: 800; font-size: 22px; letter-spacing: -0.5px; display: flex; align-items: center; gap: 8px; }
.logo .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 14px var(--accent); }
.nav { display: flex; gap: 26px; font-size: 15px; font-weight: 600; }
.nav a { position: relative; padding: 6px 0; color: var(--muted); transition: color 0.25s; }
.nav a:hover { color: var(--text); }
.nav a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--accent); transition: width 0.3s var(--ease); }
.nav a:hover::after { width: 100%; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.ic { width: 18px; height: 18px; display: block; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border);
  background: var(--surface); color: var(--text); cursor: pointer; font-size: 16px;
  display: grid; place-items: center; transition: transform 0.25s var(--ease), background 0.25s;
}
.icon-btn:hover { transform: translateY(-2px); background: var(--surface-solid); }
.cart-badge { position: relative; }
.cart-badge span { position: absolute; top: -4px; right: -4px; background: var(--accent); color: #1a1206;
  font-size: 11px; font-weight: 800; border-radius: 999px; padding: 1px 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; font-weight: 700; font-size: 15px;
  border: 1px solid transparent; cursor: pointer; transition: transform 0.3s var(--ease), box-shadow 0.3s, background 0.3s;
  will-change: transform;
}
.btn-primary { background: var(--accent); color: #1a1206; box-shadow: 0 10px 30px rgba(255, 122, 24, 0.35); }
.btn-primary:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 16px 40px rgba(255, 122, 24, 0.5); }
.btn-ghost { background: var(--surface); border-color: var(--border); color: var(--text); }
.btn-ghost:hover { transform: translateY(-3px); background: var(--surface-solid); }
.btn-lg { padding: 16px 34px; font-size: 16px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 96px 0 80px; }
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: 0.55; }
.hero-inner { position: relative; z-index: 2; max-width: 720px; }
.hero h1 { font-size: clamp(38px, 6vw, 68px); line-height: 1.04; letter-spacing: -1.5px; font-weight: 800; }
.hero h1 .grad { background: linear-gradient(100deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { font-size: 19px; color: var(--muted); margin: 22px 0 32px; max-width: 560px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 38px; margin-top: 52px; flex-wrap: wrap; }
.hero-stats .num { font-size: 30px; font-weight: 800; }
.hero-stats .lbl { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }

/* ---------- Section ---------- */
.section { padding: 72px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 34px; gap: 16px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(26px, 3.6vw, 40px); letter-spacing: -0.8px; font-weight: 800; }
.section-head .sub { color: var(--muted); margin-top: 6px; }
.section-head a { color: var(--accent); font-weight: 700; font-size: 15px; }

/* ---------- Category tiles ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; }
.cat-tile {
  position: relative; border-radius: var(--radius); padding: 26px; min-height: 170px;
  border: 1px solid var(--border); background: var(--surface); overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
  transition: transform 0.35s var(--ease), border-color 0.35s;
}
.cat-tile:hover { transform: translateY(-6px); border-color: var(--accent); }
.cat-tile .ico { font-size: 38px; }
.cat-tile h3 { font-size: 21px; font-weight: 800; }
.cat-tile p { color: var(--muted); font-size: 14px; }
.cat-tile .glow { position: absolute; right: -40px; bottom: -40px; width: 140px; height: 140px; border-radius: 50%; background: radial-gradient(circle, var(--accent), transparent 70%); opacity: 0.18; }

/* ---------- Product grid / card ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(248px, 1fr)); gap: 22px; }
.card {
  border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform 0.4s var(--ease), box-shadow 0.4s, border-color 0.4s;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: rgba(255,122,24,0.4); }
.card .thumb { height: 200px; position: relative; display: grid; place-items: center; }
.card .thumb .emoji { font-size: 64px; filter: drop-shadow(0 8px 16px rgba(0,0,0,0.4)); }
.card .badge { position: absolute; top: 12px; left: 12px; background: var(--accent); color: #1a1206; font-size: 11px; font-weight: 800; padding: 4px 9px; border-radius: 999px; text-transform: uppercase; }
.card .badge.b2b { background: var(--accent-2); }
.card .badge.age { background: var(--danger); color: #fff; }
.card .body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card .name { font-weight: 700; font-size: 16px; line-height: 1.3; }
.card .meta { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.card .stars { color: var(--accent); letter-spacing: 1px; }
.card .price { margin-top: auto; display: flex; align-items: baseline; gap: 8px; }
.card .price .now { font-size: 20px; font-weight: 800; }
.card .price .was { font-size: 14px; color: var(--muted); text-decoration: line-through; }
.card .row { display: flex; gap: 8px; margin-top: 10px; }
.card .row .btn { flex: 1; padding: 10px; font-size: 14px; }

/* ---------- Value props ---------- */
.valueprops { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.vp { display: flex; gap: 14px; align-items: center; padding: 20px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--border); }
.vp .ico { font-size: 26px; }
.vp .ico .ic { width: 26px; height: 26px; }
.vp .t { font-weight: 700; }
.vp .d { font-size: 13px; color: var(--muted); }

/* ---------- Scene ---------- */
.scene-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }
.chip { padding: 8px 18px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); font-weight: 600; font-size: 14px; cursor: pointer; transition: all 0.25s; }
.chip.active, .chip:hover { background: var(--accent); color: #1a1206; border-color: var(--accent); }

/* ---------- Flash sale ---------- */
.flash { border: 1px solid var(--accent); border-radius: var(--radius); padding: 30px; background: linear-gradient(135deg, rgba(255,122,24,0.08), transparent); display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.flash .timer { font-size: 30px; font-weight: 800; font-variant-numeric: tabular-nums; }

/* ---------- Newsletter / B2B ---------- */
.panel { border-radius: var(--radius); padding: 40px; border: 1px solid var(--border); background: var(--surface); }
.panel.split { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.news-input { display: flex; gap: 10px; margin-top: 16px; }
.news-input input { flex: 1; padding: 13px 16px; border-radius: 999px; border: 1px solid var(--border); background: var(--bg-2); color: var(--text); font-size: 15px; }
.news-input input:focus { outline: 2px solid var(--accent); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 56px 0 30px; margin-top: 40px; background: var(--bg-2); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 30px; }
.footer h4 { font-size: 14px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px; color: var(--muted); }
.footer a { display: block; color: var(--text); opacity: 0.8; padding: 5px 0; font-size: 14px; }
.footer a:hover { opacity: 1; color: var(--accent); }
.footer .bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--border); font-size: 13px; color: var(--muted); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.trust { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.trust span { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--muted); border: 1px solid var(--border); padding: 5px 10px; border-radius: 999px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Page: PDP ---------- */
.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; padding: 48px 0; }
.pdp .gallery { border-radius: var(--radius); min-height: 440px; display: grid; place-items: center; border: 1px solid var(--border); }
.pdp .gallery .emoji { font-size: 150px; filter: drop-shadow(0 14px 30px rgba(0,0,0,0.45)); }
.pdp h1 { font-size: clamp(28px, 4vw, 42px); letter-spacing: -0.6px; }
.pdp .price { font-size: 32px; font-weight: 800; margin: 14px 0; }
.pdp .bullets { list-style: none; margin: 18px 0; display: flex; flex-direction: column; gap: 10px; }
.pdp .bullets li { padding-left: 26px; position: relative; }
.pdp .bullets li::before { content: "✓"; position: absolute; left: 0; color: var(--accent-2); font-weight: 800; }
.buybox { display: flex; gap: 12px; margin: 22px 0; flex-wrap: wrap; }
.size-row { display: flex; gap: 10px; margin: 14px 0; flex-wrap: wrap; }
.size-btn { min-width: 48px; padding: 10px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); cursor: pointer; font-weight: 700; transition: all 0.2s; }
.size-btn:hover, .size-btn.active { border-color: var(--accent); background: var(--accent); color: #1a1206; }
.sizeguide { width: 100%; border-collapse: collapse; margin-top: 10px; font-size: 14px; }
.sizeguide th, .sizeguide td { border: 1px solid var(--border); padding: 9px 12px; text-align: left; }
.sizeguide th { background: var(--surface-solid); }

/* ---------- Modal (age verify) ---------- */
.modal-bg { position: fixed; inset: 0; background: rgba(0,0,0,0.7); backdrop-filter: blur(8px); display: none; place-items: center; z-index: 100; padding: 20px; }
.modal-bg.show { display: grid; }
.modal { background: var(--surface-solid); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px; max-width: 420px; text-align: center; box-shadow: var(--shadow); }
.modal h3 { font-size: 24px; margin-bottom: 10px; }
.modal p { color: var(--muted); margin-bottom: 22px; }

/* ---------- Admin table ---------- */
.admin-wrap { padding: 40px 0; }
.admin-wrap h1 { font-size: 30px; margin-bottom: 6px; }
.tabs { display: flex; gap: 10px; margin: 20px 0 24px; flex-wrap: wrap; }
.stock-alert { background: #fff6e6; border: 1px solid #f0c36d; color: #8a5a00; border-radius: 12px; padding: 12px 16px; margin-bottom: 16px; }
.stock-alert strong { display: block; margin-bottom: 6px; }
.stock-alert ul { margin: 0; padding-left: 18px; }
.stock-alert a { color: #8a5a00; text-decoration: underline; }
.tab { padding: 9px 18px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); cursor: pointer; font-weight: 600; }
.tab.active { background: var(--accent); color: #1a1206; border-color: var(--accent); }
table.data { width: 100%; border-collapse: collapse; font-size: 14px; }
table.data th, table.data td { border-bottom: 1px solid var(--border); padding: 13px 14px; text-align: left; }
table.data th { color: var(--muted); text-transform: uppercase; font-size: 12px; letter-spacing: 0.6px; }
.stat-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-bottom: 26px; }
.stat-card { padding: 22px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); }
.stat-card .n { font-size: 30px; font-weight: 800; }
.stat-card .l { color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: 0.6px; }

/* ---------- 后台订单筛选条 ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.filter-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.filter-form select, .filter-form input[type="date"] {
  background: var(--surface-solid); color: var(--text); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 9px 12px; font: inherit; font-size: 14px;
}
.filter-form input[type="date"] { color-scheme: dark; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav { display: none; }
  .pdp { grid-template-columns: 1fr; }
  .panel.split { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .hero { padding: 64px 0 56px; }
  .hero-stats { gap: 22px; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- 无障碍：尊重 prefers-reduced-motion（frontend-dev 强制） ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  #hero-canvas { display: none !important; }
}

/* =========================================================================
   Components added for full-stack pages (cart / account / admin / content)
   ========================================================================= */
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-lg { padding: 16px 34px; font-size: 16px; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { padding: 18px 24px 0; font-size: 13px; color: var(--muted); }
.breadcrumb .sep { margin: 0 8px; opacity: 0.5; }
.breadcrumb a:hover { color: var(--accent); }

/* ---------- Category facet + layout ---------- */
.cat-layout { display: grid; grid-template-columns: 230px 1fr; gap: 28px; align-items: start; }
.facet { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 20px; background: var(--surface); position: sticky; top: 88px; }
.facet h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.6px; color: var(--muted); margin: 14px 0 6px; }
.facet h4:first-child { margin-top: 0; }
.facet .facet-row { display: flex; gap: 8px; }
.facet input, .facet select, .auth-form input, .auth-form textarea,
.product-form input, .product-form textarea, .product-form select,
.cart-summary input, .news-input input[type="number"], .qty-row input {
  width: 100%; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--border);
  background: var(--bg-2); color: var(--text); font-size: 15px; font-family: inherit;
}
.facet input:focus, .auth-form input:focus, .product-form input:focus, .product-form textarea:focus, .product-form select:focus { outline: 2px solid var(--accent); }
.facet select { margin-bottom: 4px; }

/* ---------- Cart ---------- */
.cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: 28px; align-items: start; }
.cart-items { display: flex; flex-direction: column; gap: 14px; }
.cart-row { display: grid; grid-template-columns: 84px 1fr auto auto auto; gap: 16px; align-items: center;
  border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px; background: var(--surface); }
.c-thumb { width: 84px; height: 84px; border-radius: 12px; }
.c-info a { font-weight: 700; font-size: 16px; }
.c-price { font-weight: 800; font-size: 16px; }
.inline-form { display: inline-flex; gap: 8px; align-items: center; }
.inline-form input[type="number"] { width: 64px; padding: 8px; }

/* 刊登状态药丸（后台产品列表） */
.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; line-height: 1.5; }
.pill-gray { background: rgba(148,163,184,.18); color: #94a3b8; }
.pill-green { background: rgba(34,197,94,.16); color: #4ade80; }
.pill-amber { background: rgba(251,191,36,.16); color: #fbbf24; }
.cart-summary { border-radius: var(--radius); padding: 24px; border: 1px solid var(--border); background: var(--surface); position: sticky; top: 88px; }
.cart-summary h3 { margin-bottom: 14px; }
.sum-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 15px; }
.sum-row.total { font-size: 20px; font-weight: 800; border-bottom: none; padding-top: 14px; }
.ship-note { margin-top: 14px; font-size: 13px; color: var(--muted); background: var(--bg-2); border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; }
.ship-note.ok { color: var(--accent-2); border-color: var(--accent-2); }

/* ---------- Auth / Account ---------- */
.auth-wrap { max-width: 460px; margin: 30px auto; }
.auth-wrap h1 { font-size: 30px; margin-bottom: 6px; }
.auth-form { display: flex; flex-direction: column; gap: 14px; margin-top: 18px; }
.auth-form .btn { margin-top: 6px; }
.check { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.check input { width: auto; }
.form-err { color: var(--danger); font-weight: 700; font-size: 14px; background: rgba(255,84,112,0.1); border: 1px solid var(--danger); border-radius: 10px; padding: 10px 12px; }
.form-ok { color: var(--accent-2); font-weight: 700; font-size: 14px; background: rgba(63,185,143,0.1); border: 1px solid var(--accent-2); border-radius: 10px; padding: 10px 12px; }
.account-pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); font-weight: 700; font-size: 14px; }
.account-pill:hover { border-color: var(--accent); }
.qty-row { margin: 12px 0; }

/* ---------- 库存状态（P0-2 低库存预警 / 售罄停售）---------- */
.stock-status { font-size: 14px; font-weight: 600; margin: 10px 0 4px; letter-spacing: 0.2px; }
.stock-status.low { color: #c8821a; }
.stock-status.sold-out { color: #c0392b; }
.stock-status.sold-out + .btn[disabled] { opacity: 0.55; cursor: not-allowed; }

/* ---------- Admin product form ---------- */
.product-form { display: flex; flex-direction: column; gap: 14px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid label, .product-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.4px; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 6px; }
.checks .check { font-size: 14px; text-transform: none; letter-spacing: 0; color: var(--text); }

/* ---------- Content page ---------- */
.content-page { max-width: 760px; margin: 0 auto; padding: 30px 0 50px; }
.content-page h2 { font-size: 30px; margin-bottom: 14px; }
.content-page h3 { font-size: 20px; margin: 26px 0 10px; }
.content-page p { color: var(--muted); margin-bottom: 14px; font-size: 16px; }
.bullets { list-style: none; margin: 16px 0; display: flex; flex-direction: column; gap: 10px; }
.bullets li { padding-left: 26px; position: relative; }
.bullets li::before { content: "✓"; position: absolute; left: 0; color: var(--accent-2); font-weight: 800; }

/* ---------- Reviews / FAQ ---------- */
.reviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.review { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 18px; background: var(--surface); }
.r-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 6px; }
.r-head .stars { color: var(--accent); }
.r-title { font-weight: 700; margin-bottom: 4px; }
.faq { display: flex; flex-direction: column; gap: 10px; max-width: 760px; }
.faq details { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px 18px; background: var(--surface); }
.faq summary { font-weight: 700; cursor: pointer; }
.faq details p { color: var(--muted); margin-top: 10px; }

/* ---------- Toast ---------- */
#toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%) translateY(20px); opacity: 0; pointer-events: none;
  background: var(--surface-solid); border: 1px solid var(--border); color: var(--text); padding: 12px 22px; border-radius: 999px;
  box-shadow: var(--shadow); transition: opacity 0.3s, transform 0.3s; z-index: 200; font-weight: 600; }
#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- Responsive additions ---------- */
@media (max-width: 860px) {
  .cat-layout { grid-template-columns: 1fr; }
  .facet { position: static; }
  .cart-layout { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
  .form-grid, .checks { grid-template-columns: 1fr; }
  .cart-row { grid-template-columns: 64px 1fr; }
  .cart-row .c-price, .cart-row form:last-child { grid-column: 2; justify-self: start; }
}

/* =========================================================================
   aosom 风格 / GEO 配套：搜索条 · Mega Menu · 折扣标 · 结果条 · 品牌墙 · 移动端
   ========================================================================= */
/* ---------- 搜索条 ---------- */
.search { display: flex; align-items: center; gap: 8px; flex: 1 1 auto; max-width: 480px; margin: 0 18px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 6px 6px 6px 14px; transition: border-color .25s; }
.search:focus-within { border-color: var(--accent); }
.search-ic { opacity: .6; font-size: 14px; }
.search input { flex: 1; border: none; background: transparent; color: var(--text); font: inherit; font-size: 15px; outline: none; min-width: 0; }
.search .btn { padding: 9px 16px; font-size: 14px; }

/* ---------- Mega Menu（部门导航） ---------- */
.mega-wrap { position: relative; }
.nav-shop { background: transparent; border: none; color: var(--text); font: inherit; font-weight: 700; font-size: 15px;
  cursor: pointer; display: flex; align-items: center; gap: 4px; padding: 6px 0; }
.nav-shop .caret { font-size: 11px; transition: transform .25s; }
.mega-wrap.open .nav-shop .caret { transform: rotate(180deg); }
.mega { position: absolute; top: 100%; left: 0; z-index: 60; background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; display: none; min-width: 660px; }
.mega-wrap:hover .mega, .mega-wrap.open .mega { display: block; }
.mega-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.mega-col .mega-cat { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 16px; margin-bottom: 10px; color: var(--text); }
.mega-col .mega-cat .ico { font-size: 20px; }
.mega-sub { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.mega-sub a { color: var(--muted); font-size: 14px; transition: color .2s; }
.mega-sub a:hover { color: var(--accent); }
.mega-promo .promo-card { background: linear-gradient(135deg, var(--accent), #ff9d4d); color: #1a1206; border-radius: var(--radius-sm); padding: 18px; }
.mega-promo .promo-t { font-weight: 800; font-size: 16px; }
.mega-promo .promo-d { font-size: 13px; margin: 6px 0 12px; }

/* ---------- 商品卡新增：品牌行 / 折扣标 / 整宽按钮 ---------- */
.brand-line { font-size: 12px; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); font-weight: 700; }
.badge.off { background: var(--danger); color: #fff; }
.off-tag { font-size: 12px; font-weight: 800; color: var(--danger); margin-left: 8px; }
.btn-block { width: 100%; justify-content: center; }
.card-add { display: flex; }
.card-add .btn { width: 100%; }

/* ---------- 分类页：标题行 + 结果计数 ---------- */
.cat-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.cat-head h1 { font-size: clamp(28px, 4vw, 44px); letter-spacing: -.8px; font-weight: 800; }
.cat-head .sub { color: var(--muted); margin-top: 6px; }
.result-bar .count { display: inline-block; font-size: 13px; font-weight: 700; color: var(--text);
  background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 6px 14px; }

/* ---------- 品牌墙 ---------- */
.brands { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 18px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.brands-label { font-weight: 800; text-transform: uppercase; font-size: 12px; letter-spacing: .6px; color: var(--muted); }
.brand-chip { font-weight: 700; font-size: 14px; padding: 6px 14px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); }

/* ---------- 移动端导航 ---------- */
.only-mobile { display: none; }
@media (max-width: 980px) {
  .search { margin: 0 10px; max-width: 320px; }
  .mega { min-width: 0; left: auto; right: 0; width: 92vw; max-width: 540px; }
  .mega-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .only-mobile { display: grid; }
  .header-inner { height: auto; padding: 10px 0; flex-wrap: wrap; }
  .nav { display: none; order: 5; width: 100%; flex-direction: column; align-items: flex-start; gap: 14px; padding: 14px 0; border-top: 1px solid var(--border); }
  .nav.show { display: flex; }
  .search { order: 4; flex-basis: 100%; max-width: none; margin: 10px 0 0; }
  .mega { position: static; box-shadow: none; border: none; padding: 8px 0; width: 100%; }
  .mega-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- 活动 / 促销 ---------- */
.badge.camp { background: linear-gradient(135deg,#ff5a3c,#ff2d55); color:#fff; font-weight:800; }
.badge.off { background: var(--accent); color:#06121a; }
.tag { display:inline-block; font-size:12px; font-weight:800; padding:3px 10px; border-radius:999px; text-transform:uppercase; letter-spacing:.4px; }
.tag.live { background:#16a34a; color:#fff; }
.tag.paused { background:#6b7280; color:#fff; }
.tag.sched { background:#f59e0b; color:#1a1205; }
.tag.ended { background:#374151; color:#cbd5e1; }
.campaign-hero { background: var(--surface); border:2px solid var(--border); border-radius:24px; padding:42px 0; margin:0 0 8px; text-align:center; }
.campaign-hero h1 { font-size:42px; margin:10px 0 6px; }
.campaign-banner { display:inline-block; margin-top:14px; padding:12px 20px; background:rgba(255,255,255,.06); border:1px solid var(--border); border-radius:14px; font-size:16px; }
.timer.big { font-size:34px; font-weight:800; letter-spacing:2px; margin-top:16px; font-variant-numeric:tabular-nums; }
.flash { border:2px solid var(--accent); }
.admin-form .two { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.btn-danger { background:#dc2626; color:#fff; border:1px solid #b91c1c; }
.btn-danger:hover { background:#b91c1c; }
.row-actions { display:flex; gap:10px; flex-wrap:wrap; align-items:center; }



/* ===== 会员分析看板（跨境电商维度）===== */
.pill-blue   { background: rgba(59,130,246,.16); color: #60a5fa; }
.pill-purple { background: rgba(168,85,247,.16); color: #c084fc; }
.pill-cyan   { background: rgba(34,211,238,.16); color: #22d3ee; }
.pill-orange { background: rgba(249,115,22,.16); color: #fb923c; }
.pill-red    { background: rgba(239,68,68,.16);  color: #f87171; }

.ana-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 18px; margin-top: 4px; }
.ana-block { padding: 20px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); }
.ana-block h3 { margin: 0 0 6px; font-size: 16px; }
.ana-block h4 { margin: 0 0 6px; font-size: 13px; }
.ana-block .muted.sm, .muted.sm { font-size: 12px; margin: 4px 0 10px; }

.ana-row { display: flex; align-items: center; gap: 10px; margin: 9px 0; }
.ana-row .pill { min-width: 96px; text-align: center; }
.tier-name { min-width: 96px; font-weight: 600; }
.ana-track { flex: 1; height: 10px; background: rgba(148,163,184,.14); border-radius: 999px; overflow: hidden; }
.ana-track.sm { height: 8px; }
.ana-fill { height: 100%; background: var(--accent); border-radius: 999px; transition: width .4s ease; }
.ana-fill-gold { background: linear-gradient(90deg,#f59e0b,#fbbf24); }
.ana-meta { font-size: 12px; color: var(--muted); min-width: 150px; text-align: right; white-space: nowrap; }

.ana-kpis { display: flex; gap: 18px; flex-wrap: wrap; margin: 6px 0 12px; }
.ana-kpis > div { display: flex; flex-direction: column; }
.ana-kpis b { font-size: 24px; font-weight: 800; }
.ana-kpis span { font-size: 12px; color: var(--muted); }

.split { display: flex; height: 30px; border-radius: 8px; overflow: hidden; margin: 8px 0; }
.split-bar { display: flex; align-items: center; justify-content: center; color: #04210f; font-weight: 700; font-size: 13px; background: var(--accent); }
.split-ret { background: linear-gradient(90deg,#60a5fa,#818cf8); color: #06122b; }

.chan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px,1fr)); gap: 12px; }
.chan-card { padding: 14px; border-radius: 12px; border: 1px solid var(--border); background: rgba(148,163,184,.06); }
.chan-h { font-weight: 700; margin-bottom: 10px; }
.chan-stat { display: flex; flex-direction: column; margin: 6px 0; }
.chan-stat b { font-size: 18px; }
.chan-stat span { font-size: 11px; color: var(--muted); }

.trend { display: flex; align-items: flex-end; gap: 12px; height: 150px; padding-top: 10px; }
.tbar { flex: 1; display: flex; flex-direction: column; align-items: center; height: 100%; justify-content: flex-end; }
.tbar-fill { width: 70%; background: var(--accent); border-radius: 6px 6px 0 0; min-height: 3px; }
.tbar-fill-cyan { background: linear-gradient(180deg,#22d3ee,#0ea5b7); }
.tbar-lbl { font-size: 11px; color: var(--muted); margin-top: 6px; }
.tbar-val { font-size: 11px; font-weight: 600; }

.funnel { margin: 10px 0; }
.funnel-step { margin: 6px 0; }
.funnel-bar { background: var(--accent); color: #04210f; font-weight: 700; padding: 10px 14px; border-radius: 8px; min-width: 40%; }
.funnel-bar-2 { background: linear-gradient(90deg,#60a5fa,#818cf8); color: #06122b; }

/* ===== 优惠券（购物车 / 结算）===== */
.coupon-form { display: flex; gap: 8px; margin-top: 14px; }
.coupon-form input { flex: 1; }
.coupon-applied { display: flex; align-items: center; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.coupon-applied .muted { font-size: 12px; }
.sum-row.discount { color: var(--accent); font-weight: 600; }
.sum-row.discount span:last-child { color: var(--accent); }

/* ===== 首页活动 Banner 轮播 ===== */
.banner-carousel { position: relative; margin: 0 auto 8px; max-width: var(--maxw, 1200px); }
.banner-carousel .bc-viewport { position: relative; border-radius: var(--radius, 16px); overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.banner-slide { display: none; align-items: center; justify-content: space-between; gap: 20px; padding: 38px 44px; min-height: 150px;
  background: linear-gradient(120deg, var(--surface), rgba(34,211,238,.08)); border: 1px solid var(--border); border-radius: var(--radius, 16px); }
.banner-slide.active { display: flex; animation: bcFade .5s ease; }
@keyframes bcFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.banner-slide .bs-text { max-width: 64%; }
.banner-slide .bs-kicker { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.banner-slide h2 { margin: 6px 0 6px; font-size: 30px; line-height: 1.1; }
.banner-slide .bs-sub { color: var(--muted); font-size: 15px; }
.banner-slide .bs-cta { flex-shrink: 0; }
.banner-slide.type-flash { background: linear-gradient(120deg, rgba(239,68,68,.16), rgba(249,115,22,.10)); }
.banner-slide.type-sale { background: linear-gradient(120deg, rgba(34,211,238,.16), rgba(99,102,241,.10)); }
.banner-slide.type-season { background: linear-gradient(120deg, rgba(16,185,129,.16), rgba(34,211,238,.08)); }
.banner-slide.type-clearance { background: linear-gradient(120deg, rgba(168,85,247,.16), rgba(239,68,68,.08)); }
.bc-dots { display: flex; gap: 8px; justify-content: center; margin-top: 12px; }
.bc-dot { width: 10px; height: 10px; border-radius: 999px; background: rgba(148,163,184,.3); cursor: pointer; border: none; padding: 0; transition: width .3s ease, background .3s ease; }
.bc-dot.active { width: 26px; background: var(--accent); }
@media (max-width: 720px) {
  .banner-slide { flex-direction: column; align-items: flex-start; padding: 24px; }
  .banner-slide .bs-text { max-width: 100%; }
  .banner-slide h2 { font-size: 24px; }
}

/* ---------- 运费报价横幅（结账实时反馈） ---------- */
.ship-quote { margin-top: 12px; }
.ship-quote.sq-ok, .ship-quote.sq-warn, .ship-quote.sq-reject {
  padding: 10px 14px; border-radius: 12px; font-size: 14px; font-weight: 600; line-height: 1.4;
}
.ship-quote.sq-ok { background: rgba(34,197,94,.12); color: #15803d; border: 1px solid rgba(34,197,94,.35); }
.ship-quote.sq-warn { background: rgba(234,179,8,.14); color: #a16207; border: 1px solid rgba(234,179,8,.4); }
.ship-quote.sq-reject { background: rgba(239,68,68,.12); color: #b91c1c; border: 1px solid rgba(239,68,68,.4); }

/* ---------- 后台运费：规则编辑 + 成本测算 ---------- */
.ship-edit { border: 1px solid #e5e7eb; border-radius: 12px; padding: 12px; margin: 10px 0; background: rgba(127,127,127,.04); }
.ship-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; align-items: end; }
.ship-grid label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: #6b7280; }
.ship-grid input { padding: 8px 10px; border: 1px solid #e5e7eb; border-radius: 8px; }
.ship-grid label.chk { flex-direction: row; align-items: center; gap: 6px; }
.ship-est-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; align-items: end; margin-bottom: 12px; }
.ship-est-form input { padding: 9px 10px; border: 1px solid #e5e7eb; border-radius: 8px; }
.ship-est-result .data { width: 100%; }
.ship-est-result .sq-ok, .ship-est-result .sq-reject { display: inline-block; padding: 8px 12px; border-radius: 10px; font-weight: 600; margin-bottom: 8px; }
.ship-est-result .sq-ok { background: rgba(34,197,94,.12); color: #15803d; }
.ship-est-result .sq-reject { background: rgba(239,68,68,.12); color: #b91c1c; }

/* ---------- Cookie 同意横幅 (CMP-lite) ---------- */
.hn-consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000;
  background: var(--surface-solid, #15212b); color: var(--text, #eef3f6);
  border-top: 1px solid rgba(255,255,255,.08); box-shadow: 0 -8px 30px rgba(0,0,0,.4);
  padding: 14px 18px; font-size: 14px; }
.hn-consent[hidden] { display: none; }
.hn-consent-inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: center;
  gap: 18px; flex-wrap: wrap; }
.hn-consent-copy { flex: 1 1 320px; }
.hn-consent-copy strong { display: block; margin-bottom: 4px; font-size: 15px; }
.hn-consent-copy p { margin: 0; opacity: .85; line-height: 1.45; }
.hn-consent-copy a { color: var(--accent, #ff7a18); }
.hn-consent-toggles { display: flex; gap: 16px; flex-wrap: wrap; }
.hn-cat { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.hn-consent-actions { display: flex; gap: 8px; flex-wrap: wrap; }
@media (max-width: 720px) {
  .hn-consent-inner { flex-direction: column; align-items: stretch; }
  .hn-consent-actions { justify-content: flex-end; }
}

/* =========================================================================
   Aosom-style redesign (2026-08-03)
   深色顶栏 + 分类导航条 + 左轮播右促销卡 Hero
   顶栏始终保持深色，与 body 的 light/dark 主题切换解耦
   ========================================================================= */
.header-aosom {
  position: sticky; top: 0; z-index: 100;
  background: #1f1f1f; color: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,.25);
}
.top-header {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; height: 70px;
}
.menu-btn {
  display: flex; align-items: center; gap: 8px;
  background: transparent; border: none; color: #fff;
  font-size: 15px; font-weight: 600; cursor: pointer; padding: 6px 10px 6px 0;
}
.menu-btn .ic { width: 20px; height: 20px; }
.logo-aosom {
  font-size: 26px; font-weight: 900; letter-spacing: -1px;
  color: #ff4d4f; display: flex; align-items: center;
}
.logo-aosom:hover { color: #ff7875; }
.search-aosom {
  flex: 1 1 auto; max-width: 620px; display: flex; align-items: center;
  background: #fff; border-radius: 999px; padding: 4px 4px 4px 18px;
  transition: box-shadow .2s;
}
.search-aosom:focus-within { box-shadow: 0 0 0 3px rgba(255,77,79,.25); }
.search-aosom input {
  flex: 1; border: none; background: transparent; color: #1f1f1f;
  font: inherit; font-size: 15px; outline: none; min-width: 0;
}
.search-aosom input::placeholder { color: #888; }
.search-aosom button {
  width: 36px; height: 36px; border-radius: 50%; border: none;
  background: #ff4d4f; color: #fff; display: grid; place-items: center;
  cursor: pointer; transition: background .2s;
}
.search-aosom button:hover { background: #ff7875; }
.search-aosom button .ic { width: 18px; height: 18px; }
.header-aosom .header-actions { display: flex; align-items: center; gap: 10px; }
.header-aosom .icon-btn {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06); color: #fff; display: grid; place-items: center;
  cursor: pointer; transition: background .2s, transform .2s var(--ease);
}
.header-aosom .icon-btn:hover { background: rgba(255,255,255,.14); transform: translateY(-2px); }
.header-aosom .cart-badge span {
  position: absolute; top: -4px; right: -4px; background: #ff4d4f; color: #fff;
  font-size: 11px; font-weight: 800; border-radius: 999px; padding: 1px 6px;
}

/* 分类导航条 */
.category-bar-wrap {
  background: #2a2a2a; border-top: 1px solid rgba(255,255,255,.06);
}
.category-bar {
  display: flex; align-items: center; gap: 28px;
  height: 46px; overflow-x: auto; scrollbar-width: none;
}
.category-bar::-webkit-scrollbar { display: none; }
.category-bar .nav-shop {
  background: transparent; border: none; color: #fff; font: inherit;
  font-weight: 600; font-size: 14px; cursor: pointer; display: flex;
  align-items: center; gap: 6px; white-space: nowrap; padding: 8px 0;
}
.category-bar .nav-shop .ic { width: 16px; height: 16px; }
.cat-link {
  color: rgba(255,255,255,.85); font-size: 14px; font-weight: 500;
  white-space: nowrap; padding: 6px 0; transition: color .2s;
}
.cat-link:hover { color: #ff7875; }
.cat-link.sale { color: #ff4d4f; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.cat-link.b2b { font-weight: 700; }
.sale-dot {
  background: #ff4d4f; color: #fff; font-size: 10px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .3px;
  padding: 2px 6px; border-radius: 999px;
}

/* Mega menu 在深色顶栏下强制深色，避免 body light 主题时露白 */
.header-aosom .mega { background: #1f1f1f; border-color: rgba(255,255,255,.12); box-shadow: 0 16px 40px rgba(0,0,0,.4); }
.header-aosom .mega-col .mega-cat { color: #fff; }
.header-aosom .mega-sub a { color: rgba(255,255,255,.7); }
.header-aosom .mega-sub a:hover { color: #ff7875; }

/* 首页 Hero：左轮播 + 右双卡 */
.hero-aosom { padding: 22px 0 30px; }
.hero-aosom-grid {
  display: grid; grid-template-columns: 2fr 1fr; gap: 20px;
}
.hero-aosom-left, .hero-aosom-right { min-height: 420px; }
.hero-aosom-right { display: flex; flex-direction: column; gap: 20px; }
.hero-carousel {
  position: relative; height: 100%; border-radius: 18px; overflow: hidden;
  background: #1f1f1f; box-shadow: 0 14px 40px rgba(0,0,0,.25);
}
.hero-viewport { height: 100%; }
.hero-slide {
  display: none; height: 100%; align-items: center; justify-content: space-between;
  gap: 20px; padding: 44px 48px; color: #fff;
}
.hero-slide.active { display: flex; animation: heroFade .6s ease; }
@keyframes heroFade { from { opacity: 0; transform: scale(1.02); } to { opacity: 1; transform: none; } }
.hero-slide-text { max-width: 60%; }
.hero-kicker {
  font-size: 12px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase;
  color: rgba(255,255,255,.75); margin-bottom: 10px;
}
.hero-slide h2 { font-size: clamp(32px, 4vw, 52px); line-height: 1.08; font-weight: 800; margin-bottom: 12px; }
.hero-slide p { font-size: 17px; color: rgba(255,255,255,.8); margin-bottom: 26px; max-width: 420px; }
.hero-slide-deco { font-size: clamp(90px, 10vw, 140px); line-height: 1; filter: drop-shadow(0 16px 30px rgba(0,0,0,.35)); }
.hero-dots {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 3;
}
.hero-dot {
  width: 10px; height: 10px; border-radius: 999px; background: rgba(255,255,255,.35);
  border: none; padding: 0; cursor: pointer; transition: width .3s ease, background .3s ease;
}
.hero-dot.active { width: 26px; background: #fff; }
.hero-slide.type-flash { background: linear-gradient(120deg, #7c2d12, #c2410c 60%, #ea580c); }
.hero-slide.type-sale { background: linear-gradient(120deg, #0e7490, #0891b2 60%, #22d3ee); }
.hero-slide.type-season { background: linear-gradient(120deg, #15803d, #16a34a 60%, #4ade80); }
.hero-slide.type-clearance { background: linear-gradient(120deg, #7e22ce, #a855f7 60%, #c084fc); }

/* 右侧促销卡 */
.hero-promo {
  flex: 1; border-radius: 18px; padding: 28px;
  display: flex; flex-direction: column; justify-content: space-between;
  color: #fff; position: relative; overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,.2); transition: transform .3s var(--ease);
}
.hero-promo:hover { transform: translateY(-4px); }
.promo-new { background: linear-gradient(135deg, #0ea5e9, #2563eb); }
.promo-sale { background: linear-gradient(135deg, #dc2626, #f97316); }
.promo-label { font-size: 24px; font-weight: 800; margin-bottom: 4px; }
.promo-sub { font-size: 15px; color: rgba(255,255,255,.85); }
.promo-emoji { font-size: 64px; align-self: flex-end; filter: drop-shadow(0 8px 16px rgba(0,0,0,.25)); }

/* 响应式 */
@media (max-width: 980px) {
  .hero-aosom-grid { grid-template-columns: 1fr; }
  .hero-aosom-right { flex-direction: row; min-height: 180px; }
  .hero-promo { min-height: 160px; }
}
@media (max-width: 860px) {
  .top-header { gap: 10px; }
  .search-aosom { max-width: 420px; }
  .hero-slide { padding: 28px; }
  .hero-slide-text { max-width: 70%; }
}
@media (max-width: 720px) {
  .header-aosom .header-actions .icon-btn:nth-child(1),
  .header-aosom .header-actions .icon-btn:nth-child(2) { display: none; }
  .search-aosom { order: 3; flex-basis: 100%; max-width: none; margin-top: 6px; }
  .top-header { flex-wrap: wrap; height: auto; padding: 10px 0; }
  .category-bar { gap: 18px; }
  .hero-aosom-right { flex-direction: column; }
  .hero-slide { flex-direction: column; align-items: flex-start; justify-content: center; }
  .hero-slide-text { max-width: 100%; }
  .hero-slide-deco { font-size: 80px; align-self: flex-end; }
  .category-bar {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #2a2a2a; flex-direction: column; align-items: flex-start;
    padding: 12px 24px; height: auto; gap: 10px; z-index: 90;
    box-shadow: 0 16px 30px rgba(0,0,0,.3);
  }
  .category-bar.show { display: flex; }
}
