/* AITradePath · Sports Showroom — 体育主题，能量感配色，纯静态 */
:root {
  --ink: #0e1726;
  --ink-soft: #475068;
  --line: #e6e9f0;
  --bg: #ffffff;
  --bg-soft: #f5f7fb;
  --accent: #0a4dff;      /* electric blue */
  --accent-2: #00d68f;    /* energy green */
  --accent-warm: #ff5a1f; /* sport orange */
  --shadow: 0 18px 48px rgba(14, 23, 38, 0.12);
  --shadow-sm: 0 6px 18px rgba(14, 23, 38, 0.08);
  --radius: 18px;
  --radius-sm: 12px;
  --maxw: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: "Sora", "Inter", sans-serif; letter-spacing: -0.02em; margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; font-weight: 600; font-size: 0.95rem;
  padding: 13px 22px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 9px 18px; font-size: 0.9rem; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 10px 24px rgba(10, 77, 255, 0.28); }
.btn-primary:hover { background: #003fe0; box-shadow: 0 12px 28px rgba(10, 77, 255, 0.36); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--ink); }
.btn-ghost { background: var(--bg-soft); color: var(--ink); font-size: 0.88rem; padding: 10px 16px; }
.btn-ghost:hover { background: #eaeef6; }

/* ---------- 顶栏 ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; gap: 20px;
  padding: 14px clamp(16px, 5vw, 48px);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 8px; font-weight: 800; font-family: "Sora", sans-serif; font-size: 1.18rem; }
.brand-mark { width: 30px; height: 30px; display: block; flex-shrink: 0; }
.brand-tag {
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: #fff; background: var(--accent-warm); padding: 3px 7px; border-radius: 6px; margin-left: 2px;
}
.nav-links { margin-left: auto; display: flex; align-items: center; gap: 26px; font-weight: 500; color: var(--ink-soft); }
.nav-links a:hover { color: var(--ink); }
.nav .btn { margin-left: 4px; }

/* Products 下拉菜单 */
.nav-dd { position: relative; }
.nav-dd-btn { border: none; background: none; font: inherit; font-weight: 500; color: var(--ink-soft); cursor: pointer; display: inline-flex; align-items: center; gap: 5px; padding: 0; }
.nav-dd-btn:hover { color: var(--ink); }
.nav-dd-btn .caret { font-size: 0.68rem; transition: transform 0.15s ease; }
.nav-dd:hover .nav-dd-btn .caret, .nav-dd.open .nav-dd-btn .caret { transform: rotate(180deg); }
.nav-dd-menu { position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%) translateY(6px); min-width: 220px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow); padding: 7px; opacity: 0; visibility: hidden; transition: opacity 0.14s ease, transform 0.14s ease; z-index: 120; }
.nav-dd-menu::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.nav-dd:hover .nav-dd-menu, .nav-dd.open .nav-dd-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav-dd-menu a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 8px; font-size: 0.9rem; font-weight: 600; color: var(--ink); white-space: nowrap; }
.nav-dd-menu a:hover { background: var(--bg-soft); color: var(--accent); }
.nav-dd-email { min-width: 290px; }
.dd-tag { font-size: 0.6rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; background: var(--bg-soft); color: var(--ink-soft); padding: 2px 7px; border-radius: 6px; }
.nav-dd-menu a:hover .dd-tag { background: rgba(10, 77, 255, 0.12); color: var(--accent); }

