/*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: #333;
  text-decoration: none;
  font-family: 'autonomous';
}

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

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

img {
  max-width: 100%;
}
h1{
  font-size: 2rem;
}
h2{
  font-size: 1.5rem;
  font-weight: 300;
}
h3{
  font-size: 1.2rem;
  font-weight: 300;
}

ul {
  list-style: none;
}
.app {
  display: none;
}
.pc {
  display: block;
}

.ellipsis {
  display: -webkit-box;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.btn-primary {
  color: #fff;
    border: solid 1px #e64545;
    background-color: #e64545
}
.btn-primary:hover {
  color: #fff;
    border: solid 1px #d92121;
    background-color: #d92121
}
.text-primary{
  color: #1E4290 !important;
}
.bg-top{
  background-color:#222;
  color:#fff;
}
@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;
}


/* header */
.site-header {
  padding: 0 0;
  box-shadow: 0px 3px 5px -3px rgba(0, 0, 0, 0.12);
  /* background: #1d2a57; */
  color:#fff
}
.site-header a{
  text-decoration: none;
}
.site-header a:hover {
  text-decoration: none;
}
.top-header {
  position: fixed;
  z-index: 1000;
  width: 100%;
  height: 50px;
  display: flex;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  justify-content: space-between;
  background: #222;
}
.site-menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 50px;
}
.top-header .container{
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.site-header .main-navbar {
  position: relative;
  height: 50px;
}
.site-header .navbar-nav {
  height: 50px;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  font-size: 1.1rem;
  font-weight: 200;
}

.header-search{
  flex: 1;
}
/* top search */
.search-container {
  display: flex;
  justify-content: center;
  width: 33%;
}

.search-container .form-inline,.search-container .form-inline .input-group{
  width: 100%;
}
.search-container .form-control {
  height: 36px !important;
  border-color: #222;
  border-radius: 100px;
}

.search-container .btn {
  height: 36px;
  background-color: #fff;
  color: #e81312;
  margin-left: -2px;
  border-color: #222;
  border-top-right-radius: 100px;
  border-bottom-right-radius: 100px;
}
.site-brand h1 {
  margin: 0;
}
.site-brand .logo {
  height: 70px;
  margin-right: 3rem;
  padding: 10px 0;
}
/* socials-language */
.top-header .socials-language{
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-header .social-links a{
  display: inline-block;
  margin-right: 5px;
  color:#fff;
  
}
.top-header .flag-current,.top-header .flag-option {
  width: 20px;
  height: 15px;
  vertical-align: middle;
}

.header-main .container{
  display: flex;
  align-items: center;
  padding: 1rem 0;
}
.navbar-brand {
  display: flex;
  font-size: 36px;
  font-weight: bold;
  /* color: #fff; */
  align-items: center;
}
.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;
}


.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;
}
/* site menu */

.product-category{
  width: 20%;
  font-size: 1.2rem;

}
.menu-trigger {
  cursor: pointer;
}

#side-menu.active {
  left: 0;
}
#side-menu {
  position: fixed;
  left: -360px;
  top: 0;
  width: 360px;
  height: 100vh;
  background: #fff;
  transition: all 0.3s ease;
  z-index: 1000;
  box-shadow: 6px 0 19px -2px rgba(0, 0, 0, 0.1);
}
.side-menu-header{
  position: relative;
  padding-left: 1rem;
  padding-top: 5px;
  height: 50px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.side-menu-header .times{
  position: absolute;
  right:10px;
  top:0px;
  font-size: 2rem;
  font-weight: 200;
  cursor: pointer;
}
.side-menu-header .logo{
  height: 40px;
  width: auto;
}
.menu-list {
  padding-top: 0.5rem;
  margin: 0;
  list-style: none;
}
/* .menu-list li {
  border-bottom: solid 1px #e5e4e9;
} */
.menu-item {
  padding: 0.3rem 1rem;
  line-height: 1.8rem;
  color: #1d2a57;
  font-weight: 500;
  font-size: 1.1rem;
}
.menu-list img{
  width: 50px;
  height: 50px;
}
.menu-list .arrow {
  float: right;
  cursor: pointer;
  transition: transform 0.3s;
}
.menu-list .arrow.active {
  transform: rotate(180deg);
}
.sub-menu {
  display: none;
  /* padding-left: 20px; */
  list-style: none;
  
}
.sub-menu .menu-item {
  border-bottom: none;
  font-size: 1rem;
  font-weight: 300;
}
.navbar {
  width: 80%;
  padding: 0 0;
}
/* 美化当前导航项 */
.navbar-nav .nav-item.active {
  /* background-color: #e81312; */
}

.navbar-nav .nav-item.active .nav-link {
  color: #e81312;
}
/* .main-navbar,
.navbar-nav {
  width: 80%;
  height: 60px;
} */

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

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

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



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

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







/* footer */
.site-footer {
  color: #fff;
  padding-top: 2.5rem;
  background: url('../images/footer-bg.svg') no-repeat right bottom #222;
}

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

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

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

.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: #dadada;
}


