/* ============================================
   杰托马 · 代理产品目录 — 浅色简约主题
   ============================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}
body {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: #f6f7f9;
  color: #1f2430;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}
a { color: #e11d48; text-decoration: none; }
a:hover { color: #be123c; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; font: inherit; }
input, select, textarea { font: inherit; color: inherit; }
.shell {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

/* ─── 顶部导航 ────────────────────────────── */
.topbar {
  width: 100%;
  max-width: 100%;
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #e8eaef;
}
.topbar-inner {
  width: 100%;
  min-width: 0;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  flex: 0 0 auto;
  min-width: 0;
}
.brand-mark {
  height: 38px;
  width: auto;
  max-width: 150px;
  display: block;
  object-fit: contain;
}
.brand-text {
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 1px;
  color: #e11d48;
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-text small {
  font-weight: 600;
  font-size: 0.62rem;
  color: #1f2430;
  letter-spacing: 3px;
  text-transform: uppercase;
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-width: 0; }
.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.nav-logo-img { height: 34px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-link {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.875rem;
  color: #5a6270;
  transition: all 0.2s;
  white-space: nowrap;
  text-decoration: none;
  font-weight: 500;
}
.nav-link:hover { color: #1f2430; background: #f0f1f4; }
.nav-link.active { color: #e11d48; background: #fdeef1; font-weight: 600; }
.btn-login, .btn-admin {
  background: #e11d48;
  color: #fff !important;
  font-weight: 600;
  border-radius: 999px;
  padding: 8px 20px;
}
.btn-login:hover, .btn-admin:hover { background: #be123c !important; }

/* ─── 品牌入口页 ──────────────────────────── */
.brand-entry {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 20px 64px;
}
.entry-head { text-align: center; margin-bottom: 36px; }
.entry-head h1 {
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: #1f2430;
  margin-bottom: 6px;
}
.entry-head h1 .accent { color: #e11d48; }
.entry-head .subtitle {
  font-size: 0.92rem;
  color: #9aa1ad;
}
.entry-contact {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  border: none;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
  color: #fff;
}
.contact-pill svg { flex: none; }
.contact-pill-phone { background: #1f2430; }
.contact-pill-phone:hover { background: #11151c; }
.contact-pill-wechat { background: #07c160; }
.contact-pill-wechat:hover { background: #06ad56; }
.brand-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.brand-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 5 / 6;
  background: #fff;
  box-shadow: 0 2px 12px rgba(31,36,48,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #eef0f4;
}
.brand-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(31,36,48,0.14);
}
.brand-card .card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.brand-card:hover .card-img { transform: scale(1.05); }
.brand-card .card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.15) 45%, rgba(0,0,0,0.05) 100%);
}
.brand-card .card-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 20px 16px;
  color: #fff;
}
.brand-card .card-name {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 1px;
  line-height: 1.2;
}
.brand-card .card-count {
  font-size: 0.8rem;
  margin-top: 4px;
  opacity: 0.85;
}
.brand-card .card-count b { font-weight: 700; }
/* 无海报的品牌用渐变色卡 */
.brand-card.card-gradient {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.brand-card.card-gradient .card-icon {
  font-size: 3rem;
  margin-bottom: 10px;
  color: rgba(255,255,255,0.95);
}
.brand-card.card-gradient .card-icon svg { width: 56px; height: 56px; }
.brand-card.card-gradient .card-title {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 1px;
}
.brand-card.card-gradient .card-sub {
  font-size: 0.8rem;
  opacity: 0.85;
  margin-top: 4px;
}
.brand-card.grad-moto { background: linear-gradient(135deg, #334155, #1e293b); }
.brand-card.grad-moto2 { background: linear-gradient(135deg, #e11d48, #9f1239); }
.brand-card.grad-part { background: linear-gradient(135deg, #f59e0b, #d97706); }

/* ─── 首页底部：企业背景 + 售后质保 ───────────── */
.entry-footer { margin-top: 40px; display: flex; flex-direction: column; gap: 28px; }
.company-section, .aftersale-section {
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #edeff3;
  box-shadow: 0 4px 16px rgba(17,24,39,0.05);
}
.company-section img, .aftersale-section img {
  width: 100%;
  display: block;
  height: auto;
}
.company-section .company-caption {
  padding: 16px 20px;
  font-size: 0.9rem;
  color: #4b5563;
  line-height: 1.7;
  border-top: 1px solid #edeff3;
}
.company-section .company-caption b, .afsale-section b { color: #e11d48; }
.afsale-title {
  padding: 16px 20px 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: #1f2430;
}

/* ─── 产品目录页 ──────────────────────────── */
.catalog { width: 100%; max-width: 1200px; min-width: 0; margin: 0 auto; padding: 24px 20px 64px; }
.catalog-head { margin-bottom: 20px; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #9aa1ad;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.breadcrumb .crumb { cursor: pointer; transition: color 0.2s; }
.breadcrumb .crumb:hover { color: #e11d48; }
.breadcrumb .crumb.current { color: #1f2430; font-weight: 600; cursor: default; }
.breadcrumb .sep { color: #c5cad4; }
.breadcrumb-back {
  display: inline-flex; align-items: center; gap: 3px;
  padding: 5px 11px 5px 8px; border: 1px solid #e2e8f0; background: #fff;
  border-radius: 8px; font-size: 0.8rem; font-weight: 600; color: #475569;
  cursor: pointer; transition: all 0.15s; margin-right: 4px;
}
.breadcrumb-back:hover { border-color: #e11d48; color: #e11d48; background: #fef2f4; }
.breadcrumb-back:active { transform: scale(0.96); }
.breadcrumb-back svg { display: block; }
.catalog-title { font-size: 1.5rem; font-weight: 800; color: #1f2430; }

/* 分类标签栏（一级分类） */
.cat-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 16px;
  -webkit-overflow-scrolling: touch;
}
.cat-tabs::-webkit-scrollbar { display: none; }
.cat-tab {
  flex-shrink: 0;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #5a6270;
  background: #fff;
  border: 1px solid #e8eaef;
  cursor: pointer;
  transition: all 0.2s;
}
.cat-tab:hover { border-color: #c5cad4; }
.cat-tab.active {
  background: #e11d48;
  color: #fff;
  border-color: #e11d48;
  box-shadow: 0 4px 12px rgba(225,29,72,0.25);
}

/* 搜索与筛选 */
.filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 20px;
}
.search-box { position: relative; flex: 1; min-width: 200px; }
.search-box input {
  width: 100%;
  padding: 10px 14px 10px 38px;
  border-radius: 10px;
  border: 1px solid #e2e5eb;
  background: #fff;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
}
.search-box input:focus { border-color: #e11d48; box-shadow: 0 0 0 3px rgba(225,29,72,0.08); }
.search-box .search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #9aa1ad;
  font-size: 1rem;
}
.filter-select {
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid #e2e5eb;
  background: #fff;
  font-size: 0.9rem;
  color: #1f2430;
  outline: none;
  cursor: pointer;
}
.filter-select:focus { border-color: #e11d48; }

/* 车型网格（二级分类） */
.model-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 18px;
  margin-bottom: 28px;
}
.model-card {
  background: #fff;
  border: 1px solid #eef0f4;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}
.model-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(31,36,48,0.12);
  border-color: #e11d48;
}
.model-card-img {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #f5f6f8;
  overflow: hidden;
}
.model-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.model-card:hover .model-card-img img {
  transform: scale(1.05);
}
.model-placeholder {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  color: rgba(255,255,255,0.25);
  background: linear-gradient(135deg, #f5f6f8, #eceef2);
  overflow: hidden;
}
.model-placeholder-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.12);
  transform: scale(2.5);
}
.model-placeholder-bg svg { width: 100px; height: 100px; }
.model-placeholder-initial {
  position: relative;
  z-index: 1;
  font-size: 3.5rem;
  font-weight: 800;
  color: rgba(255,255,255,0.9);
  letter-spacing: 1px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.model-placeholder-label {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
  letter-spacing: 0.5px;
  z-index: 1;
}
.model-card-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  text-align: left;
}
.model-card-brand {
  font-size: 0.72rem;
  color: #e11d48;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.model-card-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1f2430;
  line-height: 1.3;
}
.model-card-adapt {
  font-size: 0.75rem;
  color: #9aa1ad;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.model-card-crafts {
  font-size: 0.78rem;
  color: #e11d48;
  font-weight: 600;
}

/* 图片覆盖层：占位符常驻底层，图片加载成功盖住、失败自动摘除露出占位 */
.model-card-img img.cover,
.product-card-img img.cover,
.modal-product-img img.cover {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #fff; /* 透明底 PNG 显示为白底，避免露出占位符 */
}
.model-card-img img.cover { transition: transform 0.4s ease; }
.model-card:hover .model-card-img img.cover { transform: scale(1.05); }
.product-card-img img.cover { transition: transform 0.4s ease; }
.product-card:hover .product-card-img img.cover { transform: scale(1.05); }

/* 产品卡片（三级款式） */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 18px;
}
.product-card {
  background: #fff;
  border: 1px solid #eef0f4;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(31,36,48,0.04);
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(31,36,48,0.12);
  border-color: #ddd;
}
.product-card-img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #f5f6f8;
  overflow: hidden;
}
.product-card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 5px; text-align: left; }
.product-card-brand { font-size: 0.72rem; color: #e11d48; font-weight: 600; letter-spacing: 0.5px; }
.product-card-name { font-size: 0.98rem; font-weight: 700; color: #1f2430; line-height: 1.35; }
.product-card-craft { font-size: 0.78rem; color: #9aa1ad; line-height: 1.4; }
.product-card-price { font-size: 0.95rem; font-weight: 700; color: #e11d48; }
.product-card-price .price-label { font-size: 0.72rem; color: #9aa1ad; font-weight: 500; margin-right: 4px; }
.product-card .thumb {
  aspect-ratio: 4 / 3;
  background: #f3f4f7;
  overflow: hidden;
  position: relative;
}
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-card .thumb .no-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c5cad4;
  font-size: 2rem;
}
.product-card .info { padding: 14px; }
.product-card .p-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: #1f2430;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.product-card .p-craft {
  font-size: 0.75rem;
  color: #9aa1ad;
  margin-top: 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.product-card .p-price {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed #eceef2;
}
.product-card .price-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  margin-bottom: 4px;
}
.product-card .price-item .label { color: #9aa1ad; }
.product-card .price-item .value { color: #e11d48; font-weight: 700; }
.product-card .price-item.retail .value { color: #1f2430; font-size: 0.98rem; }

/* 弹窗 */
.modal-mask {
  position: fixed;
  inset: 0;
  background: rgba(20,22,28,0.5);
  backdrop-filter: blur(6px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: maskIn 0.2s ease;
}
@keyframes maskIn { from { opacity: 0; } to { opacity: 1; } }
.modal {
  background: #fff;
  border-radius: 18px;
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  animation: modalIn 0.25s ease;
}
@keyframes modalIn { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid #eef0f4;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1;
}
.modal-head h3 { font-size: 1.15rem; font-weight: 700; color: #1f2430; }
.modal-close {
  width: 32px;
  height: 32px;
  border: none;
  background: #f0f1f4;
  border-radius: 50%;
  font-size: 1.1rem;
  color: #5a6270;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-close:hover { background: #e2e5eb; }
.modal-body { padding: 22px; }

/* 产品详情弹窗（左右布局） */
.modal-product { max-width: 820px !important; padding: 24px; position: relative; }
.modal-product .modal-close { position: absolute; top: 14px; right: 14px; z-index: 2; }
.modal-product-layout { display: flex; gap: 22px; align-items: flex-start; }
.modal-product-img {
  flex: 0 0 300px;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #f3f4f7;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-product-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.modal-product-img img.cover { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; }
.modal-product-img .product-placeholder.large { width: 100%; aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; font-size: 3rem; color: #c5cad4; }
.modal-product-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.modal-product-info h2 { font-size: 1.25rem; font-weight: 700; color: #1f2430; margin: 2px 0 14px; line-height: 1.4; }
.info-table { width: 100%; border-collapse: collapse; margin-bottom: 16px; font-size: 0.9rem; }
.info-table tr { border-bottom: 1px solid #eef0f4; }
.info-table tr:last-child { border-bottom: none; }
.info-table td { padding: 9px 4px; color: #4b5563; vertical-align: top; }
.info-table td:first-child { color: #9aa1ad; width: 76px; white-space: nowrap; font-size: 0.85rem; }
.info-table .price-value { color: #e11d48; font-weight: 700; font-size: 1.05rem; }
.modal-actions { display: flex; gap: 10px; margin-top: auto; }
.modal-contact { display: flex; gap: 10px; margin-top: 12px; }
.btn-contact {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  border-radius: 10px;
  border: none;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
  color: #fff;
}
.btn-contact svg { flex: none; }
.btn-contact-phone { background: #1f2430; }
.btn-contact-phone:hover { background: #11151c; }
.btn-contact-wechat { background: #07c160; }
.btn-contact-wechat:hover { background: #06ad56; }

/* 产品详情弹窗 */
.detail-img {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: #f3f4f7;
  margin-bottom: 18px;
}
.detail-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.detail-img .no-img {
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c5cad4;
  font-size: 3rem;
}
.detail-title { font-size: 1.2rem; font-weight: 700; color: #1f2430; }
.detail-meta { font-size: 0.82rem; color: #9aa1ad; margin: 8px 0 16px; }
.detail-meta span { margin-right: 12px; }
.price-table {
  background: #f8f9fb;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 18px;
}
.price-table .price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 0.9rem;
}
.price-table .price-row:not(:last-child) { border-bottom: 1px solid #eef0f4; }
.price-table .price-row .label { color: #5a6270; }
.price-table .price-row .value { font-weight: 700; color: #1f2430; }
.price-table .price-row.retail .value { color: #e11d48; font-size: 1.1rem; }
.price-hint {
  text-align: center;
  color: #9aa1ad;
  font-size: 0.85rem;
  padding: 16px;
  background: #f8f9fb;
  border-radius: 12px;
  margin-bottom: 18px;
}
.detail-actions { display: flex; gap: 10px; }
.btn {
  flex: 1;
  padding: 12px;
  border-radius: 10px;
  border: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.2s;
}
.btn-primary { background: #e11d48; color: #fff; }
.btn-primary:hover { background: #be123c; }
.btn-secondary { background: #f0f1f4; color: #1f2430; }
.btn-secondary:hover { background: #e2e5eb; }

/* 表单 */
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #1f2430;
  margin-bottom: 6px;
}
.form-group label .req { color: #e11d48; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1px solid #e2e5eb;
  background: #fff;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: #e11d48;
  box-shadow: 0 0 0 3px rgba(225,29,72,0.08);
}
.form-group textarea { min-height: 80px; resize: vertical; }
.form-tip { font-size: 0.78rem; color: #9aa1ad; margin-top: 4px; }

/* 登录提示 */
.login-note {
  background: #fdf0f3;
  border: 1px solid #fbd5df;
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 0.85rem;
  color: #be123c;
  margin-bottom: 16px;
}

/* 输入错误 */
.input-error { border-color: #e11d48 !important; }

/* 空状态 */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: #9aa1ad;
}
.empty-state .empty-icon { font-size: 3rem; margin-bottom: 12px; }
.empty-state p { font-size: 0.95rem; }

/* 提示消息 */
.toast {
  position: fixed;
  top: 76px;
  left: 50%;
  transform: translateX(-50%);
  background: #1f2430;
  color: #fff;
  padding: 12px 22px;
  border-radius: 10px;
  font-size: 0.9rem;
  z-index: 300;
  box-shadow: 0 8px 24px rgba(31,36,48,0.25);
  animation: toastIn 0.3s ease;
}
@keyframes toastIn { from { transform: translate(-50%,-12px); opacity: 0; } to { transform: translate(-50%,0); opacity: 1; } }

/* ─── 管理后台 ────────────────────────────── */
.admin-panel { max-width: 1200px; margin: 0 auto; padding: 30px 20px 64px; }
.admin-head { margin-bottom: 24px; }
.admin-head h2 { font-size: 1.5rem; font-weight: 800; color: #1f2430; margin-bottom: 4px; }
.admin-head p { font-size: 0.88rem; color: #9aa1ad; }
.admin-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.admin-tab {
  padding: 9px 18px;
  border-radius: 9px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #5a6270;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}
.admin-tab:hover { background: #f0f1f4; }
.admin-tab.active { background: #1f2430; color: #fff; }

/* 产品管理表格 */
.admin-table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 0.86rem; }
.admin-table th {
  text-align: left;
  padding: 12px 14px;
  background: #f8f9fb;
  color: #5a6270;
  font-weight: 600;
  border-bottom: 1px solid #e8eaef;
  white-space: nowrap;
}
.admin-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #eef0f4;
  color: #1f2430;
  vertical-align: middle;
}
.admin-table td .thumb-sm {
  width: 48px;
  height: 36px;
  border-radius: 6px;
  object-fit: cover;
}
.admin-table .action-btn {
  padding: 5px 10px;
  border-radius: 6px;
  border: none;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  margin-right: 6px;
  transition: all 0.2s;
}
.admin-table .btn-edit { background: #eef2ff; color: #4f46e5; }
.admin-table .btn-edit:hover { background: #e0e7ff; }
.admin-table .btn-del { background: #fef2f2; color: #dc2626; }
.admin-table .btn-del:hover { background: #fee2e2; }
.admin-table .btn-enable { background: #e8f7ee; color: #16a34a; }
.admin-table .btn-enable:hover { background: #dcf2e4; }

/* 管理工具栏 & 账号标签 */
.admin-toolbar { display: flex; justify-content: flex-end; margin-bottom: 16px; }
.admin-toolbar .btn { flex: none; padding: 10px 20px; }
.agent-admin-summary {
  display: grid; grid-template-columns: repeat(3, minmax(120px, 1fr)) minmax(220px, 1.4fr);
  margin-bottom: 18px; overflow: hidden; border: 1px solid #e4e7ec; border-radius: 16px; background: linear-gradient(135deg, #fff, #faf7f8);
}
.agent-admin-summary > div { padding: 20px; border-right: 1px solid #eaecf0; }
.agent-admin-summary span { display: block; margin-bottom: 6px; color: #667085; font-size: .72rem; }
.agent-admin-summary strong { font-size: 1.65rem; }
.agent-admin-summary p { align-self: center; margin: 0; padding: 20px; color: #98a2b3; font-size: .7rem; line-height: 1.6; }
.agent-admin-toolbar { align-items: center; justify-content: space-between; gap: 12px; }
.agent-admin-toolbar > div { display: flex; gap: 8px; }
.agent-admin-table td strong { display: block; color: #101828; }
.agent-admin-table td small { display: block; max-width: 230px; margin-top: 5px; color: #98a2b3; line-height: 1.4; }
.agent-admin-table code { color: #475467; font-size: .72rem; white-space: nowrap; }
.tag-gold { background: #fff4c2; color: #7a5700; }

.modal-agent { max-width: 760px; max-height: min(90vh, 860px); overflow: auto; }
.agent-modal-title { margin: -2px 0 22px; padding-bottom: 17px; border-bottom: 1px solid #eaecf0; }
.agent-modal-title > span { color: #d81743; font-size: .6rem; font-weight: 850; letter-spacing: 2px; }
.agent-modal-title h2 { margin: 6px 0 4px; }
.agent-modal-title p { margin: 0; color: #98a2b3; font-size: .73rem; }
.modal-agent .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.agent-coordinate-box {
  display: grid; grid-template-columns: minmax(180px, 1fr) auto 130px 130px; align-items: end; gap: 10px;
  margin-top: 4px; padding: 15px; border: 1px solid #f1ccd5; border-radius: 12px; background: #fff8fa;
}
.agent-coordinate-box > div { align-self: center; }
.agent-coordinate-box > div strong { display: block; font-size: .8rem; }
.agent-coordinate-box > div span { display: block; margin-top: 5px; color: #8c5360; font-size: .64rem; line-height: 1.4; }
.agent-coordinate-box label { color: #667085; font-size: .65rem; }
.agent-coordinate-box input { width: 100%; min-height: 38px; margin-top: 4px; padding: 0 9px; border: 1px solid #d0d5dd; border-radius: 8px; background: #fff; }
.agent-modal-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 20px; }
.tag { display: inline-block; padding: 2px 10px; border-radius: 6px; font-size: 0.78rem; font-weight: 600; }
.tag-green { background: #e8f7ee; color: #16a34a; }
.tag-gray { background: #f0f1f4; color: #6b7280; }
.tag-dark { background: #1f2430; color: #fff; }

/* 价格权限说明 */
.price-perm-tip {
  background: #f8f9fb;
  border: 1px solid #e8eaef;
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.price-perm-tip .perm-title { font-weight: 700; color: #1f2430; font-size: 0.9rem; margin-bottom: 4px; }
.perm-line { font-size: 0.85rem; color: #5a6270; }
.perm-badge {
  display: inline-block;
  min-width: 72px;
  text-align: center;
  padding: 2px 10px;
  border-radius: 6px;
  background: #fff;
  border: 1px solid #e2e5eb;
  font-weight: 600;
  color: #1f2430;
  margin-right: 6px;
}

/* 询价卡列表 */
.inquiry-list { display: flex; flex-direction: column; gap: 14px; }
.inquiry-card {
  background: #fff;
  border: 1px solid #eef0f4;
  border-radius: 14px;
  padding: 18px;
}
.inquiry-card .iq-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
}
.inquiry-card .iq-name { font-weight: 700; color: #1f2430; font-size: 0.95rem; }
.inquiry-card .iq-time { font-size: 0.78rem; color: #9aa1ad; white-space: nowrap; }
.inquiry-card .iq-contact {
  font-size: 0.82rem;
  color: #5a6270;
  background: #f8f9fb;
  border-radius: 8px;
  padding: 8px 12px;
  margin-bottom: 10px;
}
.inquiry-card .iq-note { font-size: 0.85rem; color: #5a6270; }

/* 响应式 */
@media (max-width: 900px) {
  .brand-grid { grid-template-columns: repeat(3, 1fr); }
  .model-grid { grid-template-columns: repeat(3, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .brand-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .brand-card { aspect-ratio: 5 / 6.4; }
  .model-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .brand-text small { display: none; }
  .nav-link { padding: 6px 10px; font-size: 0.82rem; }
  .entry-head h1 { font-size: 1.5rem; }
  .modal-product-layout { flex-direction: column; }
  .modal-product-img { flex: 1 1 auto; width: 100%; }
  .modal-contact { flex-direction: column; }
  .btn-contact { font-size: 0.9rem; }
}
/* =======================================================
   优化样式补丁（v2: 数据带 / 公司卡片 / 售后卡片 / 吸顶 / 角色徽章）
   ======================================================= */

/* 数据带 - 主页头部与品牌网格之间 */
.data-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1200px;
  margin: 8px auto 32px;
  padding: 18px 12px;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fb 100%);
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(15, 23, 36, 0.04);
  border: 1px solid rgba(15, 23, 36, 0.04);
}
.band-cell {
  text-align: center;
  padding: 8px;
}
.band-icon {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  color: #e11d48;
  background: rgba(225, 29, 72, 0.08);
  border-radius: 10px;
  margin-bottom: 8px;
}
.band-icon svg { width: 20px; height: 20px; }
.band-num {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0f1724;
  line-height: 1;
}
.band-label {
  font-size: 0.78rem;
  color: #6b7280;
  margin-top: 4px;
  letter-spacing: 0.4px;
}

/* 信息卡片（公司介绍 / 售后 / 联系） */
.info-section {
  max-width: 1200px;
  margin: 24px auto;
  padding: 24px 28px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(15, 23, 36, 0.04);
  border: 1px solid rgba(15, 23, 36, 0.04);
}
.info-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f0f2f5;
}
.info-icon {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: #e11d48;
  background: linear-gradient(135deg, rgba(225, 29, 72, 0.1), rgba(225, 29, 72, 0.06));
  border-radius: 12px;
  flex-shrink: 0;
}
.info-icon svg { width: 22px; height: 22px; }
.info-title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f1724;
}
.info-subtitle {
  margin: 2px 0 0;
  font-size: 0.85rem;
  color: #6b7280;
}

/* 公司介绍chips */
.info-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  background: linear-gradient(135deg, #fef3f6, #fce8ed);
  color: #9f1239;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 500;
  border: 1px solid rgba(225, 29, 72, 0.12);
}
.chip svg { width: 14px; height: 14px; color: #e11d48; }
.info-body {
  color: #4b5563;
  font-size: 0.92rem;
  line-height: 1.7;
}
.info-body p { margin: 0 0 10px; }
.info-text-muted {
  color: #9aa1ad !important;
  font-size: 0.85rem;
}

/* 售后卡片3列 */
.af-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 16px;
}
.af-card {
  padding: 18px;
  background: linear-gradient(135deg, #f8f9fb, #ffffff);
  border-radius: 12px;
  border: 1px solid #f0f2f5;
  text-align: center;
  transition: all 0.2s;
}
.af-card:hover {
  border-color: #e11d48;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(225, 29, 72, 0.1);
}
.af-card-icon {
  font-size: 1.8rem;
  color: #e11d48;
  font-weight: 700;
  margin-bottom: 8px;
}
.af-card-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #0f1724;
  margin-bottom: 6px;
}
.af-card-desc {
  font-size: 0.78rem;
  color: #6b7280;
  line-height: 1.5;
}

/* 详情折叠 */
.af-details {
  margin-top: 14px;
  border-top: 1px solid #f0f2f5;
  padding-top: 14px;
}
.af-details summary {
  cursor: pointer;
  color: #e11d48;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 6px 0;
  user-select: none;
}
.af-details summary:hover { color: #be123c; }
.af-details-body {
  margin-top: 10px;
  padding: 14px;
  background: #f8f9fb;
  border-radius: 8px;
  font-size: 0.85rem;
  color: #4b5563;
  line-height: 1.7;
}
.af-details-body p { margin: 0 0 8px; }

/* 联系入口 */
.contact-section .contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}
.contact-pill svg { width: 16px; height: 16px; }
.contact-pill-phone {
  background: #e11d48;
  color: #ffffff;
}
.contact-pill-phone:hover { background: #be123c; transform: translateY(-1px); }
.contact-pill-wechat {
  background: #07c160;
  color: #ffffff;
}
.contact-pill-wechat:hover { background: #06a050; transform: translateY(-1px); }

/* 卡片渐变背景的 CTA 提示 */
.card-cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.85);
  opacity: 0;
  transition: opacity 0.2s;
}
.card-gradient:hover .card-cta { opacity: 1; }
.card-cta svg { width: 8px; height: 8px; }

/* 顶部 topbar 品牌标识（含 logo，保持原始比例不裁切） */
.topbar .brand-mark {
  height: 32px;
  width: auto;
  object-fit: contain;
  margin-right: 6px;
}
.topbar .brand-text {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f1724;
  letter-spacing: 0.3px;
}
.topbar .brand-text small {
  display: block;
  font-size: 0.65rem;
  color: #6b7280;
  letter-spacing: 1px;
  font-weight: 500;
}

/* 登录按钮（含角色徽章） */
.nav-link.btn-login {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
/* 登录态 — 浅色背景容器，让 role-chip 露出 */
.nav-link.btn-login:has(.role-chip) {
  background: #fff5f7;
  color: #e11d48 !important;
  border: 1px solid rgba(225, 29, 72, 0.18);
}
.nav-link.btn-login:has(.role-chip):hover {
  background: #ffe4e9;
}
.role-chip {
  display: inline-block;
  padding: 2px 8px;
  background: #e11d48;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 600;
  border-radius: 999px;
  letter-spacing: 0.3px;
}
.nav-user {
  font-size: 0.85rem;
  font-weight: 600;
  color: #0f1724;
}
.nav-logout {
  font-size: 0.78rem;
  color: #6b7280;
  margin-left: 4px;
}
.nav-logout:hover { color: #e11d48; }
.nav-login-text {
  font-size: 0.85rem;
}

/* 分类条吸顶 */
.category-bar {
  width: 100%;
  max-width: 100%;
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(15, 23, 36, 0.06);
  box-shadow: 0 2px 12px rgba(15, 23, 36, 0.04);
}

/* 分类图标 SVG 自适配 */
.cat-icon { display: inline-flex; color: #6b7280; }
.cat-icon svg { width: 18px; height: 18px; }
.cat-tab.active .cat-icon { color: #e11d48; }

/* 详情弹窗里的 placeholder（保持浅色） */
.product-placeholder.large {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: #f3f4f6;
  color: #9aa1ad;
}
.product-placeholder.large svg { width: 20%; height: 20%; }

/* 价格权限说明 */
.price-perm-tip {
  padding: 14px 18px;
  background: linear-gradient(135deg, #f8f9fb, #ffffff);
  border: 1px solid #f0f2f5;
  border-left: 3px solid #e11d48;
  border-radius: 10px;
  margin-bottom: 16px;
  font-size: 0.85rem;
}
.perm-title {
  font-weight: 700;
  color: #0f1724;
  margin-bottom: 8px;
}
.perm-line {
  margin: 4px 0;
  color: #4b5563;
}
.perm-badge {
  display: inline-block;
  padding: 1px 8px;
  background: #e11d48;
  color: #ffffff;
  font-size: 0.72rem;
  border-radius: 999px;
  margin-right: 4px;
  font-weight: 600;
}

/* 产品详情弹窗 - 价格表格高亮 */
.modal-product-info .info-table .price-value {
  font-weight: 700;
  color: #e11d48;
  font-size: 1.05rem;
}

/* site-footer */
.site-footer {
  width: 100%;
  max-width: 100%;
  margin-top: 48px;
  padding: 24px 0;
  background: #0f1724;
  color: #cbd5e1;
  font-size: 0.85rem;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}
.footer-company { font-size: 0.95rem; margin-bottom: 6px; color: #f8f9fb; }
.footer-contact { margin-bottom: 8px; }
.footer-contact a { color: #fb7185; text-decoration: none; }
.footer-contact a:hover { color: #fda4af; }
.footer-copy { font-size: 0.78rem; color: #94a3b8; }
.footer-beian { margin-top: 6px; font-size: 0.78rem; }
.footer-beian a {
  color: #94a3b8;
  text-decoration: none;
}
.footer-beian a:hover { color: #cbd5e1; }

/* 响应式补丁 */
@media (max-width: 720px) {
  .agent-admin-summary { grid-template-columns: 1fr 1fr 1fr; }
  .agent-admin-summary > div { padding: 14px 12px; }
  .agent-admin-summary p { grid-column: 1 / -1; padding: 12px; border-top: 1px solid #eaecf0; }
  .agent-admin-toolbar { align-items: stretch; flex-direction: column-reverse; }
  .agent-admin-toolbar > div, .agent-admin-toolbar > .btn { width: 100%; }
  .agent-admin-toolbar > div .btn { flex: 1; }
  .modal-agent .form-row { grid-template-columns: 1fr; gap: 0; }
  .agent-coordinate-box { grid-template-columns: 1fr 1fr; }
  .agent-coordinate-box > div { grid-column: 1 / -1; }
  .agent-coordinate-box > button { grid-column: 1 / -1; }
  .topbar-inner {
    height: auto;
    min-height: 56px;
    padding: 8px 12px;
    gap: 8px;
  }
  .topbar .brand-mark { height: 28px !important; max-width: 108px; margin-right: 3px; }
  .topbar .brand-text { display: none; }
  .nav {
    flex: 1 1 auto;
    justify-content: flex-start;
    gap: 2px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .nav::-webkit-scrollbar { display: none; }
  .nav-links { flex: 0 0 auto; gap: 2px; }
  .nav-link { flex: 0 0 auto; padding: 7px 9px; font-size: 0.78rem; }
  .nav-link.btn-login { padding-left: 9px; padding-right: 9px; }
  .nav-user { max-width: 72px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .nav-logout { margin-left: 2px; }
  .brand-entry, .catalog, .admin-panel { padding-left: 12px; padding-right: 12px; }
  .category-inner { width: 100%; max-width: 100%; }
  .data-band { grid-template-columns: repeat(2, 1fr); padding: 14px; gap: 12px; }
  .band-num { font-size: 1.25rem; }
  .info-section { padding: 18px 18px; margin: 16px 12px; }
  .af-cards { grid-template-columns: 1fr; }
  .topbar .brand-mark { height: 28px; width: auto; }
  .topbar .brand-text { font-size: 0.95rem; }
}

/* ═══ 采购单（购物车）与订单系统 ═══ */
.price-pending { color: #d97706; font-size: 0.8rem; font-weight: 600; }
.price-pending::before { content: '⏳ '; }

/* 卡片上的加入按钮 */
.btn-cart-add {
  display: block; width: 100%; margin-top: 10px; padding: 8px 0;
  border: 1px solid #e11d48; border-radius: 8px; background: #fff;
  color: #e11d48; font-size: 0.85rem; font-weight: 600; cursor: pointer;
  transition: all 0.15s;
}
.btn-cart-add:hover { background: #e11d48; color: #fff; }
.btn-cart-add.added { background: #16a34a; border-color: #16a34a; color: #fff; }

/* 导航购物车图标 */
.nav-cart { position: relative; display: inline-flex; align-items: center; gap: 4px; }
.nav-cart-badge {
  position: absolute; top: -6px; right: -10px;
  min-width: 17px; height: 17px; padding: 0 4px;
  background: #e11d48; color: #fff; border-radius: 9px;
  font-size: 0.66rem; font-weight: 700; line-height: 17px; text-align: center;
}

.cart-count-chip {
  display: inline-block; vertical-align: middle; margin-left: 8px;
  padding: 2px 10px; background: #fef2f2; color: #e11d48;
  border-radius: 12px; font-size: 0.8rem; font-weight: 700;
}
.cart-tip { font-size: 0.82rem; color: #94a3b8; margin: 8px 0; }

/* 购物车列表 */
.cart-list { display: flex; flex-direction: column; gap: 12px; margin: 16px 0; }
.cart-item {
  display: flex; align-items: center; gap: 12px;
  background: #fff; border: 1px solid #e8eaef; border-radius: 12px; padding: 12px;
}
.cart-item-img {
  width: 64px; height: 64px; flex: none; border-radius: 10px; overflow: hidden;
  background: #f6f7f9; display: flex; align-items: center; justify-content: center;
}
.cart-item-img img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.cart-item-letter { font-size: 1.4rem; font-weight: 800; color: #cbd5e1; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-weight: 700; font-size: 0.92rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cart-item-meta { font-size: 0.78rem; color: #94a3b8; margin: 3px 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cart-item-price { font-weight: 700; color: #e11d48; font-size: 0.9rem; }
.cart-item-right { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.cart-item-subtotal { font-size: 0.85rem; font-weight: 700; color: #1f2430; }
.cart-remove {
  border: none; background: none; color: #94a3b8; font-size: 1rem;
  cursor: pointer; padding: 4px 6px; line-height: 1;
}
.cart-remove:hover { color: #e11d48; }

/* 数量步进器 */
.qty-stepper { display: inline-flex; align-items: center; border: 1px solid #e2e5eb; border-radius: 8px; overflow: hidden; }
.qty-btn {
  width: 30px; height: 30px; border: none; background: #f6f7f9;
  font-size: 1rem; font-weight: 700; color: #1f2430; cursor: pointer; line-height: 1;
}
.qty-btn:hover { background: #e8eaef; }
.qty-input {
  width: 44px; height: 30px; border: none; text-align: center;
  font-size: 0.85rem; font-weight: 700; -moz-appearance: textfield;
}
.qty-input::-webkit-outer-spin-button, .qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* 结算区 */
.cart-summary { background: #fff; border: 1px solid #e8eaef; border-radius: 12px; padding: 16px; }
.cart-summary-note label { display: block; font-size: 0.82rem; font-weight: 700; margin-bottom: 6px; color: #475569; }
.cart-summary-note textarea {
  width: 100%; box-sizing: border-box; border: 1px solid #e2e5eb; border-radius: 8px;
  padding: 8px 10px; font-size: 0.85rem; resize: vertical; font-family: inherit;
}
.cart-summary-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.cart-summary-total { display: flex; flex-direction: column; gap: 2px; font-size: 0.9rem; color: #475569; }
.cart-summary-total strong { color: #e11d48; font-size: 1.3rem; }
.cart-pending-tip { font-size: 0.75rem; color: #d97706; }

.btn-lg { padding: 14px 32px !important; font-size: 1rem !important; }
.btn-sm { padding: 6px 14px !important; font-size: 0.8rem !important; }
.btn-success { background: #16a34a !important; color: #fff !important; }
.btn-success:hover { background: #15803d !important; }
.btn-danger { background: #fee2e2 !important; color: #dc2626 !important; }
.btn-danger:hover { background: #fecaca !important; }

/* 采购记录 */
.cart-history { margin-top: 28px; }
.cart-history-title { font-size: 1.05rem; margin-bottom: 12px; }
.order-list { display: flex; flex-direction: column; gap: 12px; }
.order-card { background: #fff; border: 1px solid #e8eaef; border-radius: 12px; padding: 14px; }
.order-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.order-no { font-weight: 800; font-family: ui-monospace, monospace; font-size: 0.9rem; }
.order-meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: 0.78rem; color: #94a3b8; margin-bottom: 8px; }
.order-user { color: #475569; font-weight: 600; }
.order-items { border-top: 1px dashed #e8eaef; padding-top: 8px; }
.order-item-line { font-size: 0.84rem; color: #334155; padding: 2px 0; }
.order-note { font-size: 0.8rem; color: #64748b; margin-top: 8px; background: #f6f7f9; border-radius: 6px; padding: 6px 10px; }
.order-note.admin { background: #fffbeb; color: #92400e; }

/* 订单状态徽章 */
.order-status {
  padding: 3px 10px; border-radius: 10px; font-size: 0.72rem; font-weight: 700;
}
.status-pending { background: #fef3c7; color: #b45309; }
.status-confirmed { background: #dbeafe; color: #1d4ed8; }
.status-completed { background: #dcfce7; color: #15803d; }
.status-cancelled { background: #fee2e2; color: #b91c1c; }
.status-new { background: #fef3c7; color: #b45309; }

/* 管理后台订单筛选 */
.order-filter-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.order-filter-btn {
  padding: 6px 14px; border: 1px solid #e2e5eb; background: #fff;
  border-radius: 18px; font-size: 0.8rem; cursor: pointer; color: #475569;
}
.order-filter-btn.active { background: #1f2430; color: #fff; border-color: #1f2430; }
.order-admin-row { display: flex; gap: 10px; margin-top: 10px; flex-wrap: wrap; align-items: center; }
.order-admin-note-input {
  flex: 1; min-width: 180px; border: 1px solid #e2e5eb; border-radius: 8px;
  padding: 8px 10px; font-size: 0.82rem; font-family: inherit;
}
.order-actions { display: flex; gap: 6px; }
.stat-warn .stat-num { color: #d97706; }

/* 管理后台统计卡片 */
.admin-stats { display: flex; gap: 12px; flex-wrap: wrap; margin: 14px 0 18px; }
.stat-card {
  flex: 1; min-width: 110px; background: #fff; border: 1px solid #e8eaef;
  border-radius: 12px; padding: 16px 18px; display: flex; flex-direction: column; gap: 4px;
}
.stat-num { font-size: 1.7rem; font-weight: 800; color: #1f2430; line-height: 1; }
.stat-label { font-size: 0.78rem; color: #94a3b8; }

/* 手机端适配 */
@media (max-width: 640px) {
  .cart-item { flex-wrap: wrap; }
  .cart-item-right { flex-direction: row; width: 100%; justify-content: space-between; align-items: center; }
  .cart-summary-bar { flex-direction: column-reverse; align-items: stretch; }
  .cart-summary-bar .btn { width: 100%; }
  .order-admin-row { flex-direction: column; align-items: stretch; }
  .order-actions { justify-content: flex-end; }
}

/* ═══ 视觉升级：分类标签 / 搜索 / 关于卡片 / Logo ═══ */

/* 分类条：去掉大块圆角胶囊，改成大圆角方块，更精致 */
.cat-tab {
  flex-shrink: 0;
  padding: 9px 18px;
  border-radius: 14px !important;        /* 改：圆角胶囊 → 大圆角方块 */
  font-size: 0.875rem;
  font-weight: 600;
  color: #475569;
  background: linear-gradient(180deg, #fafbfc 0%, #f1f5f9 100%);
  border: 1px solid #e2e8f0;
  cursor: pointer;
  transition: all 0.18s;
  box-shadow: 0 1px 2px rgba(15,23,36,0.04);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.cat-tab:hover {
  border-color: #cbd5e1;
  background: #fff;
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(15,23,36,0.06);
}
.cat-tab.active {
  background: linear-gradient(135deg, #e11d48 0%, #be123c 100%) !important;
  color: #fff !important;
  border-color: #e11d48 !important;
  box-shadow: 0 4px 14px rgba(225,29,72,0.32);
}
.cat-tab.active .cat-icon { color: #fff !important; }
.cat-tab.active .cat-count {
  background: rgba(255,255,255,0.25);
  color: #fff !important;
}
.cat-count {
  display: inline-block;
  background: #fff;
  color: #64748b;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 1px 6px;
  line-height: 1.4;
}

/* 搜索栏：精致化 */
.search-bar {
  background: #fff;
  border: 1px solid #e8eaef;
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(15,23,36,0.04);
}
.search-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
  margin-bottom: 10px;
}
.search-row:last-child { margin-bottom: 0; }
.search-input {
  flex: 1;
  padding: 11px 14px 11px 40px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  background: #f8fafc url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='11' cy='11' r='7'/><path d='m21 21-4.3-4.3'/></svg>") no-repeat 12px center;
  background-size: 18px 18px;
  font-size: 0.9rem;
  outline: none;
  transition: all 0.18s;
}
.search-input:focus {
  border-color: #e11d48;
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(225,29,72,0.1);
}
.btn-search {
  padding: 0 22px !important;
  background: linear-gradient(135deg, #e11d48, #be123c) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 10px !important;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s;
}
.btn-search:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(225,29,72,0.3); }

.filter-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.filter-select {
  flex: 1;
  min-width: 0;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  background: #fff;
  font-size: 0.88rem;
  color: #1f2430;
  outline: none;
  cursor: pointer;
  transition: all 0.18s;
}
.filter-select:focus { border-color: #e11d48; box-shadow: 0 0 0 3px rgba(225,29,72,0.08); }

/* 关于杰托马卡片：升级成左右双栏 + 数据徽章墙 */
.info-section.about-section {
  padding: 28px 32px;
  background: linear-gradient(135deg, #fff 60%, #fef2f4 100%);
  border: 1px solid rgba(225,29,72,0.12);
  position: relative;
  overflow: hidden;
}
.info-section.about-section::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(225,29,72,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.info-section.about-section .info-header { margin-bottom: 18px; padding-bottom: 14px; }
.about-body {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 24px;
  align-items: start;
}
.about-text { color: #334155; font-size: 0.95rem; line-height: 1.8; }
.about-text p { margin: 0 0 12px; }
.about-text strong { color: #0f1724; font-weight: 700; }
.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.about-stat {
  background: #fff;
  border: 1px solid rgba(225,29,72,0.1);
  border-radius: 12px;
  padding: 14px 12px;
  text-align: center;
}
.about-stat-num {
  font-size: 1.6rem;
  font-weight: 800;
  color: #e11d48;
  line-height: 1;
  display: block;
  margin-bottom: 4px;
}
.about-stat-label {
  font-size: 0.72rem;
  color: #64748b;
  font-weight: 600;
}
.info-chips { margin-bottom: 16px; }
.chip {
  font-weight: 600 !important;
  letter-spacing: 0.2px;
}

@media (max-width: 720px) {
  .about-body { grid-template-columns: 1fr; gap: 16px; }
  .info-section.about-section { padding: 20px; }
}

/* Logo：放到顶部更大、更精致 */
.topbar .brand-mark {
  height: 36px !important;
  width: auto !important;
  max-width: 180px;
  object-fit: contain;
  margin-right: 8px;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.06));
}
.topbar .brand-text {
  font-weight: 800;
  letter-spacing: 1px;
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.topbar .brand-text small {
  font-weight: 600;
  letter-spacing: 3px;
}
@media (max-width: 720px) {
  .topbar .brand-mark { height: 30px !important; }
}

/* 顶栏整体提升 */
.topbar-inner { gap: 14px; }


/* ═══ 通知设置面板 ═══ */
.notify-section {
  background: #fff; border: 1px solid #e8eaef; border-radius: 14px; padding: 24px;
}
.notify-title { font-size: 1.15rem; margin-bottom: 8px; }
.notify-desc { color: #64748b; font-size: 0.88rem; margin-bottom: 20px; }
.notify-channels { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.notify-channel {
  display: block; padding: 14px 16px; border: 1.5px solid #e2e8f0; border-radius: 12px;
  cursor: pointer; transition: all 0.15s; background: #fafbfc;
  position: relative;
}
.notify-channel:hover { border-color: #cbd5e1; background: #fff; }
.notify-channel input[type=radio] { position: absolute; top: 16px; right: 16px; accent-color: #e11d48; }
.notify-channel:has(input:checked) {
  border-color: #e11d48; background: #fef2f4; box-shadow: 0 0 0 3px rgba(225,29,72,0.08);
}
.nc-name { display: block; font-weight: 700; font-size: 0.95rem; color: #0f1724; padding-right: 30px; margin-bottom: 4px; }
.nc-desc { display: block; font-size: 0.82rem; color: #64748b; line-height: 1.5; }
.nc-status { display: block; margin-top: 6px; font-size: 0.78rem; color: #475569; }
.nc-status code { font-size: 0.72rem; background: #f1f5f9; padding: 1px 6px; border-radius: 4px; }
.nc-badge { display: inline-block; padding: 1px 7px; border-radius: 4px; font-size: 0.66rem; font-weight: 700; vertical-align: middle; margin-left: 4px; }
.nc-free { background: #dcfce7; color: #15803d; }
.nc-paid { background: #fef3c7; color: #b45309; }
.nc-tech { background: #dbeafe; color: #1d4ed8; }

.notify-config { background: #f8fafc; border-radius: 12px; padding: 16px; margin-bottom: 16px; }
.cfg-row label { display: block; font-size: 0.82rem; font-weight: 700; margin-bottom: 6px; color: #1f2430; }
.cfg-row input {
  width: 100%; box-sizing: border-box; padding: 10px 12px; border: 1px solid #e2e8f0;
  border-radius: 8px; font-size: 0.88rem; font-family: ui-monospace, monospace;
}
.cfg-row input:focus { outline: none; border-color: #e11d48; box-shadow: 0 0 0 3px rgba(225,29,72,0.08); }
.cfg-help { font-size: 0.75rem; color: #94a3b8; margin: 8px 0 0; }
.cfg-help a { color: #e11d48; }

.notify-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.notify-msg { font-size: 0.85rem; }
.notify-msg.ok { color: #15803d; }
.notify-msg.err { color: #b91c1c; }

.notify-help {
  border-top: 1px solid #e8eaef; padding-top: 14px;
}
.notify-help summary {
  cursor: pointer; font-weight: 600; color: #e11d48; font-size: 0.9rem;
  list-style: none; padding: 6px 0;
}
.notify-help summary::-webkit-details-marker { display: none; }
.notify-help summary::before { content: '💡 '; }
.notify-help ol { padding-left: 22px; color: #475569; font-size: 0.86rem; line-height: 1.9; margin: 12px 0; }
.notify-help p { color: #64748b; font-size: 0.85rem; }


/* ═══ 后台加固：新增账号/商品表单 ═══ */
.required { color: #e11d48; margin-left: 2px; }
.field-hint { font-size: 0.75rem; color: #94a3b8; margin-top: 4px; line-height: 1.5; }
.field-hint.ok { color: #16a34a; }
.field-hint.err { color: #dc2626; font-weight: 600; }

.password-row { display: flex; gap: 8px; align-items: stretch; }
.password-row input { flex: 1; }
.btn-gen-pwd { flex: none; padding: 0 16px !important; font-size: 0.85rem !important; }

.created-account {
  background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 10px;
  padding: 14px; margin: 14px 0; text-align: left;
}
.ca-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 6px 0; font-size: 0.9rem;
}
.ca-row span { color: #64748b; }
.ca-row strong { color: #0f1724; font-family: ui-monospace, monospace; }

.price-fieldset {
  border: 1px solid #e2e8f0; border-radius: 10px; padding: 12px 14px; margin: 14px 0;
}
.price-fieldset legend {
  font-size: 0.8rem; font-weight: 700; color: #475569; padding: 0 8px;
}
.price-fieldset .form-row { margin-bottom: 0; }
.price-fieldset input[type=number] { font-family: ui-monospace, monospace; }

.modal-add-product { max-width: 620px; }
.modal-add-product .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.modal-add-product select,
.modal-add-product input[type=text],
.modal-add-product input[type=number] {
  width: 100%; box-sizing: border-box; padding: 10px 12px;
  border: 1px solid #e2e8f0; border-radius: 8px; font-size: 0.9rem;
  outline: none; transition: border-color 0.15s;
}
.modal-add-product select:focus,
.modal-add-product input:focus { border-color: #e11d48; box-shadow: 0 0 0 3px rgba(225,29,72,0.08); }

@media (max-width: 640px) {
  .modal-add-product .form-row { grid-template-columns: 1fr; }
  .password-row { flex-direction: column; }
  .btn-gen-pwd { width: 100%; }
}

/* 商品图必须完整展示，避免座垫、尾架或套装边缘被裁掉 */
.product-card-img img.cover,
.modal-product-img img.cover {
  object-fit: contain !important;
  background: #fff;
}

/* ═══════════════════════════════════════════════════════
   官网视觉升级 v3 · 清晰导航 / 品牌首屏 / 统一卡片系统
   ═══════════════════════════════════════════════════════ */
:root {
  --brand: #e31645;
  --brand-dark: #b90f34;
  --ink: #101828;
  --ink-soft: #344054;
  --muted: #667085;
  --line: #e7eaf0;
  --surface: #ffffff;
  --canvas: #f4f6f9;
  --radius-lg: 24px;
  --shadow-soft: 0 12px 36px rgba(16, 24, 40, 0.07);
}

body {
  background:
    radial-gradient(circle at 12% 0%, rgba(227, 22, 69, 0.045), transparent 26rem),
    var(--canvas);
  color: var(--ink);
}

.topbar {
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(16, 24, 40, 0.08);
  box-shadow: 0 1px 10px rgba(16, 24, 40, 0.03);
  -webkit-backdrop-filter: blur(16px);
}
.topbar-inner {
  max-width: 1280px;
  height: 72px;
  padding: 0 24px;
  gap: 28px;
}
.topbar .brand-mark {
  height: 42px !important;
  max-width: 132px;
  margin: 0;
  filter: none;
}
.brand-site-name {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 14px;
  border-left: 1px solid #dfe3e9;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.12;
  white-space: nowrap;
}
.brand-site-name small {
  margin-top: 3px;
  color: #98a2b3;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 1.6px;
}
.nav { margin-left: auto; }
.nav-links { gap: 4px; }
.nav-link {
  color: #475467;
  padding: 9px 15px;
  border-radius: 10px;
  font-weight: 650;
}
.nav-link:hover { color: var(--ink); background: #f2f4f7; }
.nav-link.active { color: var(--brand); background: #fff0f3; }
.nav-link.btn-login {
  margin-left: 4px;
  padding: 10px 18px;
  background: var(--brand);
  box-shadow: 0 7px 18px rgba(227, 22, 69, 0.2);
}
.nav-link.btn-login:hover { background: var(--brand-dark) !important; }

.brand-entry {
  max-width: 1280px;
  padding: 44px 24px 80px;
}
.entry-head {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 32px;
  align-items: stretch;
  margin-bottom: 22px;
  padding: 52px 56px;
  overflow: hidden;
  text-align: left;
  background:
    radial-gradient(circle at 86% 10%, rgba(227, 22, 69, 0.11), transparent 18rem),
    linear-gradient(135deg, #ffffff 0%, #fff7f8 100%);
  border: 1px solid rgba(227, 22, 69, 0.1);
  border-radius: 30px;
  box-shadow: var(--shadow-soft);
}
.entry-head::before {
  content: '';
  position: absolute;
  width: 320px;
  height: 320px;
  right: -160px;
  bottom: -210px;
  border: 46px solid rgba(227, 22, 69, 0.045);
  border-radius: 50%;
  pointer-events: none;
}
.hero-copy { position: relative; z-index: 1; align-self: center; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: 14px;
  color: var(--brand);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1.8px;
}
.hero-eyebrow::before {
  content: '';
  width: 28px;
  height: 2px;
  margin-right: 10px;
  background: var(--brand);
}
.entry-head h1 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: clamp(2.15rem, 4vw, 3.65rem);
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1.05;
}
.entry-head h1 span { color: var(--brand); }
.entry-head .subtitle {
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.85;
}
.hero-search {
  display: flex;
  align-items: center;
  width: min(100%, 650px);
  margin-top: 26px;
  padding: 6px;
  background: #fff;
  border: 1px solid #dfe3e9;
  border-radius: 15px;
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.08);
}
.hero-search-icon {
  display: inline-flex;
  flex: none;
  width: 42px;
  justify-content: center;
  color: #98a2b3;
}
.hero-search-icon svg { width: 20px; height: 20px; }
.hero-search input {
  flex: 1;
  min-width: 0;
  height: 42px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 0.93rem;
}
.hero-search button,
.hero-channel-btn {
  border: 0;
  border-radius: 10px;
  background: var(--brand);
  color: #fff;
  font-weight: 750;
}
.hero-search button { flex: none; height: 42px; padding: 0 20px; }
.hero-search button:hover,
.hero-channel-btn:hover { background: var(--brand-dark); }
.hero-assurance {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 18px;
  color: #667085;
  font-size: 0.76rem;
}
.hero-assurance span { display: inline-flex; align-items: center; gap: 6px; }
.hero-assurance svg { width: 14px; height: 14px; color: var(--brand); }

.hero-channel-card {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 290px;
  padding: 32px;
  overflow: hidden;
  background: linear-gradient(145deg, #182230 0%, #0c111d 100%);
  color: #fff;
  border-radius: 22px;
  box-shadow: 0 18px 38px rgba(16, 24, 40, 0.18);
}
.hero-channel-card::after {
  content: 'J';
  position: absolute;
  right: -8px;
  bottom: -66px;
  color: rgba(255,255,255,0.035);
  font-size: 15rem;
  font-weight: 900;
  line-height: 1;
}
.hero-channel-tag {
  position: relative;
  z-index: 1;
  width: max-content;
  margin-bottom: 18px;
  padding: 5px 10px;
  color: #ff8da7;
  background: rgba(227, 22, 69, 0.16);
  border: 1px solid rgba(255, 141, 167, 0.16);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 750;
}
.hero-channel-card h2 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #fff;
  font-size: 1.65rem;
  line-height: 1.3;
}
.hero-channel-card h2 strong { color: #ff587d; }
.hero-channel-card p {
  position: relative;
  z-index: 1;
  margin: 12px 0 20px;
  color: #aeb7c4;
  font-size: 0.8rem;
  line-height: 1.65;
}
.hero-channel-btn {
  position: relative;
  z-index: 1;
  min-height: 44px;
}
.hero-channel-card small {
  position: relative;
  z-index: 1;
  margin-top: 10px;
  color: #7f8998;
  text-align: center;
}

.data-band {
  max-width: none;
  margin: 0 0 50px;
  padding: 10px 4px;
  gap: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.band-cell {
  position: relative;
  display: grid;
  grid-template-columns: 40px auto;
  grid-template-rows: auto auto;
  column-gap: 12px;
  align-items: center;
  justify-content: center;
  padding: 16px 20px;
  text-align: left;
}
.band-cell:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 25%;
  right: 0;
  width: 1px;
  height: 50%;
  background: #dfe3e9;
}
.band-icon { grid-row: 1 / 3; margin: 0; width: 40px; height: 40px; }
.band-num { font-size: 1.25rem; }
.band-label { margin: -3px 0 0; }

.home-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}
.home-section-head span {
  color: var(--brand);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 1.6px;
}
.home-section-head h2 { margin-top: 4px; color: var(--ink); font-size: 1.6rem; line-height: 1.2; }
.home-section-head p { color: var(--muted); font-size: 0.84rem; }

.brand-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.brand-card {
  aspect-ratio: 16 / 10;
  border: 0;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(16, 24, 40, 0.1);
}
.brand-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(16, 24, 40, 0.16); }
.brand-card .card-overlay { background: linear-gradient(to top, rgba(5,10,18,0.92) 0%, rgba(5,10,18,0.14) 68%); }
.brand-card .card-info { padding: 22px; }
.brand-card .card-name { font-size: 1.4rem; }
.brand-card .card-count { margin-top: 4px; color: rgba(255,255,255,0.8); }
.brand-card.card-gradient { justify-content: flex-end; align-items: flex-start; padding: 28px; text-align: left; }
.brand-card.card-gradient .card-icon { margin-bottom: auto; }
.brand-card.card-gradient .card-title { font-size: 1.4rem; }
.card-cta { opacity: 1; }
.brand-card.grad-part { background: linear-gradient(145deg, #e31645, #a80e30); }

.entry-footer { margin-top: 64px; gap: 20px; }
.info-section {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 8px 28px rgba(16,24,40,0.05);
}

.category-bar { top: 72px; }
.category-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 10px 24px 2px;
  overflow-x: auto;
  scrollbar-width: none;
}
.category-inner::-webkit-scrollbar { display: none; }
.category-inner .cat-tabs { margin: 0; }
.catalog, .admin-panel { max-width: 1280px; padding-top: 28px; }
.breadcrumb {
  min-height: 42px;
  margin-bottom: 14px;
  padding: 0 2px;
}
.breadcrumb-home,
.breadcrumb-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid #dfe3e9;
  border-radius: 10px;
  background: #fff;
  color: #475467;
  font-size: 0.8rem;
  font-weight: 700;
}
.breadcrumb-home:hover,
.breadcrumb-back:hover { border-color: var(--brand); color: var(--brand); background: #fff5f7; }
.breadcrumb-home svg { width: 14px; height: 14px; }
.search-bar {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 8px 28px rgba(16,24,40,0.055);
}
.search-input { min-height: 46px; border-radius: 12px; }
.btn-search { min-width: 108px; border-radius: 12px !important; }

.model-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.model-card,
.product-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(16,24,40,0.055);
}
.model-card:hover,
.product-card:hover { transform: translateY(-4px); border-color: rgba(227,22,69,0.35); box-shadow: 0 16px 34px rgba(16,24,40,0.11); }
.model-card-img { aspect-ratio: 4 / 3; }
.model-card-img img { object-fit: contain; background: #fff; }
.product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.product-card-img { aspect-ratio: 4 / 3; background: #fff; }
.product-card-body { padding: 16px 17px 17px; }
.product-card-name { min-height: 2.7em; }
.btn-cart-add { min-height: 42px; border-radius: 10px; }
.modal { border-radius: 22px; box-shadow: 0 28px 70px rgba(16,24,40,0.24); }
.modal-actions { flex-wrap: wrap; }

@media (max-width: 1020px) {
  .entry-head { grid-template-columns: minmax(0, 1fr) 285px; padding: 40px; }
  .brand-grid { gap: 16px; }
  .model-grid, .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .topbar-inner { min-height: 58px; padding: 8px 12px; gap: 8px; }
  .topbar .brand-mark { height: 34px !important; max-width: 100px; }
  .brand-site-name { padding-left: 9px; font-size: 0.78rem; }
  .brand-site-name small { display: none; }
  .nav-link { padding: 7px 9px; font-size: 0.76rem; }
  .nav-link.btn-login { margin-left: 2px; padding: 8px 11px; box-shadow: none; }
  .category-bar { top: 58px; }
  .category-inner { padding: 8px 12px 0; }
  .brand-entry { padding: 18px 12px 52px; }
  .entry-head {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 14px;
    padding: 26px 20px 20px;
    border-radius: 22px;
  }
  .hero-eyebrow { margin-bottom: 10px; font-size: 0.62rem; letter-spacing: 1.2px; }
  .entry-head h1 { margin-bottom: 10px; font-size: 2.05rem; letter-spacing: -1px; }
  .entry-head .subtitle { font-size: 0.88rem; line-height: 1.7; }
  .hero-search { margin-top: 18px; }
  .hero-search-icon { width: 34px; }
  .hero-search button { padding: 0 14px; font-size: 0.8rem; }
  .hero-assurance { gap: 8px 14px; margin-top: 14px; font-size: 0.7rem; }
  .hero-channel-card { min-height: 0; padding: 22px; border-radius: 17px; }
  .hero-channel-card h2 { font-size: 1.35rem; }
  .hero-channel-card p { margin: 8px 0 14px; }
  .data-band { grid-template-columns: repeat(2, 1fr); margin-bottom: 34px; padding: 4px 0; gap: 0; }
  .band-cell { grid-template-columns: 34px auto; column-gap: 9px; padding: 12px 6px; }
  .band-cell:nth-child(2)::after { display: none; }
  .band-cell:not(:last-child)::after { top: 22%; height: 56%; }
  .band-icon { width: 34px; height: 34px; }
  .band-icon svg { width: 17px; height: 17px; }
  .band-num { font-size: 1.05rem; }
  .band-label { font-size: 0.68rem; }
  .home-section-head { align-items: flex-start; flex-direction: column; gap: 6px; margin-bottom: 14px; }
  .home-section-head h2 { font-size: 1.35rem; }
  .home-section-head p { font-size: 0.76rem; }
  .brand-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .brand-card { aspect-ratio: 1 / 1.06; border-radius: 16px; }
  .brand-card .card-info { padding: 14px; }
  .brand-card .card-name,
  .brand-card.card-gradient .card-title { font-size: 1.08rem; }
  .brand-card .card-count,
  .brand-card.card-gradient .card-sub { font-size: 0.7rem; line-height: 1.5; }
  .brand-card.card-gradient { padding: 16px; }
  .brand-card.card-gradient .card-icon svg { width: 38px; height: 38px; }
  .card-cta { display: none; }
  .entry-footer { margin-top: 38px; }
  .catalog, .admin-panel { padding-top: 16px; }
  .breadcrumb { gap: 6px; margin-bottom: 10px; }
  .breadcrumb-home, .breadcrumb-back { min-height: 34px; padding: 0 9px; font-size: 0.74rem; }
  .search-bar { padding: 11px; border-radius: 15px; }
  .model-grid, .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .model-card, .product-card { border-radius: 14px; }
  .product-card-body { padding: 12px; }
  .product-card-name { font-size: 0.9rem; }
  .product-card-price { font-size: 0.9rem; }
}

@media (max-width: 420px) {
  .brand-site-name { display: none; }
  .hero-search input { font-size: 0.82rem; }
  .hero-search button { padding: 0 11px; }
}

/* ─── 品牌内容升级 v4：品牌 / 技术 / 制造 / 售后 ───────────── */
.entry-footer {
  margin-top: 86px;
  gap: 30px;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--brand);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: 2.2px;
}
.section-kicker::before {
  content: '';
  width: 22px;
  height: 2px;
  background: currentColor;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 25px;
}
.section-heading h2,
.brand-story-copy h2,
.manufacturing-copy h2,
.home-cta-card h2 {
  color: #101828;
  font-size: clamp(1.75rem, 3vw, 2.55rem);
  line-height: 1.16;
  letter-spacing: -1.2px;
}
.section-heading h2 { margin-top: 9px; }
.section-heading > p {
  max-width: 420px;
  color: #667085;
  font-size: .92rem;
  line-height: 1.7;
  text-align: right;
}

.brand-story-section {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(330px, .65fr);
  gap: 24px;
  padding: 24px;
  border: 1px solid rgba(16,24,40,.07);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255,255,255,.98), rgba(248,249,251,.98));
  box-shadow: 0 22px 65px rgba(16,24,40,.08);
}
.brand-story-copy {
  padding: 30px 30px 25px;
}
.brand-story-copy h2 { margin: 13px 0 7px; }
.brand-story-copy .section-lead {
  margin: 0 0 25px;
  color: var(--brand);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .3px;
}
.brand-story-copy > p:not(.section-lead) {
  max-width: 760px;
  margin: 0 0 15px;
  color: #475467;
  font-size: .94rem;
  line-height: 1.9;
}
.brand-story-copy > p strong { color: #101828; }
.brand-identity-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid #e8eaee;
  color: #344054;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .6px;
}
.brand-identity-line span:first-child { color: var(--brand); }
.brand-manifesto {
  position: relative;
  min-height: 390px;
  padding: 40px 38px;
  overflow: hidden;
  border-radius: 22px;
  background:
    radial-gradient(circle at 82% 18%, rgba(255,57,94,.34), transparent 30%),
    linear-gradient(145deg, #141922 0%, #080b11 76%);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}
.brand-manifesto::before {
  content: 'J';
  position: absolute;
  right: -14px;
  bottom: -65px;
  color: rgba(255,255,255,.035);
  font-size: 19rem;
  font-weight: 900;
  font-style: normal;
  line-height: 1;
}
.brand-manifesto::after {
  content: '';
  position: absolute;
  left: 38px;
  bottom: 38px;
  width: 48px;
  height: 3px;
  background: var(--brand);
  box-shadow: 0 0 22px rgba(227,22,69,.8);
}
.brand-manifesto > span {
  color: #ff6b88;
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: 3px;
}
.brand-manifesto p {
  position: relative;
  z-index: 1;
  margin: 62px 0 16px;
  color: rgba(255,255,255,.72);
  font-size: 1rem;
  line-height: 1.8;
}
.brand-manifesto strong {
  position: relative;
  z-index: 1;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  line-height: 1.45;
  letter-spacing: -.5px;
}

.brand-values-section,
.service-section {
  padding: 54px;
  border: 1px solid rgba(16,24,40,.07);
  border-radius: 28px;
  background: #fff;
}
.brand-value-grid,
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.brand-value-card {
  position: relative;
  min-height: 290px;
  padding: 25px;
  overflow: hidden;
  border: 1px solid #eaecf0;
  border-radius: 18px;
  background: linear-gradient(160deg, #fff 55%, #f7f8fa);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.brand-value-card:hover {
  transform: translateY(-5px);
  border-color: rgba(227,22,69,.3);
  box-shadow: 0 18px 36px rgba(16,24,40,.09);
}
.brand-value-card > span {
  position: absolute;
  top: 17px;
  right: 19px;
  color: #e4e7ec;
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1;
}
.value-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin-bottom: 44px;
  border-radius: 13px;
  background: #fff0f3;
  color: var(--brand);
}
.value-icon svg { width: 21px; height: 21px; }
.brand-value-card h3 { margin-bottom: 11px; color: #101828; font-size: 1.02rem; }
.brand-value-card p { color: #667085; font-size: .82rem; line-height: 1.75; }
.brand-value-card small {
  display: block;
  margin-top: 18px;
  color: var(--brand);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .4px;
}

.manufacturing-section {
  overflow: hidden;
  border-radius: 28px;
  background: #0b1019;
  box-shadow: 0 24px 64px rgba(6,10,18,.2);
}
.manufacturing-visual {
  position: relative;
  aspect-ratio: 2732 / 724;
  overflow: hidden;
  background: #f6f7fa;
}
.manufacturing-visual::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 25%;
  background: linear-gradient(transparent, rgba(11,16,25,.22));
  pointer-events: none;
}
.manufacturing-visual img { width: 100%; height: 100%; object-fit: cover; display: block; }
.manufacturing-visual img.is-loading { opacity: 0; }
.manufacturing-visual img { opacity: 1; transition: opacity .35s ease; }
.manufacturing-visual.image-fallback {
  background:
    radial-gradient(circle at 72% 42%, rgba(227,22,69,.35), transparent 30%),
    linear-gradient(135deg, #f8f9fb, #e8ebf0);
}
.manufacturing-visual.image-fallback::before {
  content: 'JETOMA · 舒适玩家座包';
  position: absolute;
  z-index: 1;
  left: 7%;
  top: 45%;
  color: #101828;
  font-size: clamp(1rem, 2.2vw, 2rem);
  font-weight: 850;
  letter-spacing: 1px;
}
.manufacturing-content {
  display: grid;
  grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr);
  gap: 48px;
  padding: 48px 52px 52px;
}
.manufacturing-copy h2 { margin: 12px 0 18px; color: #fff; }
.manufacturing-copy p { margin: 0 0 12px; color: #98a2b3; font-size: .86rem; line-height: 1.82; }
.manufacturing-copy p strong { color: #fff; }
.manufacturing-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(255,255,255,.11);
  border-left: 1px solid rgba(255,255,255,.11);
}
.manufacturing-stats > div {
  min-height: 116px;
  padding: 23px;
  border-right: 1px solid rgba(255,255,255,.11);
  border-bottom: 1px solid rgba(255,255,255,.11);
}
.manufacturing-stats strong { display: block; color: #fff; font-size: 1.75rem; line-height: 1.1; }
.manufacturing-stats strong small { margin-left: 3px; color: #ff5577; font-size: .72rem; }
.manufacturing-stats span { display: block; margin-top: 9px; color: #98a2b3; font-size: .72rem; line-height: 1.5; }

.service-section {
  background: linear-gradient(150deg, #fff 54%, #faf7f8 100%);
}
.service-grid article {
  position: relative;
  min-height: 238px;
  padding: 25px;
  border-top: 2px solid #101828;
  background: rgba(255,255,255,.74);
}
.service-grid article > div { margin: 24px 0 30px; color: var(--brand); }
.service-grid article svg { width: 25px; height: 25px; }
.service-no { position: absolute; top: 22px; right: 20px; color: #d0d5dd; font-size: .7rem; font-weight: 800; letter-spacing: 1px; }
.service-grid h3 { margin-bottom: 9px; color: #101828; font-size: .98rem; }
.service-grid p { color: #667085; font-size: .79rem; line-height: 1.72; }
.service-note { margin-top: 20px; color: #98a2b3; font-size: .72rem; text-align: right; }

.home-cta-section { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.home-cta-card {
  position: relative;
  min-height: 290px;
  padding: 43px;
  overflow: hidden;
  border-radius: 24px;
}
.home-cta-card > span { font-size: .65rem; font-weight: 800; letter-spacing: 2.4px; }
.home-cta-card h2 { margin: 24px 0 13px; font-size: 1.75rem; }
.home-cta-card p { max-width: 440px; font-size: .84rem; line-height: 1.75; }
.product-cta { border: 1px solid #e4e7ec; background: #fff; }
.product-cta > span { color: var(--brand); }
.product-cta p { color: #667085; }
.product-cta button,
.partner-actions a,
.partner-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 26px;
  padding: 0 20px;
  border: 0;
  border-radius: 11px;
  font: inherit;
  font-size: .8rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}
.product-cta button { gap: 13px; background: #111827; color: #fff; }
.product-cta button:hover { background: var(--brand); }
.partner-cta {
  background:
    radial-gradient(circle at 88% 16%, rgba(255,255,255,.18), transparent 28%),
    linear-gradient(140deg, #e31645, #a70d31);
  color: #fff;
  box-shadow: 0 20px 45px rgba(190,18,60,.22);
}
.partner-cta::after { content: 'JETOMA'; position: absolute; right: -18px; bottom: -18px; color: rgba(255,255,255,.055); font-size: 4.8rem; font-weight: 900; }
.partner-cta > span { color: rgba(255,255,255,.7); }
.partner-cta h2 { color: #fff; }
.partner-cta p { color: rgba(255,255,255,.76); }
.partner-actions { position: relative; z-index: 1; display: flex; gap: 9px; }
.partner-actions a { background: #fff; color: #b20f34; }
.partner-actions button { border: 1px solid rgba(255,255,255,.35); background: transparent; color: #fff; }

@media (max-width: 1020px) {
  .brand-story-section { grid-template-columns: minmax(0, 1fr) 320px; }
  .brand-value-grid, .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .manufacturing-content { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 720px) {
  .entry-footer { margin-top: 54px; gap: 18px; }
  .section-heading { display: block; margin-bottom: 18px; }
  .section-heading h2,
  .brand-story-copy h2,
  .manufacturing-copy h2 { font-size: 1.58rem; letter-spacing: -.6px; }
  .section-heading > p { margin-top: 10px; font-size: .8rem; text-align: left; }
  .brand-story-section { grid-template-columns: 1fr; gap: 12px; padding: 12px; border-radius: 22px; }
  .brand-story-copy { padding: 18px 13px 16px; }
  .brand-story-copy .section-lead { margin-bottom: 18px; font-size: .88rem; }
  .brand-story-copy > p:not(.section-lead) { font-size: .82rem; line-height: 1.82; }
  .brand-identity-line { display: grid; gap: 6px; margin-top: 20px; padding-top: 16px; }
  .brand-manifesto { min-height: 300px; padding: 28px 25px; border-radius: 17px; }
  .brand-manifesto p { margin-top: 48px; }
  .brand-manifesto::after { left: 25px; bottom: 27px; }
  .brand-values-section, .service-section { padding: 25px 18px; border-radius: 22px; }
  .brand-value-grid, .service-grid { gap: 10px; }
  .brand-value-card { min-height: 250px; padding: 18px; border-radius: 15px; }
  .value-icon { margin-bottom: 34px; }
  .brand-value-card p, .service-grid p { font-size: .74rem; }
  .manufacturing-section { border-radius: 22px; }
  .manufacturing-visual { aspect-ratio: 16 / 9; }
  .manufacturing-visual img { width: 185%; max-width: none; object-position: 68% center; transform: translateX(-32%); }
  .manufacturing-content { padding: 30px 20px 24px; }
  .manufacturing-copy p { font-size: .78rem; }
  .manufacturing-stats > div { min-height: 100px; padding: 17px 14px; }
  .manufacturing-stats strong { font-size: 1.35rem; }
  .service-grid article { min-height: 218px; padding: 18px 15px; }
  .service-grid article > div { margin: 24px 0 22px; }
  .service-note { font-size: .67rem; line-height: 1.6; text-align: left; }
  .home-cta-section { grid-template-columns: 1fr; gap: 12px; }
  .home-cta-card { min-height: 250px; padding: 30px 24px; border-radius: 20px; }
  .home-cta-card h2 { margin-top: 20px; font-size: 1.45rem; }
}

@media (max-width: 420px) {
  .brand-value-grid, .service-grid { grid-template-columns: 1fr; }
  .brand-value-card, .service-grid article { min-height: 0; }
  .brand-value-card { padding-bottom: 22px; }
  .service-grid article > div { margin-bottom: 18px; }
  .manufacturing-stats { grid-template-columns: 1fr 1fr; }
  .partner-actions { flex-wrap: wrap; }
}

/* ─── 用户路径升级 v5：车型匹配 / 移动导航 / FAQ / 快捷服务 ─── */
.home-anchor { scroll-margin-top: 92px; }

.nav-menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid #e3e7ed;
  border-radius: 11px;
  background: #fff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}
.nav-menu-toggle span { width: 18px; height: 2px; border-radius: 2px; background: #344054; transition: transform .2s, opacity .2s; }
.nav.menu-open .nav-menu-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav.menu-open .nav-menu-toggle span:nth-child(2) { opacity: 0; }
.nav.menu-open .nav-menu-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.hero-matcher {
  width: min(100%, 720px);
  margin-top: 25px;
  padding: 16px;
  border: 1px solid rgba(227, 22, 69, .14);
  border-radius: 17px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 12px 30px rgba(16, 24, 40, .07);
}
.matcher-title { display: flex; align-items: baseline; gap: 10px; margin-bottom: 11px; }
.matcher-title strong { color: #101828; font-size: .9rem; }
.matcher-title span { color: #98a2b3; font-size: .7rem; }
.matcher-controls { display: grid; grid-template-columns: 1fr 1fr auto; gap: 9px; align-items: end; }
.matcher-controls label { display: grid; gap: 5px; color: #667085; font-size: .67rem; font-weight: 700; }
.matcher-controls select {
  width: 100%;
  min-width: 0;
  height: 44px;
  padding: 0 34px 0 12px;
  border: 1px solid #dfe3e9;
  border-radius: 11px;
  background-color: #fff;
  color: #1d2939;
  font-size: .82rem;
  outline: none;
}
.matcher-controls select:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(227,22,69,.08); }
.matcher-controls select:disabled { color: #98a2b3; background-color: #f6f7f9; }
.matcher-controls button {
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 11px;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  white-space: nowrap;
}
.matcher-controls button:hover:not(:disabled) { background: var(--brand-dark); transform: translateY(-1px); }
.matcher-controls button:disabled { cursor: not-allowed; background: #cfd4dc; }
.hero-search { margin-top: 12px; box-shadow: none; }

.faq-section {
  padding: 44px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 12px 38px rgba(16,24,40,.055);
}
.faq-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.faq-list details { padding: 0 18px; border: 1px solid #e6e9ef; border-radius: 15px; background: #fafbfc; }
.faq-list details[open] { border-color: rgba(227,22,69,.22); background: #fff7f9; }
.faq-list summary {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  color: #1d2939;
  font-size: .88rem;
  font-weight: 800;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; color: var(--brand); font-size: 1.25rem; font-weight: 500; }
.faq-list details[open] summary::after { content: '−'; }
.faq-list p { margin: -2px 0 18px; color: #667085; font-size: .78rem; line-height: 1.75; }

.floating-tools {
  position: fixed;
  z-index: 80;
  right: max(14px, env(safe-area-inset-right));
  bottom: max(22px, calc(env(safe-area-inset-bottom) + 12px));
  display: grid;
  gap: 7px;
}
.floating-tool {
  display: grid;
  width: 52px;
  min-height: 52px;
  padding: 6px 3px;
  place-items: center;
  gap: 1px;
  border: 1px solid #e2e6ec;
  border-radius: 14px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 9px 24px rgba(16,24,40,.12);
  color: #344054;
  text-decoration: none;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.floating-tool:hover, .floating-tool.is-success { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); }
.floating-tool span { font-size: 1rem; font-weight: 900; line-height: 1; }
.floating-tool b { font-size: .61rem; }
.floating-tool.back-top { opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(8px); transition: .2s; }
.floating-tool.back-top.is-visible { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }

@media (max-width: 900px) {
  .topbar-inner { position: relative; }
  .nav-menu-toggle { display: flex; }
  .nav-links {
    position: fixed;
    z-index: 110;
    top: 72px;
    left: 12px;
    right: 12px;
    display: none;
    max-height: calc(100vh - 88px);
    padding: 10px;
    overflow-y: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
    border: 1px solid #e5e8ee;
    border-radius: 16px;
    background: rgba(255,255,255,.98);
    box-shadow: 0 22px 50px rgba(16,24,40,.18);
  }
  .nav.menu-open .nav-links { display: grid; }
  .nav-link { justify-content: center; min-height: 44px; margin: 0 !important; }
  .nav-link.btn-login { box-shadow: none; }
}

@media (max-width: 720px) {
  .home-anchor { scroll-margin-top: 68px; }
  .nav-links { top: 58px; }
  .matcher-controls { grid-template-columns: 1fr 1fr; }
  .matcher-controls button { grid-column: 1 / -1; width: 100%; }
  .faq-section { padding: 25px 18px; border-radius: 22px; }
  .faq-list { grid-template-columns: 1fr; }
  .faq-list summary { min-height: 54px; font-size: .82rem; }
  .floating-tools { right: 9px; bottom: max(12px, env(safe-area-inset-bottom)); gap: 5px; }
  .floating-tool { width: 46px; min-height: 46px; border-radius: 13px; }
}

@media (max-width: 420px) {
  .hero-matcher { padding: 13px; }
  .matcher-title { justify-content: space-between; }
  .matcher-controls { grid-template-columns: 1fr; }
  .matcher-controls button { grid-column: auto; }
  .hero-search-icon { display: none; }
  .hero-search input { padding-left: 8px; }
}
