/*
────────────────────────────────────────
 Started CSS · 源站货盘 1:1 风格
 Author  : Started · WeChat yumengit
────────────────────────────────────────
*/
:root {
  --primary: #1677ff;
  --primary-hover: #4096ff;
  --price: #ff4d4f;
  --ok: #52c41a;
  --warn: #faad14;
  --danger: #ff4d4f;
  --bg: #f5f6f8;
  --card: #ffffff;
  --text: #1f1f1f;
  --muted: #8c8c8c;
  --border: #f0f0f0;
  --line: #e8e8e8;
  --radius: 8px;
  --shadow: 0 1px 2px rgba(0,0,0,.03), 0 4px 12px rgba(0,0,0,.04);
  --font: "HarmonyOS Sans SC", "MiSans", "PingFang SC", "Microsoft YaHei", sans-serif;
}

/* cache bump: multi-supplier nav v1 */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body.src-body, body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  font-size: 14px;
  line-height: 1.5;
  min-height: 100vh;
}
a { color: var(--primary); text-decoration: none; }
img { max-width: 100%; display: block; }
button, input { font-family: inherit; }

.icon { width: 16px; height: 16px; vertical-align: -2px; }
.icon-sm { width: 14px; height: 14px; }

/* loader */
.page-loader {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(255,255,255,.72);
  display: none; align-items: center; justify-content: center;
}
.page-loader.show { display: flex; }
.loader-box { text-align: center; color: var(--muted); }
.spinner {
  width: 36px; height: 36px; margin: 0 auto 10px;
  border: 3px solid #d6e4ff; border-top-color: var(--primary);
  border-radius: 50%; animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* topbar */
.src-topbar {
  position: sticky; top: 0; z-index: 100;
  background: #fff; border-bottom: 1px solid var(--border);
}
.src-topbar-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 16px;
  height: 56px; display: flex; align-items: center; gap: 24px;
}
.src-brand {
  display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700;
}
.src-brand img { width: 32px; height: 32px; object-fit: contain; border-radius: 6px; }
.src-brand-name { font-size: 18px; letter-spacing: .02em; }
.src-nav { display: flex; gap: 8px; flex: 1; }
.src-nav a {
  padding: 6px 12px; border-radius: 6px; color: #595959; font-weight: 500;
}
.src-nav a.active, .src-nav a:hover { color: var(--primary); background: #e6f4ff; }
.src-topbar-right { display: flex; align-items: center; gap: 12px; color: var(--muted); }
.src-link { color: var(--muted); }
.src-link:hover { color: var(--primary); }

.src-main { max-width: 1280px; margin: 0 auto; padding: 16px; min-height: calc(100vh - 120px); }

/* 多供应商左侧切换 */
.src-goods-layout.has-suppliers {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
.src-supplier-nav {
  position: sticky;
  top: 72px;
  background: #fff;
  border: 1px solid #e8eaef;
  border-radius: 10px;
  padding: 10px 8px;
}
.src-supplier-nav-title {
  font-size: 12px;
  color: #8a919f;
  padding: 4px 10px 10px;
  letter-spacing: 0.02em;
}
.src-supplier-item {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  color: #333;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.35;
  margin-bottom: 2px;
}
.src-supplier-item:hover { background: #f5f7fb; color: #111; }
.src-supplier-item.active {
  background: #eef4ff;
  color: #2563eb;
  font-weight: 600;
}
@media (max-width: 860px) {
  .src-goods-layout.has-suppliers {
    grid-template-columns: 1fr;
  }
  .src-supplier-nav {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    padding: 10px;
  }
  .src-supplier-nav-title {
    width: 100%;
    padding: 0 4px 4px;
  }
  .src-supplier-item {
    margin: 0;
    padding: 8px 12px;
    background: #f5f7fb;
  }
}

.src-footer {
  border-top: 1px solid var(--border); background: #fff; margin-top: 24px;
}
.src-footer-inner {
  max-width: 1280px; margin: 0 auto; padding: 20px 16px;
  display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center;
  color: var(--muted); font-size: 13px;
}
.src-footer-inner strong { color: var(--text); font-size: 14px; }
.src-footer-contact { display: flex; align-items: center; gap: 12px; }
.src-footer-contact img { width: 72px; height: 72px; object-fit: contain; border: 1px solid var(--border); border-radius: 6px; }

/* buttons / chips */
.src-btn, .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 32px; padding: 0 14px; border-radius: 6px; border: 1px solid var(--line);
  background: #fff; color: var(--text); cursor: pointer; font-size: 14px;
}
.src-btn:hover, .btn:hover { border-color: var(--primary); color: var(--primary); }
.src-btn-primary, .btn {
  background: var(--primary); border-color: var(--primary); color: #fff;
}
.src-btn-primary:hover, .btn:hover { background: var(--primary-hover); color: #fff; }
.btn-secondary { background: #fff; color: var(--text); border-color: var(--line); }
.btn-block { width: 100%; height: 40px; }
.btn-danger { background: var(--danger); border-color: var(--danger); color: #fff; }

.src-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.src-chip, .chip {
  display: inline-flex; align-items: center; height: 28px; padding: 0 12px;
  border-radius: 14px; background: #f5f5f5; color: #595959; font-size: 13px;
}
.src-chip:hover, .chip:hover { color: var(--primary); }
.src-chip.active, .chip.active { background: #e6f4ff; color: var(--primary); font-weight: 600; }
.src-chips-sm .src-chip { height: 26px; font-size: 12px; }
.src-pill {
  display: inline-flex; align-items: center; height: 22px; padding: 0 8px;
  border-radius: 4px; font-size: 12px; background: #f5f5f5; color: #595959;
}
.src-pill-ok { background: #f6ffed; color: #389e0d; border: 1px solid #b7eb8f; }
.src-muted, .muted { color: var(--muted); }
.src-empty, .empty {
  background: #fff; border-radius: var(--radius); padding: 48px 20px;
  text-align: center; color: var(--muted); box-shadow: var(--shadow);
}
.src-alert, .alert {
  background: #e6f4ff; border: 1px solid #91caff; color: #0958d9;
  border-radius: 6px; padding: 10px 14px; margin-bottom: 12px;
}
.alert-ok { background: #f6ffed; border-color: #b7eb8f; color: #389e0d; }
.alert-error { background: #fff2f0; border-color: #ffccc7; color: #cf1322; }
.freight-summary { font-weight: 600; margin-bottom: 6px; }
.freight-section { margin-bottom: 8px; }
.freight-title { font-weight: 600; color: var(--text); margin-bottom: 4px; }
.freight-block { margin-bottom: 6px; }
.freight-fee { color: var(--price); font-weight: 600; }
.freight-areas { color: #595959; line-height: 1.5; }
.stock-badge {
  display: inline-block; min-width: 36px; padding: 2px 8px; border-radius: 4px; font-size: 12px;
}
.stock-ok { background: #f6ffed; color: #389e0d; }
.stock-muted { background: #f5f5f5; color: #8c8c8c; }
.stock-empty { background: #fff2f0; color: #cf1322; }

/* shop head + filter + list */
.src-shop-head {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 18px 20px; margin-bottom: 12px;
  display: flex; justify-content: space-between; gap: 16px; align-items: flex-start;
}
.src-shop-title { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.src-shop-title h1 { margin: 0; font-size: 20px; }
.src-shop-desc { margin: 0; color: var(--muted); font-size: 13px; max-width: 720px; }
.src-shop-meta { display: flex; gap: 20px; }
.src-shop-meta div { text-align: center; min-width: 88px; }
.src-shop-meta b { display: block; font-size: 22px; color: var(--primary); line-height: 1.2; }
.src-shop-meta span { color: var(--muted); font-size: 12px; }

.src-filter {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 14px 16px; margin-bottom: 12px;
}
.src-filter-source { padding-bottom: 10px; }

/* 分类：左标签 + 多行换行标签，对齐源站展架分类 */
.src-cat-block {
  border-bottom: 1px solid var(--border);
  padding-bottom: 10px;
  margin-bottom: 4px;
}
.src-cat-line {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 6px 0;
}
.src-cat-label {
  flex: 0 0 64px;
  color: var(--muted);
  font-size: 13px;
  line-height: 28px;
  white-space: nowrap;
}
.src-cat-tags {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  min-width: 0;
}
.src-tag {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 4px;
  color: #595959;
  font-size: 13px;
  line-height: 26px;
  background: transparent;
  white-space: nowrap;
}
.src-tag:hover { color: var(--primary); }
.src-tag.active {
  color: var(--primary);
  border-color: var(--primary);
  background: #e6f4ff;
  font-weight: 600;
}

.src-filter-search { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.src-filter-search input, .src-filter-row-inline input {
  height: 32px; border: 1px solid var(--line); border-radius: 6px; padding: 0 10px; min-width: 160px;
}
.src-filter-row { display: flex; gap: 12px; margin-top: 10px; align-items: flex-start; }
.src-filter-row-inline { align-items: center; flex-wrap: wrap; }
.src-filter-label {
  flex: 0 0 64px; color: var(--muted); font-size: 13px; line-height: 28px;
}
.src-sep { color: var(--muted); }
.src-chips-scroll {
  flex: 1; overflow-x: auto; flex-wrap: wrap; padding-bottom: 4px;
}
.src-chips-scroll .src-chip { flex: 0 0 auto; white-space: nowrap; }
.src-filter-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px 14px;
  margin-top: 12px;
}
.src-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.src-field > span { color: var(--muted); font-size: 12px; }
.src-field input, .src-field select {
  height: 32px; border: 1px solid var(--line); border-radius: 6px; padding: 0 10px; width: 100%;
  background: #fff; color: var(--text);
}
.src-field input:focus, .src-field select:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 2px rgba(22,119,255,.12);
}
.src-field-checks { justify-content: flex-end; }
.src-toggle-row {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center; min-height: 32px;
}
.src-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: #595959;
  font-size: 13px;
  cursor: pointer;
  user-select: none;
  transition: border-color .15s, color .15s, background .15s;
}
.src-toggle em {
  font-style: normal;
  line-height: 1;
}
.src-toggle input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  pointer-events: none;
}
.src-toggle:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.src-toggle:has(input:checked) {
  border-color: var(--primary);
  background: #e6f4ff;
  color: var(--primary);
  font-weight: 600;
}
.src-toggle:has(input:checked)::before {
  content: '';
  width: 6px;
  height: 10px;
  margin-right: 6px;
  border: solid var(--primary);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translateY(-1px);
  flex: 0 0 auto;
}
.src-filter-actions { display: flex; gap: 8px; align-items: center; min-height: 32px; }
.src-btn-sm {
  height: 28px; padding: 0 10px; font-size: 12px;
}

/* 大图选品 / 基础资料 */
.src-view-tabs {
  display: flex;
  gap: 0;
  margin: 0 0 12px;
  padding: 0 4px;
  border-bottom: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.src-view-tab {
  position: relative;
  height: 44px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  color: #595959;
  font-size: 14px;
  font-weight: 500;
}
.src-view-tab:hover { color: var(--primary); }
.src-view-tab.active {
  color: var(--primary);
  font-weight: 600;
}
.src-view-tab.active::after {
  content: '';
  position: absolute;
  left: 16px; right: 16px; bottom: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px 2px 0 0;
}

.src-toolbar {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  margin: 0 0 12px; flex-wrap: wrap;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 8px 14px;
}
.src-sort-bar { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.src-sort-item {
  height: 30px; padding: 0 12px; display: inline-flex; align-items: center;
  border-radius: 4px; color: #595959; font-size: 13px;
}
.src-sort-item:hover { color: var(--primary); }
.src-sort-item.active { color: var(--primary); font-weight: 600; background: #e6f4ff; }
.src-sort-sep {
  width: 1px; height: 16px; background: var(--line); margin: 0 6px;
}
.src-quick-icons {
  display: inline-flex; flex-wrap: wrap; gap: 6px; align-items: center;
}
.src-quick-icon {
  display: inline-flex; align-items: center; justify-content: center;
  height: 30px; padding: 0 4px; border-radius: 4px; border: 1px solid transparent;
  background: transparent; transition: border-color .15s, background .15s;
}
.src-quick-icon img { display: block; height: 16px; width: auto; max-width: 110px; }
.src-quick-icon:hover { background: #f5f5f5; }
.src-quick-icon.active {
  border-color: var(--primary); background: #e6f4ff;
}

.src-list-meta {
  display: flex; align-items: center; gap: 12px;
  color: var(--muted); font-size: 13px; margin: 0;
}
.src-list-meta b { color: var(--text); }

.src-goods-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}
.src-goods-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); color: inherit; display: flex; flex-direction: column;
  transition: box-shadow .2s, transform .2s;
}
.src-goods-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,.08); transform: translateY(-2px); color: inherit;
}
.src-goods-cover {
  aspect-ratio: 1; background: #fafafa; overflow: hidden;
}
.src-goods-cover img { width: 100%; height: 100%; object-fit: cover; }
.src-goods-body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.src-goods-title {
  font-size: 13px; line-height: 1.4; height: 36px; overflow: hidden;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.src-goods-sales {
  display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: 12px;
}
.src-goods-price { display: flex; align-items: baseline; gap: 6px; margin-top: 2px; }
.src-goods-price em { font-style: normal; color: var(--muted); font-size: 12px; }
.src-goods-price strong {
  color: var(--price); font-size: 18px; font-weight: 700;
}
.src-goods-price strong i { font-style: normal; font-size: 12px; font-weight: 500; margin-left: 2px; }
.src-goods-foot {
  display: flex; justify-content: space-between; gap: 8px;
  color: var(--muted); font-size: 12px; margin-top: auto;
}
.src-goods-freight { color: #595959; }
.src-goods-plats { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 55%; }

/* 基础资料表格 */
.src-basic-wrap {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  overflow: auto;
}
.src-basic-table {
  width: 100%; border-collapse: collapse; font-size: 13px; min-width: 960px;
}
.src-basic-table th, .src-basic-table td {
  padding: 10px 12px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: middle;
}
.src-basic-table th {
  background: #fafafa; color: #595959; font-weight: 500; white-space: nowrap;
}
.src-basic-table .col-pic { width: 72px; }
.src-basic-table .col-pic img {
  width: 56px; height: 56px; object-fit: cover; border-radius: 4px; border: 1px solid var(--border);
}
.src-basic-table .col-code { white-space: nowrap; color: #595959; }
.src-basic-table .col-name { max-width: 280px; }
.src-basic-name {
  color: var(--text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; line-height: 1.4;
}
.src-basic-name:hover { color: var(--primary); }
.src-basic-table .col-price .src-price { color: var(--price); font-weight: 600; white-space: nowrap; }
.src-basic-table .col-sale, .src-basic-table .col-freight { white-space: nowrap; color: #595959; }
.src-basic-table .col-plat { max-width: 140px; color: #595959; }
.src-basic-table .col-act { white-space: nowrap; }
.src-basic-table tbody tr:hover { background: #fafafa; }

.src-pager {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  margin-top: 16px; flex-wrap: wrap;
}
.src-pager-links { display: flex; gap: 6px; flex-wrap: wrap; }
.src-pager-links a {
  min-width: 32px; height: 32px; padding: 0 8px; display: inline-flex;
  align-items: center; justify-content: center; border-radius: 6px;
  background: #fff; border: 1px solid var(--line); color: #595959;
}
.src-pager-links a.active, .src-pager-links a:hover {
  border-color: var(--primary); color: var(--primary);
}

/* detail */
.gd-page { display: flex; flex-direction: column; gap: 12px; }
.gd-crumb { color: var(--muted); font-size: 13px; }
.gd-crumb a { color: var(--muted); }
.gd-crumb a:hover { color: var(--primary); }
.gd-crumb em { font-style: normal; color: var(--text); }

.gd-supplier {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 14px 16px;
}
.gd-supplier-left { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.gd-supplier-left strong { font-size: 16px; }
.gd-supplier-tip { color: var(--muted); font-size: 13px; }

.gd-hero {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 16px; display: grid; grid-template-columns: 420px 1fr; gap: 24px;
}
.gd-gallery { min-width: 0; }
.gd-main-stage {
  position: relative; aspect-ratio: 1; background: #fafafa;
  border: 1px solid var(--border); border-radius: 6px; overflow: hidden;
}
.gd-main-stage img { width: 100%; height: 100%; object-fit: contain; }
.gallery-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 32px; height: 48px; border: 0; background: rgba(0,0,0,.35);
  color: #fff; font-size: 22px; cursor: pointer; border-radius: 4px;
}
.gallery-prev { left: 8px; }
.gallery-next { right: 8px; }
.gd-thumbs {
  display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; padding-bottom: 2px;
}
.gd-thumbs img {
  width: 64px; height: 64px; object-fit: cover; border-radius: 4px;
  border: 2px solid transparent; cursor: pointer; flex: 0 0 auto;
}
.gd-thumbs img.active { border-color: var(--primary); }

.gd-info { min-width: 0; }
.gd-title { margin: 0 0 10px; font-size: 18px; line-height: 1.4; font-weight: 600; }
.gd-sales { display: flex; gap: 16px; color: var(--muted); font-size: 13px; margin-bottom: 14px; }
.gd-price-box {
  background: #fafafa; border-radius: 6px; padding: 14px 16px; margin-bottom: 14px;
}
.gd-price-row {
  display: flex; align-items: baseline; gap: 16px; margin-bottom: 8px;
}
.gd-price-row:last-child { margin-bottom: 0; }
.gd-price-row label { width: 56px; color: var(--muted); font-size: 13px; }
.gd-price-main { color: var(--price); display: flex; align-items: baseline; }
.gd-price-main em { font-style: normal; font-size: 16px; font-weight: 600; }
.gd-price-main strong { font-size: 28px; font-weight: 700; line-height: 1; }
.gd-price-main i { font-style: normal; font-size: 13px; margin-left: 4px; font-weight: 500; }
.gd-price-sub { color: #595959; font-size: 16px; }

.gd-meta {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px; margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--border);
}
.gd-meta label { display: block; color: var(--muted); font-size: 12px; margin-bottom: 2px; }
.gd-meta span { color: var(--text); font-size: 13px; word-break: break-all; }

.gd-block {
  display: grid; grid-template-columns: 64px 1fr; gap: 10px;
  padding: 10px 0; border-bottom: 1px solid var(--border);
}
.gd-block:last-child { border-bottom: 0; }
.gd-block > label { color: var(--muted); font-size: 13px; padding-top: 2px; }
.gd-block-body { color: #262626; font-size: 13px; line-height: 1.6; }
.gd-freight-brief { font-weight: 600; margin-bottom: 6px; }
.gd-freight-detail { color: #595959; font-size: 12px; }
.gd-freight-detail .freight-section { margin-bottom: 8px; }
.gd-freight-detail .freight-section b { color: var(--text); }
.gd-aftersale, .aftersale-text {
  margin: 0; white-space: pre-wrap; font-family: inherit; font-size: 13px; color: #595959;
}

.gd-panel {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px;
}
.gd-panel-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 12px;
}
.gd-panel-head h2 { margin: 0; font-size: 16px; }
.gd-table-wrap { overflow-x: auto; }
.gd-table {
  width: 100%; border-collapse: collapse; font-size: 13px;
}
.gd-table th, .gd-table td {
  border-bottom: 1px solid var(--border); padding: 12px 10px; text-align: left;
}
.gd-table th { background: #fafafa; color: #595959; font-weight: 500; }
.gd-num { color: var(--price); font-weight: 600; white-space: nowrap; }
.gd-detail-images { display: flex; flex-direction: column; gap: 0; align-items: center; }
.gd-detail-images img { width: 100%; max-width: 790px; height: auto; }

/* login */
.login-wrap {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 24px; background:
    radial-gradient(1000px 500px at 10% -10%, #d6e4ff 0%, transparent 55%),
    radial-gradient(800px 400px at 100% 0%, #fff1f0 0%, transparent 50%),
    var(--bg);
}
.login-card {
  width: 100%; max-width: 400px; background: #fff; border-radius: 12px;
  padding: 32px 28px; box-shadow: var(--shadow);
}
.login-card .logo { width: 48px; height: 48px; margin: 0 auto 12px; object-fit: contain; }
.login-card h1 { text-align: center; font-size: 22px; margin: 0 0 4px; }
.login-card .sub { text-align: center; color: var(--muted); margin-bottom: 24px; font-size: 13px; }
.login-foot { margin: 16px 0 0; color: var(--muted); font-size: 12px; text-align: center; }
.form-item { margin-bottom: 14px; }
.form-item label { display: block; margin-bottom: 6px; color: #595959; font-size: 13px; }
.form-item input {
  width: 100%; height: 40px; border: 1px solid var(--line); border-radius: 6px; padding: 0 12px;
}
.form-item input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 2px rgba(22,119,255,.15); }
.captcha-row { display: flex; gap: 8px; }
.captcha-row img { height: 40px; border-radius: 6px; border: 1px solid var(--line); cursor: pointer; }

@media (max-width: 1280px) {
  .src-goods-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  .src-goods-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gd-hero { grid-template-columns: 340px 1fr; }
  .src-filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .src-goods-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gd-hero { grid-template-columns: 1fr; }
  .gd-meta { grid-template-columns: 1fr; }
  .src-shop-head { flex-direction: column; }
  .src-cat-label { flex-basis: 100%; line-height: 1.2; }
  .src-cat-line { flex-direction: column; gap: 6px; }
  .src-filter-grid { grid-template-columns: 1fr; }
  .src-sort-sep { display: none; }
}
@media (max-width: 520px) {
  .src-goods-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .src-brand-name { font-size: 16px; }
}
