/* Banner区域的wide样式 */
.banner-wide {
  width: 100%;
  position: relative;
  background: none;
  padding: 0;
}

/* 图片动画和文字居中样式 */
.poster_box {
  position: relative;
  overflow: hidden;
}

.poster_box .img_box {
  position: relative;
  overflow: hidden;
}

.poster_box .img_box img {
  transition: all 0.5s ease;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.poster_box .img_box:hover img {
  transform: scale(1.05);
}

.text_box.position_center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 2;
}

/* 蓝色背景区域的wide样式 */
.info-wide {
  background-color: #004297;
  padding: 60px 0;
}

/* 蓝色背景区域的文字和按钮样式 */
.info-wide .info_box {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 15px;
}

.info-wide .info_box .i_title {
  font-size: 36px;
  font-weight: bold;
  color: #fff;
  text-transform: uppercase;
  flex: 1;
  padding-right: 30px;
}

.info-wide .info_box .i_link {
  display: inline-block;
  padding: 15px 40px;
  background-color: #ffd101;
  color: #000;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.info-wide .info_box .i_link:hover {
  background-color: #fff;
  color: #000;
}

/* 响应式布局 */
@media screen and (max-width: 991px) {
  .info-wide {
    padding: 40px 0;
  }

  .info-wide .info_box {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .info-wide .info_box .i_title {
    font-size: 24px;
    padding-right: 0;
  }

  .info-wide .info_box .i_link {
    padding: 12px 30px;
    font-size: 14px;
  }
}

/* 修改banner按钮样式 */
.text_box .text_botton {
  display: inline-block;
  padding: 12px 30px;
  background-color: #ffd101;  /* 黄色背景 */
  color: #000;               /* 黑色文字 */
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
  text-transform: uppercase;
  margin-top: 20px;
}

/* banner按钮悬停效果 */
.text_box .text_botton:hover {
  background-color: #004297;  /* 蓝色背景 */
  color: #fff;               /* 白色文字 */
}

/* 导航栏询盘按钮样式 */
[data-scope="inquiry-button"] .inquiry-btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: #004297;  /* 蓝色背景 */
  color: #fff;               /* 白色文字 */
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  text-transform: uppercase;
}

/* 导航栏询盘按钮悬停效果 */
[data-scope="inquiry-button"] .inquiry-btn:hover {
  background-color: #ffd101;  /* 黄色背景 */
  color: #000;               /* 黑色文字 */
}

/* 海报区域样式 */
.poster_wrapper {
  padding-top: 60px;
  margin: 0 auto;
}

.poster_wrapper .top_title {
  text-align: center;
  margin-bottom: 60px;
}

.poster_wrapper .top_title .t_title {
  font-size: 54px;
  font-weight: bold;
  color: #333;
  text-transform: uppercase;
}

/* 修改为横向flex布局 */
.poster_wrapper .item_container {
  display: flex;
  justify-content: space-between;
  gap: 0;
  width: 100%;
  overflow: hidden;
}

.poster_wrapper .item_box {
  flex: 1;
  position: relative;
  overflow: hidden;
  margin: 0;
}

.poster_wrapper .item_box .compute_item_img {
  width: 100% !important;
  margin: 0 !important;
}

.poster_wrapper .item_box .compute_process_img {
  position: relative;
  padding-top: 88.31% !important;
  overflow: hidden;
}

.poster_wrapper .item_box .compute_process_img a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.poster_wrapper .item_box .compute_process_img img {
  position: absolute !important;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  transition: transform 0.5s ease !important;
  filter: brightness(40%);
}

/* 只对图片应用放大效果 */
.poster_wrapper .item_box:hover .compute_process_img img {
  transform: scale(1.1);
  filter: brightness(100%);
}

/* 内容盒子样式 */
.poster_wrapper .item_box .content_box {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0;
  z-index: 2;
}

.poster_wrapper .item_box .content_box .title_box {
  font-size: 38px;
  font-weight: bold;
  color: #fff;
  margin-bottom: 10px;
  text-transform: uppercase;
}

/* 修改按钮样式 */
.poster_wrapper .item_box .content_box .box_icon {
  display: inline-block;
  padding: 8px 16px;
  background-color: transparent;
  color: #ffd101;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  text-transform: uppercase;
  border: none;
  font-weight: 600;
}

/* 按钮悬停效果 */
.poster_wrapper .item_box .content_box .box_icon:hover {
  background-color: #ffd101;
  color: #000;
}

/* 响应式布局 */
@media screen and (max-width: 768px) {
  .poster_wrapper .item_container {
    flex-wrap: wrap;
  }

  .poster_wrapper .item_box {
    width: 50%;
  }

  .poster_wrapper .top_title .t_title {
    font-size: 36px;
  }
}

