html {
  line-height: 1.15; /* 改善文字间距 */
  -webkit-text-size-adjust: 100%; /* 防止 iOS 自动调整文字大小 */
  font-size: 16px;
}
@media screen and (max-width: 992px) {
  html {
    font-size: 14px; /* 小屏幕时减小字体 */
  }
}
@media screen and (max-width: 768px) {
  html {
    font-size: 12px; /* 更小屏幕时进一步缩小 */
  }
}

body {
  max-width: 1920px; /* 设置最大宽度，适合大屏幕 */
  margin: 0 auto; /* 居中布局 */
  padding: 0 0px; /* 添加左右内边距，适应不同屏幕 */
  font-family:
    "Microsoft Yahei", "Helvetica Neue", Helvetica, Arial, "Hiragino Sans GB", "Heiti SC", "WenQuanYi Micro Hei",
    sans-serif;
  background-color: #ffffff;
  box-sizing: border-box;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
a,
a:visited,
a:hover,
a:active {
  color: inherit;
  text-decoration: none;
}
/* 默认样式 */

/* 通用整体样式 */
/*通用二级页头区样式*/
.header {
  height: 156px;
  background-image: url("../img/icons/header.png");
  background-repeat: repeat;
  background-size: contain;
  padding: 25px 0;
  color: #ffffff;
  white-space: nowrap;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.header-left {
  display: flex;
  gap: 20px;
  align-items: center;
}
/* 修改 */
.header-title {
  width: 100%;
  height: auto;
}
.header-title img {
  height: auto;
  display: block;
}

.header-subtitle {
  margin-top: 15px;
  font-size: 1.125rem;
  line-height: 1.3;
  letter-spacing: 0.1rem;
}

.header-right {
  margin-top: 20px;
  display: flex;
  font-size: 0.75rem;
}

.header-list {
  display: flex; /* 使列表项横向排列 */
  list-style: none; /* 去掉默认的列表样式 */
  padding: 0;
  margin: 0;
}

.header-icon {
  margin-right: 6px;
}

.header-item {
  display: flex; /* 使每个列表项内的元素横向排列 */
  align-items: center;
  margin-left: 1.2vw; /* 设置列表项间的间距 */
}
#shop-link {
  position: relative;
}
/* 修改
.qrCode {
    position: absolute;
    top: 110%;
    left: -10%;
    width: 120%; 宽度与 li 相同 
    background-color: #ffffff;
    padding: 6px 7px;
    display: none;
}
.header-item:hover .qrCode {
    display: block;
}
.qrCode img {
    width: 100%;
    height: auto;
}*/
.header-link {
  display: flex;
  align-items: center;
  text-decoration: none; /* 去掉下划线 */
  margin-right: 8px; /* 设置链接与文本之间的间距 */
  font-weight: bold;
}
.header-icon img {
  width: 50px;
  height: 50px;
}
@media (max-width: 1000px) {
  .header {
    height: 22vw;
  }
}
@media (max-width: 500px) {
  .header {
    height: 29.3vw;
  }
}
@media (max-width: 992px) {
  .header {
    padding: 5.3vw 4vw;
    background-image: url("../img/icons/header-m.png");
  }
  .top-bar .header-title img {
    height: 18vw;
  }
  .header-title img {
    height: 80px;
  }
  .header-link {
    display: none;
  }
  /*
    .header-content {
        gap: 8.5vw;
    }*/
  .header-left {
    gap: 15px;
  }
  .header-right {
    margin-top: 10px;
  }
  .header-icon {
    margin-right: 0;
  }
  .header-item {
    gap: 10px;
  }
  .header-title {
    font-size: clamp(32px, 8.27vw, 62px);
  }
  .header-subtitle {
    font-size: 1.6rem;
    margin-top: 10px;
  }
  .header-icon img {
    width: 10.67vw;
    height: 10.67vw;
  }
}
@media (max-width: 768px) {
  .header-subtitle {
    font-size: 1.2rem;
  }
}

/* 通用面包屑导航 */
.breadcrumb-box {
  border-bottom: 6px solid #d7d7d7;
  margin-bottom: 68px;
}

.breadcrumb-nav {
  font-size: 1rem;
  padding-left: 7.14%;
  padding-top: 23px;
  padding-bottom: 23px;
}

.breadcrumb {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
}

.breadcrumb li {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.breadcrumb a {
  font-size: 0.875rem;
  font-weight: bold;
  text-decoration: none;
  color: #333333;
}

.breadcrumb li[aria-current="page"] {
  font-size: 1rem;
  /*margin-left: -5px;*/
  color: #382f2f;
}

.breadcrumb li:not(:last-child)::after {
  content: " ";
  margin: 0 8px;
  color: #333333;

  display: inline-block;
  width: 22px;
  height: 22px;
  --svg: url("data:image/svg+xml,%3Csvg xmlns%3D%27http%3A//www.w3.org/2000/svg%27 viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m10 16l4-4l-4-4'/%3E%3C/svg%3E");
  background-color: currentColor;
  -webkit-mask-image: var(--svg);
  mask-image: var(--svg);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

.breadcrumb-line {
  height: 1px;
  background-color: #d7d7d7;
  margin-bottom: 7px;
}

@media (max-width: 992px) {
  .breadcrumb-box {
    margin-bottom: 45px;
  }
  .breadcrumb-nav {
    padding-top: 18px;
    padding-bottom: 18px;
  }
  .breadcrumb li:not(:last-child)::after {
    margin: 0 4px;
  }
  .breadcrumb li[aria-current="page"] {
    margin-left: 0;
  }
}

/*通用主体*/
.container {
  max-width: 1400px;
  margin: 0 auto;
}

@media (max-width: 992px) {
  .container {
    width: 100%;
  }
}

.main {
  max-width: 1200px;
  margin: 0 auto;
  margin-bottom: 100px;
  padding: 0;
}
.main-full {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}
/* 通用翻页器*/
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background-color: #4a65ad;
  color: #ffffff;
  height: 87px;
}

.pagination a {
  text-decoration: none;
  padding: 6px 12px;
  cursor: pointer;
}

.page-number.active {
  text-decoration: underline;
}

.pagination-productsList {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  color: #323636;
  height: 87px;
  border-top: 1px solid #d7d7d7;
  border-bottom: 1px solid #d7d7d7;
}

.pagination-productsList a {
  text-decoration: none;
  padding: 6px 12px;
  cursor: pointer;
}
.pagination-productsList a:hover {
  color: #4a65ad;
}

@media screen and (max-width: 993px) {
  .pagination {
    height: 14.5vw;
    margin-bottom: 60px;
  }
  .pagination a {
    font-size: 2rem;
    padding: 6px 5px;
  }
  .pagination-productsList {
    height: 14.5vw;
    width: 92vw;
    margin: 0 auto;
  }
  .pagination-productsList a {
    font-size: 4vw;
    padding: 6px 5px;
  }
}
@media screen and (max-width: 768px) {
  .pagination a {
    font-size: 1.2rem;
    padding: 6px 5px;
  }
}
/* 通用侧边按钮 */
.side-button {
  position: fixed;
  display: flex;
  justify-content: right;
  flex-direction: column;
  right: 0px;
  bottom: 50px;
  height: auto;
  z-index: 99;
}
.side-button div {
  font-size: 15px;
  color: #ffffff;
  width: 135px;
  height: 46px;
  padding-left: 55px;
  padding-top: 16px;
}

.side-btn1 {
  background-image: url("../img/icons/cart.png");
}

.side-btn2 {
  margin-top: 4px;
  background-image: url("../img/icons/top.png");
}
.side-btn3 {
  margin-top: 4px;
  background-image: url("../img/icons/contact.png");
}
.side-btn4 {
  margin-top: 4px;
  background-image: url("../img/icons/offline.png");
}

#side-btn1-m {
  display: none;
  width: 8.4vw;
  height: 8.4vw;
  background-image: url("../img/icons/cart-m.png");
  background-color: #cccccc;
  background-repeat: no-repeat;
  background-size: contain;
}
#side-btn2-m {
  display: none;
  width: 8.4vw;
  height: 8.4vw;
  background-image: url("../img/icons/top-m.png");
  background-repeat: no-repeat;
  background-size: contain;
  margin-top: 2px;
}

