/* 基础重置 - 统一样式基准 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
}
body {
  color: #333;
  background-color: #fff;
  line-height: 1.6;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}
img {
  max-width: 100%;
  vertical-align: middle;
  border: none;
}
button {
  cursor: pointer;
  outline: none;
}

/* 容器 - 强制居中核心 */
.container {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 30px;
}

/* 按钮样式 - 统一规范 */
.btn {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: none;
  text-align: center;
}
.btn-primary {
  background-color: #E31437;
  color: #fff;
}
.btn-primary:hover {
  background-color: #c2122f;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(227, 20, 55, 0.3);
}
.btn-outline {
  background-color: transparent;
  border: 1px solid #E31437;
  color: #E31437;
}
.btn-outline:hover {
  background-color: #E31437;
  color: #fff;
  box-shadow: 0 4px 8px rgba(227, 20, 55, 0.3);
}
/* 小型按钮样式（登录/注册） */
.btn-sm {
  padding: 6px 16px;
  font-size: 13px;
}

/* 标题样式 - 统一风格 */
.section-title {
  font-size: 28px;
  font-weight: bold;
  color: #333;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}
.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background-color: #E31437;
  margin: 12px auto 0;
}

/* 头部导航 - 优化登录/注册按钮布局 */
.header {
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 9999;
  padding: 15px 0;
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  display: flex;
  align-items: center;
}
.logo img{max-width:210px;}
.logo-text {
  font-size: 24px;
  font-weight: bold;
  color: #E31437;
  margin-right: 8px;
}
.logo-subtext {
  font-size: 14px;
  color: #666;
}
.nav {
  display: flex;
  gap: 15px;
  font-size: 15px;
  align-items: center;
}
/* 登录/注册按钮容器 */
.auth-buttons {
  display: flex;
  gap: 10px;
  margin-left: 20px;
}
.nav-link {
  color: #333;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 8px 10px;
}
.nav-link i {
  font-size: 10px;
  margin-left: 5px;
  transition: transform 0.3s ease;
}
.nav-link:hover, .nav-link.active {
  color: #E31437;
}
.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 10px;
  width: 0;
  height: 2px;
  background-color: #E31437;
  transition: width 0.3s ease;
}
.nav-link:hover::after, .nav-link.active::after {
  width: calc(100% - 20px);
}
/* 下拉菜单容器 */
.nav-dropdown {
  position: relative;
}
/* PC端下拉菜单 - 黑色透明背景 */
@media (min-width: 992px) {
  .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background-color: rgba(0, 0, 0, 0.9);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border-radius: 4px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 9999;
    padding: 5px 0;
  }
  .dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: #fff;
    font-size: 14px;
    transition: all 0.3s ease;
  }
  .dropdown-menu a:hover {
    background-color: rgba(227, 20, 55, 0.8);
    color: #fff;
    padding-left: 25px;
  }
}
/* 移动端下拉菜单 */
@media (max-width: 991px) {
  .dropdown-menu {
    position: static;
    display: none;
    background-color: #f8f9fa;
    box-shadow: none;
    border-radius: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    padding: 0;
    margin-top: 5px;
  }
  .dropdown-menu a {
    color: #666;
    padding: 10px 20px;
  }
  .dropdown-menu a:hover {
    background-color: #eee;
    color: #E31437;
  }
  .nav-dropdown.active .dropdown-menu {
    display: block;
  }
  .nav-dropdown.active .nav-link i {
    transform: rotate(180deg);
  }
  /* 移动端登录/注册按钮调整 */
  .auth-buttons {
    margin-left: 0;
    width: 100%;
    justify-content: center;
    margin-top: 15px;
  }
}
/* PC端下拉菜单hover显示 */
@media (min-width: 992px) {
  .nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .nav-dropdown:hover .nav-link i {
    transform: rotate(180deg);
  }
}
.header-contact {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: #666;
  margin-left: 20px;
}
.header-contact i {
  color: #E31437;
  margin-right: 6px;
  font-size: 16px;
}
.menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  color: #333;
}