@media screen and (max-width: 480px) {
  .poster_wrapper .item_box {
    width: 100%;
  }

  .poster_wrapper .top_title .t_title {
    font-size: 24px;
  }
}

/* About Us 区域样式 */
.about-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 60px 15px;
}

.about-section .txt_box {
  max-width: 800px;
  margin: 0 auto 50px;
  text-align: center;
}

.about-section .txt_title {
  font-size: 36px;
  font-weight: bold;
  color: #333;
  margin-bottom: 30px;
  text-transform: uppercase;
}

.about-section .txt_content {
  font-size: 16px;
  line-height: 1.8;
  color: #666;
  margin-bottom: 30px;
}

/* Read More 按钮样式 */
.about-section .txt_button {
  display: inline-block;
  padding: 12px 30px;
  background-color: #004297;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  text-transform: uppercase;
  border: none;
}

.about-section .txt_button:hover {
  background-color: #ffd101;
  color: #000;
}

/* 图片区域样式 */
.about-section .pic_box {
  display: flex;
  gap: 30px;
  justify-content: space-between;
}

.about-section .pic_item {
  flex: 1;
  max-width: calc(33.333% - 20px);
}

.about-section .compute_item_img {
  width: 100% !important;
  margin: 0 !important;
}

.about-section .compute_process_img {
  position: relative;
  padding-top: 125.58% !important;
  overflow: hidden;
}

.about-section .compute_process_img img {
  position: absolute !important;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}

/* 响应式布局 */
@media screen and (max-width: 991px) {
  .about-section {
    padding: 40px 15px;
  }

  .about-section .txt_title {
    font-size: 28px;
    margin-bottom: 20px;
  }

  .about-section .txt_content {
    font-size: 14px;
    margin-bottom: 25px;
  }

  .about-section .pic_box {
    flex-direction: column;
    gap: 20px;
  }

  .about-section .pic_item {
    max-width: 100%;
  }
}

/* Contact Banner 区域样式 */
.contact-banner {
  position: relative;
  padding: 0;
  background: none;
  width: 100%;
}

.contact-banner .posrt_wrapper {
  position: relative;
  width: 100%;
}

/* 重置并重新定义图片容器样式 */
.contact-banner .img_box {
  width: 100%;
  position: relative;
}

.contact-banner .compute_item_img {
  width: 100% !important;
  margin: 0 !important;
}

.contact-banner .compute_process_img {
  position: relative;
  padding-top: 30.99% !important;
  overflow: hidden;
}

/* 修复 view_scroll_box 样式 */
.contact-banner .view_scroll_box {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  transform: none !important; /* 移除可能影响显示的transform */
}

.contact-banner .view_scroll_box img {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  margin: 0 !important;
}

/* 文字卡片样式 */
.contact-banner .txt_box {
  position: absolute;
  left: 8%;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  padding: 50px;
  width: 36.45%;
  box-shadow: 0 0 20px rgba(0,0,0,0.1);
  z-index: 2;
}

.contact-banner .t_subtitle {
  font-size: 18px;
  color: #666;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.contact-banner .t_title {
  font-size: 32px;
  font-weight: bold;
  color: #333;
  margin-bottom: 20px;
  line-height: 1.3;
  text-transform: uppercase;
}

.contact-banner .t_content {
  font-size: 16px;
  line-height: 1.6;
  color: #666;
  margin-bottom: 30px;
}

/* 按钮样式 */
.contact-banner .t_button {
  display: inline-block;
  padding: 12px 30px;
  background-color: #004297;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  text-transform: uppercase;
  border: none;
}

.contact-banner .t_button:hover {
  background-color: #ffd101;
  color: #000;
}

/* 响应式布局 */
@media screen and (max-width: 1400px) {
  .contact-banner .txt_box {
    padding: 40px;
    max-width: 450px;
  }

  .contact-banner .t_title {
    font-size: 28px;
  }
}

@media screen and (max-width: 1200px) {
  .contact-banner .txt_box {
    padding: 30px;
    max-width: 400px;
  }

  .contact-banner .t_title {
    font-size: 24px;
  }

  .contact-banner .t_content {
    font-size: 14px;
  }
}

@media screen and (max-width: 991px) {
  .contact-banner .compute_process_img {
    padding-top: 50%; /* 调整移动端图片比例 */
  }

  .contact-banner .txt_box {
    position: relative;
    left: 0;
    top: 0;
    transform: none;
    margin: -50px auto 0;
    max-width: 90%;
    width: 100%;
    background: #fff;
    z-index: 2;
  }
}