@media screen and (max-width: 993px) {
  .side-button {
    right: 0px;
    bottom: 100px;
    width: 8.4vw;
  }
  #side-btn1-m {
    display: block;
  }
  #side-btn2-m {
    display: block;
  }
  .side-btn1 {
    display: none;
  }
  .side-btn2 {
    display: none;
  }
  .side-btn3 {
    display: none;
  }
  .side-btn4 {
    display: none;
  }
}

/* 通用尾区样式 */
.footer {
  margin: 92px auto 90px auto;
  border-top: 1px solid #d7d7d7;
  padding-top: 7px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-line {
  background-color: #d7d7d7;
  height: 6px;
  margin-bottom: 63px;
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 128px;
  margin-bottom: 33px;
}
.footer-left {
  display: flex;
  gap: 19px;
}
.footer-box {
  display: block;
  padding: 14px 21px;
  background: #4a65ad;
  color: #ffffff;
  font-size: 16px;
  font-weight: bold;
  border: none;
  cursor: pointer;
  width: 108px;
  height: 46px;
}
.footer-box:hover {
  color: #ffffff;
}
.footer-box:visited {
  color: #ffffff;
}
.footer-right {
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 20px;
}

#links {
  background-color: #3b3e7a;
}

.footer-links {
  display: flex;
  gap: 20px;
  color: #666;
}

.footer-links a {
  color: #323636;
}

.footer-links a:hover {
  color: #3b3e7a;
}

.footer-text {
  background: #f0f0f0;
  padding: 54px 83px;
  color: #323636;
  font-size: 14px;
  line-height: 26px;
}

.footer-text span {
  font-weight: bold;
}

@media (max-width: 992px) {
  .footer {
    font-size: 14px;
    margin: 9vw auto 20vw auto;
  }

  .footer-content {
    padding: 0 4vw;
  }
  .footer-line {
    margin-bottom: 11.7vw;
  }
  .footer-nav button {
    width: 28vw;
    height: 10vw;
  }
  .footer-nav {
    flex-direction: column;
    align-items: start;
    gap: 4vw;
    margin-bottom: 4.1vw;
  }

  .footer-right {
    background-color: #3b3e7a;
    width: 100%;
  }

  .footer-links a {
    color: #ffffff;
  }

  .footer-links a:hover {
    color: #ffffff;
  }
}
@media (max-width: 500px) {
  .footer-text {
    padding: 13vw 8.3vw;
  }
}

/*页面-首页 index*/
/* 首页-头区 */
.top {
  position: relative;
  width: 100%;
}

.top-bar {
  position: relative;
  z-index: 99;
  height: 156px;
  background-color: rgba(56, 47, 47, 0.35);
  background-size: contain;
  padding: 26px 0;
  color: #ffffff;
  white-space: nowrap;
}

.top-bar-content {
  width: 62.5vw;
  display: flex;
  flex-wrap: nowrap;
  gap: 11.77vw;
}

/* 首页-banner */
.swiper-container {
  width: 100%;
  height: auto;
  overflow: hidden;
}
.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.banner {
  z-index: 1;
  margin-top: -156px;
  width: 100%;
  height: auto;
}
.banner img {
  width: 100%;
  height: auto;
  display: block;
}
.banner-images {
  position: relative;
  width: 100%;
  height: auto;
  display: none;
}
.banner-images.visible {
  display: block;
}
/* banner切换 */
.banner-images {
  position: relative;
  width: 100%;
  overflow: hidden; /* 隐藏超出部分 */
}

.banner-track {
  display: flex;
  transition: transform 1s ease-in-out; /* 平滑过渡效果 */
  width: 100%;
}
.banner-track a {
  flex: 1 0 100%; /* 保证每个超链接占据一个完整视口宽度 */
  height: auto;
  text-decoration: none;
  display: block;
}

.banner-track picture {
  flex: 1 0 100%; /* 每张图片占据容器的100%宽度 */
  height: auto;
}

@media screen and (max-width: 1200px) {
  .top-bar {
    height: 120px;
    padding: 5px 0;
  }
  .banner {
    margin-top: -120px;
  }
}

@media screen and (max-width: 993px) {
  .top-bar {
    height: 29.3vw;
    padding: 5.3vw 4vw;
  }
  .banner {
    margin-top: -29.3vw;
  }
}

/* 首页-精品推荐 */
.selected {
  position: relative;
  z-index: 2;
  width: 57vw;
  max-width: 1094px;
  top: -94px;
  margin: 0 auto;
  padding-left: 7vw;
  display: flex;
  align-items: flex-start;
  gap: 3.3vw;
}

.selected-title {
  display: flex;
  align-items: center;
  margin-top: 13%;
  max-height: 100%;
  font-size: clamp(20px, 1.25vw, 24px); /* 文字大小范围 */
}

.selected-title span {
  margin-bottom: 5px;
  margin-right: 10px;
  white-space: nowrap;
  font-weight: bold;
}

.selected-title img {
  width: 27px;
  height: auto;
}
@media (max-width: 992px) {
  .selected-title img {
    content: url("../img/icons/triangle.png");
  }
}

@media (min-width: 993px) {
  .selected-title img {
    content: url("../img/icons/selected-ico.png");
  }
}
.selected-items {
  display: grid;
  align-items: start;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  width: 100%;
}

.selected-item {
  text-align: center;
  min-width: 110px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
}

.selected-item a {
  color: inherit;
  text-decoration: none;
  line-height: 1;
}

.selected-item a:hover {
  text-decoration: none;
  color: #3b3e7a;
}

.selected-item img {
  width: 100%;
  height: auto;
  border: 4px solid #ffffff;
  vertical-align: top;
  display: block;
}

.selected-item img:hover {
  border: 4px solid #4a65ad;
}

#submit-btn:disabled {
  cursor: not-allowed; /* 显示禁止光标 */
}
@media screen and (max-width: 1450px) {
  .selected-title {
    margin-top: 15%;
  }
}
@media screen and (max-width: 1200px) {
  .selected-title {
    margin-top: 19%;
  }
}
@media screen and (max-width: 993px) {
  /* 首页-精品推荐部分 */
  .selected {
    width: 92vw;
    top: -19.3vw;
    gap: 5px;
    padding-left: 0;
  }
  .selected-title {
    font-size: 30px;
    width: 29.1%;
    margin-top: 25%;
  }
  .selected-title img {
    width: 2.93vw;
    height: auto;
  }
  .selected-items {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 25px;
    width: 62vw;
  }
  .selected-item {
    font-size: 1.5rem;
  }
}