/* Banner轮播 */
.banner {
  background-color: #f8f9fa;
  width: 100%;
  height: 650px; /* 固定1920X650尺寸 */
  overflow: hidden;
  position: relative;
}
.banner-slider {
  width: 100%;
  height: 100%;
  position: relative;
}
.banner-slide {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.8s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.banner-slide.active {
  opacity: 1;
  visibility: visible;
}
.banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  width: 100%;
  height: 100%;
  padding: 40px 0;
}
.banner-content {
  flex: 1;
  text-align: left;
  z-index: 2;
}
.banner-title {
  font-size: 36px;
  font-weight: bold;
  color: #333;
  margin-bottom: 15px;
  line-height: 1.3;
}
.banner-desc {
  font-size: 18px;
  color: #666;
  margin-bottom: 30px;
}
.banner-btn {
  padding: 12px 30px;
  font-size: 16px;
}
.banner-img {
  flex: 1;
  text-align: right;
  z-index: 2;
}
.main-img {
  width: 100%;
  max-height: 396px;
  object-fit: contain;
  border-radius: 8px;

}
.slider-prev, .slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.9);
  border: none;
  color: #333;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.slider-prev {
  left: 20px;
}
.slider-next {
  right: 20px;
}
.slider-prev:hover, .slider-next:hover {
  background-color: #E31437;
  color: #fff;
  box-shadow: 0 0 10px rgba(227, 20, 55, 0.5);
}
.slider-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 15px;
  z-index: 10;
}
.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.6);
  border: 1px solid #ddd;
  cursor: pointer;
  transition: all 0.3s ease;
}
.dot.active {
  background-color: #E31437;
  width: 30px;
  border-radius: 6px;
  border-color: #E31437;
}

/* 产品中心 - 重点添加价格样式 */
.products {
  padding: 80px 0;
  background-color: #fff;
}
/* 登录提示条样式 */
.login-prompt-bar {
  background-color: #fef7e5;
  border-left: 4px solid #f9c74f;
  padding: 12px 20px;
  margin-bottom: 30px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #666;
}
.login-prompt-bar i {
  color: #f9c74f;
  font-size: 16px;
}
.login-link {
  color: #E31437;
  text-decoration: underline;
  margin: 0 5px;
}
.register-link {
  color: #E31437;
  text-decoration: underline;
  margin-left: 5px;
}
.login-link:hover, .register-link:hover {
  color: #c2122f;
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
  margin-bottom: 50px;
}
.product-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
}
.product-item {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.product-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}
.product-img-wrap {
  overflow: hidden;
  position: relative;
  height: 220px;
}
.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.product-item:hover .product-img {
  transform: scale(1.15);
}
.product-item:hover::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 220px;
  background-color: rgba(227, 20, 55, 0.05);
  z-index: 1;
}
.product-name {
  font-size: 16px;
  font-weight: bold;
  color: #333;
  padding: 0 20px;
  margin: 20px 0 10px;
}
.product-desc {
  font-size: 13px;
  color: #666;
  padding: 0 20px;
  margin-bottom: 15px;
  line-height: 1.5;
  flex: 1;
}
/* 产品价格区域样式 */
.product-price-section {
  padding: 0 20px 25px;
  display: flex;
  align-items: center;
}
/* 未登录价格样式 */
.price-not-login {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #999;
  font-size: 14px;
}
.price-not-login i {
  color: #ccc;
  font-size: 16px;
}
/* 已登录价格样式 */
.price-logged-in {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
}
.price-label {
  font-size: 14px;
  color: #666;
}
.product-price {
  font-size: 18px;
  font-weight: bold;
  color: #E31437;
}
.price-note {
  font-size: 12px;
  color: #999;
  margin-left: auto;
}
.products-more {
  text-align: center;
}

/* 解决方案 */
.solutions {
  padding: 80px 0;
  background-color: #f8f9fa;
}
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}
.solution-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
}
.solution-item {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  height: 100%;
}
.solution-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}
.solution-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.solution-name {
  padding: 18px;
  font-size: 16px;
  font-weight: 500;
  color: #333;
  text-align: center;
  border-top: 1px solid #f0f0f0;
}

