/* ========== product-v2.css 产品中心页面新样式 ========== */

/* ---- Hero Banner ---- */
.banner2 {
  width: 100%;
  position: relative;
  overflow: hidden;
  height: 320px;
}
.banner2::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 2;
}
.banner2 .img-box {
  list-style: none;
  padding: 0;
  margin: 0;
}
.banner2 .img-box img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}
.banner2-caption {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
}
.banner2-caption .hero-title {
  font-size: 44px;
  font-weight: 700;
  letter-spacing: 4px;
  margin: 0 0 12px;
}
.banner2-caption .hero-sub {
  font-size: 16px;
  opacity: 0.85;
  letter-spacing: 3px;
}

/* ---- 面包屑 ---- */
.breadcrumb {
  width: 100%;
  background: #f7f7f7;
  border-bottom: 1px solid #eee;
}
.breadcrumb-inner {
  width: 1200px;
  max-width: 100%;
  margin: 0 auto;
  padding: 18px 20px;
  font-size: 14px;
  color: #999;
}
.breadcrumb-inner a {
  color: #666;
}
.breadcrumb-inner a:hover {
  color: #d6336c;
}
.breadcrumb-inner b {
  margin: 0 10px;
  color: #ccc;
  font-weight: normal;
}

/* ---- 主体布局 ---- */
.main-wrap {
  width: 1200px;
  max-width: 100%;
  margin: 0 auto;
  padding: 60px 20px 80px;
  box-sizing: border-box;
}
.content-area {
  width: 100%;
}
.side-menu {
  width: 200px;
  flex-shrink: 0;
}
.side-menu .menu-title {
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
  padding-bottom: 18px;
  margin-bottom: 10px;
  border-bottom: 2px solid #d6336c;
}
.side-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.side-menu ul li a {
  display: block;
  padding: 14px 18px;
  font-size: 15px;
  color: #555;
  border-left: 3px solid transparent;
  transition: all 0.2s;
}
.side-menu ul li a:hover {
  color: #d6336c;
  background: #fafafa;
  border-left-color: #d6336c;
}
.side-menu ul li a.cur {
  color: #d6336c;
  background: #fafafa;
  border-left-color: #d6336c;
  font-weight: 600;
}
.content-area {
  flex: 1;
  min-width: 0;
}
.content-area .page-title {
  font-size: 32px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 8px;
}
.content-area .page-sub {
  font-size: 13px;
  color: #999;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

/* ---- 产品分类卡片网格 ---- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.category-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(228, 0, 130, 0.15);
  border-color: #d6336c;
}
.category-card .card-img {
  width: 100%;
  height: 180px;
  overflow: hidden;
}
.category-card .card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.category-card:hover .card-img img {
  transform: scale(1.05);
}
.category-card .card-name {
  padding: 14px 0;
  text-align: center;
  font-size: 15px;
  color: #333;
  font-weight: 500;
}
.category-card:hover .card-name {
  color: #d6336c;
}

/* ---- 二维码引导区 ---- */
.qr-box {
  background: #fafafa;
  border-radius: 4px;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  margin-top: 20px;
}
.qr-box .qr-img {
  width: 145px;
  height: 145px;
  border: 1px solid #eee;
  border-radius: 4px;
  overflow: hidden;
}
.qr-box .qr-img img {
  width: 100%;
  height: 100%;
}
.qr-box .qr-text {
  text-align: left;
}
.qr-box .qr-text .qr-title {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 8px;
}
.qr-box .qr-text .qr-sub {
  font-size: 14px;
  color: #888;
}

/* ---- 清理旧样式 ---- */
html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  font: 14px "microsoft yahei", Arial, Helvetica, sans-serif;
  color: #333;
}
ul, li { margin: 0; padding: 0; list-style: none; }
a { color: #666; text-decoration: none; }
img { border: 0; display: block; }