@media screen and (max-width: 500px) {
  .selected-title {
    font-size: 1.5rem;
  }
  .selected-title span {
    margin-right: 5px;
  }
  .selected-item {
    font-size: 1rem;
  }
}

/* 首页-产品快速筛选 */
.selector {
  max-width: 1400px;
  margin: 0 auto;
}

.selector-container {
  margin-top: -35px;
  margin-bottom: 80px;
  border-top: 1px solid #4a65ad;
  border-bottom: 6px solid #4a65ad;
  position: relative;
  height: 148px;
  background-image: url("../img/icons/selector.png");
  background-repeat: no-repeat;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.selector-container h3 {
  font-size: 1rem;
  font-weight: bold;
  margin-right: 10px;
  color: #382f2f;
}
.select-group {
  font-size: 16px;
  color: #382f2f;
  display: flex;
  gap: 10px;
  align-items: center;
}
.select-group span {
  color: #999999;
}

/* 隐藏原生 select */
#main-select,
#sub-select {
  display: none;
}

/* 自定义下拉框容器 */
.custom-select {
  position: relative;
  width: 185px;
}
#custom-sub-select {
  width: 334px;
  margin-left: 5px;
}
/* 自定义下拉框的触发按钮 */
.select-selected {
  background-color: #ffffff;
  border: 1px solid #d7d7d7;
  border-radius: 0;
  padding-left: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #999999;
  position: static; /* 默认值，不需要相对或绝对定位 */
  width: 100%; /* 继承父容器的宽度 */
  box-sizing: border-box; /* 防止 padding 和 border 影响宽度 */
  white-space: nowrap; /* 防止文字换行 */
  text-overflow: ellipsis; /* 超出部分显示省略号 */
}
/* 自定义下拉框 选中内容变为黑色*/
.select-selected.selected {
  color: #323636;
  flex-grow: 1; /* 让文字占据剩余空间 */
  white-space: nowrap; /* 防止换行 */
  text-overflow: ellipsis; /* 超出部分显示省略号 */
  overflow: hidden;
}
.select-selected span {
  flex-grow: 1; /* 让文字占据剩余空间 */
  overflow: hidden;
  text-overflow: ellipsis;
}
/* 自定义下拉箭头为图片 */
.select-selected::after {
  content: ""; /* 清空默认内容 */
  display: inline-block;
  width: 33px; /* 图片宽度 */
  height: 33px; /* 图片高度 */
  background-image: url("../img/icons/dropdown.png"); /* 图片路径 */
  background-size: cover; /* 确保图片完整显示 */ /* 确保图片完整显示 */
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0; /* 防止缩小 */
}
.select-selected.expanded-icon::after {
  background-image: url("../img/icons/up.png");
}

/* 自定义下拉选项列表 */
.select-items {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: #ffffff;
  border: 1px solid #d7d7d7;
  border-top: none;
  border-radius: 0;
  display: none;
  z-index: 1000;
  color: #999999;
  max-height: 250px;
  overflow-y: auto;
}

/* 自定义下拉选项 */
.select-items div {
  padding: 8px 25px;
  cursor: pointer;
}

/* 悬停效果 */
.select-items div:hover {
  color: #3b3e7a;
}

/* 展开时的样式 */
.select-items.show {
  display: block;
}

/* 禁用状态样式 */
.custom-select.disabled .select-selected {
  cursor: not-allowed;
}

.custom-select.disabled .select-selected::after {
  opacity: 0.5;
}
#submit-btn {
  margin-left: 22px;
  background-color: #3b3e7a;
  height: 35px;
  width: 79px;
  text-align: center;
  font-size: 16px;
  font-weight: bold;
  color: #ffffff;
  border: none;
  cursor: pointer;
}
#mobile-trigger {
  display: none;
}

/* 首页-产品筛选移动端样式 */
@media screen and (max-width: 993px) {
  #mobile-trigger {
    display: block;
    height: 5.5vw;
    margin-top: 3px;
  }
  .select-text {
    display: flex;
    position: absolute;
    top: 36%;
  }
  .select-group {
    display: none;
    position: absolute;
    top: 100%;
    max-height: 0;
    transition: max-height 0.3s ease-in-out;
    font-size: 1.5rem;
  }
  #submit-btn {
    font-size: 1.5rem;
    height: 45px;
    width: 95px;
  }
  .select-group.active {
    display: flex;
    flex-direction: column;
    max-height: 900px;
    gap: 15px;
  }
  .select-items {
    max-height: 200px;
    color: #382f2f;
  }
  .dec {
    display: none;
  }
  .custom-select {
    width: 75vw;
  }
  #custom-sub-select {
    width: 75vw;
    margin-left: 0;
  }
  .selector-container h3 {
    font-size: 3rem;
  }
  .selector {
    width: 92vw;
  }
  .selector-container {
    position: relative;
    flex-direction: column;
    height: 21vw;
    padding: 50px 15px;
    background: url("../img/icons/selector-m.png");
    background-size: cover; /* 背景图片覆盖整个 div，保持宽高比 */
    background-position: center; /* 背景图片居中显示 */
    background-repeat: no-repeat;
  }
  .selector-title {
    margin-right: 0;
  }
  #submit-btn {
    margin-left: 0;
    margin-top: 15px;
  }
  .select-selected::after {
    width: 50px;
    height: 50px;
  }

  /* 通用选择框样式 */
  select {
    width: 100%; /* 使选择框宽度适应容器 */
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    background-color: #f9f9f9;
    cursor: pointer;
    appearance: none; /* 移除默认下拉箭头 */
    -webkit-appearance: none;
    -moz-appearance: none;
  }
}
@media screen and (max-width: 768px) {
  .selector-container h3 {
    font-size: 2rem;
  }
  .select-selected::after {
    width: 33px;
    height: 33px;
  }
}
@media screen and (max-width: 385px) {
  .selector-container h3 {
    font-size: 1rem;
  }
  .select-group.active {
    max-height: 500px;
  }
}
@media screen and (max-width: 385px) {
  .selector-container h3 {
    font-size: 2rem;
  }
}

/* 首页-产品展示部分 */
.section {
  max-width: 1200px;
  margin: 0 auto 73px;
  padding-bottom: 40px;
  border-bottom: 1px solid #dedede;
}

.section-header {
  display: flex;
  align-items: end;
  margin-bottom: 20px;
  position: relative;
}

@media (max-width: 992px) {
  .section {
    width: 92%;
  }
}

.section-header::before {
  content: "";
  position: absolute;
  top: -10px;
  top: -10px;
  left: 0;
  width: 78px;
  height: 4px;
  background-color: #1e50a2;
}

.section-title {
  font-size: 40px;
  font-weight: bold;
  margin-right: 13px;
  color: #323636;
}

.more-link {
  font-size: 14px;
  color: #999999 !important;
  text-decoration: none;
  padding: 3px 8px;
  border: 1px solid #a09d9e;
  display: block;
  margin-bottom: 3px;
}

.more-link:hover {
  color: #ffffff !important;
  background-color: #3b3e7a;
  border: 1px solid #3b3e7a;
}

.products-container {
  display: flex;
  width: 100%;
  justify-content: space-between;
  gap: 10px;
}

.products-container a:hover {
  color: #3b3e7a;
}