/* 合作案例 */
.cases {
  padding: 80px 0;
  background-color: #fff;
}
.cases-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 40px;
}
.tab-btn {
  padding: 8px 22px;
  border-radius: 30px;
  background-color: #f5f5f5;
  color: #666;
  border: none;
  font-size: 14px;
  transition: all 0.3s ease;
}
.tab-btn.active {
  background-color: #E31437;
  color: #fff;
}
.tab-btn:hover:not(.active) {
  background-color: #eee;
  color: #333;
}
.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
}
.case-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
}
.case-item {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
  position: relative;
  transition: all 0.3s ease;
  height: 100%;
}
.case-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}
.case-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.case-name {
  font-size: 14px;
  color: #333;
  padding: 15px;
  line-height: 1.4;
}
.case-tag {
  position: absolute;
  right: 15px;
  bottom: 15px;
  font-size: 12px;
  color: #E31437;
  font-weight: bold;
}

/* 新闻资讯 */
.news {
  padding: 80px 0;
  background-color: #f8f9fa;
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}
.news-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
}
.news-item {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  height: 100%;
}
.news-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}
.news-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.news-title {
  font-size: 16px;
  font-weight: bold;
  color: #333;
  padding: 0 20px;
  margin: 20px 0 10px;
  line-height: 1.4;
}
.news-desc {
  font-size: 13px;
  color: #666;
  padding: 0 20px;
  margin-bottom: 20px;
  line-height: 1.5;
}
.news-date {
  font-size: 12px;
  color: #999;
  padding: 0 20px 20px;
  display: block;
}
.news-more {
  text-align: center;
}

/* 关于我们 */
.about {
  padding: 80px 0;
  background-color: #fff;
}
.about-inner {
  display: flex;
  align-items: center;
  gap: 60px;
}
.about-img {
  flex: 1;
}
.about-main-img {
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}
.about-content {
  flex: 1;
}
.about-content .section-title {
  text-align: left;
  left: 0;
  transform: none;
  margin-bottom: 20px;
}
.about-content .section-title::after {
  margin-left: 0;
}
.about-desc {
  font-size: 14px;
  color: #666;
  line-height: 1.8;
  margin-bottom: 30px;
}
.about-stats {
  display: flex;
  gap: 60px;
  margin-bottom: 35px;
}
.stat-item {
  text-align: center;
}
.stat-num {
  display: block;
  font-size: 32px;
  font-weight: bold;
  color: #E31437;
  margin-bottom: 5px;
}
.stat-name {
  font-size: 14px;
  color: #666;
}
.about-btn {
  padding: 12px 30px;
  font-size: 15px;
}