@media screen and (max-width: 768px) {
  .contact-banner .compute_process_img {
    padding-top: 70%; /* 更小屏幕下的图片比例 */
  }

  .contact-banner .txt_box {
    padding: 25px;
    margin-top: -30px;
  }

  .contact-banner .t_subtitle {
    font-size: 14px;
    margin-bottom: 10px;
  }

  .contact-banner .t_title {
    font-size: 20px;
    margin-bottom: 15px;
  }

  .contact-banner .t_content {
    font-size: 13px;
    margin-bottom: 20px;
  }

  .contact-banner .t_button {
    padding: 10px 25px;
    font-size: 12px;
  }
}

/* Tab导航样式 */
.nav.justify-content-center .nav-link {
  color: #333;
  font-size: 20px;
  font-weight: 500;
  padding: 10px 20px;
  margin: 0 5px;
  text-transform: uppercase;
  position: relative;
  transition: all 0.3s ease;
  text-decoration: none;
  border: none;
}

/* 默认状态下隐藏下边框 */
.nav.justify-content-center .nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #004297;
  transform: scaleX(0);
  /* transition: transform 0.3s ease; */
}

/* 激活状态显示下边框和蓝色文字 */
.nav.justify-content-center .nav-link.active {
  color: #004297;
  font-weight: 600;
}

.nav.justify-content-center .nav-link.active::after {
  transform: scaleX(1);
}

/* 鼠标悬停效果 */
.nav.justify-content-center .nav-link:hover {
  color: #004297;
}

.nav.justify-content-center .nav-link:hover::after {
  transform: scaleX(1);
}

/* 产品快速预览弹窗中的按钮样式 */
.page-product .product-btns .add-cart {
  display: inline-block;
  padding: 12px 30px;
  background-color: #004297 !important; /* 蓝色背景 */
  color: #fff !important; /* 白色文字 */
  border: none !important;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  text-transform: uppercase;
  border-radius: 0;
}

/* 按钮悬停效果 */
.page-product .product-btns .add-cart:hover {
  background-color: #ffd101 !important; /* 黄色背景 */
  color: #000 !important; /* 黑色文字 */
}

/* 禁用状态的按钮样式 */
.page-product .product-btns .add-cart:disabled {
  background-color: #ccc !important;
  color: #666 !important;
  cursor: not-allowed;
}

/* 按钮悬停效果 */
.page-product .product-btns .get-quote:hover {
  background-color: #ffd101 !important; /* 黄色背景 */
  color: #000 !important; /* 黑色文字 */
  border-color: #ffd101 !important;
}

.quote{
  background-color: #004297 !important;
  border: none !important;
  color: #fff !important;
}

.quote:hover{
  background-color: #ffd101 !important;
  border: none !important;
  color: #000 !important;
}

.quote_list{
  background-color: #fff !important;
  border: 1px solid #333 !important;
  color: #333 !important;
}

.quote_list:hover{
  background-color: #ffd101 !important;
  color: #000 !important;
  border: 1px solid #ffd101 !important;
}
header .header-content .nav-item:hover>a {
  color: #004297 !important;  /* 使用 !important 确保样式生效 */
}

/* 覆盖特定区域的 bootstrap 容器宽度 */
@media (min-width: 1400px) {
  /* 默认所有容器1700px */
  #blogct {
    max-width: 1700px !important;
  }
}

/* 修改页面标题悬停和选中的颜色 */
.pages-wrap:hover .page-info .pages-title a,
.pages-wrap .page-info .pages-title a:active,
.pages-wrap .page-info .pages-title a:focus {
  color: #004297 !important;  /* 改为蓝色 #004297 */
}

/* 如果需要，也可以修改默认状态的颜色 */
.pages-wrap .page-info .pages-title a {
  color: #222;
  transition: all 0.3s ease;
}

/* 确保链接被访问后的颜色也是蓝色 */
/*.pages-wrap .page-info .pages-title a:visited {*/
/*  color: #004297 !important;*/
/*}*/

/* 产品详情页的Tab导航样式 */
.product-description .nav-tabs .nav-link {
  color: #333 !important;
  font-size: 20px;
  font-weight: 500;
  padding: 10px 20px;
  margin: 0 5px;
  text-transform: uppercase;
  position: relative;
  transition: all 0.3s ease;
  text-decoration: none;
  border: none;
}

/* 默认状态下隐藏下边框 */
.product-description .nav-tabs .nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #004297;
  transform: scaleX(0);

}

/* 激活状态显示下边框和蓝色文字 */
.product-description .nav-tabs .nav-link.active {
  color: #004297 !important;
  font-weight: 600;
  background-color: transparent !important;
  border: none !important;
}