/* ---------- 英雄区 ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(56px, 9vw, 110px) clamp(16px, 5vw, 48px) clamp(48px, 7vw, 90px);
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(0, 214, 143, 0.16), transparent 60%),
    radial-gradient(900px 500px at -5% 110%, rgba(10, 77, 255, 0.14), transparent 55%),
    linear-gradient(180deg, #fbfcff, #f3f6fc);
}
.hero-inner { max-width: var(--maxw); margin: 0 auto; }
.eyebrow {
  display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--accent); background: rgba(10, 77, 255, 0.08);
  padding: 7px 14px; border-radius: 999px; margin-bottom: 22px;
}
.hero h1 { font-size: clamp(2.2rem, 6vw, 4.1rem); line-height: 1.04; font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-sub { max-width: 560px; margin: 22px 0 30px; font-size: clamp(1rem, 2.2vw, 1.18rem); color: var(--ink-soft); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 38px; margin-top: 52px; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong { font-family: "Sora", sans-serif; font-size: 1.5rem; }
.hero-stats span { font-size: 0.86rem; color: var(--ink-soft); }

/* ---------- 信任带 ---------- */
.trust { border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.trust-inner { max-width: var(--maxw); margin: 0 auto; padding: 18px clamp(16px, 5vw, 48px); display: flex; flex-wrap: wrap; gap: 18px 30px; justify-content: space-between; }
.trust-item { display: flex; align-items: center; gap: 11px; }
.trust-ico { font-size: 1.4rem; line-height: 1; }
.trust-item strong { display: block; font-size: 0.92rem; font-weight: 700; }
.trust-item span { display: block; font-size: 0.76rem; color: var(--ink-soft); }

/* ---------- 区块通用 ---------- */
section { scroll-margin-top: 72px; }
.section-head { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(16px, 5vw, 48px); text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); }
.section-head p { color: var(--ink-soft); margin-top: 10px; }

