/* =============================================================================
 * launchx431fr — 主样式（OpenCart 3.x 主题 + 静态预览站共用）
 *
 * 视觉基准来自 home.html / sample_product.html：纯黑导航、金色价格、白卡片、
 * 黑五通栏、蓝色次强调。类名全部语义化 lx-*，不含原站混淆 class。
 *
 * 无障碍：白底文字对比度 >= 4.5:1（金色 #c9a961 仅 2.25:1，故白底用
 * #8a6d2f；深色背景仍用原 #c9a961，9.33:1 达标）。焦点环、44px 触摸目标、
 * prefers-reduced-motion、line-clamp 时完整文本仍保留在 DOM 中。
 * ============================================================================= */

:root {
  --lx-black: #0a0a0a;
  --lx-black-soft: #1b1b1b;
  --lx-gold: #c9a961;
  --lx-gold-ink: #8a6d2f;      /* 白底可读版本 4.87:1 */
  --lx-gold-soft: #f6efe0;
  --lx-blue: #1e5799;
  --lx-blue-ink: #1c4f8a;
  --lx-text: #333333;
  --lx-muted: #666666;         /* 5.74:1 */
  --lx-bg: #f8f8f8;
  --lx-line: #e4e4e4;
  --lx-white: #ffffff;
  --lx-sale: #c0392b;          /* 5.9:1 */
  --lx-sale-soft: #fdecea;
  --lx-stock: #1e7e34;         /* 5.1:1 */
  --lx-stock-soft: #eaf6ed;
  --lx-radius: 4px;
  --lx-shadow: 0 1px 3px rgba(0, 0, 0, .08), 0 6px 18px rgba(0, 0, 0, .05);
  --lx-shadow-hover: 0 6px 16px rgba(0, 0, 0, .12), 0 14px 34px rgba(0, 0, 0, .08);
  --lx-container: 1280px;
  --lx-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--lx-bg);
  color: var(--lx-text);
  font: 15px/1.55 var(--lx-font);
  min-height: 100dvh;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--lx-blue-ink); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { line-height: 1.3; color: #1a1a1a; }
:focus-visible { outline: 3px solid var(--lx-blue); outline-offset: 2px; }

/* ---------- 工具类 ---------- */
.lx-sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.lx-skip { position: absolute; left: -9999px; top: 0; z-index: 10000; background: #fff; color: #000; padding: .75rem 1rem; border: 2px solid var(--lx-blue); }
.lx-skip:focus { left: 0; }
.lx-container { width: 100%; max-width: var(--lx-container); margin: 0 auto; padding: 0 16px; }
.lx-main { padding: 18px 0 56px; min-height: 60dvh; }
.lx-gold { color: var(--lx-gold-ink); }
.lx-blue { color: var(--lx-blue-ink); }
.lx-sr-only:focus { outline: 2px solid var(--lx-blue); }

/* ---------- 页头 ---------- */
.lx-site-header { background: #fff; }
.lx-bf-strip { background: var(--lx-black); color: #f5f5f5; font-size: .82rem; }
.lx-bf-strip .lx-container { display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 34px; flex-wrap: wrap; }
.lx-bf-strip a { color: var(--lx-gold); font-weight: 700; text-decoration: underline; }
.lx-topbar { background: #f4f4f4; border-bottom: 1px solid var(--lx-line); font-size: .8rem; color: var(--lx-muted); }
.lx-topbar .lx-container { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 36px; flex-wrap: wrap; }
.lx-topbar nav { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.lx-topbar a { color: var(--lx-muted); }
.lx-hot { color: var(--lx-sale) !important; font-weight: 700; }
.lx-topbar-right a { color: var(--lx-text); font-weight: 600; }

.lx-nav-dark { background: var(--lx-black); color: #fff; }
.lx-nav { display: flex; align-items: center; gap: 18px; min-height: 68px; flex-wrap: wrap; }
.lx-brand { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: #fff; text-decoration: none; }
.lx-brand:hover { text-decoration: none; }
.lx-brand strong { font-size: 1.3rem; letter-spacing: .2px; color: var(--lx-gold); white-space: nowrap; }
.lx-brand img { max-height: 42px; width: auto; }
.lx-search { flex: 1 1 320px; max-width: 520px; }
.lx-search form { display: flex; background: #fff; border-radius: var(--lx-radius); overflow: hidden; border: 2px solid #fff; }
.lx-search form:focus-within { border-color: var(--lx-gold); }
.lx-search input { flex: 1 1 auto; min-width: 0; min-height: 44px; border: 0; padding: .45rem .8rem; background: #fff; }
.lx-search input:focus { outline: none; }
.lx-submit { flex: 0 0 auto; min-width: 48px; min-height: 44px; border: 0; background: var(--lx-gold); color: #111; font-size: 1.35rem; line-height: 1; }
.lx-submit:hover { background: #dfc07c; }
.lx-suggest { position: absolute; top: 100%; left: 0; right: 0; z-index: 950; background: #fff; border: 1px solid var(--lx-line); border-radius: 0 0 var(--lx-radius) var(--lx-radius); box-shadow: var(--lx-shadow-hover); max-height: 320px; overflow-y: auto; }
.lx-suggest[hidden] { display: none; }
.lx-suggest a { display: block; padding: 9px 12px; color: var(--lx-text); font-size: .86rem; border-bottom: 1px solid #f2f2f2; }
.lx-suggest a:hover, .lx-suggest a:focus { background: var(--lx-gold-soft); color: var(--lx-gold-ink); text-decoration: none; }
.lx-search { position: relative; }
.lx-nav-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.lx-nav-actions select { min-height: 44px; padding: .25rem .5rem; border-radius: var(--lx-radius); border: 1px solid #d8d8d8; background: #fff; color: #222; }
.lx-icon-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; border: 0; background: transparent; color: #fff; border-radius: var(--lx-radius); font-size: 1.05rem; text-decoration: none; }
.lx-icon-btn:hover { background: rgba(255, 255, 255, .12); color: var(--lx-gold); text-decoration: none; }
.lx-cart-count { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--lx-sale); color: #fff; font-size: .7rem; font-weight: 700; line-height: 18px; text-align: center; }
.lx-toggler { display: none; min-width: 44px; min-height: 44px; border: 1px solid rgba(255,255,255,.35); background: transparent; color: #fff; border-radius: var(--lx-radius); font-size: 1.25rem; }
.lx-menu-collapse { border-top: 1px solid #262626; }
.lx-menu { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.lx-menu > li > a { display: inline-flex; align-items: center; min-height: 46px; padding: 0 14px; color: #eee; font-size: .9rem; font-weight: 600; white-space: nowrap; }
.lx-menu > li > a:hover, .lx-menu > li > a:focus-visible { background: rgba(201, 169, 97, .14); color: var(--lx-gold); text-decoration: none; }

/* ---------- 面包屑 ---------- */
.lx-breadcrumb { margin: 0 0 18px; font-size: .84rem; color: var(--lx-muted); }
.lx-breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.lx-breadcrumb li + li::before { content: "/"; margin-right: 6px; color: #aaa; }
.lx-breadcrumb a { color: var(--lx-muted); }
.lx-breadcrumb [aria-current="page"] { color: var(--lx-text); }

/* ---------- 区块标题 ---------- */
.lx-section { margin: 0 0 34px; }
.lx-section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.lx-section-title { margin: 0; font-size: 1.45rem; font-weight: 700; letter-spacing: -.2px; }
.lx-section-title::after { content: ""; display: block; width: 54px; height: 3px; margin-top: 8px; background: var(--lx-gold); border-radius: 2px; }
.lx-section-sub { margin: 4px 0 0; color: var(--lx-muted); font-size: .88rem; }

/* ---------- 黑五通栏 ---------- */
.lx-bf-banner { position: relative; display: block; overflow: hidden; border-radius: var(--lx-radius); background: #171717; min-height: 230px; }
.lx-bf-banner > img { width: 100%; height: 100%; min-height: 230px; object-fit: cover; opacity: .9; }
.lx-bf-banner:hover { text-decoration: none; }
.lx-bf-copy { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 22px; color: #fff; background: linear-gradient(90deg, rgba(0,0,0,.62), rgba(0,0,0,.18) 55%, rgba(0,0,0,.55)); }
.lx-bf-kicker { color: var(--lx-gold); font-size: .8rem; letter-spacing: .28em; text-transform: uppercase; }
.lx-bf-title { font-size: clamp(1.9rem, 5vw, 3.35rem); font-weight: 800; letter-spacing: .04em; line-height: 1.08; text-shadow: 0 2px 12px rgba(0,0,0,.5); }
.lx-bf-dates { font-size: clamp(.85rem, 1.6vw, 1.05rem); color: #f0e6cf; }
.lx-bf-cta { margin-top: 10px; padding: .6rem 1.6rem; min-height: 44px; display: inline-flex; align-items: center; border: 2px solid var(--lx-gold); border-radius: var(--lx-radius); color: #111; background: var(--lx-gold); font-weight: 700; }
.lx-bf-banner:hover .lx-bf-cta { background: transparent; color: var(--lx-gold); }
.lx-bf-note { margin: 8px 0 0; color: var(--lx-muted); font-size: .8rem; }

/* ---------- 产品卡片 / 网格 ---------- */
.lx-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.lx-card { display: flex; flex-direction: column; background: var(--lx-white); border: 1px solid #eee; border-radius: var(--lx-radius); box-shadow: var(--lx-shadow); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.lx-card:hover, .lx-card:focus-within { transform: scale(1.03); box-shadow: var(--lx-shadow-hover); z-index: 2; position: relative; }
.lx-card-media { position: relative; aspect-ratio: 1 / 1; background: #fafafa; border-bottom: 1px solid #f0f0f0; }
.lx-card-media img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.lx-card-media > a { display: block; height: 100%; }
.lx-card-badge { position: absolute; top: 8px; left: 8px; z-index: 2; display: inline-flex; align-items: center; min-height: 24px; padding: 2px 8px; border-radius: 3px; background: var(--lx-sale); color: #fff; font-size: .74rem; font-weight: 700; letter-spacing: .02em; }
.lx-card-body { display: flex; flex-direction: column; flex: 1 1 auto; padding: 12px 12px 14px; }
.lx-card-name { margin: 0 0 8px; font-size: .9rem; font-weight: 600; line-height: 1.4; min-height: 2.8em; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.lx-card-name a { color: #222; }
.lx-card-name a:hover { color: var(--lx-gold-ink); }
.lx-price-row { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-bottom: 4px; }
.lx-price { color: var(--lx-gold-ink); font-size: 1.28rem; font-weight: 800; line-height: 1.2; }
.lx-old-price { color: var(--lx-muted); font-size: .85rem; text-decoration: line-through; }
.lx-off { color: var(--lx-sale); font-size: .78rem; font-weight: 700; }
.lx-stock { color: var(--lx-stock); font-size: .83rem; font-weight: 600; margin: 0 0 10px; }
.lx-stock::before { content: "✓ "; }
.lx-stock.is-out { color: var(--lx-sale); }
.lx-stock.is-out::before { content: "✕ "; }
.lx-btn-cart { margin-top: auto; width: 100%; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid var(--lx-gold-ink); border-radius: var(--lx-radius); background: #fff; color: var(--lx-gold-ink); font-weight: 700; font-size: .86rem; transition: background .18s ease, color .18s ease; }
.lx-btn-cart:hover { background: var(--lx-gold-ink); color: #fff; }
.lx-btn-cart[disabled] { opacity: .55; cursor: not-allowed; }

/* ---------- 轮播 ---------- */
.lx-carousel-controls { display: flex; gap: 6px; align-items: center; }
.lx-carousel-controls button { min-width: 44px; min-height: 40px; padding: 0 10px; border: 1px solid var(--lx-line); border-radius: var(--lx-radius); background: #fff; color: var(--lx-text); font-size: 1.1rem; }
.lx-carousel-controls button:hover { border-color: var(--lx-gold-ink); color: var(--lx-gold-ink); }
.lx-carousel-controls [data-lx-pause] { font-size: .78rem; min-width: 92px; }
.lx-carousel-controls [aria-pressed="false"] { background: var(--lx-gold-soft); border-color: var(--lx-gold-ink); color: var(--lx-gold-ink); }
.lx-carousel-track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; padding: 2px 2px 12px; }
.lx-carousel-track > .lx-card { flex: 0 0 calc((100% - 48px) / 4); scroll-snap-align: start; }
.lx-carousel-track:focus-visible { outline-offset: 4px; }

/* ---------- 产品详情 ---------- */
.lx-product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 32px; background: #fff; border: 1px solid #eee; border-radius: var(--lx-radius); padding: 22px; box-shadow: var(--lx-shadow); }
.lx-product-gallery > a { display: block; border: 1px solid #f0f0f0; border-radius: var(--lx-radius); background: #fff; }
.lx-product-gallery > a > img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; padding: 16px; }
.lx-thumbs { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.lx-thumbs button { width: 76px; height: 76px; padding: 4px; border: 1px solid var(--lx-line); border-radius: var(--lx-radius); background: #fff; }
.lx-thumbs button[aria-pressed="true"] { border-color: var(--lx-gold-ink); box-shadow: 0 0 0 2px rgba(138,109,47,.2); }
.lx-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.lx-product-info h1 { margin: 0 0 12px; font-size: 1.5rem; font-weight: 700; line-height: 1.35; }
.lx-product-sku { color: var(--lx-muted); font-size: .82rem; margin: 0 0 12px; }
.lx-product-price { color: var(--lx-gold-ink); font-size: 2rem; font-weight: 800; line-height: 1.2; }
.lx-product-price .lx-old-price { font-size: 1rem; margin-left: 10px; }
.lx-price-box { padding: 14px 16px; margin: 0 0 18px; background: var(--lx-gold-soft); border-radius: var(--lx-radius); border-left: 4px solid var(--lx-gold); }
.lx-qty-row { display: flex; align-items: flex-end; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.lx-qty-row label { display: block; font-size: .82rem; font-weight: 700; margin-bottom: 4px; }
.lx-qty-row input[type="number"] { width: 92px; min-height: 44px; padding: .4rem .6rem; border: 1px solid #ccc; border-radius: var(--lx-radius); }
.lx-btn-primary, .lx-btn-gold { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: .55rem 1.25rem; border-radius: var(--lx-radius); font-weight: 700; font-size: .9rem; border: 1px solid transparent; text-decoration: none; }
.lx-btn-primary { background: var(--lx-black); border-color: var(--lx-black); color: #fff; }
.lx-btn-primary:hover { background: #333; color: #fff; text-decoration: none; }
.lx-btn-gold { background: var(--lx-gold-ink); border-color: var(--lx-gold-ink); color: #fff; }
.lx-btn-gold:hover { background: #6d5624; color: #fff; text-decoration: none; }
.lx-btn-outline { background: #fff; border-color: var(--lx-gold-ink); color: var(--lx-gold-ink); }
.lx-btn-outline:hover { background: var(--lx-gold-soft); color: var(--lx-gold-ink); text-decoration: none; }
.lx-vip { margin: 0 0 12px; padding: 12px 14px; background: var(--lx-black); color: #f2f2f2; border-radius: var(--lx-radius); font-size: .85rem; }
.lx-vip a { color: var(--lx-gold); }
.lx-bf-box { margin: 0; padding: 12px 14px; background: #fff8dc; border: 1px solid #ecdca0; border-radius: var(--lx-radius); font-size: .85rem; color: #5b4a16; }
.lx-feature-list { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 6px; font-size: .86rem; color: var(--lx-muted); }
.lx-feature-list li::before { content: "• "; color: var(--lx-gold-ink); font-weight: 700; }

/* ---------- Tabs ---------- */
.lx-tabs { margin-top: 26px; background: #fff; border: 1px solid #eee; border-radius: var(--lx-radius); box-shadow: var(--lx-shadow); overflow: hidden; }
.lx-tablist { display: flex; gap: 2px; padding: 0 10px; background: #f6f6f6; border-bottom: 1px solid var(--lx-line); overflow-x: auto; }
.lx-tablist button { min-height: 48px; padding: 0 18px; border: 0; border-bottom: 3px solid transparent; background: transparent; color: var(--lx-muted); font-weight: 700; white-space: nowrap; }
.lx-tablist button[aria-selected="true"] { color: var(--lx-gold-ink); border-bottom-color: var(--lx-gold); background: #fff; }
.lx-tabpanel { padding: 20px 22px; font-size: .92rem; line-height: 1.75; }
.lx-tabpanel[hidden] { display: none; }
.lx-tabpanel h2, .lx-tabpanel h3 { font-size: 1.05rem; }
.lx-tabpanel table { width: 100%; border-collapse: collapse; }
.lx-tabpanel th, .lx-tabpanel td { padding: .55rem; border-bottom: 1px solid #eee; text-align: left; }

/* ---------- 分类 / 列表 / 搜索 / 购物车 ---------- */
.lx-page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.lx-page-head h1 { margin: 0; font-size: 1.6rem; }
.lx-page-head p { margin: 4px 0 0; color: var(--lx-muted); font-size: .88rem; }
.lx-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px; align-items: start; }
.lx-sidebar { background: #fff; border: 1px solid #eee; border-radius: var(--lx-radius); padding: 14px; box-shadow: var(--lx-shadow); }
.lx-sidebar h2 { margin: 0 0 10px; font-size: .95rem; text-transform: uppercase; letter-spacing: .04em; }
.lx-sidebar ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.lx-sidebar a { display: flex; justify-content: space-between; gap: 8px; padding: 8px 6px; border-radius: 3px; color: var(--lx-text); font-size: .86rem; }
.lx-sidebar a:hover, .lx-sidebar a[aria-current="page"] { background: var(--lx-gold-soft); color: var(--lx-gold-ink); text-decoration: none; }
.lx-sidebar .lx-count { color: var(--lx-muted); font-size: .78rem; }
.lx-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; padding: 10px 12px; background: #fff; border: 1px solid #eee; border-radius: var(--lx-radius); font-size: .85rem; }
.lx-toolbar select, .lx-toolbar input { min-height: 40px; padding: .35rem .6rem; border: 1px solid #d5d5d5; border-radius: var(--lx-radius); background: #fff; }
.lx-toolbar label { font-weight: 600; margin-right: 6px; }
.lx-pagination { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; margin-top: 26px; }
.lx-pagination a, .lx-pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; min-height: 40px; padding: 0 8px; border: 1px solid var(--lx-line); border-radius: var(--lx-radius); background: #fff; color: var(--lx-text); font-size: .86rem; }
.lx-pagination a:hover { border-color: var(--lx-gold-ink); color: var(--lx-gold-ink); text-decoration: none; }
.lx-pagination [aria-current="page"] { background: var(--lx-black); border-color: var(--lx-black); color: #fff; font-weight: 700; }
.lx-empty { padding: 44px 20px; text-align: center; background: #fff; border: 1px solid #eee; border-radius: var(--lx-radius); color: var(--lx-muted); }
.lx-cart-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid #eee; border-radius: var(--lx-radius); overflow: hidden; }
.lx-cart-table th, .lx-cart-table td { padding: 12px; border-bottom: 1px solid #eee; text-align: left; vertical-align: middle; }
.lx-cart-table th { background: #f6f6f6; font-size: .84rem; text-transform: uppercase; letter-spacing: .03em; }
.lx-cart-table img { width: 72px; height: 72px; object-fit: contain; border: 1px solid #eee; border-radius: 3px; }
.lx-cart-table input[type="number"] { width: 76px; min-height: 40px; padding: .3rem .5rem; border: 1px solid #ccc; border-radius: var(--lx-radius); }
.lx-cart-summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 18px; padding: 18px; background: #fff; border: 1px solid #eee; border-radius: var(--lx-radius); }
.lx-cart-summary strong { font-size: 1.3rem; color: var(--lx-gold-ink); }
.lx-info-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.lx-info-card { background: #fff; border: 1px solid #eee; border-radius: var(--lx-radius); box-shadow: var(--lx-shadow); padding: 20px; }
.lx-info-card h2 { margin: 0 0 8px; font-size: 1.05rem; }
.lx-info-card p { margin: 0; color: var(--lx-muted); font-size: .88rem; }
.lx-prose { background: #fff; border: 1px solid #eee; border-radius: var(--lx-radius); padding: 22px; box-shadow: var(--lx-shadow); max-width: 820px; }
.lx-prose h2 { margin-top: 22px; font-size: 1.1rem; }
.lx-prose a { text-decoration: underline; }
.lx-form-row { display: grid; gap: 6px; margin-bottom: 14px; }
.lx-form-row label { font-weight: 700; font-size: .86rem; }
.lx-form-row input, .lx-form-row textarea { min-height: 44px; padding: .5rem .7rem; border: 1px solid #ccc; border-radius: var(--lx-radius); }
.lx-form-row textarea { min-height: 130px; }
.lx-notice { padding: 12px 14px; border-radius: var(--lx-radius); background: var(--lx-stock-soft); color: #155d27; font-size: .88rem; }

/* ---------- 页脚 ---------- */
.lx-footer { background: #141414; color: #d8d8d8; padding: 38px 0 0; }
.lx-footer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; padding-bottom: 30px; }
.lx-footer h2 { margin: 0 0 12px; color: var(--lx-gold); font-size: .95rem; text-transform: uppercase; letter-spacing: .06em; }
.lx-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.lx-footer a { color: #d8d8d8; font-size: .86rem; }
.lx-footer a:hover { color: var(--lx-gold); }
.lx-footer address { font-size: .86rem; line-height: 1.9; }
.lx-footer-bottom { border-top: 1px solid #2b2b2b; padding: 16px 0; font-size: .82rem; color: #aaa; }
.lx-newsletter { display: flex; gap: 6px; margin-top: 6px; }
.lx-newsletter input { flex: 1 1 auto; min-width: 0; min-height: 44px; padding: .4rem .6rem; border: 1px solid #444; border-radius: var(--lx-radius); background: #222; color: #fff; }
.lx-newsletter button { min-height: 44px; padding: 0 14px; border: 0; border-radius: var(--lx-radius); background: var(--lx-gold); color: #111; font-weight: 700; }

/* ---------- 悬浮 WhatsApp ---------- */
.lx-wa { position: fixed; right: 20px; bottom: 22px; z-index: 900; display: inline-flex; align-items: center; justify-content: center; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; font-size: 1.6rem; box-shadow: 0 6px 18px rgba(0,0,0,.28); }
.lx-wa:hover { background: #1eb857; color: #fff; text-decoration: none; }
.lx-wa-close { position: fixed; right: 12px; bottom: 74px; z-index: 901; width: 26px; height: 26px; border: 0; border-radius: 50%; background: #333; color: #fff; font-size: 1rem; line-height: 1; }
.lx-wa.is-hidden, .lx-wa-close.is-hidden { display: none; }

/* ---------- 购物车抽屉 ---------- */
.lx-backdrop { position: fixed; inset: 0; z-index: 1000; background: rgba(0,0,0,.5); }
.lx-backdrop[hidden] { display: none; }
.lx-drawer { position: fixed; top: 0; right: 0; z-index: 1001; width: min(400px, 100%); height: 100dvh; background: #fff; box-shadow: -8px 0 30px rgba(0,0,0,.2); padding: 18px; overflow-y: auto; transform: translateX(100%); transition: transform .25s ease; }
.lx-drawer.is-open { transform: translateX(0); }
.lx-drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--lx-line); padding-bottom: 10px; margin-bottom: 14px; }
.lx-drawer-head h2 { margin: 0; font-size: 1.15rem; }
.lx-drawer-close { min-width: 44px; min-height: 44px; border: 0; background: transparent; font-size: 1.6rem; line-height: 1; }
.lx-cart-line { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid #eee; font-size: .86rem; }
.lx-cart-line img { width: 58px; height: 58px; object-fit: contain; border: 1px solid #eee; border-radius: 3px; }
.lx-cart-line .lx-line-name { flex: 1 1 auto; }
.lx-cart-line button { min-width: 32px; min-height: 32px; border: 1px solid var(--lx-line); background: #fff; border-radius: 3px; }
.lx-drawer-total { display: flex; justify-content: space-between; padding: 14px 0; font-weight: 700; }

/* ---------- 交付说明卡 ---------- */
.lx-preview-note { max-width: var(--lx-container); margin: 0 auto 30px; padding: 12px 16px; background: #eef5ff; border: 1px solid #b6d2f5; border-radius: var(--lx-radius); color: #173f6b; font-size: .86rem; }
.lx-preview-note summary { cursor: pointer; font-weight: 700; min-height: 32px; }
.lx-preview-note ul { margin: 8px 0 0; padding-left: 20px; }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .lx-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lx-carousel-track > .lx-card { flex-basis: calc((100% - 32px) / 3); }
  .lx-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lx-info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .lx-nav { min-height: 60px; gap: 10px; }
  .lx-brand strong { font-size: 1.05rem; }
  .lx-search { order: 3; flex-basis: 100%; max-width: none; }
  .lx-toggler { display: inline-flex; align-items: center; justify-content: center; }
  .lx-menu-collapse { display: none; }
  .lx-menu-collapse.is-open { display: block; }
  .lx-menu { flex-direction: column; align-items: stretch; padding: 6px 0 10px; }
  .lx-menu > li > a { min-height: 44px; }
  .lx-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .lx-carousel-track > .lx-card { flex-basis: calc((100% - 10px) / 2); }
  .lx-product { grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 14px; }
  .lx-layout { grid-template-columns: minmax(0, 1fr); }
  .lx-sidebar { display: none; }
  .lx-info-grid { grid-template-columns: minmax(0, 1fr); }
  .lx-bf-banner, .lx-bf-banner > img { min-height: 190px; }
  .lx-cart-table th:nth-child(2), .lx-cart-table td:nth-child(2) { display: none; }
}
@media (max-width: 480px) {
  .lx-grid { grid-template-columns: minmax(0, 1fr); }
  .lx-carousel-track > .lx-card { flex-basis: 82%; }
  .lx-footer-grid { grid-template-columns: minmax(0, 1fr); }
  .lx-topbar-right { display: none; }
  .lx-bf-title { font-size: 1.7rem; }
  .lx-tabpanel { padding: 16px 14px; }
}

/* ---------- 动效偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .lx-card:hover, .lx-card:focus-within { transform: none; }
}

/* ---------- 打印 ---------- */
@media print {
  .lx-site-header, .lx-footer, .lx-wa, .lx-wa-close, .lx-drawer, .lx-backdrop, .lx-carousel-controls { display: none !important; }
  body { background: #fff; }
}