.main-product {
  flex: 0 1 466px;
  height: auto;
}

.product-image {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.product-info {
  display: flex;
  align-items: center;
  height: 30px;
  gap: 14px;
  margin-top: 10px;
}

.main-product a {
  display: block;
  color: #333333;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none; /* 去掉下划线 */
}

.product-grid {
  flex: 0 1 694px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  gap: 2.2vw 0.7vw;
  align-content: start;
  align-items: start;
}

.product-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  overflow: hidden;
  height: auto;
}

.product-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 466/656;
}
.product-image2 {
  width: 100%;
  height: 100%;
}

.product-image2 img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.product-info2 {
  margin-top: 17px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  align-self: flex-start;
  gap: 8px;
  height: auto;
  flex-grow: 1;
}
.product-info2 a::before {
  content: "";
  display: inline-block;
  width: 10px; /* 圆点大小 */
  height: 10px;
  top: 50%; /* 垂直居中 */
  background-color: #dedede; /* 圆点颜色 */
  border-radius: 50%; /* 让其变成圆形 */
  margin-right: 8px; /* 圆点与文字间距 */
}
.product-info2 a:hover::before {
  background-color: #3b3e7a; /* 圆点颜色 */
}
.product-grid a {
  display: block;
  color: #323636;
  font-size: 16px;
}
@media (max-width: 992px) {
  .product-info2 {
    margin-top: 7px;
  }
  .product-grid a {
    font-size: 1.5rem;
  }
  .product-info2 a::before {
    display: none;
  }
}
/* 首页-合作案例部分 */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.case-card {
  display: flex;
  background: white;
  overflow: hidden;
}

.case-image {
  width: 150px;
  height: 150px;
  object-fit: cover;
}

.case-content {
  flex: 1;
  padding-left: 1.4vw;
}

.case-title {
  padding-bottom: 1.3rem;
  font-size: 1rem;
  font-weight: bold;
  border-bottom: 1px dashed #d2d2d2;
}

.case-description {
  margin-top: 1.3rem;
  font-size: 1rem;
  color: #323636;
}

@media (max-width: 992px) {
  .case-image {
    width: 25%;
    min-width: 120px;
    height: auto;
    margin-right: 10px;
  }
  .case-title {
    font-size: 1.3rem;
    padding-bottom: 1.3rem;
  }
  .case-description {
    font-size: 1.3rem;
    margin-top: 1.3rem;
  }
  /* 首页-产品展示部分 */
  .products-container {
    flex-direction: column;
    gap: 6vw;
  }

  .main-product {
    width: 100%;
    height: auto;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 5.8vw 3.9vw;
  }

  .product-info2 img {
    display: none;
  }

  /* 首页-合作案例部分 */
  .cases-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 首页-线下网点样式 */
.locations {
  width: 100%;
  height: auto; /* 根据内容高度自动调整 */
  max-width: 1920px;
  margin: 80px auto -20px auto;
  overflow: hidden;
  position: relative;
  background: url("../img/icons/address.png") no-repeat center top; /* 设置背景图片和对齐方式 */
  background-size: 100% auto; /* 宽度拉伸至100%，高度自动调整保持比例 */
}
.locations .more-link {
  color: #ffffff !important;
  border: 1px solid #ffffff;
}

.locations img {
  width: 100%;
  z-index: 1;
}
.locations .section {
  position: relative;
  padding-top: 118px;
  border-bottom: none;
  overflow: hidden;
}
.locations .section-header::before {
  background-color: #ffffff;
}
.locations .section-title {
  color: #ffffff;
}
.locations-container {
  padding: 70px 54px;
  background: white;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}
.locations-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 两列布局 */
  gap: 36px; /* 控制项之间的间距 */
  position: relative; /* 添加相对定位 */
  grid-auto-rows: max-content; /* 确保行高度自适应 */
}

.locations-content::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 47%;
  border-left: 1px solid #dedede; /* 添加分隔线 */
  height: 100%;
}

.location-item {
  display: flex;
  align-items: flex-start;
  font-size: 18px;
  padding-right: 30px;
}

.location-dot {
  width: 16px;
  height: 16px;
  background: #dedede;
  border-radius: 50%;
  margin-top: 1px;
  margin-right: 10px;
  flex-shrink: 0;
}

.location-city {
  font-weight: bold;
  width: 80px;
  flex-shrink: 0;
}

.location-address {
  color: #666;
}

@media (max-width: 992px) {
  .locations {
    background: url("../img/icons/address-m.png") no-repeat center top; /* 设置背景图片和对齐方式 */
    background-size: 100% auto; /* 宽度拉伸至100%，高度自动调整保持比例 */
    margin: 0 auto;
  }
  .locations .section {
    margin-top: -45px;
    margin-bottom: 40px;
  }
  .locations-container {
    padding: 9.3vw 5.3vw;
  }

  .locations-content {
    grid-template-columns: 1fr; /* 单列布局 */
    gap: 6.7vw;
  }

  .locations-content::before {
    display: none; /* 隐藏分隔线 */
  }

  .location-item {
    align-items: flex-start;
    gap: 5px;
  }

  .location-dot {
    margin-left: 0; /* 调整位置 */
  }
}

/* 首页-工作动态样式 */
/* 首页-新闻列表容器 */
.news-container {
  width: 100%;
}

/* 首页-左侧主新闻样式 */
.main-news {
  position: relative; /* 用于定位标题overlay */
  background-color: navajowhite;
  flex: 0 1 530px;
  height: auto;
}

.main-news-img {
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.main-news img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 确保图片填充整个容器 */
  transition: transform 0.5s ease; /* 设置过渡效果 */
}

.main-news img:hover {
  transform: scale(1.2); /* 拉近效果，1.2表示放大20% */
}

.main-news-title {
  position: absolute; /* 绝对定位，覆盖在图片上 */
  width: 79.6%;
  height: 25%;
  bottom: 0;
  left: 0;
  background: url("../img/icons/main-news.png") no-repeat center center;
  background-size: cover; /* 背景图片拉伸以完全覆盖容器 */
  color: #ffffff;
  font-size: 1rem;
  display: flex;
  align-items: center;
  padding: 0 7.5%;
  z-index: 9;
  line-height: 1.5;
}
.main-news-title a {
  text-decoration: none;
  color: #ffffff;
}

.main-news-title a:hover {
  text-decoration: underline;
}

/* 首页-右侧新闻列表样式 */
.news-list {
  display: flex;
  gap: 2.265rem;
  flex: 0 1 620px;
  flex-wrap: nowrap;
}

/* 首页-单个新闻项样式 */
.news-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* 首页-新闻缩略图容器 */
.news-thumbnail {
  z-index: 1;
  object-fit: cover; /* 确保图片填充整个容器 */
  overflow: hidden; /* 隐藏超出容器的部分 */
}

.news-thumbnail img {
  width: 100%;
  height: 100%;
  transition: transform 0.4s ease; /* 设置过渡效果 */
  aspect-ratio: 175/131;
}

.news-thumbnail img:hover {
  transform: scale(1.2); /* 拉近效果，1.2表示放大20% */
}

.news-info {
  width: 93%;
  height: 139px;
  background-color: white;
  margin-top: -34px;
  z-index: 2;
  padding: 8px 18px 0 0;
  position: relative;
  text-align: justify;
}

.news-title {
  text-decoration: none;
}

