/* ================= 基础 ================= */
:root {
  --primary: #0a8fd6;
  --primary-dark: color-mix(in srgb, var(--primary), #000 18%);
  --primary-soft: color-mix(in srgb, var(--primary), #fff 91%);
  --primary-line: color-mix(in srgb, var(--primary), #fff 65%);
  --danger: #e8430f;
  --accent: #ff8a00;
  --text: #333;
  --text-2: #666;
  --muted: #999;
  --line: #e6e9ee;
  --bg: #f3f5f8;
  --radius: 6px;
  --shadow: 0 6px 20px rgba(20, 40, 80, .1);
  --hero-h: 420px;
  --nav-h: 42px;
  --side-w: 230px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 14px/1.6 -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Malgun Gothic", "Helvetica Neue", Arial, sans-serif; color: var(--text); background: var(--bg); overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--primary); }
img { max-width: 100%; vertical-align: middle; border: 0; }
ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul { list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
table { border-collapse: collapse; }
[hidden] { display: none !important; }
.icon { width: 1.15em; height: 1.15em; flex-shrink: 0; vertical-align: -.2em; }
.container { width: min(1200px, calc(100% - 32px)); margin: 0 auto; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.mt { margin-top: 20px; }
.text-danger { color: var(--danger); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.inline-form { display: inline; }
.link { color: var(--primary); }
.link:hover { text-decoration: underline; }
.link-btn { border: 0; background: none; padding: 0; color: inherit; }
.link-btn:hover { color: var(--primary); }

/* 按钮 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 36px; padding: 0 18px; border: 1px solid #d5dae1; border-radius: 4px; background: #fff; color: var(--text); font-size: 14px; white-space: nowrap; transition: background .2s, border-color .2s, color .2s; }
.btn:hover { border-color: var(--primary); color: var(--primary); }
.btn-primary { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; }
.btn-danger { background: var(--danger); border-color: var(--danger); color: #fff; }
.btn-danger:hover { background: color-mix(in srgb, var(--danger), #000 12%); border-color: transparent; color: #fff; }
.btn-outline { border-color: var(--primary); color: var(--primary); background: #fff; }
.btn-outline:hover { background: var(--primary-soft); }
.btn-ghost { border-color: var(--line); color: var(--text-2); }
.btn-ghost.is-on { color: var(--danger); border-color: var(--danger); }
.btn-light { background: #fff; border-color: #fff; color: var(--primary); }
.btn-outline-light { border: 2px solid #fff; background: transparent; color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--primary); }
.btn-round { border-radius: 20px; }
.btn-lg { height: 46px; padding: 0 30px; font-size: 16px; }
.btn-sm { height: 30px; padding: 0 12px; font-size: 13px; }
.btn-xs { height: 26px; padding: 0 10px; font-size: 12px; }
.btn-block { display: flex; width: 100%; }
.btn:disabled, .btn.is-disabled { opacity: .55; cursor: not-allowed; pointer-events: none; }
.alert { margin: 14px 0; padding: 11px 16px; border-radius: 4px; border: 1px solid; }
.alert-success { background: #ecfdf3; border-color: #b7ebc6; color: #18794e; }
.alert-error { background: #fff1f0; border-color: #ffccc7; color: #c62a2f; }
.alert-info { background: var(--primary-soft); border-color: var(--primary-line); color: var(--primary-dark); }
.alert-warn { background: #fffbe6; border-color: #ffe58f; color: #8a6100; }
.tag { display: inline-block; margin-left: 6px; padding: 0 6px; border-radius: 3px; background: var(--primary); color: #fff; font-size: 12px; font-style: normal; line-height: 18px; }
.check { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }

/* ================= 顶部条 ================= */
.topbar { background: #f5f6f8; border-bottom: 1px solid #e8eaed; font-size: 12px; color: var(--text-2); }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 32px; gap: 10px; }
.topbar-left { display: flex; align-items: center; gap: 10px; white-space: nowrap; overflow: hidden; }
.topbar-strong { color: var(--primary); }
.sep { width: 1px; height: 12px; background: #d0d4da; }
.topbar-right { display: flex; align-items: center; }
.topbar-right > li { position: relative; padding: 0 10px; border-left: 1px solid #dcdfe4; line-height: 1; white-space: nowrap; }
.topbar-right > li:first-child { border-left: 0; }
.topbar-right a, .topbar-right .dropdown-toggle { display: inline-flex; align-items: center; gap: 3px; }
.topbar-right .icon { width: 13px; height: 13px; color: var(--accent); }
.topbar-tel b { color: var(--accent); }
.dropdown-toggle { cursor: pointer; padding: 8px 0; }
.dropdown-toggle .icon:last-child { color: var(--muted); }
.dropdown-menu { display: none; position: absolute; top: 100%; right: 0; z-index: 60; min-width: 110px; padding: 6px 0; border: 1px solid var(--line); border-radius: 4px; background: #fff; box-shadow: var(--shadow); }
.dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a { display: block; padding: 7px 14px; line-height: 1.4; }
.dropdown-menu a.is-active { color: var(--primary); }

.top-ad { position: relative; height: 80px; background: var(--primary); }
.top-ad > a { display: block; height: 100%; background: center / cover no-repeat; }
.top-ad-close { position: absolute; top: 6px; right: calc(50% - 600px); width: 22px; height: 22px; padding: 2px; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .25); color: #fff; }

/* ================= 头部 ================= */
.header { background: #fff; }
.header-inner { display: flex; align-items: center; gap: 32px; padding: 22px 0 18px; }
.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo-icon { height: 58px; width: auto; }
.logo-full { max-height: 64px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.25; }
.logo-text strong { font-size: 26px; color: var(--primary); letter-spacing: 2px; }
.logo-text small { font-size: 12px; color: var(--text); font-weight: 600; }
.logo-text em { font-size: 12px; font-style: normal; color: var(--primary); }
.logo:hover .logo-text strong { color: var(--primary); }
.search { flex: 1; max-width: 620px; margin-left: auto; }
.search-row { display: flex; gap: 10px; }
.search-form { flex: 1; display: flex; height: 40px; border: 2px solid var(--primary); border-radius: 2px; background: #fff; }
.search-form input { flex: 1; min-width: 0; border: 0; outline: 0; padding: 0 12px; background: transparent; }
.search-form button { display: flex; align-items: center; gap: 6px; border: 0; padding: 0 22px; background: var(--primary); color: #fff; font-size: 15px; }
.search-form button:hover { background: var(--primary-dark); }
.bom-btn { display: flex; align-items: center; gap: 6px; padding: 0 18px; border-radius: 2px; background: var(--primary); color: #fff !important; font-weight: 600; white-space: nowrap; }
.bom-btn:hover { background: var(--primary-dark); }
.search-hot { display: flex; flex-wrap: wrap; gap: 2px 12px; margin-top: 7px; font-size: 12px; font-weight: 600; color: var(--primary); height: 20px; overflow: hidden; }
.search-promo { color: var(--danger) !important; }
.mini-cart { position: relative; flex-shrink: 0; }
.mini-cart-btn { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border: 1px solid #dde1e7; border-radius: 2px; background: #fff; position: relative; }
.mini-cart-btn > .icon:first-child { width: 20px; height: 20px; color: var(--primary); }
.mini-cart-btn > .icon:last-child { width: 14px; color: var(--muted); }
.mini-cart-btn i { position: absolute; top: -9px; left: 26px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--primary); color: #fff; font-size: 11px; font-style: normal; line-height: 18px; text-align: center; }
.mini-cart-panel { display: none; position: absolute; top: 100%; right: 0; z-index: 70; width: 340px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.mini-cart:hover .mini-cart-panel { display: block; }
.mini-cart-list { max-height: 300px; overflow-y: auto; }
.mini-cart-empty { padding: 26px; text-align: center; }
.mini-item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-bottom: 1px solid var(--line); font-size: 13px; }
.mini-item img { width: 44px; height: 44px; object-fit: cover; border-radius: 3px; background: #f5f5f5; }
.mini-item div { flex: 1; min-width: 0; }
.mini-item b { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.mini-cart-foot { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; background: #fafbfc; }
.menu-toggle { display: none; border: 0; background: none; padding: 6px; }
.menu-toggle .icon { width: 26px; height: 26px; }

/* ================= 导航 ================= */
.navbar { position: relative; z-index: 40; background: var(--primary); }
.navbar-inner { display: flex; height: var(--nav-h); }
.all-cats { position: relative; width: var(--side-w); flex-shrink: 0; }
.all-cats-title { display: flex; align-items: center; gap: 8px; height: 100%; padding: 0 18px; background: var(--primary-dark); color: #fff !important; font-size: 15px; }
.cat-menu { display: none; position: absolute; top: 100%; left: 0; width: 100%; background: var(--primary); box-shadow: var(--shadow); }
.all-cats:hover .cat-menu, .is-home .cat-menu { display: block; }
.is-home .cat-menu { height: var(--hero-h); box-shadow: none; }
.cat-item { position: static; }
.cat-link { display: flex; align-items: center; justify-content: space-between; height: 32px; padding: 0 18px; color: #fff !important; font-size: 13.5px; }
.is-home .cat-link { height: calc(var(--hero-h) / 12); }
.cat-link span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.cat-link .icon { width: 13px; opacity: .6; }
.cat-item:hover > .cat-link { background: #fff; color: var(--primary) !important; }
.cat-flyout { display: none; position: absolute; top: 0; left: 100%; width: 740px; min-height: 100%; padding: 22px 28px; background: #fff; box-shadow: 8px 8px 24px rgba(0, 0, 0, .12); }
.cat-item:hover > .cat-flyout { display: block; }
.cat-flyout h4 { margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line); font-size: 16px; }
.cat-flyout h4 a { display: inline-flex; align-items: center; gap: 4px; color: var(--primary); }
.cat-flyout-links { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.cat-flyout-links a { color: var(--text-2); }
.nav-links { flex: 1; display: flex; align-items: center; justify-content: space-between; margin-left: 10px; }
.nav-links > li { position: relative; height: 100%; }
.nav-links > li > a { display: flex; align-items: center; gap: 3px; height: 100%; padding: 0 16px; color: #fff !important; font-size: 15px; white-space: nowrap; position: relative; }
.nav-links > li > a:hover, .nav-links > li > a.is-active { background: var(--accent); }
.nav-links > li > a .icon { width: 14px; }
.nav-badge { position: absolute; top: 3px; right: 0; padding: 0 3px; border: 1px solid #ffd27a; border-radius: 2px; background: #ff3b30; color: #fff; font-size: 9px; line-height: 12px; font-weight: 600; }
.nav-sub { display: none; position: absolute; top: 100%; left: 0; min-width: 140px; padding: 6px 0; background: #fff; box-shadow: var(--shadow); }
.nav-sub-right { left: auto; right: 0; }
.has-sub:hover .nav-sub { display: block; }
.nav-sub a { display: block; padding: 8px 18px; white-space: nowrap; }
.nav-sub a:hover { background: var(--primary-soft); }
.nav-more > a .icon { width: 20px; height: 20px; }

/* ================= 首页 ================= */
.hero { position: relative; height: var(--hero-h); overflow: hidden; background: #dfe7f0; }
.slider, .slide { position: absolute; inset: 0; }
.slide { background: center / cover no-repeat; opacity: 0; transition: opacity .8s; pointer-events: none; }
.slide.is-active { opacity: 1; pointer-events: auto; }
.slider-arrow { position: absolute; top: 50%; z-index: 3; width: 36px; height: 60px; margin-top: -30px; border: 0; background: rgba(0, 0, 0, .2); color: #fff; font-size: 30px; opacity: 0; transition: opacity .3s; }
.slider:hover .slider-arrow { opacity: 1; }
.slider-arrow.prev { left: calc(50% - 600px + var(--side-w) + 8px); }
.slider-arrow.next { right: calc(50% - 600px + 250px); }
.slider-dots { position: absolute; bottom: 18px; left: 50%; z-index: 3; display: flex; gap: 8px; transform: translateX(-50%); }
.slider-dots button { width: 26px; height: 4px; padding: 0; border: 0; border-radius: 2px; background: rgba(255, 255, 255, .5); }
.slider-dots button.is-active { background: #fff; }
.hero-inner { position: relative; height: 100%; pointer-events: none; }
.hero-panel { position: absolute; top: 14px; right: 0; bottom: 14px; width: 234px; display: flex; flex-direction: column; padding: 16px; border-top: 3px solid var(--primary); background: #fff; pointer-events: auto; box-shadow: var(--shadow); }
.hp-hello { text-align: center; padding-bottom: 10px; }
.hp-hello img { height: 38px; }
.hp-hello strong { display: block; margin-top: 4px; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hp-tabs { flex: 1; overflow: hidden; }
.hp-tabs-head { display: flex; gap: 20px; border-bottom: 1px solid var(--line); }
.hp-tabs-head button { border: 0; background: none; padding: 6px 0; font-size: 13px; color: var(--text-2); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.hp-tabs-head button.is-active { color: var(--primary); border-color: var(--primary); }
.hp-list { display: none; padding-top: 6px; }
.hp-list.is-active { display: block; }
.hp-list li { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 12.5px; line-height: 30px; }
.hp-list li:first-child a { color: var(--danger); }
.hp-btns { display: flex; flex-direction: column; gap: 10px; padding-top: 10px; }
.hp-tel { margin-top: 10px; font-size: 12px; color: var(--primary); text-align: center; }

.block { margin-top: 26px; }
.block-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.block-head h2 { padding-left: 10px; border-left: 4px solid var(--primary); font-size: 18px; line-height: 1.1; font-weight: 600; color: #222; }
.block-sub { font-size: 13px; color: var(--muted); }
.block-head .more { margin-left: auto; }
.more { display: inline-flex; align-items: center; gap: 2px; font-size: 13px; color: var(--primary); }
.more .icon { width: 14px; height: 14px; }
.brand-wall { display: grid; grid-template-columns: repeat(8, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); background: #fff; }
.brand-wall a { display: grid; place-items: center; height: 76px; padding: 8px 14px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.brand-wall a:hover { box-shadow: inset 0 0 0 2px var(--primary); }
.brand-wall img { max-height: 54px; object-fit: contain; }
.brand-wall span { font-weight: 700; color: var(--text-2); }
.brand-wall-lg a { height: 96px; }
.floor { display: flex; background: #fff; }
.floor-promo { flex: 0 0 240px; display: flex; flex-direction: column; align-items: center; gap: 22px; padding: 40px 18px; background: var(--primary) center bottom / cover no-repeat; color: #fff; text-align: center; }
.floor-promo-link { display: flex; flex-direction: column; align-items: center; gap: 8px; color: #fff !important; }
.floor-promo strong { font-size: 22px; letter-spacing: 1px; }
.floor-promo span { font-size: 13px; opacity: .9; }
.floor-promo em { margin-top: 10px; font-style: normal; }
.floor-brands { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; width: 100%; padding: 8px; border-radius: 8px; background: #fff; box-shadow: 0 6px 18px rgba(0, 0, 0, .12); }
.floor-brands a { display: grid; place-items: center; height: 44px; border-radius: 4px; transition: background .2s; }
.floor-brands a:hover { background: var(--primary-soft); }
.floor-brands img { max-width: 100%; max-height: 40px; }
.floor-promo-sample { background-image: linear-gradient(160deg, #ff9a3c, #f25c2a); }
.sample-steps { list-style: none; width: 100%; padding: 12px 14px; border-radius: 8px; background: rgba(255, 255, 255, .16); text-align: left; }
.sample-steps li { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-size: 13px; }
.sample-steps li + li { border-top: 1px dashed rgba(255, 255, 255, .35); }
.sample-steps i { width: 22px; height: 22px; border-radius: 50%; background: #fff; color: #f25c2a; font-size: 12px; font-style: normal; font-weight: 700; line-height: 22px; text-align: center; }
.tiles { flex: 1; display: grid; grid-template-columns: repeat(5, 1fr); border-left: 1px solid var(--line); }
.tiles-4 { grid-template-columns: repeat(4, 1fr); }
.tiles-5 { grid-template-columns: repeat(5, 1fr); border: 1px solid var(--line); border-right: 0; border-bottom: 0; }
.tile { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 10px 16px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; transition: box-shadow .2s, transform .2s; text-align: center; }
.tile:hover { position: relative; z-index: 1; box-shadow: var(--shadow); color: var(--text); }
.tile-img { width: 112px; height: 112px; }
.tile-img img { width: 100%; height: 100%; object-fit: contain; }
.tile-model { max-width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 13px; font-weight: 600; }
.tile:hover .tile-model { color: var(--primary); }
.tile-price { color: var(--danger); font-size: 14px; }
.tile-meta { font-size: 12px; color: var(--muted); }
.tile-meta b { color: var(--primary); }
.floor-samples .tiles { border-left: 0; }
.sample-rank { flex: 0 0 250px; display: flex; flex-direction: column; padding: 16px; border-left: 1px solid var(--line); }
.sample-rank h3 { display: flex; align-items: center; gap: 6px; font-size: 15px; margin-bottom: 8px; }
.sample-rank h3 .icon { color: var(--primary); }
.sample-rank ol { flex: 1; list-style: none; }
.sample-rank li { display: flex; align-items: center; gap: 8px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 13px; }
.sample-rank li i { width: 18px; height: 18px; border-radius: 3px; background: #c9d1db; color: #fff; font-size: 11px; font-style: normal; line-height: 18px; text-align: center; }
.sample-rank li:nth-child(-n + 3) i { background: var(--danger); }
.sample-rank li a { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.sample-rank .btn-block { margin-top: 12px; }
.home-news { display: grid; grid-template-columns: 240px 1fr 380px; background: #fff; }
.home-news-pics { display: flex; flex-direction: column; border-right: 1px solid var(--line); }
.home-news-pics a { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.home-news-pics a + a { border-top: 1px solid var(--line); }
.home-news-pics img { width: 100%; height: 100%; object-fit: cover; }
.home-news-pics span { position: absolute; inset: auto 0 0; padding: 6px 10px; background: linear-gradient(transparent, rgba(0, 0, 0, .65)); color: #fff; font-size: 12px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.home-news-lists { padding: 14px 22px; }
.news-col + .news-col { margin-top: 12px; }
.news-col-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 4px; }
.news-col-head h3 { font-size: 15px; }
.news-col li { display: flex; justify-content: space-between; gap: 14px; padding: 4px 0; font-size: 13px; }
.news-col li a { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: var(--text-2); }
.news-col time { flex-shrink: 0; color: var(--muted); font-size: 12px; }
.deals { padding: 14px 18px; border-left: 1px solid var(--line); }
.deals h3 { font-size: 15px; margin-bottom: 8px; }
.deals-scroll { height: 280px; overflow: hidden; position: relative; }
.deals table { width: 100%; font-size: 12px; color: var(--text-2); }
.deals td { padding: 6px 4px; white-space: nowrap; }
.deals-empty { padding: 40px 0; text-align: center; }
.status { display: inline-block; padding: 1px 8px; border-radius: 3px; font-size: 12px; background: #eef1f5; color: var(--text-2); white-space: nowrap; }
.status-待审核, .status-待报价 { background: #fff4e5; color: #d46b08; }
.status-待支付 { background: #fff1f0; color: #cf1322; }
.status-待发货, .status-已报价, .status-已通过 { background: #e6f4ff; color: #0958d9; }
.status-待收货, .status-已寄出 { background: #f9f0ff; color: #722ed1; }
.status-已完成, .status-已成交 { background: #f6ffed; color: #389e0d; }
.status-已取消, .status-已关闭, .status-已拒绝 { background: #f2f3f5; color: var(--muted); }

/* ================= 页脚 ================= */
.footer { margin-top: 40px; background: #fff; border-top: 3px solid var(--primary); }
.guarantee { border-bottom: 1px solid var(--line); }
.guarantee-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.guarantee-item { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 22px 8px; }
.g-icon { display: grid; place-items: center; width: 46px; height: 46px; border: 2px solid #555; border-radius: 50%; color: #555; }
.g-icon .icon { width: 22px; height: 22px; }
.guarantee-item strong { display: block; font-size: 16px; }
.guarantee-item small { color: var(--text-2); font-size: 12px; }
.footer-main { display: flex; gap: 30px; padding: 26px 0; }
.footer-cols { flex: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.footer-col dt { margin-bottom: 10px; font-size: 15px; color: #222; }
.footer-col dd { line-height: 26px; font-size: 13px; color: var(--text-2); }
.footer-contact { width: 230px; font-size: 13px; color: var(--text-2); }
.footer-tel-label { color: #222; }
.footer-tel { color: var(--primary); font-size: 24px; font-weight: 700; line-height: 1.3; }
.footer-qrs { display: flex; gap: 12px; }
.footer-qrs figure { text-align: center; font-size: 12px; color: var(--text-2); }
.footer-qrs img { width: 96px; height: 96px; object-fit: contain; border: 1px solid var(--line); }
.footer-index { padding: 14px 0 20px; background: #f5f6f8; font-size: 12px; color: var(--text-2); }
.footer-index > .container:first-child { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 5px; }
.footer-index > .container:first-child a { min-width: 22px; height: 22px; border: 1px solid #dcdfe4; background: #fff; line-height: 20px; text-align: center; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 14px; margin-top: 10px !important; }
.footer-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 14px !important; }
.footer-badges img { height: 42px; border: 1px solid var(--line); border-radius: 4px; }
.footer-bottom { margin-top: 14px !important; text-align: center; line-height: 2; }

/* 左下角留言 */
.msg-widget { position: fixed; left: 16px; bottom: 0; z-index: 55; width: 250px; background: #fff; border-radius: 6px 6px 0 0; box-shadow: 0 0 18px rgba(0, 0, 0, .15); }
.msg-widget-head { display: flex; justify-content: space-between; align-items: center; width: 100%; height: 40px; padding: 0 14px; border: 0; border-radius: 6px 6px 0 0; background: var(--primary); color: #fff; }
.msg-widget-head i { width: 12px; height: 2px; background: #fff; }
.msg-widget.is-collapsed .msg-widget-head i { height: 12px; background: none; border-top: 2px solid #fff; border-left: 2px solid #fff; transform: translateY(3px) rotate(45deg); width: 9px; }
.msg-widget-body { display: flex; flex-direction: column; gap: 8px; padding: 12px; }
.msg-widget.is-collapsed .msg-widget-body { display: none; }
.msg-widget-company { font-size: 12px; color: var(--text-2); }
.msg-widget input, .msg-widget textarea { width: 100%; padding: 6px 10px; border: 1px solid var(--line); border-radius: 3px; font-size: 13px; outline: 0; resize: none; }
.msg-widget input:focus, .msg-widget textarea:focus { border-color: var(--primary); }
.msg-widget .btn { align-self: flex-end; }

/* 右侧工具栏 */
.side-tools { position: fixed; right: 0; top: 50%; z-index: 50; display: flex; flex-direction: column; transform: translateY(-40%); background: #fff; box-shadow: 0 0 12px rgba(0, 0, 0, .1); }
.tool { position: relative; display: grid; place-items: center; width: 48px; height: 48px; border-bottom: 1px solid var(--line); color: var(--text-2); cursor: pointer; }
.tool .icon { width: 22px; height: 22px; }
.tool:hover, .tool-main { background: var(--primary); color: #fff; }
.tool-pop { position: absolute; right: 100%; top: 50%; display: none; min-width: 140px; margin-right: 8px; padding: 10px 14px; border-radius: 4px; transform: translateY(-50%); background: #fff; color: var(--text-2); font-size: 12px; font-style: normal; white-space: nowrap; box-shadow: var(--shadow); }
.tool-pop b { display: block; color: var(--primary); font-size: 15px; }
.tool:hover .tool-pop { display: block; }
.tool-pop-qr { text-align: center; }
.tool-pop-qr img { display: block; width: 120px; height: 120px; margin-bottom: 4px; }
.tool-pop-list { width: 230px; white-space: normal; }
.tool-pop-title { display: block; margin-bottom: 6px; font-size: 13px; color: var(--text); font-weight: 600; }
.tool-pop-list a { display: block; padding: 3px 0; color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tool-top { display: none; }
.tool-top.is-show { display: grid; }
.chat-float { position: fixed; right: 12px; bottom: 16px; z-index: 50; display: flex; flex-direction: column; align-items: center; gap: 2px; width: 58px; padding: 10px 4px; border-radius: 8px; background: var(--danger); color: #fff !important; font-size: 13px; box-shadow: var(--shadow); text-align: center; line-height: 1.2; }
.chat-float .icon { width: 26px; height: 26px; }

/* 弹窗 / 提示 */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px; background: rgba(0, 0, 0, .45); }
.modal-box { position: relative; width: min(560px, 100%); max-height: 90vh; overflow-y: auto; padding: 24px 26px; border-radius: 8px; background: #fff; }
.modal-box h3 { margin-bottom: 16px; font-size: 18px; }
.modal-close { position: absolute; top: 12px; right: 12px; width: 30px; height: 30px; padding: 4px; border: 0; background: none; color: var(--muted); }
.toast { position: fixed; left: 50%; top: 32%; z-index: 300; max-width: 80vw; padding: 13px 24px; border-radius: 6px; background: rgba(0, 0, 0, .8); color: #fff; font-size: 15px; text-align: center; opacity: 0; pointer-events: none; transform: translate(-50%, 8px); transition: opacity .25s, transform .25s; }
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }
.toast.is-error { background: rgba(200, 40, 30, .92); }

/* 表单 */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.form-grid-3 { grid-template-columns: repeat(3, 1fr); }
.form-grid label { display: flex; flex-direction: column; gap: 5px; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid .span-2 { grid-column: span 2; }
.form-grid label > span { color: var(--text-2); font-size: 13px; }
.form-grid em { color: var(--danger); font-style: normal; }
.form-grid input, .form-grid textarea, .form-grid select, select, .checkout textarea { width: 100%; padding: 8px 11px; border: 1px solid #d5dae1; border-radius: 4px; outline: 0; background: #fff; transition: border-color .2s, box-shadow .2s; }
.form-grid input:focus, .form-grid textarea:focus, select:focus, .checkout textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.form-grid textarea { resize: vertical; }
.form-grid input:disabled { background: #f5f6f8; color: var(--muted); }
.form-grid .check-label { flex-direction: row; align-items: center; gap: 6px; color: var(--text-2); }
.form-grid .check-label input { width: auto; }
.form-submit { display: flex; align-items: center; gap: 14px; }
.form-narrow { max-width: 420px; grid-template-columns: 1fr; }
.modal .form-grid { margin-bottom: 18px; }

/* ================= 内页通用 ================= */
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 14px 0; color: var(--text-2); font-size: 13px; }
.breadcrumb em { font-style: normal; color: var(--text); }
.breadcrumb-count { margin-left: auto; }
.breadcrumb-count b { color: var(--danger); }
.panel { padding: 20px 22px; border-radius: 4px; background: #fff; }
.panel + .panel, .content > .panel + .panel { margin-top: 14px; }
.panel-title { margin-bottom: 14px; font-size: 17px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.panel-head .panel-title { margin: 0; }
.empty-box { padding: 60px 20px; text-align: center; color: var(--muted); }
.empty-box p + p { margin-top: 10px; }
.page-banner { padding: 40px 0; background: linear-gradient(120deg, var(--primary), var(--primary-dark)); color: #fff; text-align: center; }
.page-banner h1 { font-size: 28px; letter-spacing: 3px; }
.page-banner p { margin-top: 6px; opacity: .85; }
.layout-side { display: grid; grid-template-columns: 220px 1fr; gap: 16px; align-items: start; }
.layout-side-right { grid-template-columns: 1fr 280px; }
.content { min-width: 0; }
.side { display: flex; flex-direction: column; gap: 14px; }
.side-box { border-radius: 4px; background: #fff; overflow: hidden; }
.side-box h3 { padding: 11px 16px; border-bottom: 1px solid var(--line); background: #fafbfc; font-size: 14px; }
.side-menu a { display: block; padding: 10px 18px; border-bottom: 1px solid var(--line); color: var(--text-2); }
.side-menu a.is-active { color: var(--primary); background: var(--primary-soft); box-shadow: inset 3px 0 0 var(--primary); }
.side-products li a { display: flex; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.side-products img { width: 60px; height: 60px; object-fit: contain; border: 1px solid var(--line); flex-shrink: 0; }
.side-products span { display: flex; flex-direction: column; min-width: 0; font-size: 12px; color: var(--text-2); }
.side-products b { color: var(--primary); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-products em { color: var(--danger); font-style: normal; }
.side-news li { padding: 10px 16px; border-bottom: 1px solid var(--line); font-size: 13px; }
.side-news li a { display: block; }
.side-news time { color: var(--muted); font-size: 12px; }
.page-h2 { margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line); font-size: 20px; }
.table-scroll { overflow-x: auto; }
.seg { display: inline-flex; flex-wrap: wrap; margin-bottom: 14px; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.seg a { padding: 6px 16px; border-right: 1px solid var(--line); font-size: 13px; }
.seg a:last-child { border-right: 0; }
.seg a.is-active { background: var(--primary); color: #fff; }
.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 5px; margin: 24px 0 6px; }
.pager a { min-width: 34px; height: 34px; padding: 0 10px; border: 1px solid #dcdfe4; border-radius: 3px; background: #fff; line-height: 32px; text-align: center; }
.pager a.is-active { border-color: var(--primary); background: var(--primary); color: #fff; }
.pager-gap, .pager-total { color: var(--muted); }
.pager-total { margin-left: 8px; font-size: 13px; }
.letter-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; margin-bottom: 16px; }
.letter-bar a { min-width: 30px; height: 30px; padding: 0 6px; border: 1px solid var(--line); border-radius: 3px; line-height: 28px; text-align: center; }
.letter-bar a.is-active { background: var(--primary); border-color: var(--primary); color: #fff; }
.model-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px 16px; }
.model-grid a { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 13px; color: var(--text-2); }
.rich { line-height: 1.9; word-wrap: break-word; overflow-wrap: anywhere; }
.rich > * + * { margin-top: 12px; }
.rich h2 { font-size: 19px; margin-top: 22px; }
.rich h3 { font-size: 16px; margin-top: 18px; }
.rich h2:first-child, .rich h3:first-child { margin-top: 0; }
.rich ul, .rich ol { padding-left: 22px; }
.rich ul { list-style: disc; }
.rich img { height: auto; }
.rich a { color: var(--primary); text-decoration: underline; }
.rich table { width: 100%; line-height: 1.6; }
.rich td, .rich th { padding: 8px 10px; border: 1px solid var(--line); }
.rich th { background: #f6f8fa; text-align: left; }
.rich .nowrap { white-space: nowrap; overflow-wrap: normal; }
.rich .table-scroll table { min-width: 680px; }
.rich .table-scroll td, .rich .table-scroll th { overflow-wrap: normal; }
.rich blockquote { margin: 0; padding: 8px 14px; border-left: 4px solid var(--primary-line); background: #fafbfc; }

/* ================= 列表 ================= */
.filter-box { padding: 6px 20px; }
.filter-row { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.filter-row:last-child { border-bottom: 0; }
.filter-row > label { flex: 0 0 80px; color: var(--text-2); line-height: 24px; text-align: right; }
.filter-opts { display: flex; flex-wrap: wrap; gap: 6px 10px; }
.filter-opts a { padding: 0 8px; border-radius: 3px; line-height: 24px; color: var(--text-2); }
.filter-opts a.is-active { background: var(--primary); color: #fff; }
.list-panel { margin-top: 14px; padding: 0; overflow: hidden; }
.sort-bar { display: flex; align-items: center; gap: 4px; padding: 10px 16px; border-bottom: 1px solid var(--line); background: #fafbfc; }
.sort-bar a { padding: 3px 12px; border: 1px solid var(--line); border-radius: 3px; background: #fff; font-size: 13px; }
.sort-bar a.is-active { background: var(--primary); border-color: var(--primary); color: #fff; }
.ptable { width: 100%; table-layout: fixed; }
.ptable th { padding: 10px 8px; background: #f2f6fa; color: var(--text-2); font-weight: normal; font-size: 13px; text-align: left; }
.ptable th small { display: block; font-size: 11px; color: var(--muted); }
.ptable td { padding: 14px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; font-size: 13px; }
.prow:hover td { background: #fbfcfe; }
.c-img { width: 90px; }
.c-img img { width: 72px; height: 72px; object-fit: contain; border: 1px solid var(--line); background: #fff; }
.c-model { width: 200px; }
.c-model span { display: block; color: var(--text-2); font-size: 12px; }
.c-model .model { display: block; color: var(--primary); font-weight: 600; font-size: 14px; word-break: break-all; }
.c-model .ds { display: inline-block; margin-top: 2px; color: #d9363e; }
.c-model .ds .icon { width: 18px; height: 18px; }
.c-brand { width: 120px; }
.c-stock { width: 130px; }
.c-stock span { display: block; color: var(--text-2); }
.c-stock b { color: var(--text); }
.c-tiers { width: 170px; }
.c-tiers dl { display: grid; grid-template-columns: auto 1fr; gap: 0 10px; font-size: 12px; line-height: 1.75; }
.c-tiers dt { color: var(--text-2); text-align: right; }
.c-tiers dd { color: var(--danger); }
.c-lead { width: 100px; color: var(--text-2); }
.c-lead .ch { display: block; margin-top: 2px; font-style: normal; font-size: 12px; color: var(--accent); }
.c-qty { width: 128px; }
.c-qty .sum { display: block; margin-top: 6px; font-size: 12px; color: var(--text-2); }
.c-qty .sum b { color: var(--danger); }
.c-act { width: 100px; }
.c-act .btn { display: flex; width: 100%; margin-bottom: 6px; }
.c-act .link { display: block; text-align: center; font-size: 12px; }
.qty { display: inline-flex; height: 34px; border: 1px solid #d5dae1; border-radius: 3px; overflow: hidden; background: #fff; }
.qty button { width: 30px; border: 0; background: #f5f6f8; font-size: 16px; }
.qty button:hover { background: #e9ecf0; }
.qty input { width: 60px; border: 0; border-left: 1px solid #d5dae1; border-right: 1px solid #d5dae1; text-align: center; outline: 0; -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-inner-spin-button, .qty input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.qty-sm { height: 28px; }
.qty-sm button { width: 24px; font-size: 14px; }
.qty-sm input { width: 58px; font-size: 13px; }
.brand-intro { display: flex; gap: 26px; margin-bottom: 14px; }
.brand-intro-logo { flex: 0 0 200px; display: grid; place-items: center; height: 110px; border: 1px solid var(--line); }
.brand-intro-logo img { max-height: 90px; }
.brand-intro-body h1 { font-size: 22px; margin-bottom: 8px; }
.brand-intro-body h3 { font-size: 14px; color: var(--primary); }
.brand-intro-body p { margin-top: 6px; color: var(--text-2); }
.brand-related a { margin-right: 12px; color: var(--primary); }

/* ================= 商品详情 ================= */
.pd { display: grid; grid-template-columns: 340px 1fr 250px; gap: 26px; }
.pd-main { aspect-ratio: 1 / 1; border: 1px solid var(--line); display: grid; place-items: center; background: #fff; }
.pd-main img { width: 100%; height: 100%; object-fit: contain; }
.pd-thumbs { display: flex; gap: 8px; margin-top: 10px; }
.pd-thumbs button { width: 60px; height: 60px; padding: 0; border: 2px solid var(--line); background: #fff; }
.pd-thumbs button.is-active, .pd-thumbs button:hover { border-color: var(--primary); }
.pd-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.pd-note { margin-top: 8px; font-size: 12px; color: var(--muted); text-align: center; }
.pd-model { font-size: 24px; color: #222; word-break: break-all; }
.pd-title { margin-top: 4px; color: var(--text-2); font-size: 13px; }
.pd-attrs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px 14px; margin: 14px 0; font-size: 13px; }
.pd-attrs > div { display: flex; gap: 6px; min-width: 0; }
.pd-attrs dt { flex-shrink: 0; color: var(--muted); }
.pd-attrs dd { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pd-attrs dd a { color: var(--primary); }
.pd-buybox { padding: 16px 18px; background: #fff7f2; border: 1px solid #ffe2d1; }
.pd-price-row, .pd-qty-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.pd-qty-row { margin-top: 12px; }
.label { color: var(--text-2); }
.pd-price { margin-right: 22px; color: var(--danger); font-size: 22px; }
.pd-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.pd-consult { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 14px; font-size: 13px; color: var(--text-2); }
.pd-consult span { display: inline-flex; align-items: center; gap: 4px; }
.pd-consult a { color: var(--primary); }
.qq-btn { display: inline-flex; align-items: center; gap: 4px; padding: 1px 10px; border-radius: 12px; background: var(--primary); color: #fff !important; }
.pd-tiers table { width: 100%; font-size: 13px; }
.pd-tiers th { padding: 9px 10px; background: #f2f6fa; font-weight: normal; color: var(--text-2); text-align: left; }
.pd-tiers td { padding: 8px 10px; border-bottom: 1px dashed var(--line); }
.pd-tiers td:last-child { color: var(--danger); text-align: right; }
.pd-tiers th:last-child { text-align: right; }
.pd-layout { display: grid; grid-template-columns: 1fr 260px; gap: 16px; margin-top: 16px; align-items: start; }
.pd-section + .pd-section { margin-top: 14px; }
.tab-title { margin: -20px -22px 18px; border-bottom: 1px solid var(--line); font-size: 14px; }
.tab-title span { display: inline-block; padding: 10px 22px; border-top: 2px solid var(--primary); color: var(--primary); background: #fff; margin-bottom: -1px; }
.spec-table { width: 100%; font-size: 13px; }
.spec-table th, .spec-table td { padding: 8px 12px; border: 1px solid var(--line); }
.spec-table th { width: 32%; background: #fafbfc; font-weight: normal; color: var(--text-2); text-align: right; }
.spec-group th { background: #eef2f6 !important; color: var(--text) !important; font-weight: 600 !important; text-align: left !important; }
.spec-table a { color: var(--primary); }
.pd-faq { background: #f8fafc; }
.faq-title { margin-bottom: 14px; font-size: 20px; text-align: center; font-weight: normal; }

/* ================= 分类 / 品牌 ================= */
.all-categories { padding-top: 6px; padding-bottom: 6px; }
.cat-block { padding: 16px 0; border-bottom: 1px dashed var(--line); }
.cat-block:last-child { border-bottom: 0; }
.cat-block h2 { margin-bottom: 10px; font-size: 15px; }
.cat-block h2 a { color: var(--text); }
.cat-block h2 a:hover { color: var(--primary); }
.cat-block-links { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px 16px; padding-left: 22px; font-size: 13px; }
.cat-block-links a { overflow: hidden; color: var(--text-2); white-space: nowrap; text-overflow: ellipsis; }
.cat-block-links a:hover { color: var(--primary); }
.brand-index { margin-top: 26px; }
.brand-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.brand-grid > a { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 10px 10px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.brand-grid > a:hover { box-shadow: inset 0 0 0 2px var(--primary); }
.brand-grid-logo { display: grid; place-items: center; width: 100%; height: 58px; }
.brand-grid-logo img { max-width: 100%; max-height: 54px; }
.brand-grid-logo b { color: var(--text-2); font-size: 16px; }
.brand-grid-name { max-width: 100%; overflow: hidden; color: var(--text-2); font-size: 12px; white-space: nowrap; text-overflow: ellipsis; }
.brand-tag { position: absolute; top: 0; right: 0; padding: 1px 6px; border-radius: 0 0 0 6px; background: var(--accent); color: #fff; font-size: 11px; font-style: normal; }
.brand-index .letter-bar + .brand-grid, .brand-grid + .letter-bar { margin-top: 16px; }

/* ================= BOM ================= */
.bom-hero { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.bom-flow { display: flex; align-items: center; gap: 14px; }
.bom-flow-tag { padding: 6px 14px; border-radius: 3px; background: var(--primary); color: #fff; font-weight: 600; }
.bom-flow-steps { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.bom-flow-steps i { color: var(--muted); font-style: normal; }
.bom-steps { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; font-size: 13px; color: var(--text-2); }
.bom-steps li { display: flex; align-items: center; gap: 6px; }
.bom-steps i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); font-style: normal; font-weight: 700; font-size: 12px; }
.tabs-head { display: flex; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.tabs-head button { padding: 9px 20px; border: 0; background: none; border-bottom: 2px solid transparent; margin-bottom: -1px; color: var(--text-2); }
.tabs-head button.is-active { color: var(--primary); border-color: var(--primary); }
.bom-input { display: grid; grid-template-columns: 1fr 300px; gap: 20px; }
.bom-left textarea { width: 100%; min-height: 220px; padding: 12px; border: 1px solid #d5dae1; border-radius: 4px; outline: 0; resize: vertical; font-family: Consolas, Menlo, monospace; }
.bom-left textarea:focus { border-color: var(--primary); }
.file-drop { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 220px; border: 2px dashed var(--primary-line); border-radius: 6px; background: var(--primary-soft); cursor: pointer; }
.file-drop .icon { width: 36px; height: 36px; color: var(--primary); }
.bom-actions { display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin-top: 12px; }
.bom-actions .check { margin-right: auto; color: var(--text-2); }
.bom-right { padding: 14px 16px; border-radius: 4px; background: #f8fafc; font-size: 13px; color: var(--text-2); }
.bom-right h3 { margin-bottom: 8px; font-size: 14px; color: var(--text); }
.bom-right h4 { margin: 10px 0 6px; font-size: 13px; color: var(--text); }
.bom-example { width: 100%; background: #fff; }
.bom-example th, .bom-example td { padding: 4px 10px; border: 1px solid var(--line); text-align: left; }
.bom-tips { margin-top: 14px; padding: 12px 14px; border-radius: 4px; background: #fffbe6; font-size: 13px; color: #8a6100; }
.bom-table { width: 100%; font-size: 13px; }
.bom-table th { padding: 9px 8px; background: #f2f6fa; font-weight: normal; color: var(--text-2); text-align: left; white-space: nowrap; }
.bom-table td { padding: 9px 8px; border-bottom: 1px solid var(--line); }
.bom-table .ok { color: #389e0d; }
.bom-table .no { color: var(--danger); }
.bom-table .bom-qty { width: 90px; padding: 3px 6px; border: 1px solid #d5dae1; border-radius: 3px; }
.bom-result-actions { display: flex; justify-content: flex-end; margin-top: 14px; }

/* ================= 购物车 / 结算 ================= */
.steps-bar { display: flex; margin: 18px 0; background: #fff; }
.steps-bar span { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; height: 46px; color: var(--muted); position: relative; }
.steps-bar i { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #dcdfe4; color: #fff; font-style: normal; font-size: 13px; }
.steps-bar .is-active { color: var(--primary); font-weight: 600; box-shadow: inset 0 -3px 0 var(--primary); }
.steps-bar .is-active i, .steps-bar .is-done i { background: var(--primary); }
.cart-loading { padding: 50px; text-align: center; color: var(--muted); }
.cart-empty { padding: 60px 20px; text-align: center; }
.cart-empty > .icon { width: 60px; height: 60px; color: #d0d6de; }
.cart-empty p { margin: 12px 0 18px; color: var(--text-2); font-size: 16px; }
.cart-table { width: 100%; font-size: 13px; }
.cart-table th { padding: 10px 8px; background: #f2f6fa; color: var(--text-2); font-weight: normal; text-align: left; white-space: nowrap; }
.cart-table td { padding: 12px 8px; border-bottom: 1px solid var(--line); }
.c-check { width: 36px; }
.cart-prod { display: flex; align-items: center; gap: 10px; }
.cart-prod img { width: 54px; height: 54px; object-fit: contain; border: 1px solid var(--line); flex-shrink: 0; }
.cart-prod small { display: block; color: var(--muted); }
.cart-table .sub { color: var(--danger); font-weight: 600; }
.cart-table .tier-tip { display: block; color: var(--muted); font-size: 11px; }
.cart-summary { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding-top: 14px; }
.cart-summary-left { display: flex; gap: 16px; align-items: center; color: var(--text-2); }
.cart-summary-right { display: flex; align-items: center; gap: 18px; }
.cart-summary-right b { color: var(--danger); }
.cart-summary-right strong { color: var(--danger); font-size: 22px; }
.cart-notice { margin-top: 14px; font-size: 13px; color: var(--text-2); }
.cart-notice h3 { margin-bottom: 8px; font-size: 15px; color: var(--text); }
.address-list { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 14px; }
.address-card { position: relative; display: flex; gap: 10px; width: 280px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 4px; font-size: 13px; color: var(--text-2); cursor: pointer; }
.address-card:has(input:checked), .address-card.is-default { border-color: var(--primary); background: var(--primary-soft); }
.address-card b { color: var(--text); }
.address-new { align-items: center; justify-content: center; color: var(--primary); }
.address-actions { position: absolute; right: 12px; bottom: 10px; display: flex; gap: 10px; font-size: 12px; }
.address-actions form { display: inline; }
.checkout-grid { display: grid; grid-template-columns: 1fr 340px; gap: 30px; margin-top: 14px; }
.radio-row { display: flex; flex-wrap: wrap; gap: 18px; margin-bottom: 10px; }
.checkout-sum { padding: 18px; border-radius: 4px; background: #fafbfc; }
.checkout-sum p { display: flex; justify-content: space-between; margin-bottom: 10px; }
.checkout-total { padding-top: 10px; border-top: 1px solid var(--line); }
.checkout-total strong { color: var(--danger); font-size: 24px; }
.checkout-sum .btn { margin: 14px 0 8px; }

/* ================= 领券 ================= */
.coupon-hero { padding: 54px 0; background: linear-gradient(120deg, #d9381e, #b51d10); color: #fde6b0; text-align: center; }
.coupon-hero h1 { font-size: 42px; letter-spacing: 4px; text-shadow: 0 3px 0 rgba(0, 0, 0, .15); }
.coupon-hero p { margin-top: 10px; font-size: 18px; color: #fff; }
.coupon-hero small { display: block; margin-top: 16px; color: #ffd9c9; }
.coupon-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 22px; }
.coupon-grid-sm { grid-template-columns: repeat(2, 1fr); margin-top: 6px; }
.coupon { display: flex; align-items: stretch; overflow: hidden; border-radius: 8px; background: linear-gradient(120deg, var(--primary), var(--primary-dark)); color: #fff; }
.coupon-gift { background: linear-gradient(120deg, #ff7a3d, #e8430f); }
.coupon.is-out { filter: grayscale(1); opacity: .7; }
.coupon-amount { display: flex; align-items: baseline; justify-content: center; flex: 0 0 110px; padding: 22px 6px; border-right: 2px dashed rgba(255, 255, 255, .4); font-size: 36px; font-weight: 700; }
.coupon-amount small { font-size: 16px; }
.coupon-body { flex: 1; display: flex; flex-direction: column; gap: 3px; padding: 16px 12px; min-width: 0; }
.coupon-body strong { font-size: 15px; }
.coupon-body span, .coupon-body small { font-size: 12px; opacity: .9; }
.coupon-progress { display: block; height: 4px; margin-top: 4px; border-radius: 2px; background: rgba(255, 255, 255, .3); }
.coupon-progress i { display: block; height: 100%; border-radius: 2px; background: #fff; }
.coupon-act { display: grid; place-items: center; padding: 0 14px; }
.coupon-rules { margin-top: 20px; }
.coupon-rules h3 { margin-bottom: 8px; }
.coupon-rules ol { padding-left: 20px; color: var(--text-2); line-height: 2; }

/* ================= 样片 ================= */
.samples-layout { display: grid; grid-template-columns: 1fr 240px; gap: 16px; align-items: start; }
.samples-main .panel + .panel { margin-top: 14px; }
.block-title { margin-bottom: 14px; padding-left: 10px; border-left: 4px solid var(--primary); font-size: 16px; line-height: 1.1; }
.sample-recommend { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.sample-card { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; text-align: center; }
.sample-card img { width: 100%; aspect-ratio: 1; object-fit: contain; border: 1px solid var(--line); }
.sample-card span { max-width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.sample-search { display: flex; justify-content: center; gap: 10px; }
.sample-search input { width: min(360px, 100%); padding: 7px 12px; border: 1px solid #d5dae1; border-radius: 3px; outline: 0; }
.sample-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.sample-bar .seg { margin: 0; }
.sample-bar .btn { margin-left: auto; }
.sample-list li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--text-2); }
.sample-list .model { color: var(--primary); font-weight: 600; }
.sample-apply { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex-shrink: 0; }
.sample-contact { padding: 22px 16px; border-radius: 4px; background: linear-gradient(160deg, #1b6fd8, #0b3d8c); color: #fff; text-align: center; }
.sample-contact strong { display: block; margin-bottom: 10px; font-size: 26px; letter-spacing: 3px; }
.sample-contact p { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 13px; }
.record-list li { display: flex; justify-content: space-between; gap: 10px; padding: 7px 14px; font-size: 12px; color: var(--text-2); }

/* ================= 代理商入驻 ================= */
.channel-hero { padding: 70px 0; background: radial-gradient(circle at 75% 40%, #1f5fb8 0, transparent 45%), linear-gradient(120deg, #071a3d, #0d2f6b); color: #fff; text-align: center; }
.channel-tag { display: inline-block; padding: 4px 14px; border: 1px solid rgba(255, 255, 255, .6); letter-spacing: 6px; }
.channel-hero h1 { margin: 18px 0 26px; font-size: 46px; letter-spacing: 6px; color: #f3dcae; }
.channel-intro { padding: 40px 0 10px; text-align: center; }
.channel-intro > p { max-width: 760px; margin: 0 auto 26px; color: var(--text-2); }
.channel-intro h2, .channel-flow h2 { font-size: 24px; font-weight: normal; }
.channel-intro small, .channel-flow > .container > small { display: block; margin: 6px 0 22px; color: var(--muted); }
.channel-feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.channel-feats div { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 26px 10px; border: 1px solid var(--line); background: #fff; font-size: 18px; }
.channel-feats .icon { width: 36px; height: 36px; color: var(--primary); }
.channel-flow { margin-top: 30px; padding: 36px 0; background: #eef1f5; text-align: center; }
.channel-flow h2 b { color: var(--primary); font-weight: normal; }
.channel-flow ol { display: flex; justify-content: center; gap: 70px; list-style: none; }
.channel-flow li { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 200px; }
.channel-flow li span { display: grid; place-items: center; width: 90px; height: 90px; border-radius: 50%; background: #fff; color: var(--primary); box-shadow: var(--shadow); }
.channel-flow li span .icon { width: 40px; height: 40px; }
.channel-flow li small { color: var(--muted); font-size: 12px; }
.channel-form { margin-top: 30px; }
.channel-form h2 { margin-bottom: 20px; font-size: 22px; text-align: center; font-weight: normal; }

/* ================= 新闻 / 单页 ================= */
.news-tabs-bar { display: flex; gap: 6px; padding: 10px 16px; margin-bottom: 14px; }
.news-tabs-bar a { padding: 4px 14px; border-radius: 3px; }
.news-tabs-bar a.is-active { background: var(--primary); color: #fff; }
.article-item { display: flex; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.article-item:first-child { padding-top: 0; }
.article-cover { flex: 0 0 200px; aspect-ratio: 16 / 10; overflow: hidden; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.article-title { font-size: 17px; font-weight: 600; color: #222; }
.article-meta { font-size: 12px; color: var(--muted); }
.article-summary { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--text-2); font-size: 13px; }
.article { padding: 30px 36px; }
.article-h1 { font-size: 24px; line-height: 1.4; text-align: center; color: #222; }
.article-info { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; margin: 12px 0 22px; padding-bottom: 14px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.article-nav { margin-top: 30px; padding-top: 14px; border-top: 1px solid var(--line); line-height: 2; font-size: 13px; }
.contact-panel { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; }
.contact-info h2 { margin-bottom: 12px; font-size: 20px; }
.contact-info p { display: flex; align-items: center; gap: 8px; line-height: 2.1; color: var(--text-2); }
.contact-info .icon { color: var(--primary); }
.contact-qrs { display: flex; gap: 16px; }
.contact-qrs figure { text-align: center; font-size: 13px; color: var(--text-2); }
.contact-qrs img { width: 130px; height: 130px; object-fit: contain; border: 1px solid var(--line); }
.timeline { position: relative; list-style: none; padding: 10px 0 10px 120px; }
.timeline::before { content: ""; position: absolute; left: 96px; top: 0; bottom: 0; width: 2px; background: var(--primary-line); }
.timeline li { position: relative; padding: 0 0 30px 26px; }
.timeline li::before { content: ""; position: absolute; left: -31px; top: 6px; width: 12px; height: 12px; border: 3px solid var(--primary); border-radius: 50%; background: #fff; }
.timeline-year { position: absolute; left: -120px; top: 0; width: 80px; color: var(--primary); font-size: 22px; font-weight: 700; text-align: right; }
.timeline-body h3 { font-size: 17px; margin-bottom: 6px; }
.timeline-body p { color: var(--text-2); }
.timeline-body img { margin-top: 10px; max-width: 360px; border-radius: 4px; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-item { display: block; overflow: hidden; border: 1px solid var(--line); }
.gallery-item img { width: 100%; aspect-ratio: 10 / 7; object-fit: cover; transition: transform .4s; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item span { display: block; padding: 8px; text-align: center; font-size: 13px; }
.lightbox { position: fixed; inset: 0; z-index: 250; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 30px; background: rgba(0, 0, 0, .85); color: #fff; }
.lightbox img { max-width: 92vw; max-height: 82vh; }
.lightbox-close { position: absolute; top: 18px; right: 18px; width: 36px; height: 36px; border: 0; background: none; color: #fff; }
.not-found { margin: 20px 0; padding: 80px 20px; text-align: center; }
.not-found strong { display: block; color: var(--primary); font-size: 90px; line-height: 1; }
.not-found p { margin: 14px 0 24px; color: var(--text-2); font-size: 16px; }

/* ================= 登录 / 注册 ================= */
.auth-page { display: flex; flex-direction: column; min-height: 100vh; }
.auth-header { background: #fff; border-bottom: 1px solid var(--line); }
.auth-header-inner { display: flex; align-items: center; gap: 24px; height: 90px; }
.auth-header h1 { padding-left: 24px; border-left: 1px solid var(--line); font-size: 22px; font-weight: normal; }
.auth-header-right { margin-left: auto; display: flex; gap: 12px; font-size: 13px; color: var(--text-2); }
.auth-header-right a.is-active { color: var(--primary); }
.auth-main { flex: 1; display: grid; place-items: center; padding: 40px 16px; background: linear-gradient(120deg, var(--primary), var(--primary-dark)); }
.auth-wrap { display: grid; grid-template-columns: 1fr 400px; gap: 50px; align-items: center; width: min(1000px, 100%); }
.auth-single { grid-template-columns: 1fr; max-width: 440px; }
.auth-visual { color: #fff; }
.auth-visual h2 { font-size: 36px; letter-spacing: 3px; }
.auth-visual p { margin: 10px 0 24px; font-size: 18px; opacity: .9; }
.auth-visual li { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 16px; }
.auth-visual .icon { width: 22px; height: 22px; }
.auth-box { padding: 28px 30px; border-radius: 8px; background: #fff; box-shadow: 0 20px 50px rgba(0, 0, 0, .2); }
.auth-box-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 18px; }
.auth-box-head h2 { font-size: 20px; }
.auth-box-head span { font-size: 13px; color: var(--text-2); }
.auth-box-head a { color: var(--primary); }
.auth-field { display: flex; align-items: center; gap: 10px; height: 44px; margin-bottom: 14px; padding: 0 12px; border: 1px solid #d5dae1; border-radius: 4px; }
.auth-field:focus-within { border-color: var(--primary); }
.auth-field .icon { color: var(--muted); }
.auth-field input { flex: 1; min-width: 0; border: 0; outline: 0; }
.auth-row { display: flex; justify-content: space-between; margin-bottom: 18px; font-size: 13px; color: var(--text-2); }
.auth-tip { margin-top: 14px; text-align: center; font-size: 12px; color: var(--muted); }
.auth-label { display: block; margin-bottom: 12px; }
.auth-label > span:first-child { display: block; margin-bottom: 4px; font-size: 13px; color: var(--text-2); }
.auth-label em { color: var(--danger); font-style: normal; margin-right: 2px; }
.auth-label input { width: 100%; height: 40px; padding: 0 12px; border: 1px solid #d5dae1; border-radius: 4px; outline: 0; }
.auth-label input:focus { border-color: var(--primary); }
.captcha-row { display: flex; gap: 10px; }
.captcha-row img { height: 40px; border-radius: 4px; cursor: pointer; }
.auth-agree { margin: 4px 0 16px; font-size: 13px; color: var(--text-2); }
.auth-agree a { color: var(--primary); }
.auth-footer { padding: 18px; text-align: center; font-size: 12px; color: var(--muted); background: #fff; }
.forgot-list { margin: 14px 0 20px; line-height: 2.2; }
.forgot-list li { display: flex; align-items: center; gap: 8px; }
.forgot-list .icon { color: var(--primary); }

/* ================= 会员中心 ================= */
.member-layout { display: grid; grid-template-columns: 210px 1fr; gap: 16px; margin-top: 18px; align-items: start; }
.member-side { border-radius: 4px; background: #fff; overflow: hidden; }
.member-card { padding: 22px 14px; text-align: center; background: linear-gradient(150deg, var(--primary), var(--primary-dark)); color: #fff; }
.member-avatar { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: rgba(255, 255, 255, .2); }
.member-avatar .icon { width: 28px; height: 28px; }
.member-card strong { display: block; margin-top: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.member-card small { opacity: .85; }
.member-menu { padding: 8px 0; border-bottom: 1px solid var(--line); }
.member-menu h4 { padding: 6px 18px; font-size: 13px; color: var(--muted); font-weight: normal; }
.member-menu a { display: flex; align-items: center; gap: 8px; padding: 8px 18px; font-size: 14px; color: var(--text-2); }
.member-menu a.is-active { color: var(--primary); background: var(--primary-soft); box-shadow: inset 3px 0 0 var(--primary); }
.member-main { min-width: 0; }
.member-main > .panel + .panel, .member-main > * + .panel { margin-top: 14px; }
.member-welcome { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.member-welcome h2 { font-size: 20px; margin-bottom: 4px; }
.member-stats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-top: 14px; }
.member-stats .panel { margin: 0; text-align: center; }
.member-stats b { display: block; color: var(--primary); font-size: 24px; }
.member-stats span { font-size: 13px; color: var(--text-2); }
.data-table { width: 100%; font-size: 13px; }
.data-table th { padding: 9px 10px; background: #f2f6fa; font-weight: normal; color: var(--text-2); text-align: left; }
.data-table td { padding: 10px; border-bottom: 1px solid var(--line); }
.data-table a { color: var(--primary); }
.order-card { margin-bottom: 12px; border: 1px solid var(--line); border-radius: 4px; }
.order-card-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; padding: 8px 14px; background: #f7f9fb; font-size: 13px; color: var(--text-2); }
.order-card-head a { color: var(--primary); }
.order-card-head .status { margin-left: auto; }
.order-card-body { display: flex; align-items: center; gap: 16px; padding: 12px 14px; }
.order-card-items { flex: 1; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: var(--text-2); }
.order-card-items b { color: var(--text); }
.order-card-total b { color: var(--danger); font-size: 16px; }
.order-card .alert { margin: 0 14px 12px; }
.order-success { display: flex; align-items: center; gap: 18px; margin-bottom: 14px; border: 1px solid #b7ebc6; background: #f3fdf6; }
.order-success h2 { font-size: 20px; color: #18794e; }
.success-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: #19a05a; color: #fff; font-size: 28px; flex-shrink: 0; }
.order-steps { display: flex; list-style: none; margin: 6px 0 18px; }
.order-steps li { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; position: relative; font-size: 13px; color: var(--muted); }
.order-steps li::before { content: ""; position: absolute; top: 12px; left: -50%; right: 50%; height: 2px; background: var(--line); }
.order-steps li:first-child::before { display: none; }
.order-steps i { position: relative; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #dcdfe4; color: #fff; font-style: normal; font-size: 12px; }
.order-steps .is-done { color: var(--primary); }
.order-steps .is-done i, .order-steps .is-done::before { background: var(--primary); }
.pay-box { margin-bottom: 14px; padding: 14px 18px; border: 1px dashed var(--primary-line); border-radius: 4px; background: var(--primary-soft); }
.pay-box h3 { margin-bottom: 6px; font-size: 15px; }
.price-lg { color: var(--danger); font-size: 22px; }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 20px; margin-bottom: 16px; font-size: 13px; }
.info-grid .full { grid-column: 1 / -1; }
.info-grid .span-2 { grid-column: span 2; }
.info-grid dt { color: var(--muted); }
.info-grid dd { word-break: break-word; }
.order-sum { margin-top: 14px; text-align: right; line-height: 2; }
.order-sum .checkout-total { border: 0; }
.order-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 16px; }
.order-actions form { display: inline; }
.invite-code { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-bottom: 16px; padding: 18px; border-radius: 6px; background: var(--primary-soft); }
.invite-code span { display: block; color: var(--text-2); font-size: 13px; }
.invite-code b { color: var(--primary); font-size: 28px; letter-spacing: 4px; }
.invite-link { flex: 1; display: flex; gap: 8px; min-width: 260px; }
.invite-link input { flex: 1; min-width: 0; padding: 8px 10px; border: 1px solid #d5dae1; border-radius: 4px; background: #fff; }

/* ================= 响应式 ================= */
@media (max-width: 1240px) {
  .slider-arrow.prev { left: calc(var(--side-w) + 24px); }
  .slider-arrow.next { right: 266px; }
  .top-ad-close { right: 16px; }
}
@media (max-width: 1100px) {
  .pd { grid-template-columns: 300px 1fr; }
  .pd-tiers { grid-column: 1 / -1; }
  .home-news { grid-template-columns: 1fr 340px; }
  .home-news-pics { display: none; }
  .tiles { grid-template-columns: repeat(4, 1fr); }
  .tiles > :nth-child(n + 9) { display: none; }
  .brand-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .hero-panel { display: none; }
  .slider-arrow.next { right: 16px; }
  .nav-links > li > a { padding: 0 10px; font-size: 14px; }
  .ptable .c-lead, .ptable .c-brand { display: none; }
  .member-stats { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  :root { --hero-h: 180px; }
  .topbar-left .topbar-welcome, .topbar-right > li:not(.dropdown) { display: none; }
  .top-ad { height: 50px; }
  .header-inner { flex-wrap: wrap; gap: 10px; padding: 12px 0; }
  .logo-icon { height: 40px; }
  .logo-text strong { font-size: 19px; letter-spacing: 1px; }
  .logo-text small, .logo-text em { display: none; }
  .mini-cart { margin-left: auto; }
  .mini-cart-btn span, .mini-cart-btn > .icon:last-child { display: none; }
  .mini-cart-panel { display: none !important; }
  .menu-toggle { display: block; }
  .search { order: 3; flex-basis: 100%; max-width: none; margin: 0; }
  .search-form button span, .bom-btn span { display: none; }
  .search-form button, .bom-btn { padding: 0 14px; }
  .navbar-inner { height: auto; }
  .all-cats { display: none; }
  .nav-links { display: none; flex-direction: column; align-items: stretch; margin: 0; padding: 4px 0; }
  .nav-links.is-open { display: flex; }
  .nav-links > li > a { padding: 0 4px; line-height: 42px; height: auto; }
  .nav-links > li > a:hover, .nav-links > li > a.is-active { background: none; color: #fff; font-weight: 600; }
  .nav-sub { position: static; display: block; padding: 0 0 6px 16px; background: none; box-shadow: none; }
  .nav-sub a { color: #fff; padding: 4px 0; font-size: 13px; opacity: .85; }
  .nav-sub a:hover { background: none; }
  .nav-more > a { display: none !important; }
  .nav-badge { position: static; margin-left: 4px; }
  .slider-arrow { display: none; }
  .brand-wall { grid-template-columns: repeat(4, 1fr); }
  .brand-wall a { height: 60px; }
  .floor { flex-direction: column; }
  .floor-promo { flex-basis: auto; flex-direction: row; flex-wrap: wrap; justify-content: flex-start; padding: 16px; background-image: none !important; text-align: left; }
  .floor-promo em { margin: 0 0 0 auto; }
  .floor-promo-link { flex: 1; flex-direction: row; flex-wrap: wrap; align-items: center; }
  .floor-brands, .sample-steps { display: none; }
  .tiles, .tiles-4, .tiles-5 { grid-template-columns: repeat(2, 1fr); border-left: 0; }
  .tiles > :nth-child(n + 9) { display: flex; }
  .tile-img { width: 90px; height: 90px; }
  .floor-samples { flex-direction: column; }
  .sample-rank { border-left: 0; border-top: 1px solid var(--line); flex-basis: auto; }
  .home-news { grid-template-columns: 1fr; }
  .deals { border-left: 0; border-top: 1px solid var(--line); }
  .guarantee-inner { grid-template-columns: repeat(2, 1fr); }
  .guarantee-item { justify-content: flex-start; padding: 14px 6px; }
  .footer-main { flex-direction: column; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .footer-contact { width: auto; }
  .msg-widget { left: 8px; width: 200px; }
  .side-tools { display: none; }
  .chat-float { bottom: 60px; }
  .form-grid, .form-grid-3 { grid-template-columns: 1fr; }
  .form-grid .span-2 { grid-column: auto; }
  .breadcrumb-count { margin-left: 0; width: 100%; }
  .layout-side, .layout-side-right, .pd-layout, .samples-layout, .member-layout, .checkout-grid, .bom-input { grid-template-columns: 1fr; }
  .filter-row { flex-direction: column; gap: 4px; }
  .filter-row > label { flex-basis: auto; text-align: left; }
  .sort-bar { flex-wrap: wrap; }
  .ptable thead { display: none; }
  .ptable, .ptable tbody, .ptable tr, .ptable td { display: block; width: auto !important; }
  .prow { position: relative; display: grid !important; grid-template-columns: 80px 1fr; gap: 4px 12px; padding: 12px; border-bottom: 1px solid var(--line); }
  .ptable td { padding: 0; border: 0; }
  .ptable .c-img { grid-row: span 3; }
  .ptable .c-img img { width: 76px; height: 76px; }
  .ptable .c-brand, .ptable .c-lead { display: block; }
  .ptable .c-tiers, .ptable .c-qty, .ptable .c-act { grid-column: 1 / -1; }
  .ptable .c-tiers dl { grid-template-columns: repeat(3, auto 1fr); }
  .ptable .c-act { display: flex; gap: 8px; align-items: center; }
  .ptable .c-act .btn { width: auto; margin: 0; }
  .pd { grid-template-columns: 1fr; }
  .pd-attrs { grid-template-columns: repeat(2, 1fr); }
  .model-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-block-links { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-left: 0; }
  .brand-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .brand-intro { flex-direction: column; }
  .brand-intro-logo { flex-basis: auto; }
  .coupon-grid, .coupon-grid-sm { grid-template-columns: 1fr; }
  .coupon-hero h1 { font-size: 28px; }
  .sample-recommend { grid-template-columns: repeat(3, 1fr); }
  .channel-hero h1 { font-size: 28px; }
  .channel-feats { grid-template-columns: repeat(2, 1fr); }
  .channel-flow ol { flex-direction: column; align-items: center; gap: 20px; }
  .article-item { flex-direction: column; }
  .article-cover { flex-basis: auto; }
  .article { padding: 20px 16px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { padding-left: 70px; }
  .timeline::before { left: 54px; }
  .timeline-year { left: -76px; width: 50px; font-size: 16px; }
  .auth-header-inner { height: 64px; }
  .auth-header h1 { display: none; }
  .auth-wrap { grid-template-columns: 1fr; gap: 20px; }
  .auth-visual { display: none; }
  .auth-box { padding: 22px 18px; }
  .member-stats { grid-template-columns: repeat(3, 1fr); }
  .member-side { display: grid; grid-template-columns: 1fr; }
  .member-menu { display: flex; flex-wrap: wrap; }
  .member-menu h4 { width: 100%; }
  .member-menu a { padding: 6px 12px; }
  .info-grid { grid-template-columns: 1fr; }
  .info-grid .span-2 { grid-column: auto; }
  .order-card-body { flex-wrap: wrap; }
  .steps-bar span { font-size: 12px; }
  .cart-summary, .cart-summary-right { flex-direction: column; align-items: stretch; }
}