/* ---------- 目录 + 筛选 ---------- */
.catalog { padding: clamp(56px, 8vw, 92px) 0; }
.filter-bar {
  max-width: var(--maxw); margin: 30px auto 36px; padding: 0 clamp(16px, 5vw, 48px);
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
}
.chip {
  border: 1.5px solid var(--line); background: #fff; color: var(--ink-soft);
  padding: 9px 18px; border-radius: 999px; font-weight: 600; font-size: 0.9rem; cursor: pointer;
  transition: all 0.12s ease;
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* 行业线 Tab（≥2 条有货才显示） */
.line-nav { max-width: var(--maxw); margin: 30px auto 6px; padding: 0 clamp(16px, 5vw, 48px); display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.line-tab { border: none; background: none; color: var(--ink-soft); font-family: "Sora", sans-serif; font-weight: 700; font-size: 1.02rem; padding: 8px 14px; cursor: pointer; border-bottom: 2.5px solid transparent; transition: color 0.12s ease; }
.line-tab:hover { color: var(--ink); }
.line-tab.is-active { color: var(--accent); border-bottom-color: var(--accent); }
.load-err { grid-column: 1 / -1; text-align: center; color: var(--ink-soft); padding: 48px 0; }

/* 品类导航（主导航：Backpacks / Shin Guards / Sportswear）→ /backpacks */
.cat-nav { max-width: var(--maxw); margin: 26px auto 8px; padding: 0 clamp(16px, 5vw, 48px); display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.cat-tab { border: 1.5px solid var(--line); background: #fff; color: var(--ink-soft); font-family: "Sora", sans-serif; font-weight: 700; font-size: 0.95rem; padding: 9px 18px; border-radius: 999px; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; transition: all 0.12s ease; }
.cat-tab:hover { border-color: var(--ink); color: var(--ink); }
.cat-tab.is-active { background: var(--accent); color: #fff; border-color: var(--accent); }
.soon-badge { font-size: 0.58rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; background: var(--accent-warm); color: #fff; padding: 2px 6px; border-radius: 6px; }
.cat-tab.is-active .soon-badge { background: rgba(255, 255, 255, 0.28); }
.soon-state { grid-column: 1 / -1; text-align: center; padding: 56px 20px; background: var(--bg-soft); border-radius: var(--radius); display: flex; flex-direction: column; align-items: center; gap: 12px; }
.soon-state h3 { font-size: 1.4rem; }
.soon-state p { color: var(--ink-soft); max-width: 440px; margin: 0; }
.soon-state .btn { margin-top: 6px; }
.catalog-more { max-width: var(--maxw); margin: 30px auto 0; padding: 0 clamp(16px, 5vw, 48px); display: flex; justify-content: center; }
.catalog-more:empty { display: none; }
.view-all { font-size: 0.98rem; }

/* 品类页 = 独立聚焦页：隐藏首页专属区块（hero / about / contact），不再是一长条滚动 */
body.is-category .home-only { display: none; }
body.is-category .catalog { padding-top: clamp(52px, 7vw, 92px); }

/* 品类页底部「当前只是部分，更多请联系」提示 */
.more-note { max-width: 740px; margin: 0 auto; text-align: center; background: var(--bg-soft); border-radius: var(--radius); padding: 30px 26px; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.more-note p { margin: 0; color: var(--ink-soft); font-size: 0.96rem; line-height: 1.6; }
.more-note strong { color: var(--ink); }
.more-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* 首页橱窗：每个品类一块 */
.showcase { max-width: var(--maxw); margin: 30px auto 0; padding: 0 clamp(16px, 5vw, 48px); display: flex; flex-direction: column; gap: 52px; }
.sc-head { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.sc-title { font-family: "Sora", sans-serif; font-weight: 800; font-size: clamp(1.3rem, 3vw, 1.7rem); color: var(--ink); display: inline-flex; align-items: center; gap: 10px; }
.sc-title:hover { color: var(--accent); }
.sc-all { font-size: 0.92rem; font-weight: 700; color: var(--accent); white-space: nowrap; }
.sc-all:hover { text-decoration: underline; }
.sc-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 22px; }
.sc-soon { color: var(--ink-soft); background: var(--bg-soft); border-radius: var(--radius); padding: 28px; margin: 0; }
.sc-soon a { color: var(--accent); font-weight: 600; }
.sc-soon a:hover { text-decoration: underline; }

.product-grid {
  max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(16px, 5vw, 48px);
  display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 24px;
}
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; cursor: pointer; transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
  display: flex; flex-direction: column;
}
.card:hover, .card:focus-visible {
  transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; outline: none;
}
.card-img { background: var(--bg-soft); aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; padding: 12px; }
.card-img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase;
  color: var(--accent); background: rgba(10, 77, 255, 0.08); padding: 3px 8px; border-radius: 6px;
}
.card-name { font-size: 1.08rem; font-weight: 700; }
.card-sub { font-size: 0.85rem; color: var(--ink-soft); margin: 0; }
.card-foot { margin-top: auto; padding-top: 10px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); }
.card-model { font-size: 0.76rem; color: var(--ink-soft); font-weight: 600; letter-spacing: 0.04em; }
.card-cta { font-size: 0.85rem; font-weight: 700; color: var(--accent); }

/* ---------- 关于 ---------- */
.about { background: var(--bg-soft); padding: clamp(56px, 8vw, 92px) clamp(16px, 5vw, 48px); }
.about-inner { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: start; }
.about-text h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); margin-bottom: 16px; }
.about-text p { color: var(--ink-soft); margin: 0 0 20px; max-width: 540px; }
.about-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.about-list li { position: relative; padding-left: 30px; color: var(--ink-soft); }
.about-list li::before {
  content: "✓"; position: absolute; left: 0; top: 1px;
  color: var(--accent-2); font-weight: 800; background: rgba(0, 214, 143, 0.14);
  width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 0.78rem;
}
.about-list strong { color: var(--ink); }
.about-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.about-card h3 { font-size: 1.2rem; margin-bottom: 18px; }
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; counter-reset: s; }
.steps li { display: flex; align-items: flex-start; gap: 14px; color: var(--ink-soft); font-size: 0.94rem; }
.steps li span {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: 0.85rem;
}

/* ---------- 联系 ---------- */
.contact { padding: clamp(56px, 8vw, 92px) clamp(16px, 5vw, 48px); text-align: center; }
.contact-inner { max-width: 880px; margin: 0 auto; }
.contact h2 { font-size: clamp(1.8rem, 4.5vw, 2.8rem); }
.contact > .contact-inner > p { color: var(--ink-soft); margin: 12px 0 34px; }
.contact-cta { display: flex; justify-content: center; margin: 18px 0 0; }
.contact-or { text-align: center; font-size: 0.85rem; color: var(--ink-soft); margin: 18px 0 14px; }
.contact-methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.contact-card {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 18px;
  display: flex; flex-direction: column; align-items: center; gap: 6px; background: #fff;
  transition: transform 0.14s ease, box-shadow 0.14s ease, border-color 0.14s ease;
}
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: var(--accent); }
.contact-ico { font-size: 1.7rem; }
.contact-label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-soft); font-weight: 700; }
.contact-value { font-weight: 700; font-size: 1rem; }