.product-description .nav-tabs .nav-link.active::after {
  transform: scaleX(1);
}

/* 鼠标悬停效果 */
.product-description .nav-tabs .nav-link:hover {
  color: #004297 !important;
  border: none !important;
}

.product-description .nav-tabs .nav-link:hover::after {
  transform: scaleX(1);
}

/* 覆盖特定区域的 bootstrap 容器宽度 */
@media (min-width: 1400px) {
  /* 默认所有容器1700px */
  #tab-product-container {
    max-width: 1700px !important;
  }
}

/* 修改模态框标题样式 */
#inquiryModal .modal-header {
  background: #fff;
  padding: 20px 30px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: center;  /* 让标题居中 */
  position: relative;       /* 为关闭按钮定位做准备 */
}

#inquiryModal .modal-title {
  font-size: 24px;
  font-weight: 500;
  color: #333;
  margin: 0;              /* 移除默认边距 */
}

/* 调整关闭按钮位置 */
#inquiryModal .btn-close {
  position: absolute;     /* 绝对定位 */
  right: 20px;           /* 距右边距离 */
  padding: 10px;         /* 增加点击区域 */
  margin: 0;             /* 移除默认边距 */
}

/* 表单必填项样式 */
#inquiryModal .form-label.required {
  position: relative;
}

#inquiryModal .form-label.required::after {
  content: "*";
  color: #ff0000;
  margin-left: 4px;
  font-size: 14px;
  line-height: 1;
  position: absolute;
  top: 2px;
}

/* 表单控件样式 */
#inquiryModal .form-control {
  border-radius: 0;
  border: 1px solid #ddd;
  padding: 8px 12px;
}

#inquiryModal .form-control:focus {
  border-color: #004297;
  box-shadow: none;
}

/* 表单标签样式 */
#inquiryModal .form-label {
  font-weight: 500;
  color: #333;
  margin-bottom: 8px;
  display: inline-block;
}

/* 图片上传区域样式 */
.form_tool_img_box {
  margin: 10px 0;
}

.form_tool_img_box .inbox_popup_input {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.form_tool_img_box .upload_box {
  position: relative;
  width: 100px;
  height: 100px;
  border: 1px dashed #ddd;
  background: #fafafa;
  cursor: pointer;
}

.form_tool_img_box .upload_box:hover {
  border-color: #004297;
}

.form_tool_img_box .upload_file {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

.form_tool_img_box .num_tips {
  position: absolute;
  top: 5px;
  right: 5px;
  font-size: 12px;
  color: #999;
}

.form_tool_img_box .close {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 20px;
  height: 20px;
  background: #ff4444;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
}

.form_tool_img_box .close:hover {
  background: #ff0000;
}

.form_tool_img_box .pic_box {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form_tool_img_box .pic_box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
}

.form_tool_img_box .icon-camera1 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 24px;
  color: #999;
}

.form_tool_img_box .upload_box:hover .icon-camera1 {
  color: #004297;
}

/* 已上传图片的样式 */
.form_tool_img_box .upload_box[style*="display: none"] {
  display: none !important;
}

.form_tool_img_box .upload_box .pic_box span {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 4px;
  background: rgba(0,0,0,0.5);
  color: #fff;
  font-size: 12px;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lBut{
	width: 87px;
	height: 32px;
	font-size: 14px;
	line-height: 1.15;
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 4px;
	padding: 8px 10px;
	margin-left: 28px;
	transition: all 0.5s;
	white-space: nowrap;
	background-color: #004297;
	color: white;
}

/* 预览区域样式 */
.listBox {
  margin-left: 20px;
  position: relative;
  width: 50px;
  height: 50px;
  display: none; /* 默认隐藏预览区域 */
}

.listBox.showImg {
  display: block; /* 有图片时显示 */
}

.listBox .previewImg {
  object-fit: cover;
}

/* 删除按钮样式 */
.listBox .delete-btn {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 20px;
  height: 20px;
  line-height: 18px;
  text-align: center;
  background: #ff4444;
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  opacity: 0; /* 默认隐藏 */
  transition: opacity 0.3s;
}

/* 鼠标移入时显示删除按钮 */
.listBox:hover .delete-btn {
  opacity: 1;
}

.listBox .delete-btn:hover {
  background: #ff0000;
}

.product-info-inner{
    width: 100%;
    background: #eee;
    border: 1px solid #ebebeb !important;
}

.product-info-inner .table tr th {
    color: #535353 !important;
    font-weight: normal;
}

.product-info-inner .table tr td {
    color: #717171 !important;
}
