* {
  font-size: 16px;
  padding: 0;
  margin: 0;
}

body {
  overflow-x: scroll;
  background: #f7f7f7;
}

/* 版心 1500px 适用首页以及大版心*/
.container_fluid {
  max-width: 1640px;
  min-width: 1200px;
  width: 90%;
  margin: 0 auto;
  height: 100%;
}

/* 1200px 小版心 */
.container_md_fluid {
  max-width: 1200px;
  min-width: 980px;
  width: 90%;
  margin: 0 auto;
  height: 100%;
}

/* 主标题 */
/* .mall_title{

} */
/* 副标题 */
.mall_subtitle {
  font-size: 20px;
  font-weight: bolder;
}

/*次级描述文字*/
.mall_p_desp {
  font-size: 18px;
  font-weight: 400;
}

/*浮动*/
.float_right {
  float: right;
}

.float_left {
  float: left;
}

/* 清除浮动 */
.clear_float::after {
  content: "";
  width: 0;
  height: 0;
  display: block;
  clear: both;
}

/* 相对定位 */
.ps_relative {
  position: relative;
}

/*绝对定位*/
.ps_absolute {
  position: absolute;
}

/*超链接样式*/
a {
  color: #333;
}

a:hover {
  color: #128ee9;
  text-decoration: none;
}

/*img居中*/
.img_center_cover {
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  -o-object-fit: contain;
  object-fit: contain;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.img_center_contain {
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  -o-object-fit: cover;
  object-fit: contain;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

/*居中*/
/* 行居中 */
.row_center {
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}

/* 列居中 */
.col_center {
  position: absolute;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
}

/* 元素内居中 */
.center {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

ul,
ol {
  margin-bottom: 0;
}
/*******暂无商品信息页样式******/
.noresult_box {
  width: 100%;
  margin-top: 30px;
  font-size: 20px;
  text-align: center;
  padding: 100px 0;
  color: #878787;
}

#cbnb_mall {
  background: #f7f7f7;
  position: relative;
}

.mall_header {
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 50;
  overflow: visible;
  -webkit-box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
  background: white;
}

.main_header {
  width: 100%;
  border-bottom: 2px solid #128ee9;
  position: relative;
  z-index: 1;
}

.main_header .content_container {
  max-width: 1640px;
  min-width: 1200px;
  width: 85.4167%;
  margin: 0 auto;
  height: 100%;
}

.main_header .content_container .img_box {
  height: 78px;
  width: 50%;
  margin: 0 auto;
}

.main_header .content_container .img_box img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
  object-fit: contain;
}

.main_header .content_container .search_box {
  height: 80px;
  position: relative;
}
#header_selected_name {
  font-size: 14px;
}
.icon-arrowdown {
  font-size: 13px;
}

.main_header .content_container .search_box .inner_box {
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  width: 100%;
  height: 40px;
  border: 2px solid #128ee9;
  border-radius: 20px;
  background: none;
}

.main_header .content_container .search_box .inner_box .header_select_items {
  float: left;
  border-right: 1px solid #eee;
  line-height: 35px;
  width: 100px;
  text-align: center;
  position: relative;
}

.main_header
  .content_container
  .search_box
  .inner_box
  .header_select_items
  .header_selected {
  cursor: pointer;
  position: relative;
}

.main_header
  .content_container
  .search_box
  .inner_box
  .header_select_items
  .select_item {
  background-color: white;
  display: none;
  border: 1px solid #ccc;
  border-radius: 6px;
  position: absolute;
  width: 100%;
  -webkit-transform: translate(0px, 1px);
  transform: translate(0px, 1px);
  -webkit-box-shadow: 2px 2px 15px 2px rgba(0, 0, 0, 0.1);
  box-shadow: 2px 2px 15px 2px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.main_header
  .content_container
  .search_box
  .header_select_items
  .select_item
  li:hover {
  background: #eee;
}

.main_header .content_container .search_box .inner_box .header_input {
  height: 100%;
  text-indent: 1em;
  border: none;
  width: calc(100% - 240px);
  outline: none;
  background: none;
}

.main_header .content_container .search_box .inner_box .header_search_box {
  position: absolute;
  top: -1px;
  right: -1px;
  width: 140px;
  height: 38px;
}

.main_header
  .content_container
  .search_box
  .inner_box
  .header_search_box
  .header_search {
  border: none;
  height: 100%;
  width: 100%;
  border-bottom-right-radius: 19px;
  border-top-right-radius: 19px;
  background: #128ee9;
  color: white;
  outline: none;
  font-size: 18px;
}

.main_header .content_container .client_box {
  padding: 20px 0 0 30px;
  position: relative;
}

.main_header .content_container .client_box::after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  clear: both;
}