/* 页脚 */
.footer {
  background-color: #2c3e50;
  color: #fff;
  padding: 80px 0 30px;
}
.footer-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
}
.footer-col .footer-logo {
  margin-bottom: 20px;
}
.footer-col .logo-text {
  color: #fff;
}
.footer-col .logo-subtext {
  color: #ccc;
}
.footer-desc {
  font-size: 13px;
  color: #ccc;
  line-height: 1.6;
  margin-bottom: 20px;
}
.footer-social {
  display: flex;
  gap: 15px;
}
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #34495e;
  color: #fff;
  transition: all 0.3s ease;
}
.social-icon:hover {
  background-color: #E31437;
  transform: translateY(-3px);
}
.footer-title {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}
.footer-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: #E31437;
}
.footer-list {
  font-size: 13px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-list a {
  color: #ccc;
  transition: all 0.3s ease;
}
.footer-list a:hover {
  color: #E31437;
  padding-left: 5px;
}
.contact-list li {
  color: #ccc;
  font-size: 13px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}
.contact-list i {
  color: #E31437;
  margin-top: 3px;
}
.footer-bottom {
  text-align: center;
  font-size: 12px;
  color: #999;
  padding-top: 30px;
  border-top: 1px solid #34495e;
}

/* 响应式适配 */
@media (max-width: 1200px) {
  .about-inner {
    gap: 40px;
  }
  .banner-title {
    font-size: 32px;
  }
  .slider-prev {
    left: 15px;
  }
  .slider-next {
    right: 15px;
  }
}
@media (max-width: 992px) {
  .nav {
    gap: 10px;
  }
  .banner {
    height: auto;
    padding: 60px 0;
  }
  .banner-slide {
    position: relative;
    height: auto;
  }
  .banner-inner {
    flex-direction: column;
    text-align: center;
  }
  .banner-content {
    text-align: center;
    margin-bottom: 30px;
  }
  .banner-img {
    text-align: center;
  }
  .about-inner {
    flex-direction: column;
  }
  .about-content {
    text-align: center;
  }
  .about-content .section-title {
    text-align: center;
    left: 50%;
    transform: translateX(-50%);
  }
  .about-content .section-title::after {
    margin-left: auto;
  }
  .about-stats {
    justify-content: center;
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .slider-prev, .slider-next {
    width: 45px;
    height: 45px;
    font-size: 18px;
  }
  .menu-btn {
    display: block;
  }
  .nav {
    display: none;
  }
  .nav.show {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    gap: 15px;
    z-index: 9999;
  }
  .nav-dropdown {
    width: 100%;
  }
  .dropdown-toggle {
    width: 100%;
    justify-content: space-between;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
  .header-contact, .dropdown-menu {
    display: none;
  }
  .banner-title {
    font-size: 28px;
  }
  .banner-desc {
    font-size: 16px;
  }
  .section-title {
    font-size: 24px;
  }
  .products, .solutions, .cases, .news, .about {
    padding: 60px 0;
  }
  .about-stats {
    gap: 30px;
  }
  .stat-num {
    font-size: 28px;
  }
  .footer {
    padding: 60px 0 20px;
  }
  .products-grid {
    grid-template-columns: 1fr;
  }
  .slider-prev, .slider-next {
    width: 40px;
    height: 40px;
    font-size: 16px;
    left: 10px;
    right: 10px;
  }
  .slider-dots {
    gap: 10px;
  }
  .dot {
    width: 10px;
    height: 10px;
  }
  .dot.active {
    width: 25px;
  }
  /* 移动端价格样式调整 */
  .product-price {
    font-size: 16px;
  }
  .price-note {
    margin-left: 0;
    width: 100%;
    margin-top: 5px;
  }
}
@media (max-width: 576px) {
  .banner-title {
    font-size: 24px;
  }
  .banner-desc {
    font-size: 14px;
  }
  .banner-btn {
    padding: 10px 24px;
    font-size: 14px;
  }
}
/* 产品列表页专属样式（延续原有风格体系） */
.product-list-page {
  padding: 60px 0;
  background-color: #fff;
}

/* 简化后的产品分类横排栏目样式：无下级菜单、无箭头 */
.product-category-bar {
  background-color: #f8f9fa;
  border-radius: 8px;
  padding: 15px 20px;
  margin-bottom: 30px;
  overflow-x: auto; /* 横向滚动适配多分类 */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.category-main-list {
  display: flex;
  list-style: none;
  gap: 10px; /* 分类项间距 */
  white-space: nowrap; /* 禁止换行 */
}
.category-item {
  position: relative;
}
.category-link {
  display: inline-block;
  padding: 8px 18px;
  background-color: #fff;
  color: #333;
  text-decoration: none;
  font-size: 14px;
  border-radius: 20px; /* 圆角按钮样式 */
  transition: all 0.3s ease;
  border: 1px solid #e0e0e0;
}
.category-item:hover .category-link {
  background-color: #E31437;
  color: #fff;
  border-color: #E31437;
}

/* 产品列表布局：一排2个，一页12个，修复显示问题 */
.product-list-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

/* 产品列表链接（保证整卡可点击） */
.product-list-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* 产品列表卡片样式 */
.product-list-item {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  padding: 20px;
}

/* 卡片hover效果 */
.product-list-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* 产品图片样式 */
.product-list-img {
  width: 140px;
  height: 100px;
  object-fit: cover;
  border-radius: 4px;
  margin-right: 20px;
  transition: transform 0.3s ease;
}

.product-list-item:hover .product-list-img {
  transform: scale(1.05);
}

/* 产品信息区域 */
.product-list-info {
  flex: 1;
}

/* 产品名称 */
.product-list-name {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin-bottom: 8px;
  transition: color 0.3s ease;
}

.product-list-item:hover .product-list-name {
  color: #E31437;
}

/* 产品描述 */
.product-list-desc {
  font-size: 13px;
  color: #666;
  margin-bottom: 12px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 产品价格区域（复用原有价格样式） */
.product-list-price-section {
  display: flex;
  align-items: center;
}

/* 分页控件样式 */
.pagination-container {
  text-align: center;
  margin-top: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.pagination-btn {
  padding: 8px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.pagination-btn:hover:not(:disabled) {
  transform: translateY(-2px);
}

.pagination-info {
  font-size: 14px;
  color: #666;
}

/* 响应式适配：确保不同屏幕下布局正确 */
@media (min-width: 1200px) {
  .container {
    max-width: 1240px; /* 固定容器宽度，避免过宽导致布局错乱 */
  }
  .product-list-item {
    padding: 25px;
  }
}

@media (max-width: 991px) {
  .product-list-grid {
    grid-template-columns: 1fr; /* 移动端一排1个 */
    gap: 20px;
  }
  /* 移动端分类栏目适配 */
  .product-category-bar {
    padding: 10px;
  }
  .category-link {
    padding: 6px 14px;
    font-size: 13px;
  }
}

@media (max-width: 768px) {
  .product-list-item {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px;
  }
  
  .product-list-img {
    width: 100%;
    height: auto;
    margin-right: 0;
    margin-bottom: 15px;
  }
  
  .pagination-container {
    flex-wrap: wrap;
    gap: 15px;
  }
}

/* 分页容器整体样式 - 居中对齐，消除默认间距 */
.pagination-container {
  text-align: center;
  margin-top: 50px;
  padding: 10px 0;
}

/* 清除ul/li默认样式（易优CMS分页生成的列表，先重置基础样式） */
.pagination-container ul,
.pagination-container li {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* 分页列表横向排列 */
.pagination-container li {
  display: inline-block;
  margin: 0 4px; /* 分页项之间的间距，避免拥挤 */
}

/* 分页链接核心样式 - 统一按钮外观 */
.pagination-container li a {
  display: inline-block;
  padding: 10px 16px; /* 内边距，保证点击区域足够大 */
  border-radius: 6px; /* 圆角样式，延续页面整体风格 */
  font-size: 14px;
  font-weight: 500;
  color: #333; /* 默认文字颜色 */
  background-color: #fff; /* 默认背景色 */
  border: 1px solid #e0e0e0; /* 浅灰色边框，提升质感 */
  text-decoration: none; /* 清除链接下划线 */
  transition: all 0.3s ease; /* 平滑过渡，统一交互节奏 */
  cursor: pointer; /* 鼠标悬浮显示手型，提升交互提示 */
}

/* 分页项hover效果 - 延续主色调风格 */
.pagination-container li a:hover {
  background-color: #E31437; /* 页面主色调背景 */
  color: #fff; /* 白色文字，保证对比度 */
  border-color: #E31437; /* 边框同步主色调 */
  box-shadow: 0 2px 8px rgba(227, 20, 55, 0.2); /* 轻微阴影，提升层次感 */
}

/* 激活态（当前页码）样式 - 突出显示当前页 */
.pagination-container li.active a {
  background-color: #E31437; /* 主色调背景，明确当前页 */
  color: #fff; /* 白色文字 */
  border-color: #E31437; /* 边框同步主色调 */
  cursor: default; /* 当前页无需点击，取消手型 */
  box-shadow: 0 2px 8px rgba(227, 20, 55, 0.3); /* 阴影略深，强化突出效果 */
}

/* 响应式适配 - 小屏设备优化间距和内边距 */
@media (max-width: 768px) {
  .pagination-container {
    margin-top: 30px;
  }
  
  .pagination-container li {
    margin: 0 2px; /* 小屏缩小分页项间距 */
  }
  
  .pagination-container li a {
    padding: 8px 12px; /* 小屏缩小按钮尺寸，避免换行 */
    font-size: 13px;
  }
}

