/* ============================================================
   2026鞋款货盘 · 工厂直供 —— 响应式样式（移动优先）
   ============================================================ */
:root {
  --ink: #17202a;          /* 主文字 */
  --ink-2: #5a6572;        /* 次级文字 */
  --paper: #ffffff;
  --bg: #f6f7f9;
  --line: #e6e9ee;
  --accent: #e8590c;       /* 强调橙 */
  --accent-dark: #c74a08;
  --dark: #141b24;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(23, 32, 42, .08);
  --shadow-lg: 0 16px 48px rgba(23, 32, 42, .16);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.container { width: min(1160px, 100% - 32px); margin-inline: auto; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark {
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), #f59f00);
  color: #fff; font-size: 20px; font-weight: 800;
  display: grid; place-items: center;
}
.logo-text { font-weight: 800; font-size: 17px; line-height: 1.15; display: flex; flex-direction: column; }
.logo-text small { font-weight: 500; font-size: 11px; color: var(--ink-2); letter-spacing: 1px; }
.main-nav { display: none; align-items: center; gap: 26px; font-size: 15px; font-weight: 500; }
.main-nav a:hover { color: var(--accent); }
.nav-phone {
  background: var(--ink); color: #fff !important;
  padding: 8px 16px; border-radius: 999px; font-size: 14px;
}
.nav-toggle {
  display: flex; flex-direction: column; gap: 5px;
  background: none; border: 0; padding: 8px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 移动端菜单展开 */
.main-nav.mobile-open {
  display: flex; flex-direction: column; align-items: stretch; gap: 0;
  position: absolute; top: 60px; left: 0; right: 0;
  background: #fff; border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-lg); padding: 8px 20px 16px;
}
.main-nav.mobile-open a { padding: 13px 4px; border-bottom: 1px solid var(--line); }
.main-nav.mobile-open .nav-phone { margin-top: 12px; text-align: center; border: 0; }

/* ---------- 首屏 ---------- */
.hero { background: var(--dark); color: #fff; overflow: hidden; }
.hero-inner {
  display: grid; gap: 36px; padding: 52px 0 44px; align-items: center;
}
.hero-tag {
  display: inline-block; font-size: 13px; letter-spacing: 1px;
  color: #ffb267; border: 1px solid rgba(255,178,103,.4);
  padding: 5px 14px; border-radius: 999px; margin-bottom: 18px;
}
.hero h1 { font-size: clamp(28px, 6vw, 44px); line-height: 1.25; letter-spacing: .5px; }
.hero h1 em { font-style: normal; color: #ff9a3d; }
.hero-sub { margin-top: 16px; color: #aeb8c2; font-size: 15.5px; max-width: 34em; }
.hero-actions { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.hero-note { margin-top: 14px; font-size: 13px; color: #77828d; }
.hero-visual { position: relative; display: none; }
.hero-visual img {
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  width: 100%; object-fit: cover;
}
.hero-img-2 {
  position: absolute; width: 46% !important; right: -14px; bottom: -26px;
  border: 4px solid var(--dark) !important;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 26px; border-radius: 999px; font-size: 15px; font-weight: 600;
  border: 1px solid transparent; transition: .2s;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-outline { color: var(--ink); border-color: var(--line); background: #fff; }
.btn-outline:hover { border-color: var(--ink); }

/* ---------- 数据条 ---------- */
.stats-bar { background: #fff; border-bottom: 1px solid var(--line); }
.stats-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  padding: 22px 0; gap: 14px 8px; text-align: center;
}
.stat strong { display: block; font-size: 24px; color: var(--accent); font-weight: 800; }
.stat span { font-size: 13px; color: var(--ink-2); }

/* ---------- 区块通用 ---------- */
.section { padding: 56px 0; }
.section-alt { background: var(--bg); }
.section-head { margin-bottom: 28px; }
.section-head h2 { font-size: clamp(22px, 4.4vw, 30px); letter-spacing: .5px; }
.section-head h2 span {
  display: block; margin-top: 8px; font-size: 14px; font-weight: 400; color: var(--ink-2);
}

/* ---------- 筛选 ---------- */
.filter-chips { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.chip {
  padding: 8px 20px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; font-size: 14px; color: var(--ink-2); transition: .2s;
}
.chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- 产品网格 ---------- */
.product-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px;
}
.product-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; cursor: pointer; transition: .25s;
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.pc-imgwrap { position: relative; aspect-ratio: 1 / 1; background: var(--bg); overflow: hidden; }
.pc-imgwrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.product-card:hover .pc-imgwrap img { transform: scale(1.05); }
.pc-count {
  position: absolute; right: 10px; bottom: 10px;
  background: rgba(20,27,36,.72); color: #fff; font-size: 12px;
  padding: 3px 10px; border-radius: 999px; backdrop-filter: blur(4px);
}
.pc-warm {
  position: absolute; left: 10px; top: 10px;
  background: var(--accent); color: #fff; font-size: 12px; font-weight: 600;
  padding: 3px 10px; border-radius: 999px;
}
.pc-body { padding: 13px 14px 15px; }
.pc-model { font-size: 17px; font-weight: 800; letter-spacing: .5px; }
.pc-model small { font-weight: 400; color: var(--ink-2); font-size: 12px; margin-left: 6px; }
.pc-colors { margin-top: 7px; display: flex; flex-wrap: wrap; gap: 6px; }
.pc-colors i {
  font-style: normal; font-size: 12px; color: var(--ink-2);
  background: var(--bg); border: 1px solid var(--line);
  padding: 2px 9px; border-radius: 999px;
}
.pc-foot {
  margin-top: 11px; display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: var(--ink-2);
}
.pc-ask { color: var(--accent); font-weight: 700; }
.grid-empty { text-align: center; color: var(--ink-2); padding: 40px 0; }

/* ---------- 优势 ---------- */
.adv-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.adv-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; transition: .25s;
}
.adv-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.adv-icon { font-size: 30px; margin-bottom: 12px; }
.adv-card h3 { font-size: 17px; margin-bottom: 8px; }
.adv-card p { font-size: 14px; color: var(--ink-2); }

/* ---------- 联系 ---------- */
.contact-section { background: var(--dark); color: #fff; }
.contact-inner { display: grid; gap: 32px; align-items: start; }
.contact-copy h2 { font-size: clamp(24px, 4.6vw, 32px); }
.contact-copy > p { margin-top: 14px; color: #aeb8c2; font-size: 15px; max-width: 30em; }
.contact-phone {
  display: block; margin-top: 26px; font-size: clamp(28px, 6vw, 40px);
  font-weight: 800; color: #ff9a3d; letter-spacing: 1px;
}
.contact-phone small { display: block; font-size: 14px; font-weight: 400; color: #aeb8c2; margin-top: 4px; letter-spacing: 0; }
.contact-actions { display: flex; gap: 14px; margin-top: 22px; flex-wrap: wrap; }
.contact-actions .btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.contact-actions .btn-outline:hover { border-color: #fff; }
.contact-tip { margin-top: 12px; color: #6ee7a0; font-size: 14px; }
.contact-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius); padding: 26px 24px;
}
.contact-card h3 { font-size: 17px; margin-bottom: 14px; }
.contact-card ol { list-style: none; counter-reset: step; }
.contact-card li {
  counter-increment: step; position: relative; padding: 10px 0 10px 40px;
  font-size: 14px; color: #c6cdd4; border-bottom: 1px dashed rgba(255,255,255,.1);
}
.contact-card li:last-child { border-bottom: 0; }
.contact-card li::before {
  content: counter(step); position: absolute; left: 0; top: 10px;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--accent); color: #fff; font-size: 13px; font-weight: 700;
  display: grid; place-items: center;
}
.contact-card li b { color: #fff; }

/* ---------- 页脚 ---------- */
.site-footer { background: #0d1319; color: #8b95a0; font-size: 13px; }
.footer-inner { padding: 26px 0; display: grid; gap: 6px; }
.footer-note { font-size: 12px; color: #5d6771; }

/* ---------- 模态框 ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: flex-end; }
.modal[hidden] { display: none; }
.modal-mask { position: absolute; inset: 0; background: rgba(10,14,18,.66); backdrop-filter: blur(3px); }
.modal-body {
  position: relative; width: 100%; max-height: 92vh; overflow-y: auto;
  background: #fff; border-radius: 20px 20px 0 0;
  animation: slideUp .3s ease;
}
@keyframes slideUp { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.modal-close {
  position: absolute; top: 12px; right: 12px; z-index: 5;
  width: 36px; height: 36px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.9); color: var(--ink); font-size: 22px; line-height: 1;
  box-shadow: var(--shadow);
}
.modal-gallery { position: relative; background: var(--bg); }
.gallery-stage { aspect-ratio: 1 / 1; }
.gallery-stage img { width: 100%; height: 100%; object-fit: cover; }
.gal-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.88); color: var(--ink); font-size: 24px;
  box-shadow: var(--shadow); display: grid; place-items: center;
}
.gal-prev { left: 12px; }
.gal-next { right: 12px; }
.gal-dots { display: flex; gap: 7px; justify-content: center; padding: 12px 0; }
.gal-dots i {
  width: 8px; height: 8px; border-radius: 50%; background: #c8cfd6; transition: .2s;
}
.gal-dots i.on { background: var(--accent); width: 20px; border-radius: 999px; }
.modal-info { padding: 20px 22px 26px; }
.m-model { font-size: 24px; font-weight: 800; letter-spacing: .5px; }
.m-note {
  display: inline-block; margin-top: 10px; font-size: 13px; color: var(--accent-dark);
  background: #fff2e8; padding: 4px 12px; border-radius: 999px;
}
.m-specs { margin-top: 16px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.m-specs div {
  display: flex; justify-content: space-between; padding: 11px 2px;
  border-bottom: 1px solid var(--line); font-size: 14.5px;
}
.m-specs dt { color: var(--ink-2); }
.m-specs dd { font-weight: 600; text-align: right; }
.m-actions { display: flex; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.m-actions .btn { flex: 1; min-width: 140px; }
.m-price-tip { margin-top: 14px; font-size: 13px; color: var(--ink-2); text-align: center; }

/* ---------- 返回顶部 ---------- */
.back-top {
  position: fixed; right: 18px; bottom: 22px; z-index: 90;
  width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: var(--ink); color: #fff; font-size: 18px;
  box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: .25s;
}
.back-top.show { opacity: 1; pointer-events: auto; }

/* ---------- 滚动显现 ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   平板 / PC
   ============================================================ */
@media (min-width: 640px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .modal { align-items: center; justify-content: center; }
  .modal-body {
    width: min(860px, calc(100% - 40px));
    border-radius: 20px;
    display: grid; grid-template-columns: 1fr 1fr; overflow: hidden;
  }
  .modal-gallery { height: 100%; }
  .modal-info { padding: 30px 28px; overflow-y: auto; }
}

@media (min-width: 960px) {
  .main-nav { display: flex; }
  .nav-toggle { display: none; }
  .hero-inner { grid-template-columns: 1.05fr .95fr; padding: 76px 0 64px; gap: 48px; }
  .hero-visual { display: block; padding-bottom: 30px; padding-right: 20px; }
  .section { padding: 84px 0; }
  .product-grid { grid-template-columns: repeat(4, 1fr); }
  .adv-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .contact-inner { grid-template-columns: 1.2fr .8fr; gap: 56px; }
  .section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
  .filter-chips { margin-top: 0; }
}

/* 超宽屏下网格限宽，避免卡片过大 */
@media (min-width: 1280px) {
  .product-grid { gap: 22px; }
}
