/*reset*/
body {
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #333;
}

body,
p,
dl,
ol,
ul,
dd,
form,
figure {
  margin: 0;
  padding: 0;
  margin-block-start: 0em;
  margin-block-end: 0em;
}

h1,
h2,
h3 {
  font-family: 'Oswald';
}

a {
  color: #196ca2;
  text-decoration: none;
  font-family: 'autonomous';
}

a:hover {
  color: #25a0f1;
  text-decoration: none;
}

html {
  margin-top: 0px !important;
}

img {
  max-width: 100%;
}

ul {
  list-style: none;
}
.app {
  display: none;
}
.pc {
  display: block;
}
@font-face {
  font-family: 'Open Sans';
  src: url('../fonts/open-sans-regular.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
}
@font-face {
  font-family: 'Open Sans';
  src: url('../fonts/open-sans-600.woff2') format('woff2');
  font-style: normal;
  font-weight: 600;
}
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/oswald_n7.woff2') format('woff2');
  font-display: swap;
}

@font-face {
  font-family: 'autonomous';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/autonomous.woff2') format('woff2');
  font-display: swap;
}
@font-face {
  font-family: 'Roboto Mono';
  src: url('../fonts/roboto-mono-regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

.ellipsis {
  display: -webkit-box;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* header */
.container .site-header {
  padding: 0 0;
}
.site-header .main-navbar {
  position: relative;
  height: 80px;
}
.site-header .navbar-nav {
  height: 80px;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.navbar-brand {
  display: flex;
  font-size: 36px;
  font-weight: bold;
  color: #fff;
  align-items: center;
}

.navbar-brand h1 {
  margin: 0;
}

.navbar-brand .logo {
  height: 50px;
  margin-right: 20px;
}

.site-header a {
  color: #333;
  text-decoration: none;
}

.site-header a:hover {
  text-decoration: none;
}
.site-header .navbar-toggler {
  border: none;
  outline: none;
}

.site-header .navbar-toggler-icon {
  background-image: none;
  width: 24px;
  height: 24px;
  position: relative;
  transition: all 0.3s ease-in-out;
}

.site-header .navbar-toggler-icon::before,
.site-header .navbar-toggler-icon::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: #333;
  left: 0;
  transition: all 0.3s ease-in-out;
}
.home .site-header .navbar-toggler-icon::before,
.home .site-header .navbar-toggler-icon::after {
  background-color: #fff;
}

.site-header .navbar-toggler-icon::before {
  top: 6px;
}

.site-header .navbar-toggler-icon::after {
  bottom: 6px;
}

.site-header
  .navbar-toggler[aria-expanded='true']
  .navbar-toggler-icon::before {
  transform: rotate(45deg);
  top: 11px;
}

.site-header .navbar-toggler[aria-expanded='true'] .navbar-toggler-icon::after {
  transform: rotate(-45deg);
  bottom: 11px;
}

.site-header .navbar-toggler[aria-expanded='true'] .navbar-toggler-icon {
  background-color: transparent;
}

.navbar {
  padding: 0 0;
}

/* .main-navbar,
.navbar-nav {
  height: 60px;
} */

/* 鼠标悬停显示下拉菜单 */
.dropdown:hover .dropdown-menu {
  display: block;
}

.nav-item {
  display: flex;
  align-items: center;
  font-family: 'Open Sans' !important;
  font-weight: 400;
}

/* 仅针对一级菜单的 nav-item 增大间距 */
.navbar-nav > .nav-item {
  display: flex;
  align-items: center;
  padding: 0 1rem;
}

/* 美化下拉菜单整体样式 */
.dropdown-menu {
  margin: 0 0;
  border-radius: 0;
  background-color: #ffffff;
  border: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 0 0;
  animation: fadeInDown 0.3s ease;
  border-top: 2px solid #3289c4;
}

/* 定义淡入向下动画 */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translate3d(0, -10%, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* 美化当前导航项 */
.navbar-nav .nav-item.active {
  background-color: rgb(25, 108, 162);
}

.navbar-nav .nav-item.active .nav-link {
  color: #fff;
}

/* 导航项悬停样式 */
.navbar-nav .nav-item:hover {
  background-color: #3289c4;
}

.dropdown-menu .menu-item.active .dropdown-item {
  color: #fff;
}

.navbar-nav .nav-item:hover .nav-link,
.active {
  color: #fff;
}

/* 美化下拉菜单项样式 */
.dropdown-item {
  color: #333;
  padding: 0.5rem 1.5rem;
  transition: background-color 0.3s ease;
}

/* 鼠标悬停菜单项样式 */
.dropdown-item:hover {
  background-color: #196ca2;
  color: #fff;
  text-decoration: none;
}

/* 下拉菜单箭头样式 */
.dropdown-toggle::after {
  transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle::after {
  transform: rotate(-180deg);
}

/* .dropdown.show .dropdown-toggle::after {
    transform: rotate(-180deg);
} */

/* footer */
.site-footer {
  background-color: #18233b;
  color: #fff;
  padding-top: 20px;
}

.site-footer .contact-item {
  margin-bottom: 1rem;
  width: 100%;
}

.site-footer .contact-item dd {
  font-size: 14px;
  color: #b8b8b8;
  padding-left: 25px;
}

.site-footer .contact-item dd a {
  text-decoration: none;
}

.footer-widget {
  padding-bottom: 1rem;
}

.footer-widget .widget-title {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.footer-widget .widget-sub-title {
  margin-bottom: 1rem;
  font-size: 14px;
  color: #b8b8b8;
}

.footer-bottom {
  background: #0c121f;
}

.footer-bottom .copyright {
  padding: 10px 0;
  text-align: center;
  color: #999;
  font-size: 14px;
}

.site-footer .form-control {
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 0;
  border-top: none;
  border-right: none;
  border-left: none;
  color: #fff;
  background-color: transparent;
}

.btn-primary {
  color: #fff;
  background-color: #196ca2;
  border: 0.125rem solid #196ca2;
  color: #fff;
}

.social-icons-list {
  display: flex;
}

.social-icons-list li {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 5px;
  margin: 10px 10px 20px 0;
}

.social-icons-list li:hover {
  background: rgba(255, 255, 255, 1);
}

.social-icons-list .iconfont {
  font-size: 2rem;
}

@media screen and (max-width: 768px) {
  .footer-menu li {
    display: block;
    margin-right: 0;
  }

  .footer-menu a {
    display: block;
    margin-bottom: 10px;
  }
}

.wrap_thumb {
  width: 100%;
  position: relative;
  height: 0;
  overflow: hidden;
  padding-bottom: 100%;
  background: linear-gradient(to bottom, #f5f4f4, #e0e0e0);
  border-radius: 4px;
  position: relative;
}

.wrap_thumb .figure-title {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  font-size: 14px;
  line-height: 1.5;
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
  text-align: center;
}

/*使图片铺满上层容器*/
.wrap_thumb img {
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  object-fit: cover;
  transition: transform 0.3s ease;
  border-radius: 4px;
}

/* 鼠标悬停时图片放大 */
.wrap_thumb img:hover {
  transform: scale(1.1);
}

.gray-bg {
  padding-top: 1rem;
  background: #f8f8f8;
  border-bottom: 1px solid #ddd;
}

.category a,
.breadcrumb-item a {
  text-decoration: none;
}

.breadcrumb-item + .breadcrumb-item::before,
.breadcrumb-item.active {
  color: rgba(255, 255, 255, 0.6);
}

.search-form-container .btn {
  border-color: #196ca2;
}

.jumbotron .form-control,
.jumbotron .custom-select,
.jumbotron .input-group-text {
  border-color: #196ca2;
}

.jumbotron .search-form-container .btn {
  border-color: #fff;
}

.search-form-container .btn:hover {
  border-color: #61add7;
  background-color: #61add7;
  color: #fff;
}

/* jumbotron */
.jumbotron {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem 0 1.5rem 0;
  margin-bottom: 1rem;
  background-color: rgb(25, 108, 162);
  /* background-image: url('../images/bearing.png'); */
  color: #fff;
}

.jumbotron .jumbotron-title,
.jumbotron h1 {
  margin-bottom: 0;
  font-size: 2rem;
  line-height: 1;
}

.jumbotron .jumbotron-desc {
  font-size: 1.2rem;
  line-height: 1.5;
  margin: 10px 0 0 0;
  color: #fff;
}

.jumbotron .breadcrumb {
  background-color: transparent;
  margin-top: 1rem;
  margin-bottom: 0;
  padding: 0;
}

.jumbotron .breadcrumb .icon-bearing {
  margin-right: 5px;
}

.jumbotron .breadcrumb a {
  color: rgba(255, 255, 255, 0.8);
}

.jumbotron .breadcrumb a:hover {
  color: rgba(255, 255, 255, 1);
}

.product-params {
  font-family: 'Roboto Mono';
}

.section-title {
  position: relative;
  padding: 2rem 0 0 0;
  text-align: center;
  font-size: 32px;
  font-weight: bold;
  text-transform: uppercase;
}

.section-desc {
  text-align: center;
  font-size: 18px;
  padding-bottom: 2rem;
  color: #777;
}
.section-desc.left {
  font-size: 18px;
  padding-bottom: 2rem;
  color: #777;
  text-align: left;
}
.more-link {
  font: 1rem autonomous, sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 2px;
  color: #333;
}

.section-title .more-link {
  position: absolute;
  right: 0;
  top: 50%;
}

.category-card {
  padding: 10px;
  border-top: 1px solid #f5f5f5;
  box-shadow: 0 1px 1px 0 rgba(60, 64, 67, 0.3);
  /* transition: transform 0.3s ease; */
  position: relative;
}


.category-card h3 a  {
  padding-top: 10px;
  line-height: 1.5;
  color: #196ca2;
  font: 24px 'Oswald', sans-serif;
}
.category-card .category-title a {
  padding-top: 10px;
  line-height: 1.5;
  color: #196ca2;
  font: 16px Nunito Sans, arial, sans-serif;
}
.category-card .category-desc {
  margin-bottom: 10px;
  color: #777;
}
.category-card .btn-group {
  position: absolute;
  right: 15px;
  top: 15px;
}
.common-card {
  padding: 10px;
  border-top: 1px solid #f5f5f5;
  box-shadow: 0 1px 1px 0 rgba(60, 64, 67, 0.3);
  margin-bottom: 1rem;
}
/* a.btn-primary:hover {
  color: #fff;
} */
.btn-inquiry {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ed7902;
  color: #fff;
  border-color: #ed7902;
  box-shadow: 0 1px 1px 0 rgba(60, 64, 67, 0.3);
  padding: 0.5rem 0.4rem;
}
.btn-inquiry .icon {
  margin-right: 5px;
}
.btn-inquiry:hover {
  background-color: #fc6620;
  color: #fff;
  border-color: #fc6620;
}

.subcategory-container {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.8%;
}

.subcategory-container .subcategory-item {
  width: 32.33%;
  margin-bottom: 1%;
  margin-left: 1%;
}
.search-form-container {
  display: flex;
  flex-direction: column;
}

.search-form-container .form-control-title,
.search-form-container .custom-select,
.search-form-container .form-control-count {
  width: 100%;
  margin-bottom: 10px;
}
.inline-search {

  margin-top: 1rem;
}


.sidebar-box {
  background-color: #f1f5f7;
  padding: 1rem 10px;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.sidebar-box-title {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  line-height: 1rem;
  text-transform: uppercase;
  color: #333;
  font-weight: bold;
}

.sidebar-box .search-form-container {
  margin: 10px 0 2rem 0;
}

.sidebar-box .search-form-container .btn {
  background-color: #196ca2;
  color: #fff;
}

.sidebar-box .business-list li {
  line-height: 2;
  font-weight: 500;
}
.products-container > section {
  margin-bottom: 1.5rem;
}
.modal-title {
  color: #333;
  font-family: 'Oswald';
}
@media screen and (max-width: 768px) {
  .pc {
    display: none;
  }
  .app {
    display: block;
  }
  img {
    max-width: 100% !important;
    height: auto;
  }
  .nav-item {
    font-size: 24px;
  }
  .site-header .navbar-nav {
    height: auto;
    background: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  .subcategory-container .subcategory-item {
    width: 100%;
  }
  .site-header .main-navbar {
    height: auto;
  }

  .site-header .nav-link {
    font-size: 24px;
  }
}

@media (max-width: 991px) {
  .navbar-nav > .nav-item {
    flex-direction: column;
    align-items: flex-start;
  }
  .dropdown .dropdown-toggle::after {
    display: none;
  }
  /* 隐藏移动端的下拉菜单浮层样式 */
  .navbar-nav .dropdown-menu {
    display: flex !important;
    flex-direction: column;
    position: static;
    float: none;
    border: none;
    box-shadow: none;
    background-color: transparent;
    padding-left: 15px;
  }

  /* 调整移动端下拉菜单链接样式 */
  .dropdown-item {
    padding: 0.25rem 0;
  }
  .navbar-nav .nav-item.active {
    background-color: transparent;
  }
  .navbar-nav .nav-item.active .nav-link,
  .dropdown-menu .menu-item.active .dropdown-item {
    color: rgb(25, 108, 162);
  }
}

#back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #0073aa;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  text-align: center;
  line-height: 60px;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.3s;
}

#back-to-top:hover {
  opacity: 1;
}

#back-to-top.hidden {
  display: none;
}
#back-to-top .icon-array-top {
  font-size: 2rem;
}
/* 基础样式 - 可根据主题调整 */
.social-share {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 0 0 20px 0;
}
.social-share a {
  text-decoration: none !important;
}
.social-share .icon {
  font-size: 1.6rem;
  color: #196ca2;
}
.social-share .social-share-text {
  font-size: 1.2rem;
}
.product-category-btn-search {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.product-category-btn-search .form-inline{
  display: flex;
  align-items: center;
}
.current-category-featured {
  /* width: 300px;
  height: 300px; */
  margin-bottom: 5px;
  border: 1px solid #dee2e6;
}

.current-category-about {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.current-category-about li {
  margin-bottom: 0.5rem;
  font-size: 1rem;
}
.current-category-images-buttons,
.current-product-images-buttons {
  display: flex;
  gap: 10px;
}

.current-category-images-button,
.current-product-images-button {
  cursor: pointer;
  border: 2px solid transparent;
}

.current-category-images-button img,
.current-product-images-button img {
  width: 60px;
}

.current-category-images-button.active,
.current-product-images-button.active {
  border-color: #0073aa;
}
.video-container video,video {
  max-width: 100%;
}