.news-title:hover {
  text-decoration: underline;
}

/* 首页-日期样式 */
.news-date {
  color: #3b3e7a;
  font-size: 10px;
  margin-bottom: 12px;
}

/* 首页-新闻标题样式 */
.news-info a {
  font-size: 16px; /* 减小字体大小以适应宽度 */
  font-weight: bold;
  margin-bottom: 8px;
  color: #3b3e7a;
  /* 多行文本截断 */
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 26px;
  letter-spacing: 0;
}

/* 首页-新闻摘要样式 */
.news-summary {
  font-size: 14px;
  color: #999999;
  line-height: 21px;
  /* 多行文本截断 */
  display: -webkit-box;
  -webkit-line-clamp: 8;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 首页-新闻了解更多按钮样式 */
.read-more {
  display: inline-block;
  margin-top: 20px;
  align-self: flex-start; /* 按钮左对齐 */
  padding: 4px 10px;
  background: #caced9;
  color: #ffffff !important;
  text-decoration: none;
  font-size: 14px;
}

.read-more:hover {
  background: #4a65ad;
}

@media (max-width: 992px) {
  .main {
    width: 92vw;
    margin: 0 auto 73px;
  }
  .main-full {
    width: 100%;
  }
  .news-container {
    display: block;
    padding-bottom: 0;
  }
  .main-news {
    width: 100vw; /* 宽度调整为100% */
    height: 75vw;
    transform: translateX(calc((100vw - 92vw) / -2));
  }
  .main-news-img {
    width: 100%;
    max-width: 100vw;
  }
  .news-list {
    margin-top: 11vw;
    overflow-x: auto; /* 保留水平滚动功能 */
    -webkit-overflow-scrolling: touch; /* iOS 滑动加速 */
    gap: 30px;
    -ms-overflow-style: none; /* 隐藏IE和Edge浏览器的滚动条 */
    scrollbar-width: none; /* 隐藏Firefox浏览器的滚动条 */
  }
  .news-list::-webkit-scrollbar {
    display: none; /* 隐藏Chrome、Safari和Opera浏览器的滚动条 */
  }
  .news-item {
    max-width: 430px;
    flex: 0 0 57vw;
  }
  .news-info {
    height: auto;
  }
  .main-news-title {
    font-size: 1.5rem;
    padding: 0 4%;
  }
  .read-more {
    background: #4a65ad;
    color: #ffffff;
  }
}

@media (max-width: 750px) {
  .main-news-title {
    font-size: 1.2rem;
    padding: 0 4%;
  }
}

/*
!* 国际版周刊
*/
.global {
  display: flex;
  gap: 1rem;
}

.global-cover {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.global-cover img {
  border: 6px solid #f2f2f2;
  width: 100%;
  aspect-ratio: 172 / 211;
}
.special {
  display: flex;
  gap: 1rem;
}

.special-cover {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.special-cover img {
  border: 6px solid #f2f2f2;
  width: 100%;
  aspect-ratio: 172 / 283;
}
.special2 {
  display: flex;
  gap: 3.9rem;
  margin-top: 30px;
}
.special2-cover {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.special2-cover img {
  border: 6px solid #f2f2f2;
  width: 100%;
  aspect-ratio: 348 / 283;
}
#global-header {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 10px;
}
.global a:hover {
  color: #3b3e7a;
}
.special a:hover {
  color: #3b3e7a;
}
.special2 a:hover {
  color: #3b3e7a;
}
@media (max-width: 992px) {
  .global {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5.8vw 3.9vw;
  }
  .global-cover a {
    font-size: 1.5rem;
  }
  .special {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5.8vw 3vw;
  }
  .special2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5.8vw 3vw;
  }
  .special-cover a {
    font-size: 1.5rem;
  }
  .special2-cover a {
    font-size: 1.5rem;
  }
  #special2-cover-last {
    display: none;
  }
}
/*
!* 八联版
*/
.spread {
  width: 100%;
  max-width: 1920px;
  margin-bottom: 100px;
}
.spread-container {
  display: flex;
  position: relative;
  overflow: visible;
}

.spread-cover {
  flex: 1;
  min-width: 0;
  position: relative;
  overflow: visible;
}
.spread-cover:hover {
  z-index: 20;
}

.image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 640 / 416;
  overflow: visible; /* 允许 .full 溢出 */
}
.image-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 1;
  transition: opacity 0.3s ease;
  z-index: 2;
}
.spread-cover:hover .image-wrapper::before {
  opacity: 0;
}
.image-wrapper img {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 覆盖图：更宽 */
.image-wrapper .full {
  position: absolute;
  top: 0;
  height: 100%;
  width: min(1200px, 70vw);
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 10;
  pointer-events: none;
}
/* 左侧项：向右扩展 */
.sc-left .full {
  left: 0;
  transform: none;
}

/* 中间项：居中扩展 */
.sc-center .full {
  left: 50%;
  transform: translateX(-50%);
}

/* 右侧项：向左扩展 */
.sc-right .full {
  right: 0;
  left: auto;
  transform: none;
}

/* 默认显示 .part */
.image-wrapper .part {
  z-index: 1;
}

/* 悬停效果 */
.spread-cover:hover .part {
  opacity: 0;
}
.spread-cover:hover .full {
  opacity: 1;
  pointer-events: auto;
}
.spread-cover:hover p {
  opacity: 0;
}
/* 文字 */
.spread-cover p {
  position: absolute;
  bottom: 40px;
  right: 50px;
  color: #ffffff;
  margin: 0;
  text-align: right;
  z-index: 11;
}

@media (max-width: 992px) {
  /* 容器：横向滑动 */
  .spread-container {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  /* 每一项占据一整屏宽度 */
  .spread-cover {
    flex: 0 0 87%;
    scroll-snap-align: center;
    z-index: 1;
  }

  /* 图片容器 */
  .image-wrapper {
    width: 100%;
    aspect-ratio: 1369 / 550;
    overflow: hidden;
  }

  /* 关闭遮罩 */
  .image-wrapper::before {
    display: none;
  }

  /* 隐藏 part 图 */
  .image-wrapper .part {
    display: none;
  }

  /* full 图始终显示 */
  .image-wrapper .full {
    position: relative;
    width: 100%;
    height: 100%;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    left: auto;
    right: auto;
  }

  /* 统一 full 图定位（覆盖你原来的 left/right 规则） */
  .sc-left .full,
  .sc-center .full,
  .sc-right .full {
    left: auto;
    right: auto;
    transform: none;
  }

  /* 隐藏文字 */
  .spread-cover p {
    display: none;
  }

  /* 禁用 hover 行为（防止误触） */
  .spread-cover:hover .full,
  .spread-cover:hover .part {
    opacity: 1;
  }
}

/*
!* 合作伙伴区域 *!
*/

.partners {
  width: 100%;
  max-width: 1920px;
  margin-top: 90px;
  margin-bottom: 110px;
}

.partners-title {
  max-width: 1200px;
  margin: 0 auto;
}

.partners-carousel {
  display: flex;
  align-items: center;
}

.carousel-container {
  width: 1351px;
  overflow: hidden;
  position: relative;
}

/* 左侧遮罩 */
.carousel-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 360px; /* 遮罩宽度: 160px + 200px */
  background: rgba(255, 255, 255, 0.8);
  z-index: 1;
  pointer-events: none;
}

.logo-container {
  display: flex;
  position: relative;
  transform: translateX(-35px); /* 向左移动一定距离*/
  transition: transform 0.5s ease; /* 添加平滑过渡效果 */
}

.logo-container div:first-child {
  min-width: 160px; /* 第一个 logo 的宽度 */
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: 1px solid #dedede;
}

.logo-wrapper {
  width: 198px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #dedede;
  border-left: 0;
}

.logo-wrapper img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.carousel-buttons {
  margin-left: 20px;
  display: flex;
  gap: 0px;
}

.carousel-button {
  width: 76px;
  height: 62px;
  border: 1px solid #d7d7d7;
  background: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #382f2f;
  font-weight: lighter;
  font-family: "Myriad Pro", "Microsoft Yahei", "Helvetica Neue", Helvetica, Arial;
}
#btn2 {
  border-left: none;
}
.carousel-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