/* ---------- 页脚 ---------- */
.footer { border-top: 1px solid var(--line); background: var(--bg-soft); color: var(--ink-soft); font-size: 0.88rem; }
.footer-inner { max-width: var(--maxw); margin: 0 auto; padding: 44px clamp(16px, 5vw, 48px) 30px; display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 36px; }
.footer-col h4 { font-family: "Sora", sans-serif; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); margin: 0 0 14px; }
.footer-col a, .footer-col .footer-addr, .footer-link-btn { display: block; color: var(--ink-soft); margin-bottom: 10px; font-size: 0.88rem; }
.footer-col a:hover, .footer-link-btn:hover { color: var(--accent); }
.footer-link-btn { background: none; border: none; padding: 0; font: inherit; cursor: pointer; font-weight: 600; color: var(--accent); text-align: left; }
.footer-brand { font-family: "Sora", sans-serif; font-weight: 800; font-size: 1.15rem; color: var(--ink); margin-bottom: 12px; }
.footer-brand span { color: var(--accent-warm); }
.footer-about p { margin: 0; max-width: 360px; line-height: 1.6; }
.footer-bottom { max-width: var(--maxw); margin: 0 auto; padding: 16px clamp(16px, 5vw, 48px); border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: space-between; font-size: 0.82rem; }
@media (max-width: 720px) { .footer-inner { grid-template-columns: 1fr 1fr; gap: 28px; } .footer-about { grid-column: 1 / -1; } }

/* ---------- 详情弹窗 ---------- */
.modal {
  position: fixed; inset: 0; z-index: 200; display: none;
  background: rgba(14, 23, 38, 0.55); backdrop-filter: blur(4px);
  padding: clamp(12px, 4vw, 40px); overflow-y: auto;
}
.modal.is-open { display: flex; align-items: flex-start; justify-content: center; }
.modal-panel {
  position: relative; background: #fff; border-radius: var(--radius); width: min(880px, 100%);
  box-shadow: var(--shadow); margin: auto; animation: pop 0.18s ease;
}
@keyframes pop { from { transform: translateY(14px) scale(0.98); opacity: 0; } to { transform: none; opacity: 1; } }
.modal-close {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  width: 36px; height: 36px; border-radius: 50%; border: none; background: var(--bg-soft);
  font-size: 1rem; cursor: pointer; color: var(--ink-soft);
}
.modal-close:hover { background: #e6eaf2; color: var(--ink); }
.modal-grid { display: grid; grid-template-columns: 1.05fr 1fr; }
.modal-img { position: relative; background: var(--bg-soft); border-radius: var(--radius) 0 0 var(--radius); display: flex; align-items: center; padding: 28px; }
.modal-img img { width: 100%; object-fit: contain; mix-blend-mode: multiply; cursor: zoom-in; }
.zoom-hint {
  position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%);
  background: rgba(14, 23, 38, 0.78); color: #fff; font-size: 0.72rem; font-weight: 600;
  padding: 5px 11px; border-radius: 999px; pointer-events: none; white-space: nowrap;
  letter-spacing: 0.02em;
}