.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;
}



.social-icons-list,.wx-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;
}
.wx-list li{
  width: 160px;
  height: 160px;
  border-radius: 5px;
  margin-right: 10px
}
.social-icons-list li:hover {
  background: rgba(255, 255, 255, 1);
}

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

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

  .footer-menu a {
    display: block;
    margin-bottom: 10px;
  }
  .top-header .socials-language{
    display: none;
  }
  .search-container{
    width: 80%;
  }
}

.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: #043c6b;
}

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

.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;
  background-color: #1E4290;
  color: #fff;
  margin-bottom: 0;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

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

.jumbotron .jumbotron-desc {
  margin: 1rem 0 0 0;
  font-size: 1.2rem;
  line-height: 1.5;
  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;
  padding-bottom: 2rem;
  
}
.section-title h2{
  font-size: 2rem;
  font-weight: bold;
  text-transform: uppercase;
}
.section-title p {
  text-align: center;
  font-size: 18px;
  
  color: #777;
}

.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: 1px solid #ededed;
  /* transition: transform 0.3s ease; */
  position: relative;
  width: 100%;
}
.category-card:hover {
  border: 1px solid #d92121;
}
.category-card .icon-inquiry{
  font-size: 1.2rem;
  cursor: pointer;
  color:#e64545;
}
.category-card .icon-inquiry:hover{
  color:#d92121;
}
.category-card h3 a  {
  padding-top: 10px;
  line-height: 1.5;
  color: #043c6b;
  font: 24px 'Oswald', sans-serif;
}
.category-card .category-title a {
  padding-top: 10px;
  line-height: 1.5;
  color: #043c6b;
  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;
}

.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: #043c6b;
  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) {
  body{
    font-size: 24px;
  }
  div,p,a,section{
    font-size: 1rem;
  }
  .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: #e64545;
  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: #043c6b;
}
.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 {
  max-width: 100%;
  width: 100%;
  height: auto;
}


.flag-highlight {
  filter: none; /* 高亮，无滤镜 */
}

.language-switcher {
  margin: 0 10px;
}
/* 美化下拉菜单整体样式 */
.dropdown-menu {
  margin: 0 0;
  border-radius: 0;
  /* background-color: #ffffff; */
  background: rgba(255, 255, 255, 0.8);
  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; */
}
/* 美化下拉菜单项样式 */
.language-switcher  .dropdown-item,.language-switcher  .dropdown-item.text-light {
  color: #fff;
  padding: 0.5rem 0.5rem;
  transition: background-color 0.3s ease;
  background-color: #222;
}

/* 鼠标悬停菜单项样式 */
.language-switcher  .dropdown-item:hover {
  /* background-color: #043c6b; */
  color: #e81312;
  text-decoration: none;
}

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

.dropdown:hover .dropdown-toggle::after {
  transform: rotate(-180deg);
}
.language-switch-item {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  margin-right: 10px;
}
.language-switch-item img {
  width: 48px;
  height: 32px;
  margin-right: 5px;
}
.language-switcher .btn-outline-light{
  color:#222;
  /* border:none ; */
}

/*图片的外包装是个1:1的正方形的盒子，用padding-bottom调整比例*/
.wrap_thumb_75{width: 100%; position: relative; height: 0; overflow: hidden; padding-bottom: 75%; background: #efefef;}
/*使图片铺满上层容器*/
.wrap_thumb_75 img{display: block; position: absolute; width: 100%; height: 100%; top: 0; left: 0}



.page-intro-title {
  padding: 1.5rem 0;
  text-align: center;
}
.page-intro-content {
  padding-bottom: 1rem;
}
.page-intro-content p{
  margin-bottom: 1rem;
}
.auto-con {
  text-transform: none;
  font-size: 1.928571429em;
  text-align: center;
  border-bottom: 1px solid #b4975a;
  padding-bottom: 20px;
  position: relative;
  font-weight: 300;
}
.page-intro-title .auto-con:after {
  content: url(../images/brown-caret.png);
  position: absolute;
  width: 30px;
  left: -15px;
  bottom: -19px;
  margin-left: 50%;
}
.page-intro-title p{
  font-size: 0.9rem;
  margin-top: 1rem;
  font-weight: 200;
  color: #777;
}