@media screen and (max-width: 992px) {
  .partners-title {
    width: 92vw;
  }
  .partners-carousel {
    width: 92vw;
    margin: 0 auto;
  }

  .logo-container {
    display: grid !important; /* 强制使用 grid 布局 */
    grid-template-columns: repeat(3, 1fr);
    gap: 10px; /* 可选，给logo之间添加间距 */
    transform: none;
  }

  .carousel-container::before {
    display: none;
  }
  .logo-wrapper {
    width: 100%;
    height: 22.3vw;
    border-left: 1px solid #dedede;
  }
  .logo-container div:first-child {
    min-width: 0;
    height: auto;
  }
  .carousel-buttons {
    display: none;
  }
}
/*页面-特色版面列表页 special-list*/
.special-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  margin-bottom: 60px;
}

.special-card {
  padding: 6px 6px 0 6px;
  text-align: center;
  color: #ffffff;
  background-color: #4a65ad;
}
.special-card img {
  aspect-ratio: 211 / 172;
}

.special-card-info {
  background-color: #4a65ad;
  padding: 28px 15px;
  display: flex; /* 启用 flex 布局 */
  flex-direction: column;
  justify-content: start; /* 水平居中 */
  align-items: start; /* 垂直居中 */
}
/*页面-特色版面2列表页 special2-list*/
.special2-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 60px;
  margin-bottom: 60px;
}

.special2-card {
  padding: 6px 6px 0 6px;
  text-align: center;
  color: #ffffff;
  background-color: #4a65ad;
}
.special2-card img {
  aspect-ratio: 172 / 283;
}
/*页面-八联版列表页 spread-list*/
.spread-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  margin-bottom: 60px;
}

.spread-card {
  padding: 6px 6px 0 6px;
  text-align: center;
  color: #ffffff;
  background-color: #4a65ad;
}
.spread-card img {
  aspect-ratio: 640 / 416;
}
/*页面-国际版列表页 global-list*/
.global-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 60px;
  margin-bottom: 60px;
}

.global-card {
  padding: 6px 6px 0 6px;
  text-align: center;
  color: #ffffff;
  background-color: #4a65ad;
}
.global-card img {
  aspect-ratio: 172 / 211;
}
/*页面-产品列表页 products-list*/
.products-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  row-gap: 73px;
  margin-bottom: 60px;
}

.products-list a:hover .product-card-info {
  background-color: #3b3e7a;
}

.product-card {
  padding: 0 39px;
  text-align: center;
  color: #ffffff;
  border-left: 1px solid #d7d7d7;
}

/* 添加右边框到每行最右侧的卡片 */
.products-list a:nth-child(4n) .product-card {
  border-right: 1px solid #d7d7d7; /* 右边框 */
}

.product-photo {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block; /* 将图片设置为块级元素 */
}

.product-card-info {
  background-color: #4a65ad;
  padding: 23px;
  display: flex; /* 启用 flex 布局 */
  flex-direction: column;
  justify-content: start; /* 水平居中 */
  align-items: start; /* 垂直居中 */
}

.product-name {
  font-size: 16px;
  font-weight: normal;
  text-align: left;
}

.product-price-box {
  display: flex;
  margin-top: 10px;
  align-items: center; /* 垂直居中 */
}
.vip-price {
  margin-right: 8px;
  margin-top: 3px;
}
.product-price {
  font-family: "Times New Roman";
  font-size: 20px;
}
/* 响应式布局 - 3列 */
@media screen and (max-width: 1100px) {
  .products-list {
    grid-template-columns: repeat(3, 1fr);
  }
  .special-list {
    grid-template-columns: repeat(3, 1fr);
  }
  .special2-list {
    grid-template-columns: repeat(3, 1fr);
  }
  .spread-list {
    grid-template-columns: repeat(3, 1fr);
  }
  .global-list {
    grid-template-columns: repeat(3, 1fr);
  }
  .products-list a:nth-child(4n) .product-card {
    border-right: 0;
  }
  .products-list a:nth-child(3n) .product-card {
    border-right: 1px solid #d7d7d7;
  }
}

/* 响应式布局 - 2列 */
@media screen and (max-width: 768px) {
  .products-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 3.89vw 3.89vw;
    margin-bottom: 35px;
  }
  .product-card {
    padding: 0 0px;
  }
  .product-card {
    font-size: 26px;
    border: none;
  }
  .product-card:nth-child(4n + 1) {
    /* 每4个卡片的最后一个去除右边框 */
    border-left: none;
  }
  .product-card:nth-child(3n + 1) {
    /* 每4个卡片的最后一个去除右边框 */
    border-left: none;
  }
  .product-name {
    font-size: 1.2rem;
  }

  .product-price {
    font-size: 1.3rem;
  }
  .product-card-info {
    padding: 15px;
  }
  .vip-price {
    margin-top: -4px;
  }
  .price-ico2 {
    display: none;
  }
}
@media screen and (max-width: 768px) {
  .special-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 3.89vw 3.89vw;
    margin-bottom: 35px;
  }
  .special-card {
    padding: 5px 5px;
    font-size: 26px;
    border: none;
  }
  .special-card-info {
    padding: 15px;
  }
}
@media screen and (max-width: 768px) {
  .special2-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 3.89vw 3.89vw;
    margin-bottom: 35px;
  }
  .special2-card {
    padding: 5px 5px;
    font-size: 26px;
    border: none;
  }
}
@media screen and (max-width: 768px) {
  .global-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 3.89vw 3.89vw;
    margin-bottom: 35px;
  }
  .global-card {
    padding: 5px 5px;
    font-size: 26px;
    border: none;
  }
}
@media screen and (max-width: 768px) {
  .spread-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 3.89vw 3.89vw;
    margin-bottom: 35px;
  }
  .spread-card {
    padding: 5px 5px;
    font-size: 26px;
    border: none;
  }
}

/* 精品推荐 */
.carousel {
  background-image: url("../img/icons/jptj-bg.png");
  background-repeat: no-repeat;
  position: relative;
  margin: 100px auto;
  max-width: 1400px;
  height: auto;
  padding-top: 175px;
}
.carousel-title {
  text-align: center;
  display: flex; /* 使用 Flexbox 布局 */
  flex-direction: column;
  justify-content: space-between; /* 两端对齐 */
  align-items: center; /* 垂直居中 */
}
.carousel-title h3 {
  font-size: 2.5rem;
  color: #3b3e7a;
}
.carousel-title a {
  margin-top: 12px;
  margin-bottom: 26px;
  padding: 4px 10px;
  color: #4a65ad;
  text-decoration: none;
  font-size: 14px;
  border: 1px solid #4a65ad;
}
.carousel-read-more:hover {
  background: #4a65ad;
  color: #ffffff;
}