/* ---------- 放大灯箱 ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 300; display: none;
  background: rgba(8, 12, 20, 0.94); backdrop-filter: blur(3px);
}
.lightbox.is-open { display: block; }
.lightbox-stage {
  position: absolute; inset: 0; overflow: auto;
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.lightbox-stage img {
  max-width: 100%; max-height: 92vh; object-fit: contain; cursor: zoom-in;
  user-select: none; -webkit-user-drag: none;
}
.lightbox-stage img.zoomed {
  max-width: none; max-height: none; width: auto; height: auto; margin: auto; cursor: zoom-out;
}
.lightbox-close {
  position: fixed; top: 16px; right: 18px; z-index: 2;
  width: 42px; height: 42px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255, 255, 255, 0.14); color: #fff; font-size: 1.1rem;
}
.lightbox-close:hover { background: rgba(255, 255, 255, 0.26); }
.modal-info { padding: 32px 30px; }
.modal-info h2 { font-size: 1.7rem; margin: 10px 0 8px; }
.modal-tagline { color: var(--ink-soft); margin: 0 0 20px; }
.spec { width: 100%; border-collapse: collapse; margin-bottom: 18px; }
.spec th, .spec td { text-align: left; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 0.92rem; vertical-align: top; }
.spec th { color: var(--ink-soft); font-weight: 600; width: 38%; }
.spec td { font-weight: 600; }
.copy-code { font: inherit; cursor: pointer; border: none; background: transparent; padding: 0; display: inline-flex; align-items: center; gap: 5px; transition: color 0.12s ease; }
.copy-code .cc-ico { font-size: 0.85em; opacity: 0.5; transition: opacity 0.12s ease; }
.copy-code:hover, .copy-code:hover .cc-ico { color: var(--accent); opacity: 1; }
.copy-code:active { transform: translateY(1px); }
/* 卡片底部的商品编码（朴素文字，可点复制） */
.card-model.copy-code { font-size: 0.76rem; color: var(--ink-soft); font-weight: 600; letter-spacing: 0.04em; }
.swatches { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 18px; }
.swatch { font-size: 0.8rem; border: 1px solid var(--line); background: var(--bg-soft); padding: 5px 11px; border-radius: 999px; color: var(--ink); }
.moq-note { font-size: 0.84rem; color: var(--ink-soft); background: rgba(0, 214, 143, 0.08); border-left: 3px solid var(--accent-2); padding: 11px 14px; border-radius: 0 8px 8px 0; margin: 0 0 22px; }
.modal-cta { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- 联系提示（要详细规格/实物图请联系）---------- */
.contact-note { font-size: 0.85rem; color: var(--ink); background: rgba(10, 77, 255, 0.06); border-left: 3px solid var(--accent); padding: 11px 14px; border-radius: 0 8px 8px 0; margin: 0 0 16px; }
.contact-alt { font-size: 0.82rem; color: var(--ink-soft); margin: 10px 0 0; }
.contact-alt a { color: var(--accent); font-weight: 600; }
.contact-alt a:hover { text-decoration: underline; }

/* ---------- 询盘表单 ---------- */
.iq-panel { width: min(560px, 100%); }
.iq-wrap { padding: 34px 32px 30px; }
.iq-wrap h2 { font-size: 1.5rem; margin: 0; }
.iq-sub { color: var(--ink-soft); font-size: 0.92rem; margin: 8px 0 22px; }
#inquiry-form { display: flex; flex-direction: column; gap: 13px; }
.iq-row { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
#inquiry-form label { display: flex; flex-direction: column; gap: 5px; font-size: 0.82rem; font-weight: 600; color: var(--ink); }
#inquiry-form label span { color: var(--accent-warm); }
#inquiry-form input, #inquiry-form textarea { font: inherit; font-size: 0.95rem; font-weight: 400; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 9px; background: #fff; color: var(--ink); transition: border-color 0.12s ease; }
#inquiry-form input:focus, #inquiry-form textarea:focus { outline: none; border-color: var(--accent); }
#inquiry-form textarea { resize: vertical; }
.iq-submit { margin-top: 6px; width: 100%; }
.iq-submit:disabled { opacity: 0.6; cursor: default; }
.iq-status { font-size: 0.86rem; margin: 4px 0 0; min-height: 18px; text-align: center; color: var(--ink-soft); }
.iq-status.ok { color: var(--accent-2); font-weight: 600; }
.iq-status.err { color: var(--accent-warm); }
@media (max-width: 480px) { .iq-row { grid-template-columns: 1fr; } .iq-wrap { padding: 28px 22px 24px; } }

/* ---------- 联系弹框 ---------- */
.ct-panel { width: min(440px, 100%); }
.ct-wrap { padding: 34px 30px 28px; }
.ct-wrap h2 { font-size: 1.5rem; margin: 0; }
.ct-sub { color: var(--ink-soft); font-size: 0.9rem; margin: 8px 0 22px; }
.ct-row { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 11px; transition: border-color 0.12s ease, background 0.12s ease; }
a.ct-row:hover { border-color: var(--accent); background: rgba(10, 77, 255, 0.04); }
.ct-ico { font-size: 1.5rem; line-height: 1; }
.ct-txt { display: flex; flex-direction: column; flex: 1; }
.ct-txt strong { font-size: 0.95rem; }
.ct-txt span { font-size: 0.86rem; color: var(--ink-soft); }
.ct-arr { color: var(--accent); font-weight: 700; }
.ct-row-static { background: var(--bg-soft); }
/* 联系区静态地址卡 */
.contact-card-static { cursor: default; }
.contact-card-static:hover { transform: none; border-color: var(--line); }
.hero-note { display: inline-flex; align-items: center; gap: 8px; margin-top: 26px; font-size: 0.9rem; color: var(--ink-soft); background: rgba(255, 255, 255, 0.6); border: 1px solid var(--line); padding: 9px 16px; border-radius: 999px; }
.hero-note strong { color: var(--ink); font-weight: 600; }

/* 汉堡按钮（仅手机显示） */
.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 42px; height: 42px; border: none; background: none; cursor: pointer; padding: 9px; margin-left: 6px; }
.nav-toggle span { display: block; height: 2.5px; width: 100%; background: var(--ink); border-radius: 2px; transition: transform 0.22s ease, opacity 0.2s ease; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- 响应式 ---------- */
@media (max-width: 860px) {
  .about-inner { grid-template-columns: 1fr; gap: 32px; }
  .modal-grid { grid-template-columns: 1fr; }
  .modal-img { border-radius: var(--radius) var(--radius) 0 0; }
  .contact-methods { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav-toggle { display: flex; margin-left: auto; }
  .nav .btn { display: none; }                 /* 顶部 Inquire 隐藏，WhatsApp 在菜单里 */
  /* 汉堡菜单面板 */
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-top: 1px solid var(--line); box-shadow: var(--shadow-popover);
    padding: 6px 0; margin: 0; max-height: calc(100vh - 60px); overflow-y: auto;
  }
  .nav-open .nav-links { display: flex; }
  .nav-links > a { padding: 13px 24px; font-size: 1rem; color: var(--ink); }
  .nav-links > a:active { background: var(--bg-soft); }
  .nav-dd { width: 100%; }
  .nav-dd-btn { width: 100%; justify-content: flex-start; padding: 13px 24px; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-soft); }
  .nav-dd-btn .caret { display: none; }
  /* 下拉菜单在手机上直接内联展开 */
  .nav-dd-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; min-width: 0; padding: 0; background: transparent; border-radius: 0; }
  .nav-dd-menu::before { display: none; }
  .nav-dd-menu a { padding: 11px 24px 11px 38px; border-radius: 0; font-size: 0.96rem; }
  .nav-dd-menu a:active { background: var(--bg-soft); }
  .hero-stats { gap: 24px; }
}

