@charset "UTF-8";
@import "main.css";
/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/
@media (max-width: 549px) {
.stuck .header-main {
    height: 70px !important;
}
}
/* ===========================悬停模块============================ */
/* 默认隐藏 */
.year-container > .col[class*="-page"] {
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
    position: absolute;
    z-index: 999;
    pointer-events: none; /* 不挡鼠标 */
}

/* 前三往右 */
.year-container > .col[class*="-page"]:nth-child(-n+6) { /* 假设每年的 col 后面紧跟 page, 每年两个 col: year + year-page */
    transform: translateX(-50px);
}

/* 后三往左 */
.year-container > .col[class*="-page"]:nth-child(n+7) {
    transform: translateX(50px);
}

/* 激活显示 */
.year-container > .col[class*="-page"].active {
    opacity: 1;
    transform: translateX(0);
}










/* ==========================文章============================= */
hr {
    opacity: .6;
}
.entry-content {
    padding-bottom: 0em;
    padding-top: 0em;
}
.entry-header-text {
    padding: 0 !important;
}
.post-template-default .entry-title{
	font-size: 2em;
}
#at_posts_related{
	display:none;
}
.post-template-default .entry-meta{
	display:none;
}
.post-template-default .entry-divider{
	display:none;
}
.post-template-default .entry-title

/*====================产品页面===================*/
/* 固定 WooCommerce 产品详情页主图容器尺寸 */
.woocommerce-product-gallery__image,
.woocommerce-product-gallery__image img {
    width: 100%;
    height: 600px; /* 你可以改为你需要的高度 */
    background: #000; /* 填充黑色 */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* 图片填满，高度裁切 */
.woocommerce-product-gallery__image img {
    object-fit: contain; /* 保持比例，空白区域用背景色填 */
    background-color: #000;
}




.woocommerce-page .category-page-row {
    padding-top: 60px;
}
.shop-page-title{
	display:none;
}

.box-text .box-excerpt{
    margin-bottom: 0.5em;
    margin-top: 1em;
	color:rgb(107 114 128);
	    font-size: 14px;
}

.products-divider p{
	padding:20px 0px;
}
.products-divider {
    position: relative;
}

/* 原有的黑色线 */
.products-divider::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: rgba(0, 0, 0, .1);
}

/* 新增的蓝色线 */
.products-divider::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 90px;
    height: 2px;
    background-color: rgb(48, 95, 151);
    z-index: 1;
}



.related-products-wrapper .product-small .woocommerce-loop-product__title {
    font-size: 18px !important;
}

.related-products-wrapper .product-small .box-text {
    padding: 20px 0px !important;
}
.related-products-wrapper .product-small .box .box-image{
	    border-radius: 5px !important;
}
.related-products-wrapper .product-small .box-text {
	background:rgb(249, 250, 251)!important;
}

.related-products-wrapper .product-section-title{
	display:none !important;
}


.product-section {
    border-top: 0px solid #ececec;
}
.woocommerce-tabs .wc-tabs{
	display:none !important;
}
#tab-title-reviews{
	display:none !important;
}

.products .col-inner{
    border: 1px solid rgb(229 231 235);
    border-radius: 8px;
}
.products .product-small .box {
    border-radius: 8px!important;
}
.products-list .col-inner{
    border: 1px solid rgb(229 231 235);
    border-radius: 8px;
}
.products-list .product-small .box {
    border-radius: 8px!important;
}


/* 标题两行统一高度 */
.products-list .woocommerce-loop-product__title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

/* 文本区域结构稳定 */
.products-list .box-text {
    display: flex;
    flex-direction: column;
}






/*====================会展新闻====================*/
.blog-list .post-title{
	    font-size: 1.3em !important;
	    font-weight:600;
}
.blog-list .post-title a{
	margin-bottom: .3em;
	margin-top: .3em;
}
.blog-list .is-divider{
	display:none !important;
}
.blog-list .post-meta{
	font-size:14px;
}

.blog-list .post-item .col-inner{
    box-shadow: 0 4px 12px rgb(0 0 0 / 13%);
    border-radius: 6px;
    
}
.blog-list .post-item .col-inner .box-text {
    padding: 26px 30px;
    background: #fff;
    border-radius: 0px 0px 6px 6px;
}
.blog-list .post-item .col-inner .box-image{
    border-radius: 6px 6px 0px 0px;
}



/*=====================首页==================*/
.home-slider .flickity-page-dots .dot {
    border: 1px solid #bb271a;
    height: 18px;
    width: 18px;
    margin: 0 14px;
    background-color: #000000;
}
.flickity-page-dots .dot.is-selected {
    background-color: #bb271a !important;
    opacity: 1 !important;
}
.flickity-page-dots {
	bottom: 46px;
}



.text-b0 h2,p{
    margin-bottom: 0em;
}
.btn-more:hover{
    color: #c30d23!important;
}




/*===========================banner====================*/

/* 叠加遮罩纹理 */
.home-banner-black .banner-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('/wp-content/uploads/2025/11/index_banner_mask1.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.5;
    pointer-events: none; /* ✅ 不阻挡点击 */
    z-index: 1; /* ✅ 在 overlay 上层 or 看下说明选择对的位置 */
}
.home-banner-black .banner-layers{
    z-index: 99;
}

