/* ============================================================
   B 站主题（普货 / 清爽 / 蓝白圆角）
   ============================================================ */
:root {
  --b-ink: #0f172a;
  --b-blue: #2563eb;
  --b-blue-dark: #1d4ed8;
  --b-soft: #eef2ff;
  --b-muted: #64748b;
  --bs-primary: #2563eb;
  --bs-primary-rgb: 37, 99, 235;
  --bs-link-color: #2563eb;
  --bs-link-hover-color: #1d4ed8;
  --bs-border-radius: .75rem;
}

body {
  background: #f7f9fc;
  font-family: system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
}

/* ---------- 顶部 ---------- */
.header-content,
.header-mobile {
  background: #fff !important;
  border-bottom: 1px solid #e8edf5;
  box-shadow: 0 2px 10px rgba(15, 23, 42, .04);
}
.header-content a,
.header-content .nav-link,
.header-mobile a,
.header-mobile .nav-link,
.header-content .dropdown-toggle,
.header-mobile .dropdown-toggle {
  color: #334155 !important;
  font-size: 14px;
  font-weight: 600;
}
.header-content a:hover,
.header-mobile a:hover { color: var(--b-blue) !important; }
.header-content .logo img,
.header-mobile .logo img { max-height: 34px; }
.header-content .cart-badge-quantity { background: var(--b-blue) !important; color: #fff !important; }
.header-content .dropdown-menu { border-radius: 12px; border: 1px solid #e8edf5; box-shadow: 0 12px 30px rgba(15,23,42,.08); }
.header-content .form-control { border-radius: 999px; background: #f4f6fb; border: 1px solid #e8edf5; }

/* ---------- 按钮 ---------- */
.btn { border-radius: 10px; font-weight: 600; }
.btn-primary,
.btn-dark {
  background: var(--b-blue) !important;
  border-color: var(--b-blue) !important;
  color: #fff !important;
}
.btn-primary:hover,
.btn-dark:hover { background: var(--b-blue-dark) !important; border-color: var(--b-blue-dark) !important; }
.btn-outline-dark { border-color: #d7dfec; color: #334155; border-radius: 10px; }
.btn-outline-dark:hover { background: var(--b-blue); border-color: var(--b-blue); color: #fff; }

/* ---------- 商品卡 ---------- */
.product-wrap {
  border: 1px solid #eaeff7;
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
  transition: box-shadow .2s ease, transform .2s ease;
}
.product-wrap:hover {
  box-shadow: 0 14px 32px rgba(15, 23, 42, .1);
  transform: translateY(-3px);
}
.product-wrap .product-name { font-weight: 600; color: var(--b-ink); }
.product-wrap .product-price .price-new {
  color: var(--b-blue) !important;
  font-weight: 700;
}
.product-wrap .price-old { color: var(--b-muted); text-decoration: line-through; }
.product-wrap .button-wrap .btn { border-radius: 10px; }

/* ---------- 区块 ---------- */
.modules-box { padding-top: 40px; padding-bottom: 40px; }
.modules-box .title,
.modules-box h2,
.modules-box h3 { font-weight: 700; color: var(--b-ink); letter-spacing: -.01em; }
.modules-box .container-fluid { border-radius: 16px; }

/* ---------- 页脚 ---------- */
footer, .footer, .footer-content { background: #eef2f9 !important; color: #475569 !important; }
footer a, .footer a { color: #475569 !important; }
footer a:hover, .footer a:hover { color: var(--b-blue) !important; }

/* ---------- 细节 ---------- */
.page-link { color: var(--b-ink); border-radius: 8px !important; }
.page-item.active .page-link { background: var(--b-blue); border-color: var(--b-blue); }
