:root {
  --brand: #a4e4c7;
  --brand-dark: #8ed3b4;
  --brand-ink: #187a52;
  --hover: #187a52;
  --hover-bg: #f3fbf7;
  --hover-bg: color-mix(in srgb, var(--hover) 6%, #fff);
  --on-brand: #14382c;
  --ink: #566379;
  --muted: #8991a0;
  --label: #939aa8;
  --total: #fb4e5b;
  --chip: #f5f6f9;
  --line: #e5e7eb;
  --bg: #f7f7f7;
  --card: #fff;
  --price: var(--brand-ink);
  --ok: #067647;
  --warn: #b54708;
  --radius: 8px;
  --shadow: 0 1px 4px rgba(0, 0, 0, .04);
  --max: 1400px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-size: 14px;
  line-height: 21px;
  font-weight: 400;
}
#app { min-height: 100vh; display: flex; flex-direction: column; }
#main { flex: 1 0 auto; }
img { max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--brand-ink); outline-offset: 2px; }
.skip {
  position: absolute; left: -999px; top: 8px;
  background: #fff; padding: 8px 12px; z-index: 20;
}
.skip:focus { left: 8px; }
.container { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.load-error { margin: 48px auto; max-width: 640px; background: #fff; padding: 24px; border-radius: var(--radius); }

.topbar { background: #fff; color: var(--ink); font-size: 12px; line-height: 18px; border-bottom: 1px solid #f2f2f2; }
.topbar-inner, .header-main { display: flex; align-items: center; }
.topbar-inner { min-height: 40px; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; }
.topbar a, .text-btn { color: var(--ink); font-size: 12px; }
.topbar a:hover, .text-btn:hover, .nav-links > a:hover { color: var(--hover); }
.nav-links > a.active { color: var(--brand-ink); }
.text-btn { border: 0; background: transparent; padding: 0; font-size: 12px; }
.top-links, .nav-links { display: flex; align-items: center; gap: 40px; }
.top-drop { position: relative; }
.top-drop-toggle { display: inline-flex; align-items: center; gap: 4px; height: 40px; }
.top-drop-toggle i {
  width: 0; height: 0; border-left: 3px solid transparent; border-right: 3px solid transparent;
  border-top: 4px solid currentColor;
}
.top-drop-menu {
  display: none; position: absolute; top: 100%; right: 0; z-index: 40; min-width: 160px;
  background: #fff; border: 1px solid #ededed; border-radius: 10px;
  box-shadow: 0 0 27px 3px rgba(86, 99, 121, .2); padding: 4px 0;
}
.top-drop:hover .top-drop-menu, .top-drop:focus-within .top-drop-menu { display: block; }
.top-drop-menu a { display: block; padding: 8px 16px; color: #333; font-size: 12px; line-height: 19px; }
.top-drop-menu a:hover { color: var(--hover); }
.demo-tag {
  margin: 0 8px; padding: 0 6px; border-radius: 999px;
  background: #f3f4f6; color: #888;
}

.header { background: #fff; padding-top: 8px; }
.header-main { min-height: 78px; gap: 28px; }
.logo-link { color: var(--brand-ink); --logo-ink: #fff; flex: 0 0 auto; }
.logo { height: 40px; width: auto; display: block; }
.search {
  flex: 1; display: flex; min-width: 0; max-width: 680px; height: 44px;
  border: 2px solid var(--brand); border-radius: 999px; overflow: hidden; background: #fff;
}
.search input {
  flex: 1; min-width: 0; height: 40px; margin: auto 0; border: 0; padding: 0 18px;
  background: transparent; outline: none; font-size: 12px; color: var(--ink);
}
.search button {
  width: 110px; border: 0; background: var(--brand); color: var(--on-brand); display: grid; place-items: center;
}
.search button:hover { background: var(--brand-dark); }
.cart-link {
  display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px;
  border: 0; border-radius: 999px; color: var(--brand-ink); white-space: nowrap; background: #e7f6ef; font-size: 14px; font-weight: 400;
}
.cart-link strong {
  min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;
  background: #ff4d4f; color: #fff; display: inline-grid; place-items: center; font-size: 12px;
}
.nav-toggle {
  display: none; width: 42px; height: 42px; border: 1px solid var(--line); background: #fff; border-radius: 8px;
}
.nav-toggle span, .nav-toggle span:before, .nav-toggle span:after {
  display: block; width: 16px; height: 2px; background: var(--ink); position: relative; margin: 0 auto;
}
.nav-toggle span:before, .nav-toggle span:after { content: ""; position: absolute; left: 0; }
.nav-toggle span:before { top: -5px; }
.nav-toggle span:after { top: 5px; }

.main-nav { background: #fff; }
.main-nav > .container { display: flex; align-items: center; gap: 28px; min-height: 56px; }
.nav-links > a { display: flex; align-items: center; height: 35px; font-size: 16px; font-weight: 700; color: var(--menu, #000); }
.nav-hot {
  margin-right: 4px; padding: 0 4px; border-radius: 2px; background: #ff6f05; color: #fff;
  font-size: 11px; font-style: normal; line-height: 16px; font-weight: 700;
}
.nav-links > a.active .nav-hot, .nav-links > a:hover .nav-hot { color: #fff; }
.nav-cat { position: relative; flex: 0 0 auto; }
.cat-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; min-width: 148px; padding: 0 18px;
  border-radius: 6px; background: var(--brand); color: var(--on-brand); font-size: 16px; font-weight: 700;
}
.cat-btn:hover { background: var(--brand-dark); color: var(--on-brand); }
.nav-cat-panel {
  display: none; position: absolute; top: 44px; left: 0; z-index: 20; width: 240px;
  max-height: min(70vh, 560px); overflow: auto;
  background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .08); padding: 8px 0 10px;
}
.nav-cat:hover .nav-cat-panel, .nav-cat:focus-within .nav-cat-panel { display: block; }
.panel-group { position: static; }
.panel-group + .panel-group { margin-top: 6px; border-top: 1px solid #f5f5f5; padding-top: 6px; }
.panel-parent {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  min-height: 36px; padding: 8px 16px; color: #000; font-size: 14px; font-weight: 700;
}
.panel-parent span:last-child { color: #566379; font-size: 16px; font-weight: 400; }
.panel-group:hover > .panel-parent,
.panel-group:focus-within > .panel-parent { color: var(--hover); background: var(--hover-bg); }
.nav-cat-sub {
  display: block; min-height: 30px; padding: 6px 16px 6px 28px; color: #566379; font-size: 13px; font-weight: 400;
}
.nav-cat-sub:hover { color: var(--hover); background: var(--hover-bg); }

.page { padding: 14px 0 0; }
body[data-page="home"] .page { padding-top: 0; margin-top: 15px; }
@media (min-width: 901px) {
  html { scrollbar-gutter: stable; }
  body[data-page="home"] .header { display: none; }
  /* 内页顶栏、菜单与首页同一位置：顶栏下 15px + 卡片内边距 16px，宽 1400 再内缩 16px */
  body:not([data-page="home"]) .header { padding-top: 31px; }
  body:not([data-page="home"]) .main-nav > .container,
  body:not([data-page="home"]) .page > .container {
    padding-left: 16px;
    padding-right: 16px;
  }
  .topbar > .container,
  .footer > .container,
  body:not([data-page="home"]) .header > .container:not(.is-stuck) {
    width: min(1368px, calc(100% - 64px));
  }
  body:not([data-page="home"]) .header .logo-link { transform: translateX(30px); }
  body:not([data-page="home"]) .header .search { margin-left: 120px; }
  body:not([data-page="home"]) .main-nav > .container {
    min-height: 48px;
    height: 48px;
    margin-top: 12px;
  }
  body:not([data-page="home"]) .main-nav .nav-links {
    position: relative;
    flex: 1;
    height: 48px;
    justify-content: center;
    padding-right: 100px;
  }
  body:not([data-page="home"]) .main-nav .nav-cat {
    position: absolute;
    left: 0;
    top: 50%;
    z-index: 5;
    transform: translateY(-50%);
  }
  .home-top { background: #fff; border-radius: 10px; padding: 16px; }
  .home-top > .home-bar { display: block; grid-column: 1 / -1; grid-row: 1; min-width: 0; }
  .home-top > .home-bar .header-main { min-height: 78px; }
  .home-top > .home-bar .logo-link { transform: translateX(30px); }
  .home-top > .home-bar .search { margin-left: 120px; }
  .home-top > .home-bar .nav-toggle { display: none; }
  .home-top > .home-bar.is-stuck,
  .header > .container.is-stuck {
    position: fixed; top: 0; left: 0; right: 0; width: auto; max-width: none; margin: 0;
    z-index: 80; background: #fff;
    box-shadow: 0 0 27px 3px rgba(86, 99, 121, 0.15);
  }
  .home-top > .head-stick-spacer { grid-column: 1 / -1; grid-row: 1; }
  .home-top > .cat-tree {
    align-self: start; overflow: visible; border-radius: 10px;
    padding: 27px 0 10px; background: var(--bg);
  }
  .home-top > .cat-tree .cat-block { margin: 0 0 20px; border-top: 0; }
  .home-top > .cat-tree .cat-block:last-child { margin-bottom: 0; }
  .home-top > .cat-tree .cat-parent {
    height: 28px; min-height: 28px; padding: 0 20px 0 30px;
    color: #000; font-size: 14px; font-weight: 700; line-height: 14px;
  }
  .home-top > .cat-tree .cat-parent span:last-child {
    color: #566379; font-size: 16px; font-weight: 400; line-height: 16px;
  }
  .home-top > .cat-tree .sub {
    height: 31px; min-height: 31px; margin: 0; padding: 9px 20px 9px 30px;
    color: #566379; font-size: 13px; font-weight: 400; line-height: 13px;
  }
  .home-top > .cat-tree .cat-parent + .sub { margin-top: 7px; }
  .home-top > .cat-tree a:hover { color: var(--hover); background: var(--hover-bg); }
  .home-top > .hero { align-self: start; aspect-ratio: auto !important; }
  .home-top > .hero .hero-slide { aspect-ratio: auto !important; height: 100%; }
  .home-top > .hero .hero-copy {
    position: absolute; left: 0; right: 0; top: 18%; max-width: none;
    padding: 0 8%; text-align: center;
  }
  .home-top > .hero .hero-copy h2 {
    margin: 0 0 0.45em; font-size: calc(100cqi * 50 / 846); font-weight: 700; line-height: 1.15;
  }
  .home-top > .hero .hero-copy p {
    margin: 0; font-size: calc(100cqi * 20 / 846); font-weight: 400; line-height: 1.4;
  }
}
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; color: var(--muted); font-size: 12px; margin-bottom: 12px; }
.crumbs a:hover { color: var(--hover); }
.crumbs i { font-style: normal; }

.home-top {
  display: grid;
  grid-template-columns: 241px minmax(0, 1fr) 291px;
  grid-template-rows: auto 48px auto;
  gap: 12px;
  align-items: stretch;
}
.home-top > .cat-tree { grid-column: 1; grid-row: 3; min-width: 0; }
.home-top > .nav-links { grid-column: 1 / -1; grid-row: 2; justify-content: center; padding-right: 100px; }
.home-top > .hero { grid-column: 2; grid-row: 3; min-width: 0; width: 100%; max-width: 100%; height: auto; min-height: 0; align-self: start; container-type: inline-size; }
.home-top > .home-side { grid-column: 3; grid-row: 3; min-width: 0; min-height: 0; }
.cat-tree, .home-side, .floor, .filter-board, .goods-board, .brand-strip {
  background: #fff; border-radius: var(--radius);
}
.cat-tree { padding: 8px 0; }
.cat-block + .cat-block { border-top: 1px solid #f5f5f5; }
.cat-parent, .cat-tree .sub {
  display: flex; justify-content: space-between; align-items: center; padding: 0 14px; color: #566379; font-size: 13px; min-height: 22px;
}
.cat-parent { color: #222; font-weight: 700; font-size: 14px; min-height: 28px; }
.cat-tree a:hover { color: var(--hover); background: var(--hover-bg); }
.hero { position: relative; height: 100%; min-height: 450px; border-radius: 10px; overflow: hidden; background: var(--brand); }
.hero.has-design { height: auto; min-height: 0; }
.hero-slide {
  position: absolute; inset: 0; display: flex; align-items: center; color: #fff;
  opacity: 0; pointer-events: none; transition: opacity .35s ease;
}
.hero-slide.is-active { opacity: 1; pointer-events: auto; }
.hero-slide > img.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-frost { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero-frost.is-frost { backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.hero-slide-hit { position: absolute; inset: 0; z-index: 2; }
.hero-copy { position: relative; z-index: 1; padding: 28px 36px; max-width: 460px; }
.hero-copy h2 { margin: 0 0 8px; font-size: 30px; line-height: 1.25; }
.hero-copy p { margin: 0; font-size: 14px; }
.hero-prev, .hero-next, .hero-dots button {
  position: absolute; z-index: 4; border: 0; background: rgba(0,0,0,.28); color: #fff;
}
.hero-prev, .hero-next { top: 50%; transform: translateY(-50%); width: 28px; height: 48px; font-size: 22px; }
.hero-prev { left: 0; } .hero-next { right: 0; }
.hero-dots { position: absolute; z-index: 4; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 8px; }
.hero-dots button { position: static; width: 8px; height: 8px; border-radius: 50%; padding: 0; background: rgba(255,255,255,.55); }
.hero-dots button.is-active { background: #fff; }

.home-side { display: flex; flex-direction: column; min-height: 450px; }
.side-login { padding: 18px 16px 12px; text-align: center; border-bottom: 0; border-radius: 10px; background: var(--bg); }
.avatar {
  width: 54px; height: 54px; margin: 0 auto 8px; border-radius: 50%;
  background: #e7f6ef; color: var(--brand-ink); display: grid; place-items: center; font-weight: 700;
}
.hi { margin: 0 0 10px; color: #666; }
.side-login .btn-row { justify-content: center; }
.side-shortcuts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 12px; }
.side-shortcuts a {
  display: grid; place-items: center; min-height: 36px; border-radius: 6px; background: #f3fbf7; color: var(--brand-ink);
}
.side-news { padding: 4px 14px 12px; }
.side-news a { display: block; padding: 6px 0; color: #555; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side-news a:hover { color: var(--hover); }
.tag {
  display: inline-block; margin-right: 6px; padding: 0 4px; border-radius: 2px;
  background: #fff1f0; color: #ff4d4f; font-size: 12px;
}

.brand-strip { margin-top: 16px; padding: 0 20px 20px; border-radius: 10px; }
.brand-head { display: flex; align-items: center; height: 40px; border-bottom: 1px solid #e5e7eb; }
.brand-head h2 { margin: 0; font-size: 16px; font-weight: 700; line-height: 24px; color: #000; }
.brand-logos { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; padding-top: 20px; }
.brand-strip a {
  display: grid; place-items: center; height: 120px; border: 1px solid #eee; border-radius: 10px; text-align: center; padding: 8px;
}
.brand-strip img { max-width: 100%; max-height: 88px; object-fit: contain; }
.brand-strip a:hover { border-color: var(--hover); }
.brand-strip b { font-size: 20px; color: #444; }
.brand-strip span { color: var(--muted); font-size: 12px; }

.floor { margin-top: 14px; padding: 0; }
.floor-head, .section-head { display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; }
.floor > .floor-head { height: 42px; padding: 0 16px; }
.floor-head h2, .section-head h2 { margin: 0; font-size: 16px; font-weight: 700; color: #333; }
.floor > .floor-head h2 { font-size: 14px; line-height: 21px; }
.floor-head a, .section-head a { color: #999; font-size: 13px; }
.floor-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.floor-card {
  display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: 12px; align-items: center;
  padding: 20px 15px; border-top: 1px solid #f5f5f5; border-right: 1px solid #f5f5f5; min-height: 119px;
}
.floor-card strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.floor-card:hover { background: #fafcff; }
.floor-card strong, .goods-info strong { display: block; font-size: 14px; font-weight: 400; color: #333; line-height: 21px; }
.goods-info strong { font-size: 15px; }
.goods-info .model { margin-top: 2px; font-size: 13px; color: #333; line-height: 20px; }
.goods-info .brand { font-size: 13px; color: var(--muted); line-height: 20px; }
.floor-card .price { font-size: 14px; font-weight: 700; line-height: 21px; }
.floor-card strong { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; font-size: 14px; line-height: 18px; }
.floor-card .meta { font-size: 12px; line-height: 18px; }
.floor-card > div > .meta { margin-top: 2px; }
.floor-line { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.floor-line .meta { min-width: 0; margin-top: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.floor-line .price { margin-left: auto; white-space: nowrap; }
.floor-card .swatch { width: 78px; height: 78px; }
.floor-card .price, .goods-price { color: var(--price); font-weight: 700; }

.page-banner {
  position: relative; min-height: 120px; border-radius: 8px; color: #fff;
  display: flex; align-items: center; overflow: hidden; margin-bottom: 16px; padding: 24px;
}
.page-banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-banner.has-overlay { display: block; min-height: 0; padding: 0; }
.page-banner div { position: relative; z-index: 1; }
.page-banner h1 { margin: 0 0 6px; font-size: 26px; }
.page-banner p { margin: 0; }
.notice-bar { margin: 14px 0; background: #fff7ed; color: var(--warn); border: 1px solid #fed7aa; border-radius: 8px; padding: 10px 12px; }
.section { margin-top: 16px; }
.panel, .item, .side-card, .auth-card, .summary-box, .goods-detail, .price-card {
  background: var(--card); border-radius: var(--radius);
}
.panel, .side-card, .auth-card, .summary-box, .filters { padding: 16px; }

.filter-board { padding: 4px 16px; margin-bottom: 12px; }
.filter-row { display: flex; gap: 8px 10px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid #f5f5f5; }
.filter-row:last-child { border-bottom: 0; }
.filter-row b { flex: 0 0 42px; color: #999; font-size: 14px; font-weight: 400; line-height: 36px; }
.chips { display: flex; flex-wrap: wrap; gap: 4px 8px; }
.chips a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 8px; border-radius: 4px; color: #333; font-size: 14px; }
.chips a.is-active { color: var(--brand-ink); background: #e7f6ef; }
.chips a:hover { color: var(--hover); background: var(--hover-bg); }
.sort-bar {
  display: flex; align-items: center; gap: 18px; background: #fff; border-radius: 8px 8px 0 0;
  padding: 0 16px; min-height: 44px; margin-top: 12px; border-bottom: 1px solid #f3f3f3;
}
.sort-bar a { display: inline-flex; align-items: center; gap: 4px; color: var(--ink); font-size: 14px; }
.sort-bar a.is-active { color: var(--brand-ink); font-weight: 400; }
.sort-arrows { position: relative; display: inline-block; width: 8px; height: 12px; }
.sort-arrows::before, .sort-arrows::after {
  content: ""; position: absolute; left: 0;
  border-left: 4px solid transparent; border-right: 4px solid transparent;
}
.sort-arrows::before { top: 0; border-bottom: 4px solid #c5cad3; }
.sort-arrows::after { bottom: 0; border-top: 4px solid #c5cad3; }
.sort-bar a.is-active.is-asc .sort-arrows::before { border-bottom-color: var(--brand-ink); }
.sort-bar a.is-active.is-desc .sort-arrows::after { border-top-color: var(--brand-ink); }
.sort-bar .count { margin-left: auto; color: #999; font-size: 12px; }
.goods-board { border-radius: 0 0 8px 8px; }
.goods-head, .goods-row {
  display: grid;
  grid-template-columns: 112px minmax(0, 2.4fr) minmax(0, 2.2fr) 148px minmax(248px, 2.2fr);
  gap: 0; align-items: start; padding: 15px 8px;
}
.goods-head { align-items: center; padding: 10px 8px; color: var(--ink); font-size: 12px; line-height: 18px; background: #fff; }
.goods-row { border-top: 1px solid #f5f5f5; }
.goods-row > a { display: flex; justify-content: center; }
.goods-row .swatch { width: 100px; height: 100px; border-radius: 5px; background: #ecedf0; }
.goods-info strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; padding: 4px 0; font-size: 15px; line-height: 18px; font-weight: 400; color: #333; }
.goods-info .model { margin: 0; padding: 4px 0; font-size: 13px; line-height: 18px; color: #333; }
.goods-info .model .pn-code { margin-left: 8px; color: #b7bec8; font-weight: 400; }
.goods-info .brand { padding: 4px 0; font-size: 13px; line-height: 18px; color: #8991a0; }
.goods-info .brand em { font-style: normal; }
.goods-info .hl { color: #e4393c; font-style: normal; }
.goods-tools { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.goods-row .mini-chip {
  display: inline-flex; align-items: center; height: 26px; margin: 0; padding: 0 12px; border-radius: 20px; background: #f5f6f9; color: #333; font-size: 12px;
}
.goods-row .mini-chip:hover { background: #e4e7eb; }
.goods-row .mini-chip.fav.is-on { color: #ff4d4f; background: #fff1f0; }
.goods-row .goods-price { font-weight: 400; }
.goods-price .tier { height: 28px; padding: 4px 0; line-height: 20px; font-size: 14px; }
.goods-price .tier .qty {
  width: 32%; min-width: 55px; height: 20px; min-height: 0; padding: 0; border: 0; border-radius: 0;
  background: transparent; text-align: right; color: #333; font-size: 13px; line-height: 20px;
}
.goods-price .tier .qty::after { content: "："; }
.goods-price .tier b { padding-left: 9px; color: var(--brand-ink); font-weight: 400; }
.goods-stock { color: var(--ink); font-size: 13px; line-height: 18px; }
.goods-stock p { margin: 0; padding: 4px 0; }
.buy-cell { display: flex; flex-direction: column; align-items: stretch; width: max-content; max-width: 100%; min-width: 0; margin: 0; gap: 0; }
.buy-cell .stepper { display: flex; width: 0; min-width: 100%; height: 30px; }
.buy-cell .stepper button {
  flex: 0 0 32px; width: 32px; height: 30px; border: 1px solid #ccc; background: #f5f6f9; color: #666; font-size: 16px;
}
.buy-cell .stepper button:first-child { border-radius: 5px 0 0 5px; }
.buy-cell .stepper button:last-child { border-radius: 0 5px 5px 0; }
.buy-cell .stepper input {
  flex: 1 1 auto; width: 0; min-width: 0; height: 30px; border: 1px solid #ddd; border-left: 0; border-right: 0;
  font-size: 12px; color: #555;
}
.buy-cell .line-total { width: 0; min-width: 100%; padding: 10px 0; white-space: normal; color: var(--ink); font-size: 12px; line-height: 18px; }
.buy-cell .line-total b { color: #ff6f05; font-size: 12px; font-weight: 400; }
.buy-cell .btn-row { flex: 0 0 auto; flex-wrap: nowrap; justify-content: flex-start; width: max-content; gap: 8px; }
.buy-cell .btn { min-height: 31px; height: 31px; flex: 0 0 auto; width: auto; padding: 0 8px; border-radius: 4px; font-size: 13px; font-weight: 400; white-space: nowrap; }
.buy-cell .btn.secondary { background: #fff; color: #000; border-color: #ccc; }
.buy-cell .btn.secondary:hover { background: #f5f6f9; color: #000; }
.mini-chip {
  display: inline-flex; align-items: center; height: 26px; margin-top: 6px; padding: 0 12px;
  border: 0; border-radius: 16px; background: var(--chip); color: #333; font-size: 12px;
}
.stepper { display: inline-flex; align-items: center; }
.stepper button { width: 28px; height: 32px; border: 1px solid #e5e5e5; background: #fff; }
.stepper input { width: 64px; height: 32px; border: 1px solid #e5e5e5; border-left: 0; border-right: 0; text-align: center; border-radius: 0; }

.detail-top {
  display: grid; grid-template-columns: minmax(0, 1fr) 425px; gap: 16px; align-items: stretch;
}
.detail-main, .detail-buy {
  background: #fff; border-radius: 10px; padding: 40px;
}
.detail-main { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 36px; align-items: start; }
.detail-photo .swatch.lg { width: 300px; height: 300px; }
.detail-gallery { width: 300px; }
.detail-zoom { position: relative; }
.detail-stage {
  position: relative; width: 300px; height: 300px; overflow: hidden; cursor: zoom-in;
  border: 1px solid #f0f0f0; border-radius: 4px; background: #fff;
}
.detail-main-img,
.detail-model { position: absolute; inset: 0; width: 100%; height: 100%; }
.detail-main-img { object-fit: contain; display: block; pointer-events: none; }
.detail-main-img[hidden],
.detail-model[hidden] { display: none; }
.detail-stage.is-model { cursor: grab; }
.detail-stage.is-model .detail-zoom-mark { display: none; }
.detail-model model-viewer { width: 100%; height: 100%; background: #fff; --poster-color: #fff; }
.detail-model-note { margin: 0; height: 100%; display: grid; place-items: center; color: var(--muted); font-size: 12px; }
.detail-thumb-3d {
  display: grid; place-items: center; width: 100%; height: 100%;
  background: #f3fbf7; color: var(--brand-ink); font-size: 10px; font-weight: 700;
}
.detail-lens {
  position: absolute; width: 120px; height: 120px; border: 1px solid rgba(24, 122, 82, .55);
  background: rgba(164, 228, 199, .28); pointer-events: none;
}
.detail-zoom-pane {
  position: absolute; left: 316px; top: 0; z-index: 6; width: 360px; height: 360px;
  border: 1px solid #eee; border-radius: 8px; background: #fff no-repeat;
  box-shadow: 0 12px 32px rgba(15, 23, 42, .14); pointer-events: none;
}
.detail-zoom-mark {
  position: absolute; right: 8px; bottom: 8px; display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 999px; background: rgba(255, 255, 255, .92);
  color: var(--brand-ink); box-shadow: 0 2px 8px rgba(15, 23, 42, .12); pointer-events: none;
}
.detail-stage:hover .detail-zoom-mark { opacity: 0; }
.detail-thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.detail-thumb {
  width: 52px; height: 52px; padding: 2px; border: 1px solid #eee; border-radius: 4px; background: #fff; cursor: pointer;
}
.detail-thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }
.detail-thumb.is-on { border-color: var(--brand-ink); }
.img-tips { margin: 10px 0 8px; font-size: 12px; line-height: 18px; color: var(--muted); text-align: center; }
.extra-btns { display: flex; justify-content: center; gap: 12px; }
.extra-btns .mini-chip { margin-top: 0; height: 29px; font-size: 14px; }
.detail-pn { margin: 8px 0 18px; font-size: 16px; font-weight: 700; line-height: 24px; color: var(--brand-ink); }
.detail-pn + .detail-code { margin: -12px 0 16px; font-size: 12px; line-height: 18px; color: #8b93a3; font-weight: 400; }
.spec-row { display: flex; align-items: center; min-height: 36px; font-size: 14px; line-height: 21px; }
.spec-row span { flex: 0 0 88px; color: var(--label); }
.spec-row b { font-weight: 400; color: #292929; }
.detail-attrs { margin: 8px 0 4px; }
.detail-attrs h2 { margin: 8px 0 2px; font-size: 15px; font-weight: 650; }
.ladder { width: 100%; border-collapse: collapse; background: transparent; }
.ladder th { height: 40px; background: var(--brand); color: var(--on-brand); font-size: 13px; font-weight: 400; text-align: center; }
.ladder td { height: 36px; color: #000; font-size: 14px; font-weight: 400; text-align: center; }
.ladder th:last-child, .ladder td:last-child { text-align: left; padding-left: 16px; font-size: 13px; }
.ladder td:last-child { color: var(--ink); }
.coupon-board { display: flex; flex-direction: column; gap: 28px; }
.coupon-board h2, .uc-panel .coupon-board + h2 { margin: 8px 0 12px; font-size: 18px; }
.coupon-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.coupon-card { display: grid; grid-template-columns: 128px minmax(0, 1fr); min-height: 132px; background: #fff; border: 1px solid #d7f3e6; border-radius: 10px; overflow: hidden; }
.coupon-value { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 12px 8px; background: var(--brand); color: var(--brand-ink); text-align: center; }
.coupon-value b { font-size: 22px; line-height: 28px; }
.coupon-value span { font-size: 12px; line-height: 18px; }
.coupon-body { padding: 16px; }
.coupon-body strong { display: block; font-size: 16px; }
.coupon-body p { margin: 6px 0 12px; color: #8b93a3; font-size: 12px; line-height: 18px; }
.coupon-body .btn { min-height: 32px; padding: 0 14px; }
.coupon-mine p { margin: 0 0 10px; }
.coupon-line { display: flex; align-items: center; gap: 12px; margin-top: 18px; font-size: 14px; color: #333; }
.coupon-line em { font-style: normal; color: var(--muted); font-size: 13px; }
.buy-block { display: grid; gap: 12px; margin-top: 16px; }
.buy-label { font-size: 14px; color: #000; line-height: 28px; }
.buy-label span { font-size: 12px; color: #949ca9; }
.detail-buy .stepper { display: flex; width: 100%; }
.detail-buy .stepper button { width: 90px; height: 44px; border: 1px solid #ccc; background: #f5f6f9; color: #666; font-size: 16px; }
.detail-buy .stepper button:first-child { border-radius: 10px 0 0 10px; }
.detail-buy .stepper button:last-child { border-radius: 0 10px 10px 0; }
.detail-buy .stepper input { flex: 1; width: auto; height: 44px; border: 1px solid #ccc; border-left: 0; border-right: 0; font-size: 14px; }
.total-line { font-size: 14px; font-weight: 700; color: #000; line-height: 28px; }
.total-line b { color: var(--total); font-size: 22px; font-weight: 700; }
.detail-actions { display: flex; gap: 10px; }
.btn-cart, .btn-buy {
  flex: 1; height: 44px; border-radius: 10px; font-size: 16px; font-weight: 400; cursor: pointer;
}
.btn-cart { background: #f5f6f9; color: var(--ink); border: 1px solid #ccc; }
.btn-buy { background: var(--brand); color: var(--on-brand); border: 1px solid var(--brand); }
.btn-cart:disabled, .btn-buy:disabled { background: #f2f2f2; border-color: #f2f2f2; color: #bbb; cursor: not-allowed; }
.detail-intro { margin-top: 16px; padding-top: 12px; border-top: 1px solid #eee; }
.detail-intro h2 { margin: 0 0 8px; font-size: 14px; font-weight: 700; color: #333; }
.rich-read { font-size: 14px; line-height: 1.7; color: #333; }
.rich-read p { margin: 0 0 8px; }
.rich-read ul, .rich-read ol { margin: 0 0 8px; padding-left: 1.4em; }
.rich-read a { color: var(--brand-ink); }
.rich-read h1, .rich-read h2, .rich-read h3, .rich-read h4,
.article-copy h1, .article-copy h2, .article-copy h3, .article-copy h4 { margin: 0 0 10px; color: #222; line-height: 1.4; text-indent: 0; }
.rich-read table, .article-copy table { width: 100%; border-collapse: collapse; margin: 0 0 12px; }
.rich-read th, .rich-read td, .article-copy th, .article-copy td { border: 1px solid #e5e7eb; padding: 6px 8px; text-indent: 0; }
.article-copy img, .rich-read img { display: block; max-width: 100%; height: auto; margin: 8px auto; }
.detail-bottom { display: grid; grid-template-columns: minmax(0, 1fr) 425px; gap: 16px; margin-top: 16px; align-items: start; }
.pdf-card, .related-card { background: #fff; border-radius: 10px; padding: 20px 24px; }
.detail-tabs { display: flex; gap: 28px; margin: 0 0 16px; border-bottom: 1px solid #eee; }
.detail-tabs button { border: 0; background: transparent; padding: 4px 0 12px; color: #666; font-size: 16px; font-weight: 700; line-height: 24px; }
.detail-tabs button.is-on { color: var(--brand-ink); box-shadow: inset 0 -2px 0 var(--brand-ink); }
.detail-info h2 { margin: 0 0 4px; font-size: 15px; font-weight: 700; color: #222; }
.detail-info .spec-row { align-items: flex-start; padding: 8px 0; }
.detail-info .spec-row span { flex-basis: 140px; }
.detail-info .spec-row b { min-width: 0; font-weight: 400; word-break: break-word; }
.pdf-card [hidden] { display: none; }
.pdf-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.pdf-card h3, .related-card h2 { margin: 0; font-size: 16px; font-weight: 700; color: #000; line-height: 24px; }
.pdf-ops { display: flex; gap: 16px; }
.pdf-ops a { color: var(--brand-ink); font-size: 14px; }
.pdf-frame { width: 100%; height: 420px; border: 0; border-radius: 4px; background: #f3f4f6; }
.pdf-frame.is-empty { display: grid; place-items: center; color: var(--muted); font-size: 14px; }
.related-card h2 { margin-bottom: 4px; }
.related-item { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid #f3f3f3; }
.related-item strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; font-weight: 400; color: var(--ink); line-height: 21px; }
.related-item em { font-style: normal; font-size: 14px; color: #333; }
.price { color: var(--price); font-size: 14px; font-weight: 700; }
.price small, .tax-note { color: var(--muted); font-size: 12px; font-weight: 400; }

.swatch {
  width: 78px; height: 78px; border-radius: 4px; color: #fff; display: flex; align-items: center; justify-content: center;
  text-align: center; font-size: 11px; font-weight: 700; line-height: 1.2; padding: 4px; background: #fff; overflow: hidden;
}
.swatch.photo { border: 1px solid #f0f0f0; }
.swatch img { width: 100%; height: 100%; object-fit: contain; }
.swatch.lg { width: 300px; height: 300px; }
.tier { display: flex; gap: 8px; color: var(--ink); font-size: 14px; font-weight: 400; line-height: 26px; }
.tier .qty { min-width: 72px; color: #333; text-align: right; }
.tier b { color: var(--brand-ink); font-weight: 400; }
.meta { color: var(--muted); font-size: 12px; }
.text-link { color: var(--brand-ink); }
.item-list { display: grid; gap: 10px; }
.item { display: grid; grid-template-columns: 84px minmax(0, 1fr) 190px; gap: 14px; padding: 14px; align-items: center; }
.item h3 { margin: 0 0 4px; font-size: 16px; }
.item h3 a:hover { color: var(--hover); }
.item-buy, .buy-box { display: grid; justify-items: end; gap: 8px; }
.qty { width: 96px; min-height: 40px; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; background: #fff; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: 0 14px;
  border-radius: 4px; border: 1px solid var(--brand); background: var(--brand); color: var(--on-brand); font-weight: 700;
}
.btn:hover { background: var(--brand-dark); color: var(--on-brand); }
.btn.secondary { background: #fff; color: var(--brand-ink); }
.btn.ghost { background: #fff; color: var(--ink); border-color: #ddd; }
.btn.danger { background: #e4393c; border-color: #e4393c; color: #fff; }
.btn.danger:hover { background: #c81623; border-color: #c81623; color: #fff; }
.btn:disabled, .btn[disabled] { background: #f2f2f2; border-color: #f2f2f2; color: #bbb; cursor: not-allowed; }
.btn-row { display: flex; gap: 8px; flex-wrap: wrap; }
.fav.is-on { background: #fff5f5; color: #ff4d4f; border-color: #ffccc7; }
.badge { display: inline-flex; align-items: center; min-height: 22px; padding: 0 8px; border-radius: 999px; background: #ecfdf3; color: var(--ok); font-size: 12px; font-weight: 700; }
.badge.wait { background: #fff7ed; color: var(--warn); }
.badge.off { background: #f2f4f7; color: var(--muted); }
.pager { display: flex; gap: 6px; justify-content: center; margin: 16px 0; }
.pager a, .pager span { min-width: 36px; height: 36px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); border-radius: 6px; }
.pager .is-active { background: var(--brand); color: var(--on-brand); border-color: var(--brand); }
.empty { padding: 28px 8px; text-align: center; color: var(--muted); }

.detail { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 12px; align-items: start; }
.buy-box { justify-items: stretch; background: #fff; border-radius: var(--radius); padding: 16px; }
.cart-line { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto 110px auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cart-line .line-op { justify-self: start; width: auto; padding: 0 12px; }
.cart-line > .product-jump { display: block; }
.product-jump { color: inherit; }
button.product-jump { border: 0; background: none; padding: 0; cursor: pointer; text-align: inherit; }
.cart-line.is-closed { background: #fff7f7; }
.closed-note { color: var(--total); font-size: 12px; line-height: 18px; }
.refund-ask { margin: 0; padding: 16px 14px 18px; border-top: 1px solid #f3f3f3; }
.refund-ask h3 { margin: 0 0 10px; font-size: 15px; font-weight: 700; color: #333; }
.refund-ask .uc-form { max-width: 520px; margin-top: 0; }
.refund-ask .meta { margin: 0 0 12px; }
.refund-ask .return-log { margin: 12px 0 0; padding-left: 18px; color: #8b93a1; font-size: 13px; }
.qty-field { display: inline-flex; align-items: center; gap: 8px; color: #566379; font-size: 13px; white-space: nowrap; }
.qty-field .qty { width: 96px; }
.summary-box { position: sticky; top: 12px; display: grid; gap: 8px; }
.summary-box div { display: flex; justify-content: space-between; }
.summary-box .total { font-size: 18px; color: var(--price); font-weight: 800; }
.checkout-grid, .account-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 12px; align-items: start; }
.filters label, .field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; font-size: 12px; color: var(--muted); }
.field[hidden] { display: none; }
.filters select, .field input, .field select, .field textarea {
  width: 100%; min-height: 40px; border: 1px solid #e5e5e5; border-radius: 4px; padding: 8px 10px; background: #fff;
}
.field textarea { min-height: 88px; resize: vertical; }
.order-note textarea { min-height: 72px; }
.field .btn-row input { width: auto; flex: 1; min-width: 0; }
.field input[type="checkbox"], .field input[type="radio"] { width: 16px; height: 16px; min-height: 0; flex: 0 0 16px; margin: 0; padding: 0; }
.check span { min-width: 0; line-height: 22px; }
.auth-card form > .btn { width: 100%; margin-top: 4px; }
.results-head { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 10px; }
.sorts { display: flex; gap: 8px; flex-wrap: wrap; }
.sorts a { padding: 4px 8px; border-radius: 4px; background: #fff; border: 1px solid var(--line); }
.sorts a.is-active { background: var(--brand); color: var(--on-brand); border-color: var(--brand); }
.auth-wrap { width: min(460px, 100%); margin: 24px auto; }
.auth-card h1 { margin: 0 0 6px; font-size: 24px; }
.auth-tabs { display: flex; gap: 8px; margin: 0 0 16px; border-bottom: 1px solid var(--line); }
.auth-tabs button { border: 0; background: transparent; padding: 8px 4px 10px; margin-right: 16px; color: var(--muted); }
.auth-tabs button.is-active { color: var(--brand-ink); font-weight: 700; box-shadow: inset 0 -2px 0 var(--brand-ink); }
.user-center { display: grid; grid-template-columns: 244px minmax(0, 1fr); gap: 16px; align-items: stretch; }
.user-side { background: #fff; border-radius: 10px; padding: 6px 12px 18px; min-height: 640px; }
.side-home, .side-parent { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 4px; font-size: 15px; font-weight: 700; color: #333; }
.side-home { border-bottom: 1px solid #f5f6f8; }
.side-block + .side-block { border-top: 1px solid #f5f6f8; }
.side-chev { margin-left: auto; width: 7px; height: 7px; border-right: 1.5px solid #9aa0a8; border-bottom: 1.5px solid #9aa0a8; transform: rotate(45deg) translateY(-2px); }
.uc-ico { width: 22px; height: 22px; flex: 0 0 22px; color: #94979a; }
.uc-ico path, .uc-ico circle, .uc-ico rect { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.side-home.is-active { color: var(--brand-ink); }
.side-home:hover { color: var(--hover); }
.side-home.is-active .uc-ico { color: var(--brand-ink); }
.side-home:hover .uc-ico { color: var(--hover); }
.side-sub a { display: block; margin: 2px 0; padding: 10px 12px 10px 44px; border-radius: 10px; font-size: 14px; color: #566379; }
.side-sub a.is-active { background: #e7f6ef; color: var(--brand-ink); font-weight: 700; }
.side-sub a:hover { color: var(--hover); }
.user-content { min-width: 0; }
.uc-sheet { background: #fff; border-radius: 10px; min-height: 620px; padding: 18px 22px 32px; }
.uc-legend-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid #eee; }
.uc-legend { margin: 0; font-size: 20px; font-weight: 400; color: #566379; }
.uc-pills { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 16px 2px 0; border-bottom: 1px solid #f2f2f2; margin-bottom: 16px; }
.uc-pills a { color: #566379; font-size: 14px; padding-bottom: 10px; }
.uc-pills a.is-active { color: var(--brand-ink); font-weight: 700; }
.uc-filter { display: flex; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin: 6px 0 8px; }
.uc-field { display: flex; flex-direction: column; gap: 6px; margin: 0; font-size: 13px; color: #8b93a1; }
.uc-field input, .uc-field select { width: 250px; height: 34px; border: 1px solid #e6e6e6; border-radius: 4px; padding: 0 10px; background: #fff; color: #333; }
.uc-dates { display: flex; align-items: center; gap: 8px; }
.uc-dates input { width: 148px; }
.uc-dates i { color: #b0b6c0; font-style: normal; }
.uc-filter-ops { display: flex; gap: 10px; margin-left: auto; }
.uc-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 64px; height: 32px; padding: 0 14px; border-radius: 4px; border: 1px solid var(--brand-ink); background: #fff; color: var(--brand-ink); font-size: 13px; }
.uc-btn.ghost { border-color: #dbdbdb; color: #666; }
.uc-btn.solid { background: var(--brand); border-color: var(--brand); color: var(--on-brand); font-weight: 700; }
.uc-empty { display: grid; justify-items: center; gap: 8px; padding: 72px 0 28px; color: #b0b6c0; }
.uc-empty svg { width: 42px; height: 42px; }
.uc-empty path, .uc-empty circle { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; }
.uc-empty p { margin: 0; font-size: 13px; }
.uc-order { border: 1px solid #f0f0f0; border-radius: 8px; margin-top: 12px; overflow: hidden; }
.uc-order-head, .uc-order-foot { display: flex; align-items: center; gap: 16px; padding: 10px 14px; background: #fafafa; font-size: 13px; color: #666; }
.uc-order-head b { margin-left: auto; color: #333; }
.uc-order-goods { padding: 12px 14px; color: #333; }
.uc-order-foot strong { color: #333; }
.uc-order-foot a { margin-left: auto; color: var(--brand-ink); }
.uc-back { margin: 0 0 4px; }
.uc-order-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 18px; margin: 0; padding: 6px 14px; border-top: 1px solid #f3f3f3; }
.uc-order-meta > div { display: flex; gap: 8px; align-items: baseline; min-width: 0; padding: 7px 0; font-size: 13px; }
.uc-order-meta .is-wide { grid-column: 1 / -1; }
.uc-order-meta dt { margin: 0; flex: none; color: #8b93a1; }
.uc-order-meta dd { margin: 0; min-width: 0; color: #333; }
.uc-order-lines { border-top: 1px solid #f3f3f3; }
.uc-order-line { display: grid; grid-template-columns: minmax(150px, 1.15fr) minmax(0, 2fr) 88px 96px 96px; gap: 8px 12px; align-items: center; padding: 10px 14px; border-top: 1px solid #f7f7f7; font-size: 13px; color: #333; }
.uc-order-line.is-head { border-top: 0; color: #8b93a1; background: #fafafa; }
.uc-order-line b { font-weight: 600; }
.uc-order-line span:nth-child(n+3) { text-align: right; }
.uc-order-trace { padding: 0 14px 10px; color: #566379; font-size: 13px; }
.uc-order-trace p { margin: 0; }
.uc-order .btn-row { padding: 4px 14px 14px; }
.uc-ship { border: 0; background: transparent; padding: 0; color: var(--brand-ink); font: inherit; cursor: pointer; text-align: left; }
.uc-ship:hover { text-decoration: underline; }
.ship-win { position: fixed; z-index: 80; width: min(380px, calc(100vw - 16px)); max-height: min(520px, calc(100vh - 16px)); display: flex; flex-direction: column; background: #fff; border: 1px solid #d7eee4; border-radius: 10px; box-shadow: 0 16px 40px rgba(24, 60, 40, .18); overflow: hidden; }
.ship-win[hidden] { display: none; }
.ship-win-bar { display: flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 8px 0 14px; background: #f3fbf7; cursor: grab; user-select: none; touch-action: none; }
.ship-win-bar strong { flex: 1; min-width: 0; font-size: 14px; font-weight: 700; color: var(--brand-ink); }
.ship-win-bar button { width: 32px; height: 32px; border: 0; border-radius: 6px; background: transparent; color: #566379; font-size: 20px; line-height: 1; cursor: pointer; }
.ship-win-bar button:hover { background: var(--hover-bg); }
.ship-win-body { overflow: auto; padding: 12px 14px 16px; color: #333; font-size: 13px; }
.ship-win-no { margin: 0; font-weight: 700; }
.ship-win-state { margin: 8px 0 0; color: var(--brand-ink); font-weight: 700; }
.ship-win-latest, .ship-win-msg, .ship-win-save { margin: 8px 0 0; color: #566379; }
.ship-win-body ol { list-style: none; margin: 12px 0 0; padding: 0; }
.ship-win-body li { display: grid; gap: 2px; margin: 0; padding: 0 0 12px 14px; border-left: 1px solid #d7eee4; }
.ship-win-body li:last-child { border-left-color: transparent; padding-bottom: 0; }
.ship-win-body time { color: #8b93a1; font-size: 12px; }
button.text-link {
  align-self: flex-start; width: auto; border: 0; background: none; padding: 0;
  color: var(--brand-ink); font: inherit; line-height: 21px; cursor: pointer; text-align: left;
}
.addr-win {
  position: fixed; z-index: 80; width: min(440px, calc(100vw - 16px)); max-height: min(640px, calc(100vh - 16px));
  display: flex; flex-direction: column; background: #fff; border: 1px solid #d7eee4; border-radius: 10px;
  box-shadow: 0 16px 40px rgba(24, 60, 40, .18); overflow: hidden;
}
.addr-win[hidden] { display: none; }
.addr-win-bar { display: flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 8px 0 14px; background: #f3fbf7; cursor: grab; user-select: none; touch-action: none; }
.addr-win-bar strong { flex: 1; min-width: 0; font-size: 14px; font-weight: 700; color: var(--brand-ink); }
.addr-win-bar button { width: 32px; height: 32px; border: 0; border-radius: 6px; background: transparent; color: #566379; font-size: 20px; line-height: 1; cursor: pointer; }
.addr-win-bar button:hover { background: var(--hover-bg); }
.addr-win-body { overflow: auto; padding: 12px 14px 16px; }
.addr-win .addr-book { grid-template-columns: 1fr; }
.addr-win-form { margin-top: 14px; }
.addr-win-form h2 { margin: 0 0 10px; font-size: 15px; font-weight: 700; color: #333; }
.addr-win-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 12px; }
.addr-win-pair .field { min-width: 0; }
.addr-win-form .field { margin-bottom: 8px; }
.addr-win-form .uc-btn { margin-top: 4px; }
.uc-table { width: 100%; border-collapse: collapse; font-size: 13px; margin-top: 8px; }
.uc-table th { background: #f8f8f8; padding: 12px; text-align: left; font-weight: 400; color: #666; border-bottom: 1px solid #eee; }
.uc-table td { padding: 14px 12px; border-bottom: 1px solid #eee; color: #333; vertical-align: middle; }
.uc-table a, .uc-safe a { color: var(--brand-ink); }
.uc-info { margin: 6px 0 0; }
.uc-info > div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid #f3f3f3; }
.uc-info dt { color: #888; }
.uc-info dd { margin: 0; color: #333; }
.uc-avatar.sm { width: 48px; height: 48px; font-size: 12px; }
.uc-safe > div { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 16px 0; border-bottom: 1px solid #f3f3f3; }
.uc-safe strong { color: #333; }
.uc-safe p { margin: 0; color: #888; }
.uc-safe button { border: 0; background: transparent; color: var(--brand-ink); padding: 0; }
.uc-metrics { display: grid; grid-template-columns: 1.3fr 1fr 1fr; margin-top: 8px; }
.uc-metrics.two { grid-template-columns: 320px 1fr; }
.uc-metrics > div { position: relative; padding: 16px 22px 8px; }
.uc-metrics > div + div::before { content: ""; position: absolute; left: 0; top: 18%; width: 1px; height: 64%; background: #e5e7e8; }
.uc-metrics span { display: block; margin-bottom: 14px; color: #999; font-size: 14px; }
.uc-metrics strong { display: block; font-size: 28px; line-height: 1.2; color: #333; }
.uc-metrics p { color: #999; font-size: 13px; }
.uc-metric-ops { display: flex; gap: 10px; }
.uc-form { max-width: 520px; margin-top: 18px; }
.uc-form.invoice-form { max-width: 760px; }
.uc-form h2 { margin: 0 0 12px; font-size: 16px; font-weight: 700; color: #333; }
.invoice-form h2, .invoice-grid + h2 { margin-top: 8px; }
.invoice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.invoice-grid .is-wide { grid-column: 1 / -1; }
.invoice-grid textarea { min-height: 72px; }
.addr-book { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.addr-card { border: 1px solid #e5e7eb; border-radius: 10px; padding: 14px; background: #fff; }
.addr-card.is-default { border-color: var(--brand-ink); background: #f3fbf7; }
.addr-card__who { display: flex; align-items: center; gap: 8px; color: #333; }
.addr-card__who strong { font-size: 14px; font-weight: 700; }
.addr-card__who span { color: #666; font-size: 13px; }
.addr-card__who em { margin-left: auto; color: var(--brand-ink); font-style: normal; font-size: 12px; }
.addr-card p { margin: 8px 0 10px; color: #333; font-size: 13px; line-height: 20px; }
.addr-card__ops { display: flex; gap: 14px; }
.addr-card__ops button { border: 0; background: none; padding: 0; color: var(--brand-ink); font: inherit; font-size: 13px; cursor: pointer; }
.uc-sheet .meta { color: #888; }
.user-content { display: grid; gap: 12px; min-width: 0; }
.uc-base, .uc-panel, .uc-card { background: #fff; border-radius: 8px; }
.uc-base { display: flex; gap: 16px; align-items: center; padding: 20px; }
.uc-avatar { width: 64px; height: 64px; border-radius: 50%; background: #e7f6ef; color: var(--brand-ink); display: grid; place-items: center; font-weight: 700; flex: 0 0 auto; }
.uc-base h1, .uc-title { margin: 0 0 6px; font-size: 20px; font-weight: 700; color: #333; }
.uc-base p { margin: 0; color: #888; font-size: 13px; line-height: 22px; }
.uc-panel { padding: 18px 20px; }
.uc-panel h1, .uc-panel h2 { margin: 0 0 12px; font-size: 16px; font-weight: 700; color: #333; }
.uc-panel .num { margin: 0 0 8px; font-size: 28px; font-weight: 700; color: #333; }
.uc-panel .num small { font-size: 14px; font-weight: 400; color: var(--muted); margin-left: 4px; }
.uc-block-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.uc-block-head h2 { margin: 0; font-size: 16px; font-weight: 700; color: #333; }
.uc-block-head a, .uc-card .links a { color: var(--brand-ink); }
.uc-order-stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); text-align: center; padding: 8px 0 4px; }
.uc-order-stats a strong { display: block; font-size: 22px; line-height: 28px; color: #333; }
.uc-order-stats a span { color: var(--muted); font-size: 13px; }
.uc-order-stats a:hover strong, .uc-order-stats a:hover span { color: var(--hover); }
.uc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.uc-card { padding: 16px 18px 14px; }
.uc-card h2 { margin: 0 0 10px; font-size: 14px; font-weight: 400; color: #333; }
.uc-card .num { font-size: 26px; font-weight: 700; color: #333; line-height: 1.2; }
.uc-card .num small { font-size: 13px; font-weight: 400; color: var(--muted); margin-left: 4px; }
.uc-card .links { display: flex; gap: 14px; margin-top: 12px; }
body[data-page="register"] #main,
body[data-page="login"] #main,
body[data-page="forgot"] #main {
  background: linear-gradient(180deg, #f7fcf9 0%, #d7f3e4 46%, var(--brand) 100%);
  padding: 48px 0 56px;
}
body[data-page="register"] .auth-wrap,
body[data-page="login"] .auth-wrap,
body[data-page="forgot"] .auth-wrap { margin: 0 auto; }
.check { flex-direction: row; align-items: center; gap: 8px; color: var(--ink); font-size: 14px; }
.alert { padding: 12px 14px; border-radius: 8px; margin-bottom: 12px; }
.alert.ok { background: #ecfdf3; color: var(--ok); }
.alert.err { background: #fef3f2; color: #b42318; }
.pay-panel { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 18px; align-items: center; }
.qr-fake {
  width: 180px; height: 180px; border-radius: 12px; display: grid; place-items: center; text-align: center;
  color: #fff; padding: 12px; font-weight: 700;
}
.qr-fake.alipay { background: #1677ff; }
.qr-fake.wechat { background: #12b36a; }
.qr-fake.transfer { background: #3f3f46; }
.option { display: flex; gap: 8px; align-items: center; padding: 10px 0; color: var(--ink); font-size: 14px; }
.pay-choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 4px 0 14px; }
.pay-choice {
  position: relative; display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 56px; margin: 0; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; color: #333; font-size: 14px; cursor: pointer;
}
.pay-choice input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; }
.pay-choice:has(input:checked) { border-color: var(--brand-ink); box-shadow: inset 0 0 0 1px var(--brand-ink); background: #f3fbf7; }
.pay-choice:has(input:focus-visible) { outline: 2px solid var(--brand-ink); outline-offset: 2px; }
.pay-choice__icon { width: 28px; height: 28px; flex: 0 0 28px; display: block; object-fit: contain; }
.article-body { background: #fff; border-radius: 10px; padding: 24px 28px 32px; }
.article-body h1 { margin: 0 0 8px; font-size: 22px; font-weight: 700; line-height: 28px; color: #333; }
.article-body p, .article-body li { font-size: 14px; line-height: 24px; color: var(--ink); }
.article-body .meta { font-size: 12px; color: var(--muted); }
.about-sheet h2 { margin: 22px 0 12px; font-size: 16px; line-height: 24px; color: #14382c; }
.about-lead { margin: 0 0 18px; font-size: 15px; line-height: 26px; color: #334155; }
.about-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.about-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.about-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
  min-height: 168px; padding: 14px; border: 1px solid #d7eee4; border-radius: 12px;
  background: linear-gradient(180deg, #f7fcf9 0%, #fff 70%); color: inherit;
}
a.about-card:hover { border-color: var(--hover); }
.about-card-head { display: flex; align-items: center; gap: 10px; }
.about-card .about-mark { width: 32px; height: 32px; flex-basis: 32px; }
.about-card strong { color: #14382c; font-size: 15px; line-height: 22px; }
.about-card span, .about-steps p { margin: 0; color: var(--ink); font-size: 13px; line-height: 20px; }
.about-mark { width: 64px; height: 64px; display: block; flex: 0 0 auto; }
.about-brands { display: flex; flex-wrap: wrap; gap: 8px; }
.about-brand {
  display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px;
  border-radius: 999px; background: #e7f6ef; color: var(--brand-ink); font-size: 14px;
}
.about-brand:hover { background: var(--brand); color: var(--on-brand); }
.about-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.about-steps li { display: flex; flex-direction: column; gap: 10px; min-height: 180px; padding: 14px; border: 1px solid #d7eee4; border-radius: 12px; background: #f7fcf9; }
.about-step-head { display: flex; align-items: center; gap: 10px; }
.about-steps .about-mark { width: 32px; height: 32px; flex-basis: 32px; }
.about-steps strong { color: #14382c; font-size: 16px; }
.contact-board { display: grid; grid-template-columns: minmax(260px, 380px) minmax(0, 1fr); gap: 16px 20px; align-items: start; }
.contact-map-side { display: flex; flex-direction: column; min-width: 0; }
.contact-map { position: relative; z-index: 0; height: 560px; border: 1px solid #d7eee4; border-radius: 12px; overflow: hidden; background: #e7f2ec; }
.contact-map .leaflet-container { width: 100%; height: 100%; font-family: inherit; background: #e7f2ec; }
.contact-map .leaflet-tile { max-width: none !important; max-height: none !important; }
.contact-map .leaflet-control-zoom a { width: 30px; height: 30px; line-height: 30px; color: #14382c; text-decoration: none; }
.contact-map .contact-pin.leaflet-div-icon { width: 16px; height: 16px; background: #187a52; border: 3px solid #fff; border-radius: 50%; box-shadow: 0 1px 4px rgba(20, 56, 44, .35); }
.contact-map-caption { margin: 10px 0 0; color: #334155; font-size: 14px; line-height: 22px; }
.contact-map-fallback { margin: 0; padding: 24px 16px; text-align: center; color: #667085; }
.contact-facts { display: flex; flex-direction: column; gap: 12px; align-content: start; margin: 2px 0 0; }
.contact-fact { display: flex; align-items: center; gap: 16px; margin: 0; padding: 0; border: 0; background: none; }
.contact-fact b { flex: 0 0 92px; margin: 0; color: #667085; font-size: 14px; font-weight: 400; line-height: 22px; }
.contact-fact div { margin: 0; min-width: 0; color: #14382c; font-size: 15px; line-height: 22px; word-break: break-word; }
.help-side a.is-active { background: #f3fbf7; }
.article-sheet { padding: 28px 40px 20px; }
.article-sheet h1 { margin: 0; text-align: center; font-size: 22px; font-weight: 700; line-height: 32px; color: #333; }
.article-pub { margin: 14px 0 0; text-align: center; color: #999; font-size: 13px; line-height: 20px; }
.article-body p.article-pub { display: flex; align-items: center; justify-content: center; gap: 18px; }
.article-pub span + span { margin-left: 0; }
.article-pub b { font-weight: 400; }
.article-views { display: inline-flex; align-items: center; gap: 4px; }
.article-views svg { display: block; width: 16px; height: 16px; flex: 0 0 auto; }
.article-rule { border: 0; border-top: 1px solid #eee; margin: 16px 0 22px; }
.article-copy p { margin: 0 0 16px; color: #333; font-size: 14px; line-height: 28px; text-indent: 2em; }
.article-copy .article-fig { text-indent: 0; text-align: center; }
.article-copy ul, .article-copy ol { margin: 0 0 16px; padding-left: 2em; }
.article-copy a { color: var(--brand-ink); }
.article-copy strong, .article-copy b { font-weight: 700; }
.article-copy img { display: block; max-width: 100%; height: auto; margin: 8px auto; }
.article-copy p:has(img) { text-indent: 0; text-align: center; }
.article-turn { border-top: 1px solid #eee; margin-top: 8px; padding: 12px 4px 4px; }
.article-turn div { display: flex; align-items: center; gap: 8px; min-height: 28px; color: #999; font-size: 14px; }
.article-turn div + div { margin-top: 4px; }
.article-turn span { flex: 0 0 auto; }
.article-turn a { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #333; }
.article-turn a:hover { color: var(--hover); }
.article-turn time { flex: 0 0 auto; color: #bbb; font-size: 13px; }
.help-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 16px; align-items: start; }
.help-side { background: #fff; border-radius: 10px; padding: 8px 0; }
.help-side a { display: flex; align-items: center; min-height: 40px; padding: 0 18px; font-size: 14px; color: var(--ink); }
.help-side a.is-active { color: var(--brand-ink); }
.help-side a:hover { color: var(--hover); }
.help-list { display: grid; gap: 10px; }
.help-list a { display: block; background: #fff; border-radius: 10px; padding: 16px 18px; }
.help-list strong { display: block; font-size: 16px; font-weight: 400; color: #333; line-height: 24px; }
.help-list a:hover strong { color: var(--hover); }
.wiki-board { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
.wiki-panel { background: #fff; border-radius: 10px; padding: 10px 30px 20px; }
.wiki-panel h2 { margin: 0 0 10px; height: 40px; font-size: 16px; font-weight: 700; line-height: 40px; color: #000; }
.wiki-row { display: flex; gap: 30px; align-items: stretch; }
.wiki-photo { position: relative; flex: 0 0 210px; width: 210px; min-height: 140px; overflow: hidden; background: #f3f4f6; }
.wiki-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.wiki-list { list-style: none; margin: 0; padding: 0; flex: 1; min-width: 0; }
.wiki-list li { height: 35px; }
.wiki-list a { display: flex; align-items: center; gap: 8px; height: 35px; color: #000; font-size: 13px; line-height: 20px; }
.wiki-list a:hover { color: var(--hover); }
.wiki-no { flex: 0 0 auto; color: #fb4e5b; font-size: 12px; font-weight: 700; line-height: 18px; }
.wiki-list .name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wiki-feature .wiki-photo { min-height: 140px; }
.wiki-feature .feat { display: block; color: #333; font-size: 14px; line-height: 22px; }
.wiki-feature .feat .more { float: right; color: #aaa; font-size: 13px; }
.wiki-feature .feat:hover { color: var(--hover); }
.wiki-feature p { height: 100px; margin: 6px 0 0; overflow: hidden; color: #666; font-size: 13px; line-height: 20px; }
.wiki-banner {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  height: 110px; margin-top: 20px; border-radius: 8px;
  background: linear-gradient(90deg, #145c40 0%, #187a52 55%, #0f4a34 100%);
  color: #fff; font-size: 22px; font-weight: 700; letter-spacing: 1px;
}
.wiki-banner span { font-weight: 400; font-size: 16px; letter-spacing: 0; }
.panel h1 { margin: 0 0 12px; font-size: 18px; font-weight: 700; color: #333; }

.contact-qr { width: 88px; height: 88px; object-fit: contain; display: block; margin: 0; }
.kefu-dock {
  position: fixed; right: 0; top: 50%; z-index: 60; transform: translateY(-50%);
  display: flex; flex-direction: column; width: 44px; max-height: calc(100vh - 32px);
  background: #fff; border: 1px solid #d7eee4; border-right: 0; border-radius: 12px 0 0 12px;
  box-shadow: -6px 0 16px rgba(24, 60, 40, .12);
}
.kefu-dock__list {
  display: flex; flex-direction: column; min-height: 0; max-height: calc(100vh - 72px);
  overflow-x: hidden; overflow-y: auto; scrollbar-width: thin;
}
.kefu-dock__list::-webkit-scrollbar { width: 0; }
.kefu-dock__item:first-child .kefu-dock__btn { border-radius: 11px 0 0 0; }
.kefu-dock__toggle {
  width: 44px; min-height: 36px; display: grid; place-items: center; padding: 6px 0;
  border: 0; border-top: 1px solid #e7f3ec; border-radius: 0 0 0 11px;
  background: transparent; color: var(--brand-ink); box-shadow: none;
}
.kefu-dock__fold { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.kefu-dock__name { display: none; }
.kefu-dock__toggle:hover { background: var(--brand); color: var(--on-brand); }
.kefu-dock.is-collapsed .kefu-dock__list { display: none; }
.kefu-dock.is-collapsed .kefu-dock__fold { display: none; }
.kefu-dock.is-collapsed .kefu-dock__name { display: inline; font-size: 13px; font-weight: 600; letter-spacing: 2px; writing-mode: vertical-rl; }
.kefu-dock.is-collapsed .kefu-dock__toggle { border-top: 0; border-radius: 11px 0 0 11px; min-height: 64px; padding: 12px 0; }
.kefu-dock__item { position: relative; }
.kefu-dock__item + .kefu-dock__item { border-top: 1px solid #e7f3ec; }
.kefu-dock__item::before { content: ""; position: absolute; top: 0; right: 100%; width: 14px; height: 100%; }
.kefu-dock__btn {
  width: 44px; height: 40px; display: grid; place-items: center; padding: 0;
  border: 0; border-radius: 0; background: transparent; color: var(--brand-ink);
  box-shadow: none;
}
.kefu-dock__btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.kefu-dock__btn:hover, .kefu-dock__item.is-open .kefu-dock__btn { background: var(--brand); color: var(--on-brand); border-color: var(--brand); }
.kefu-dock__pop {
  position: fixed; right: 56px; top: 0; min-width: 148px; max-width: 220px;
  padding: 12px; border: 1px solid #d7eee4; border-radius: 12px; background: #fff;
  box-shadow: 0 16px 40px rgba(24, 60, 40, .16); color: #14382c; text-align: center;
  opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-50%) translateX(6px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.kefu-dock__pop.is-shown,
.kefu-dock__item:hover .kefu-dock__pop,
.kefu-dock__item:focus-within .kefu-dock__pop,
.kefu-dock__item.is-open .kefu-dock__pop {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(-50%);
}
.kefu-dock__pop.is-shown { z-index: 70; }
.kefu-dock__pop.is-shown::after {
  content: ""; position: absolute; top: 0; right: -16px; width: 16px; height: 100%;
}
.kefu-dock__pop b { display: block; margin-bottom: 6px; font-size: 13px; }
.kefu-dock__pop a { display: block; color: var(--brand-ink); font-size: 13px; line-height: 20px; word-break: break-all; }
.kefu-dock__pop a + a { margin-top: 4px; }
.kefu-dock__pop a:hover { color: var(--hover); }
.kefu-dock__pop img { width: 140px; height: 140px; object-fit: contain; display: block; margin: 0 auto 6px; }
.toast {
  position: fixed; right: 16px; bottom: 16px; z-index: 50; background: #1f2933; color: #fff;
  padding: 12px 14px; border-radius: 8px; opacity: 0; transform: translateY(8px); pointer-events: none; transition: .2s ease;
}
.toast.show { opacity: 1; transform: none; }
.toast.err { background: #b42318; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-grid; place-items: center; }
  .header-main { flex-wrap: wrap; min-height: 0; padding: 12px 0; gap: 12px; }
  .search { order: 3; flex: 1 0 100%; max-width: none; }
  .main-nav { display: none; }
  body.nav-open .main-nav { display: block; border-top: 1px solid #f3f3f3; }
  .logo { height: 32px; width: auto; }
  .cart-link { height: 40px; padding: 0 12px; }
  .search button { width: 56px; }
  .main-nav > .container, .nav-links { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav > .container { gap: 4px; }
  .main-nav .nav-links { display: flex; flex-direction: column; align-items: stretch; }
  .nav-links > a, .cat-btn { width: 100%; justify-content: flex-start; }
  .nav-cat-panel { position: static; display: block; width: auto; max-height: none; border: 0; box-shadow: none; padding: 0 0 8px 12px; }
  .home-top, .floor-grid, .detail-top, .detail-bottom, .help-layout, .goods-detail, .goods-main-grid, .detail, .checkout-grid, .account-grid, .pay-panel, .user-center {
    grid-template-columns: 1fr;
  }
  .article-sheet { padding: 20px 16px 12px; }
  .article-turn div { align-items: flex-start; }
  .article-turn time { display: none; }
  .uc-grid { grid-template-columns: 1fr 1fr; }
  .uc-order-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .uc-order-meta, .uc-order-line, .invoice-grid { grid-template-columns: 1fr; }
  .uc-order-line.is-head { display: none; }
  .uc-order-line span:nth-child(n+3) { text-align: left; }
  .uc-metrics, .uc-metrics.two, .uc-safe > div, .uc-info > div { grid-template-columns: 1fr; }
  .uc-metrics > div + div::before { display: none; }
  .uc-filter-ops { margin-left: 0; }
  .user-side { min-height: 0; }
  .brand-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wiki-board { grid-template-columns: 1fr; }
  .wiki-row { flex-direction: column; }
  .wiki-photo { width: 100%; height: 160px; flex-basis: auto; }
  .wiki-banner { height: auto; padding: 18px 16px; font-size: 16px; text-align: center; flex-direction: column; gap: 6px; }
  .about-grid, .about-grid--two, .about-steps, .contact-facts, .contact-board { grid-template-columns: 1fr; }
  .contact-map { height: 280px; }
  .brand-strip a { height: 88px; }
  .home-top { grid-template-rows: auto; }
  .home-top > .home-bar, .home-top > .cat-tree, .home-top > .nav-links, .home-top > .hero, .home-top > .home-side { grid-column: auto; grid-row: auto; }
  .home-top > .home-bar, .home-top > .cat-tree, .home-top > .nav-links { display: none; }
  .home-top > .hero { height: 200px; min-height: 200px; }
  .detail-main { grid-template-columns: 1fr; padding: 16px; }
  .detail-buy { padding: 16px; }
  .detail-photo .swatch.lg, .swatch.lg { width: 100%; height: 240px; }
  .detail-gallery { width: 100%; }
  .detail-stage { width: 100%; height: 240px; }
  .detail-zoom-pane, .detail-lens, .detail-zoom-mark { display: none; }
  .cat-btn { border-radius: 4px; min-width: 0; height: 40px; }
  .hero { min-height: 200px; height: 200px; }
  .ladder, .goods-board, .detail-specs { overflow-x: auto; }
  .hero-copy { padding: 16px 40px; }
  .hero-copy h2 { font-size: 22px; }
  .goods-head { display: none; }
  .goods-row, .item, .cart-line { grid-template-columns: 72px minmax(0, 1fr); }
  .goods-price, .goods-stock, .buy-cell, .item-buy, .cart-line .qty-field, .cart-line .line-price, .cart-line .line-op { grid-column: 2; justify-items: start; }
  .summary-box { position: static; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