/*==================导航==================*/
@media (min-width:1441px){
/* 	.stuck .header-main {
    height: 112px !important;
} */
   .header-nav-main .nav-dropdown {
    margin: 12px 0px 0px -26px !important;
    text-align: center !important;
    min-width: 218px !important;
}
}
@media (max-width:1440px){
	.header-main {
    height: 80px!important
}
	.header-nav li a{
		font-size:16px !important;
	}
	.header-nav-main .nav-dropdown {
	 margin: 16px 0px 0px -50px !important;
	text-align: center !important;
   min-width: 218px !important;
}
}

.stuck.header-nav-main .nav-dropdown{
	margin: 18px 0px 0px -26px !important;
}


.nav-sidebar{
	align-items: flex-start;
}

.nav-sidebar.nav-vertical>li+li {
    border-top: 0px solid #ececec;
}


.nav-dropdown li:hover a {
	color: #c30d23!important;
}

.nav-spacing-xlarge>li {
    margin: 0 22px;
}
.header{
    background: rgba(0, 0, 0, .5);
}
.header-nav-main li a{
    color:#ffffff!important;
    font-size: 22px;
}
.header-nav-main > li:hover > a {
    color: #c30d23!important;
}



/* 确保父容器是flex，且子项不换行 */
.header-nav-main.nav {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
}

/* 确保所有的li都在同一行 */
.header-nav-main.nav > li {
    flex-shrink: 0; /* 防止被压缩 */
    white-space: nowrap;
}
.header-block {
    max-width: 170px !important; /* 根据图标数量调整 */
    width: auto !important;

}



.header-block{
    margin-left: 30px!important;
}
.header-block .img {
    width: 30px !important;
    height: auto;
}






/*页面表格 */
.page-template table {
  width: 100%;
  border-collapse: collapse; /* 合并边框 */
  margin: 20px 0;
  font-size: 16px;
  text-align: left;
}

.page-template table th,
.page-template table td {
  border: 1px solid #000; /* 黑色边框 */
  padding: 20px;

}

table th {
  font-weight: bold;
  text-align: center;
}




/*产品详情页隐藏切换卡*/
li.description_tab {
    /*display: none !important;*/
}

/* 轮播图片底部点点 */
/* .flickity-page-dots {
	bottom: -40px;
} */

/*底部叠加图片*/
.footer-img {
  position: relative;
  overflow: hidden;
}

.footer-img::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: url(img/map.svg) no-repeat center center;
    background-size: contain;
    pointer-events: none;
    z-index: 1;
    opacity: .1;
}


/*切换卡图片*/

.icon-tabs-1 .nav li.tab:nth-child(1) a::before {
  content: "\f4d8";
  display: contents;
}

.icon-tabs-1 .nav li.tab:nth-child(2) a::before {
  content: "\f0a3"; 
  display: contents;
}

.icon-tabs-1 .nav li.tab:nth-child(3) a::before {
  content: "\e596"; 
  display: contents;
}

.icon-tabs-1 .nav li.tab:nth-child(4) a::before {
  content: "\f5d2"; 
  display: contents;
}

.icon-tabs-1 .nav li.tab:nth-child(5) a::before {
  content: "\e4f3"; 
  display: contents;
}



/*字体渐变*/

.h1-color-1 * {
  background-image: linear-gradient(to right, #fbb5d3 0%, #ffeaea 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.h1-color-2 * {
    background-image: linear-gradient(to right, #9ab1ed 0%, #d1c3ed 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}


.h1-color-3 * {
  background-image: linear-gradient(to right, #ecad48 0%, #f0e8dc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}


/*块背景圆角*/
.bg-r50 .section-bg{
    border-radius: 0 100px 0 0;
}
/*======================文章分类=======================*/
/*文章分类-文章项*/
.archive .post-item .box{
    box-shadow: 0 1px 2px rgba(0, 0, 0, .2);
}

.archive .post-item .box .box-text{
    padding: 10px
}

/*======================头部=======================*/

/*logo宽度*/
@media (max-width: 549px) {
  #logo img {
    /*max-height: 24px !important;    */
  }
}

/*======================表单=======================*/

/*按钮-表单-圆角*/
/* .button,
#submit,
.ff-default .ff_btn_style {
  border-radius: 99px !important;
} */
.ff-default .ff_btn_style {
    padding: 0;
    margin-bottom: 0;
}

/*======================字体版式=======================*/

/* 字体修改 */
body,h5, h6, .heading-font, .off-canvas-center .nav-sidebar.nav-vertical > li > a,.nav > li > a{

}

/* 标题字体修改 */
h1, h2, h3, h4,.fs{
   
}


h1, h2, h3, h4, h5, h6, .heading-font, .banner h1, .banner h2 {
    font-style: normal;
}



/*无缝滚动logo*/
.logo-list img {
   max-width: 140px
}
.logo-list .swiper-wrapper{
    height: 140px;
 }

.swiper-wrapper {
         -webkit-transition-timing-function: linear;
         -moz-transition-timing-function: linear;
         -ms-transition-timing-function: linear;
         -o-transition-timing-function: linear;
         transition-timing-function: linear;
}