/* ===== Products「Other」弹窗 + 邮箱复制 toast ===== */
.nav-dd-other { border-top: 1px solid rgba(20, 33, 61, 0.08); margin-top: 4px; }
.nav-dd-other .dd-tag { color: var(--accent); background: rgba(10, 77, 255, 0.1); }

.modal.modal-simple .modal-panel { width: min(560px, 100%); }
.more-modal { padding: 40px 38px 36px; }
.more-eyebrow { display: inline-block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.more-modal h2 { margin: 12px 0 0; font-size: 1.55rem; color: var(--ink); line-height: 1.2; }
.more-modal p { margin: 14px 0 0; color: var(--ink-soft); line-height: 1.62; font-size: 0.96rem; }
.more-cta { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }

#tp-toast {
  position: fixed; left: 50%; bottom: 30px; transform: translateX(-50%) translateY(18px);
  background: var(--ink); color: #fff; padding: 13px 22px; border-radius: 999px;
  font-size: 0.9rem; box-shadow: 0 16px 38px rgba(0, 0, 0, 0.3); z-index: 300;
  opacity: 0; pointer-events: none; transition: opacity 0.22s ease, transform 0.22s ease;
  max-width: 90vw;
}
#tp-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
#tp-toast strong { font-weight: 700; }

/* ── 浮动快捷入口(询盘 + WhatsApp,全站含分类页) ── */
.fab-stack {
  position: fixed; right: 18px; bottom: 20px; z-index: 120;
  display: flex; flex-direction: column; align-items: flex-end; gap: 10px;
}
.fab { cursor: pointer; border: none; box-shadow: var(--shadow-sm); transition: transform 0.15s ease, box-shadow 0.15s ease; }
.fab:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.fab-quote {
  background: var(--accent); color: #fff; font-family: "Inter", sans-serif;
  font-size: 0.86rem; font-weight: 700; padding: 11px 18px; border-radius: 999px;
}
.fab-wa {
  width: 52px; height: 52px; border-radius: 50%; background: #25d366; color: #fff;
  display: flex; align-items: center; justify-content: center;
}
@media (max-width: 640px) {
  .fab-stack { right: 12px; bottom: 14px; }
  .fab-quote { font-size: 0.8rem; padding: 10px 15px; }
  .fab-wa { width: 48px; height: 48px; }
}