.card-container {
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  max-width: 100%;
  height: 560px;
}
.card {
  position: absolute;
  width: 520px;
  justify-content: center;
  align-items: center;
  font-size: 1.25rem;
  font-weight: bold;
  color: #3b3e7a;
  text-align: center;
  transition:
    transform 0.5s ease,
    opacity 0.5s ease;
}
.card.left {
  transform: translateX(-87%) scale(0.57);
  opacity: 0.5;
}
.card.center {
  transform: translateX(0) scale(1);
  opacity: 1;
}
.card.right {
  transform: translateX(87%) scale(0.57);
  opacity: 0.5;
}
.card.left span {
  display: none;
}
.card.right span {
  display: none;
}
.card img {
  width: 100%;
  height: auto;
  margin-bottom: 18px;
}
.card-container .card img {
  /* 初始样式 */
  transition:
    transform 0.5s ease,
    border 0.5s ease; /* 设置较长时间和缓动效果 */
  border: 2px solid transparent; /* 默认边框透明 */
}

.card-container .card img:hover {
  /* 悬浮时样式 */
  border: 2px solid #ffffff; /* 设置边框颜色 */
  transform: scale(1.02); /* 轻微放大图片 */
}

.controls {
  display: flex;
  justify-content: space-between;
  margin: 36px auto;
  max-width: 1200px;
}
.controls button {
  background: #007bff;
  color: white;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  font-size: 1rem;
  width: 49.3%;
  height: 68px;
}

#left-btn {
  background-color: #4a65ad;
  text-align: right;
}

#right-btn {
  background-color: #3b3e7a;
  text-align: left;
}

@media screen and (max-width: 1200px) {
  .card {
    width: 43vw;
  }
}

@media screen and (max-width: 992px) {
  .carousel {
    background-image: url("../img/icons/jptj-bg-m.png");
    background-size: contain;
    background-position: top;
    background-repeat: no-repeat;
    padding-top: 18.5vw;
    margin: 50px auto;
  }
  .carousel-title a {
    font-size: 1rem;
    margin-top: 6px;
    margin-bottom: 15px;
  }
  .card-container {
    height: 80vw;
    overflow: hidden;
  }
  .card {
    width: 60vw;
    font-size: 1.3rem;
  }
  .card img {
    margin-bottom: 8px;
  }
  .controls {
    width: 92vw;
    margin-top: 6px;
  }
  .controls button {
    width: 49%;
    height: 10.13vw;
  }
}
/*页面-新闻列表页 news-list*/
/* News item styles */
.news-list-content {
  padding: 4.44rem 5.06rem;
  background-color: #e6f5ff;
  display: grid;
  grid-template-columns: 1fr; /* 单列布局 */
  row-gap: 1.56rem; /* 行间距 */
}
.new-item {
  display: flex;
  align-items: start;
  background-color: #ffffff;
  background-repeat: no-repeat;
}

.new-img {
  width: 250px;
  height: 188px;
}
.new-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.new-content {
  padding: 2.06rem 2vw;
  line-height: 1.5;
}

.new-content h3 {
  font-size: 1.125rem;
  color: #3b3e7a;
  font-weight: bold;
  margin-bottom: 0.35rem;
}
.new-date {
  font-size: 0.75rem;
  color: #3b3e7a;
  margin-bottom: 0.5rem;
}
.new-summary {
  font-size: 0.875rem;
  color: #999999;
}
.new-item .new-content {
  flex: 1;
}

/* Responsive styles */

@media screen and (max-width: 992px) {
  .new-content h3 {
    font-size: 2rem;
  }
  .news-list-content {
    padding: 4.44rem 4vw;
  }
  .new-content {
    padding: 1rem 2vw;
  }
  .new-date {
    font-size: 1.5rem;
  }
  .new-summary {
    display: none;
  }
  .new-img {
    width: 40vw;
    height: 30.13vw;
  }
}
@media screen and (max-width: 750px) {
  .new-content h3 {
    font-size: 1.2rem;
    letter-spacing: -1px;
    line-height: 1.2;
  }
  .new-date {
    font-size: 1rem;
  }
}

/*页面-文章页 article*/
.article-container {
  width: 100%;
  height: auto;
  background-color: #e6f5ff;
  padding-top: 4.44rem;
}

.article {
  background-color: #ffffff;
  padding: 68px 2.45vw 55px 2.45vw;
  margin: 0 5.06rem 80px 5.06rem;
  text-align: center;
}
.article-title {
  font-size: 2rem;
  font-weight: bold;
  line-height: 1.5;
  margin-bottom: 2rem;
  text-align: center;
  color: #3b3e7a;
}

.article-info {
  display: flex;
  justify-content: flex-start;
  color: #3b3e7a;
  font-size: 0.875rem;
  margin-bottom: 3.5rem;
  border-top: 1px solid #d7d7d7;
  border-bottom: 1px solid #d7d7d7;
  padding: 15px 0;
}

.article-info span {
  margin-right: 2rem;
}

.article p {
  font-size: 1.125rem;
  line-height: 1.8;
  margin-bottom: 1.8rem;
  text-indent: 2em; /* 首行缩进2字符 */
  color: #382f2f;
  display: inline-block;
  position: relative;
  text-align: justify;
}
.figure {
  text-align: center;
  margin: 0 auto;
  padding-top: 10px;
  padding-bottom: 40px;
  width: 530px;
}
.fig {
  max-width: 100%;
  height: auto;
  width: 600px;
}
.caption {
  text-align: left;
  word-break: break-all;
  margin-top: 10px;
  color: #999999;
  font-size: 0.9rem;
  letter-spacing: -0.5px;
}

.share {
  display: flex;
  color: #3b3e7a;
  margin-top: 50px;
}
.share span {
  margin-right: 20px;
  font-size: 1.125rem;
  line-height: 1.8;
}
.share a {
  margin-right: 20px;
}
.share {
  display: flex;
  color: #3b3e7a;
  margin-top: 50px;
  align-items: center;
}
.share p {
  margin-right: 20px;
  text-indent: 0;
  margin-bottom: 0;
}
.share a {
  margin-right: 20px;
  display: inline-block;
  width: 30px;
  height: 30px;
  background-color: currentColor;
  -webkit-mask-image: var(--svg);
  mask-image: var(--svg);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}
.share a[data-share="wechat"] {
  --svg: url("../img/icons/wechat.svg");
}
.share a[data-share="weibo"] {
  --svg: url("../img/icons/weibo.svg");
}
.share a[data-share="facebook"] {
  --svg: url("../img/icons/facebook.svg");
}
.share a[data-share="twitter"] {
  --svg: url("../img/icons/twitter.svg");
}