.main_header .content_container .client_box .client_container {
  position: relative;
  min-width: none;
  min-width: 325px;
}

.main_header .content_container .client_box .client_container > li {
  text-align: center;
  float: right;
}

.main_header
  .content_container
  .client_box
  .client_container
  > li:nth-child(1) {
  padding: 0 20px;
}

.main_header
  .content_container
  .client_box
  .client_container
  > li:nth-child(2) {
  padding: 0 30px;
}

.main_header
  .content_container
  .client_box
  .client_container
  > li:nth-child(3) {
  padding: 0 20px;
}

.main_header .content_container .client_box .client_container > li i {
  font-size: 20px;
  font-weight: bold;
}

.main_header .content_container .client_box .header_inbox_box {
  display: inline-block;
  position: relative;
}

.main_header .content_container .client_box .header_inbox_btn {
  display: inline-block;
  width: 44px;
  height: 44px;
  line-height: 44px;
  text-align: center;
  position: relative;
}

.main_header .content_container .client_box .header_inbox_btn i {
  font-size: 26px;
  font-weight: 500;
}

.main_header .content_container .client_box .header_inbox_btn svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
  vertical-align: middle;
}

.main_header .content_container .client_box .header_inbox_dot {
  width: 8px;
  height: 8px;
  background: #ff3b30;
  border-radius: 50%;
  display: inline-block;
  position: absolute;
  top: 10px;
  right: 8px;
}

.header_inbox_dropdown {
  width: 360px;
  position: absolute;
  top: 52px;
  right: 0;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  z-index: 1000;
  -webkit-box-shadow: 0 2px 12px 0 rgb(0 0 0 / 10%);
  box-shadow: 0 2px 12px 0 rgb(0 0 0 / 10%);
}

.header_inbox_dropdown_header {
  padding: 10px 12px;
  border-bottom: 1px solid #f0f0f0;
  font-weight: bold;
}

.header_inbox_list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 360px;
  overflow: auto;
}
.header_inbox_list::-webkit-scrollbar {
  width: 6px;
}
.header_inbox_list::-webkit-scrollbar-track {
  background: transparent;
}
.header_inbox_list::-webkit-scrollbar-thumb {
  background: #e2e8f0;
  border-radius: 10px;
}
.header_inbox_list::-webkit-scrollbar-thumb:hover {
  background: #cbd5e1;
}

.header_inbox_list li {
  padding: 10px 12px;
  border-bottom: 1px solid #f8f8f8;
  cursor: pointer;
}

.header_inbox_list li.unread {
  background: #eef6ff;
}

.header_inbox_list li .name {
  font-weight: bold;
  margin-bottom: 4px;
}

.header_inbox_list li .preview {
  color: #666;
  font-size: 12px;
  line-height: 18px;
}

.header_inbox_dropdown_footer {
  padding: 10px 12px;
  text-align: center;
}

.main_header
  .content_container
  .client_box
  .client_container
  .header_login_box
  > i {
  font-size: 30px;
  font-weight: 500;
  line-height: 48px;
  position: static;
  float: left;
}

.main_header
  .content_container
  .client_box
  .client_container
  .header_login_box
  .login_box {
  display: inline-block;
}

.main_header
  .content_container
  .client_container
  .header_login_box
  .login_box
  > li {
  font-size: 12px;
  text-align: left;
}

.main_header .header_login_box .login_box > li a {
  font-size: 14px;
  line-height: 48px;
}

.mall_header .sub_header_container {
  width: 100%;
  margin-bottom: 1px;
}

.mall_header .sub_header {
  height: 48px;
  position: relative;
}