/* ── 合作工厂实拍区 ── */
.factory { max-width: var(--maxw); margin: 0 auto; padding: 64px 24px 8px; }
.factory-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.factory-grid figure { margin: 0; border-radius: var(--radius-sm); overflow: hidden; background: var(--bg-soft); box-shadow: var(--shadow-sm); }
.factory-grid img { width: 100%; height: 240px; object-fit: cover; display: block; transition: transform 0.25s ease; }
.factory-grid figure:hover img { transform: scale(1.03); }
.factory-grid figcaption { padding: 10px 14px; font-size: 0.82rem; font-weight: 600; color: var(--ink-soft); }
.factory-grid figure:not(.f-big) { grid-column: span 3; max-width: 420px; justify-self: center; }
.factory-grid figure:not(.f-big) img { height: 180px; }
.factory-note { margin: 18px 0 0; text-align: center; color: var(--ink-soft); font-size: 0.92rem; }
@media (max-width: 860px) {
  .factory-grid { grid-template-columns: 1fr; }
  .factory-grid figure:not(.f-big) { grid-column: span 1; max-width: none; }
  .factory-grid img { height: 200px; }
}

/* ════════════ 2026-07 · Apple 式尺度重排(覆盖层:巨型字体/双倍留白/去盒感/照片主角) ════════════ */
/* 英雄区:巨型标题 + 收窄副文 + 更多呼吸 */
.hero { padding: clamp(72px, 11vh, 128px) 24px clamp(56px, 8vh, 96px); }
.hero h1 { font-size: clamp(3rem, 7.2vw, 5.4rem); line-height: 1.04; letter-spacing: -0.035em; }
.hero-sub { font-size: 1.14rem; line-height: 1.7; max-width: 640px; margin-left: auto; margin-right: auto; }
.eyebrow { letter-spacing: 0.16em; font-size: 0.72rem; }
.hero-cta .btn { padding: 14px 28px; font-size: 1rem; border-radius: 999px; }
.hero-stats { margin-top: 44px; gap: clamp(28px, 6vw, 64px); }
.hero-stats strong { font-size: 2rem; letter-spacing: -0.02em; }

/* 信任带:去盒子 → 极简一行,细线上下 */
.trust { background: transparent; }
.trust-inner { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 24px; gap: clamp(20px, 4vw, 56px); }
.trust-item { background: transparent; border: none; box-shadow: none; padding: 0; }

/* 区块标题:Apple 尺度 */
.section-head h2, .about-text h2, .contact-inner h2 {
  font-size: clamp(2.1rem, 4.6vw, 3.3rem); letter-spacing: -0.03em; line-height: 1.08;
}
.section-head { margin-bottom: 44px; }
.section-head p { font-size: 1.06rem; }

/* 目录章节:每品类一章,标题即主角 */
.catalog { padding-top: clamp(56px, 8vh, 96px); }
.sc-cat { margin: clamp(64px, 9vh, 104px) 0; }
.sc-head { margin-bottom: 22px; }
.sc-title { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 800; letter-spacing: -0.025em; }
.sc-all { font-size: 0.95rem; }