figure {
  max-width: 80%;
  font-size: 1.125rem;
  line-height: 1.8;
  margin-bottom: 1.8rem;
}
figure.image img {
  margin: 0;
  max-width: 100%;
  width: auto;
}
figure.image figcaption {
  margin: 8px 0 0;
  font-size: 0.875rem;
  color: #6b7280;
  display: block;
  text-align: center;
  margin: 0 auto;
}
figure.image {
  display: table;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  border: 0px solid white;
}
figure.image.align-left {
  float: left;
}
figure.image.align-right {
  float: right;
}
figure.image.align-center {
  margin-left: auto;
  margin-right: auto;
}
.product-overview figure {
  max-width: 100%;
}
/* Responsive styles */
@media (max-width: 768px) {
  .article-container {
    padding-top: 2.6rem;
  }
  .article {
    margin: 0 4vw 50px 4vw;
    padding: 40px 20px 50px 20px;
  }
  .article-title {
    font-size: 2rem;
  }
  .article p {
    font-size: 1.3rem;
    text-indent: 1.5em;
  }
  .figure {
    width: 100%;
    padding-left: 25px;
    padding-right: 25px;
    padding-bottom: 30px;
  }
  .share {
    margin-top: 20px;
  }
  .article-info {
    padding: 10px 0;
    font-size: 1rem;
    margin-bottom: 2rem;
    justify-content: space-between;
    line-height: 1;
  }
  .article-info span {
    margin-bottom: 0.5rem;
    margin-right: 1rem;
  }
}

/*页面-合作伙伴 partners*/
.partners-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 50px 50px;
  width: 100%; /* 确保grid宽度撑满main */
  justify-content: space-between;
  align-items: center;
}

.partners-item {
  max-width: 100%; /* 防止图片超出容器 */
  height: auto;
  border: 1px solid #dedede;
}

.cooperate {
  display: flex;
  justify-content: center; /* 水平居中 */
  align-items: center; /* 垂直居中 */
  border: 0;
  margin: 40px auto;
  width: 500px;
  height: 50px;
  color: #ffffff;
  background-color: #4a65ad;
}

/*页面 产品详情 product*/
/*产品简介*/
.product-container {
  width: 100%;
  height: auto;
  background-color: #e6f5ff;
  padding: 4.5rem 5.06rem;
  color: #382f2f;
}
.product-container h1 {
  text-align: center;
  font-size: 1.875rem;
}
.product-title-line {
  margin-top: 22px;
  height: 1px;
  background-color: #d1ebfc;
}
.product-content {
  background-color: #f8fcff;
  margin-top: 3px;
  border-top: 6px solid #d1ebfc;
  font-size: 1rem;
  line-height: 1;
  padding-top: 4.56rem;
}
.product-overview p {
  padding: 0 80px;
  line-height: 2;
  margin-bottom: 2rem;
}
.product-overview img {
  width: 100%;
  height: auto;
  margin-top: 20px;
}

@media screen and (max-width: 992px) {
  .partners-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px 10px;
  }
  .cooperate {
    width: 71vw;
    height: 12vw;
    font-size: 2rem;
    margin-top: 30px;
    margin-bottom: 70px;
  }
  .product-container {
    padding: 9.9vw 4vw;
  }
  .product-content {
    padding-top: 10.27vw;
    font-size: 1.3rem;
  }
  .product-overview p {
    padding: 0 10.67vw;
  }
}
@media screen and (max-width: 767px) {
  .cooperate {
    font-size: 1.5rem;
    width: 71vw;
    height: 11vw;
  }
}
@media screen and (max-width: 385px) {
  .cooperate {
    font-size: 1rem;
  }
}
/*产品详情*/
.product-detail {
  margin: 3.5rem 3.3rem;
  color: #382f2f;
  line-height: 1.5;
  padding-bottom: 1px;
}
.product-detail p {
  white-space: nowrap;
}
/*.product-description span {
  white-space: nowrap;
}*/
.product-detail h2 {
  font-size: 1rem;
  border-bottom: 1px solid #4f75b1;
  margin-top: 0;
  margin-bottom: 20px;
  padding: 0.875rem 1.8rem;
}
.product-detail-basic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  justify-content: space-between;
  border-bottom: 1px solid #d6e1ef;
  padding: 0.9rem 1.8rem;
}
.product-detail-basic div {
  display: flex;
}
.info-row1 {
  border-right: 1px solid #d9e3f6;
  margin-right: 1.69rem;
}
.product-description {
  margin-bottom: 4rem;
}
.product-detail .info-row {
  display: flex;
  justify-content: flex-start;
  padding: 0.9rem 1.8rem;
  border-bottom: 1px solid #d6e1ef;
}
.item-names {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 13px;
}
.product-detail .item-value {
  margin-left: 10px;
}

/*产品款式*/
.product-style-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 自动适应容器宽度，最小宽度为 150px */
  gap: 23px 14px;
  text-align: center;
}
.product-style-content div {
  display: flex;
  flex-direction: column;
  align-items: center; /* 居中对齐 */
  gap: 17px;
}
.product-style-content img {
  width: 100%; /* 宽度自适应父级网格 */
  aspect-ratio: 1 / 1; /* 保持正方形比例 */
  object-fit: cover; /* 确保图片内容覆盖整个正方形 */
}

/*你可能会喜欢*/
.You-may-like {
  font-size: 2.5rem;
  color: #3b3e7a;
  font-weight: bold;
  text-align: center;
  margin-top: 6rem;
  margin-bottom: 2rem;
}
.May-like {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 16px;
  height: 895px;
  background-color: #f3f4f6;
}
.recommendation {
  position: relative;
  overflow: hidden;
}
.recommendation img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease-in-out;
}
.recommendation:hover img {
  transform: scale(1.1); /* 鼠标悬浮时拉进图片 */
}
.recommendation a:hover {
  color: white;
}
.recommendation a:visited {
  color: white;
}
.rec-text {
  z-index: 9;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  color: white;
  padding: 30px 2.1vw;
  margin: 0;
  text-align: left;
  font-size: 1.125rem;
  font-weight: bold;
}
.box1 {
  grid-column: span 2;
  grid-row: span 2;
}
.box4 {
  grid-column: span 2;
}
.box6 {
  grid-column: span 2;
}

@media screen and (max-width: 992px) {
  .recommend {
    margin-bottom: 80px;
  }
  .recommendation p {
    font-size: 1.3rem;
    left: 15px;
  }
  .product-style-content {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-flow: initial; /* 避免布局遗留 */
  }
  .product-style-content img {
    width: 100%;
    height: auto;
  }
  .product-detail {
    font-size: 1.2rem;
  }
  .product-detail-basic {
    display: flex;
    flex-direction: column;
    padding: 0.9rem 0;
    border-bottom: 0;
  }
  .product-detail-basic div {
    border-right: 0;
    border-bottom: 1px solid #d6e1ef;
    padding: 0.9rem 1.8rem;
  }
  .info-row1 {
    margin-right: 0;
  }
  .product-detail h2 {
    font-size: 1.3rem;
    margin-bottom: 25px;
  }
  .first-h2 {
    margin-bottom: 0 !important;
  }
  .May-like {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(6, 1fr);
    height: auto;
  }
  .box1 {
    grid-column: span 2;
    grid-row: span 2;
  }
  .box4 {
    grid-column: span 2;
  }
  .box6 {
    grid-column: span 2;
    grid-row: 6; /* 将 box6 强制放到最后一行 */
  }

  /* 控制 box5 和 box7 的位置，使它们在同一行 */
  .box5 {
    grid-column: span 1;
    grid-row: 5; /* 将 box5 放到第五行 */
  }

  .box7 {
    grid-column: span 1;
    grid-row: 5; /* 将 box7 放到第五行，与 box5 在同一行 */
  }
}