.mall_header .sub_header .sub_leader_list {
  display: flex;
  flex-direction: row;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.mall_header .sub_header .sub_leader_list > li {
  float: left;
  line-height: 48px;
  text-align: center;
  width: 6.67%;
  min-width: 90px;
  max-width: 100px;
}

.mall_header .sub_header .sub_leader_list .sub_header_item {
  min-width: 100px;
  width: 12%;
  max-width: 180px;
  font-weight: bolder;
}

.mall_header .sub_header .sub_leader_list .sub_header_item a {
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

.mall_header .sub_header .sub_leader_list .sub_header_cate {
  min-width: 100px;
  width: 10%;
  max-width: 130px;
  position: relative;
}

/* Categories Dropdown Styles */
.sub_header .sub_header_cate .categories_dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  z-index: 1000;
  margin-top: 2px;
}

.sub_header .sub_header_cate:hover .categories_dropdown {
  display: block;
}

.sub_header .categories_dropdown .categories_list {
  padding: 8px 0;
  list-style: none;
  margin: 0;
}

.sub_header .categories_dropdown .category_item {
  position: relative;
  padding: 12px 20px;
  transition: background 0.3s;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sub_header .categories_dropdown .category_item:hover {
  background: #f5f5f5;
}

.sub_header .categories_dropdown .category_item > a {
  flex: 1;
  color: #333;
  font-size: 14px;
  font-weight: 500;
}

.sub_header .categories_dropdown .category_item .iconfont {
  font-size: 12px;
  color: #999;
  margin-left: 8px;
}

.sub_header .categories_dropdown .category_item .subcategories_panel {
  display: none;
  position: absolute;
  left: 100%;
  top: 0;
  min-width: 400px;
  background: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  margin-left: 4px;
  padding: 16px;
}

.sub_header .categories_dropdown .category_item:hover .subcategories_panel {
  display: block;
}

.sub_header .categories_dropdown .category_item .subcategories_content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.sub_header .categories_dropdown .category_item .subcategories_content dl {
  margin: 0;
}

.sub_header .categories_dropdown .category_item .subcategories_content dd {
  margin: 0;
  padding: 6px 0;
}

.sub_header .categories_dropdown .category_item .subcategories_content dd a {
  color: #666;
  font-size: 13px;
  transition: color 0.3s;
}

.sub_header
  .categories_dropdown
  .category_item
  .subcategories_content
  dd
  a:hover {
  color: #128ee9;
}

.sub_header .categories_dropdown .category_view_all {
  padding: 12px 20px;
  border-top: 1px solid #f0f0f0;
  text-align: center;
}

.sub_header .categories_dropdown .category_view_all a {
  color: #128ee9;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
}

.sub_header .categories_dropdown .category_view_all a:hover {
  text-decoration: underline;
}

.mall_header .sub_header .sub_header_active {
  background: #128ee9;
}
.mall_header .sub_header .sub_header_active a {
  color: white;
}

/********分页*********/
.mall_paging {
  background: white;
  margin-top: 30px;
  padding: 20px 0;
}

.mall_paging nav {
  text-align: center;
}

.mall_paging .pagination {
  background: white;
}

/*********footer********/
footer {
  border-top: 2px solid #128ee9;
  background: none;
  margin-top: 30px;
  background: white;
}

footer .extend_list {
  padding-top: 20px;
}

footer .extend_list .inner_box dt {
  font-size: 14px;
  margin-bottom: 20px;
}

footer .extend_list .inner_box dd a {
  font-size: 14px;
  line-height: 30px;
}

footer .extend_list .phone_box .inner_phone_box {
  max-width: 505px;
  width: 100%;
  min-width: 505px;
  margin: 0 auto;
  padding-bottom: 30px;
}

footer .extend_list .phone_box .phone {
  color: #128ee9;
  font-size: 26px;
}

footer .extend_list .phone_box .work_day {
  padding-top: 10px;
  font-size: 18px;
  font-weight: lighter;
}
footer .icon_show .p_desp {
  font-size: 14px;
  padding-top: 22px;
}

footer .icon_show .p_desp a {
  font-size: 14px;
  color: #128ee9;
}
.footer_container .company_msg {
  background: #f7f7f7;
}

.footer_container .company_msg .msg_box {
  padding: 50px 0;
}

.footer_container .company_msg .contact_box span {
  font-size: 14px;
  line-height: 35px;
  color: #4e4e4e;
}

.footer_container .company_msg .gxb_url a {
  font-size: 14px;
  color: #4e4e4e;
}

.footer_container .company_msg .net_box {
  margin-top: 10px;
}

.footer_container .company_msg .icon_box .img_box {
  float: right;
  width: 100px;
  height: 100px;
  position: relative;
  margin-left: 30px;
}

.footer_container .icon_box .img_box img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.footer_container .icon_show .inner_box {
  padding-top: 4px;
  padding-right: 100px;
}
/*******回到顶部样式*******/
.back_to_top_box {
  display: none;
  position: fixed;
  right: 30px;
  bottom: 50px;
  z-index: 999991;
}
.back_to_top_box {
  font-size: 50px;
  cursor: pointer;
}
.rfq-gradient {
  background: linear-gradient(
    to right,
    rgba(15, 23, 42, 0.8),
    rgba(15, 23, 42, 0.4)
  );
}