/* 产品卡:图占主导、去边框、悬浮升起 */
.card { border: none; box-shadow: none; background: var(--bg-soft); border-radius: 20px; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 22px 48px rgba(14, 23, 38, 0.12); }
.card-img { background: #fff; border-radius: 20px 20px 0 0; }
.card-img img { transition: transform 0.3s ease; }
.card:hover .card-img img { transform: scale(1.04); }
.card-name { font-size: 1.04rem; letter-spacing: -0.01em; }

/* 关于 / 工厂 / 联系:节奏拉开 */
.about, .factory { padding-top: clamp(64px, 9vh, 104px); padding-bottom: clamp(24px, 4vh, 48px); }
.factory-grid img { height: 280px; }
.factory-grid { gap: 20px; }
.contact { padding: clamp(72px, 10vh, 120px) 24px; }
.contact-inner p { font-size: 1.08rem; }
.btn-primary, .btn-outline { border-radius: 999px; }

/* 页脚:更安静 */
.footer { margin-top: clamp(48px, 7vh, 80px); }

/* ── 品牌故事(与主站同步的内容块) ── */
.story { max-width: var(--maxw); margin: 0 auto; padding: clamp(64px, 9vh, 104px) 24px 8px; }
.story-cols { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(28px, 5vw, 56px); align-items: start; margin-top: 8px; }
.story-text p { margin: 0 0 16px; color: var(--ink-soft); font-size: 1.04rem; line-height: 1.75; }
.story-points { list-style: none; margin: 0; padding: 0; }
.story-points li { border-top: 1px solid var(--line); padding: 16px 2px; display: flex; flex-direction: column; gap: 4px; }
.story-points strong { color: var(--ink); font-size: 0.98rem; }
.story-points span { color: var(--ink-soft); font-size: 0.9rem; line-height: 1.55; }
@media (max-width: 860px) { .story-cols { grid-template-columns: 1fr; } }

/* ── FAQ(原生 details 手风琴) ── */
.faq { max-width: 820px; margin: 0 auto; padding: clamp(64px, 9vh, 104px) 24px 8px; }
.faq-list { margin-top: 8px; }
.faq-item { border-top: 1px solid var(--line); padding: 4px 0; }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 2px; font-weight: 700; font-size: 1.04rem; color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; font-weight: 400; color: var(--accent); transition: transform 0.2s ease; flex-shrink: 0; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin: 0 0 18px; color: var(--ink-soft); line-height: 1.75; font-size: 0.96rem; max-width: 700px; }

/* ── 走查修复批(2026-07-05):询盘清单 / 搜索 / 移动2列 / 微文案 ── */
/* 卡片加购按钮(右上角浮层圆钮) */
.card { position: relative; }
.card-add {
  position: absolute; top: 10px; right: 10px; z-index: 3;
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.92);
  color: var(--accent); font-size: 1.15rem; font-weight: 700; line-height: 1;
  cursor: pointer; box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.card-add:hover { background: var(--accent); color: #fff; transform: scale(1.08); }

/* 询盘清单 chips(询盘弹窗顶部,可移除) */
.iq-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 4px; }
.iq-chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px;
  padding: 5px 8px 5px 12px; font-size: 0.82rem; font-weight: 600; color: var(--ink);
}
.iq-chip button {
  border: none; background: transparent; color: var(--ink-soft);
  font-size: 1rem; line-height: 1; cursor: pointer; padding: 0 2px;
}
.iq-chip button:hover { color: #d33; }

/* 品类页搜索框 */
.pf-search {
  flex: 1 1 220px; min-width: 200px; max-width: 320px;
  border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 16px; font: inherit; font-size: 0.9rem; color: var(--ink);
  background: #fff; margin-right: 6px;
}
.pf-search:focus { outline: none; border-color: var(--accent); }

/* 微文案 */
.iq-privacy { margin: 10px 0 0; font-size: 0.8rem; color: var(--ink-soft); text-align: center; }
.contact-promise { margin: 10px 0 0; font-size: 0.95rem; font-weight: 600; color: var(--accent); }
.footer-parent { margin-top: 10px; font-size: 0.85rem; }
.footer-parent a { color: var(--accent); font-weight: 600; }

/* 移动端:产品 2 列紧凑网格(58 款不再 58 屏长滚) */
@media (max-width: 640px) {
  .product-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 12px; }
  .sc-row { grid-template-columns: repeat(2, 1fr) !important; gap: 12px; }
  .card-name { font-size: 0.9rem; }
  .card-sub { font-size: 0.78rem; }
  .card-body { padding: 10px 12px; }
  .card-tags { display: none; }
  .card-foot { flex-wrap: wrap; gap: 6px; }
  .card-add { width: 30px; height: 30px; font-size: 1rem; }
}


/* ── 详情弹窗多图画廊（home 子站新增）── */
.modal-thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.modal-thumb {
  width: 62px; height: 62px; padding: 0; border: 2px solid transparent;
  border-radius: 10px; overflow: hidden; cursor: pointer; background: #f1ede4;
  transition: border-color .15s ease;
}
.modal-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.modal-thumb.is-active { border-color: #2563eb; }
.modal-thumb:hover { border-color: #93b4f5; }
