@charset "UTF-8";
/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 1.0.1
*/

/**
 * ==================== 性能优化说明 ====================
 * 所有CSS文件已通过 functions/script-style.php 使用 wp_enqueue_style 并行加载
 * 原18个 @import 串行加载已优化为并行加载，性能提升5-10倍
 *
 * 加载的CSS文件列表：
 * - diy.css (基础样式)
 * - css/product.css (产品单页)
 * - css/page.css (单页面)
 * - css/single-archive.css (文章存档)
 * - css/single.css (文章单页)
 * - css/block-faq-list.css (折叠卡)
 * - css/plugin.css (插件)
 * - css/font-type.css (字体)
 * - css/header.css (头部)
 * - css/footer.css (底部)
 * - css/block-btn.css (按钮)
 * - css/clean-layout.css (布局/间距/填充/阴影)
 * - css/icon.css (图标)
 * - css/block-breadcrumb.css (面包屑)
 * - css/block-slider.css (轮播)
 * - css/block-lightbox.css (弹窗)
 * - css/block-tabs.css (切换卡)
 * - css/block-UX.css (UX编辑器，条件加载)
 * ===================================================
 */
 /*按钮位置修复*/
 .button i{
     display: inline-block;
 }
 
.product-small .box-text {
    position: relative;
    z-index: 1;
    overflow: hidden;
    transition: background 0s;
    background-color: transparent !important;
}

.product-small .box-text::before {
    content: "";
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background-color: var(--fs-color-primary);
    z-index: -1;
    transform: translateX(-101%);
    transition: transform 0.25s ease;
    will-change: transform;
}

.product-small .box-text a,
.product-small .box-text p,
.product-small .box-text span {
    transition: color 0.3s ease;
    position: relative;
    z-index: 2;
}

.product-small:hover .box-text::before {
    transform: translateX(0);
}

.product-small:hover .box-text a,
.product-small:hover .box-text p,
.product-small:hover .box-text span {
    color: #ffffff !important;
}

.product-small:hover .box-text {
    background-color: transparent !important;
}


  .product-small p {
      text-align: center;
  }
  
 .product-small p a{
     font-weight: bold;
     font-size: 16px;
 }
 
 
 


.product-thumbnails .is-nav-selected a, .product-thumbnails a:hover {
    border-color: rgba(0, 0, 0, .2);
    border: 2px solid var(--fs-color-primary);
    border-radius: 10px;
}
.product-thumbnails a{
    background: transparent;
}
.lightbox-content{
    border-radius: 20px;
}
.custom-product-page .flickity-viewport,
.custom-product-page .flickity-viewport img,
.custom-product-page .flickity-slider{
       border-radius: 10px;
      
}


.product-img-list-left .button.icon.circle,
.product-img-list-left .button.icon.round {
    padding-left: 0;
    padding-right: 0;
    COLOR: #ffffff;
    border: none;
    border-radius: 10px !important;
    background: var(--fs-color-primary) !important;
}




ul.product-tabs{
     display: none;
 }
 
 
.widget>ul>li+li, ul.menu>li+li{
    border: none;
}
 
 #shop-sidebar .widget .current-cat > a,
.shop-sidebar .widget .current-cat > a {
    color: var(--fs-color-primary) !important;
}

#shop-sidebar .widget-title,
.shop-sidebar .widget-title {
    display: inline-block;
    width: 100%;
    color: #fff;
    padding: 20px 20px;
    border-radius: 10px 10px 0 0;
    background: var(--fs-color-primary) !important;
}

#shop-sidebar .widget > ul,
.shop-sidebar .widget > ul {
    background: #fff;
}

#shop-sidebar .widget > ul > li > a,
.shop-sidebar .widget > ul > li > a,
#shop-sidebar .widget > ul > li ul li a,
.shop-sidebar .widget > ul > li ul li a {
    padding: 12px 20px;
    width: 100%;
}

#shop-sidebar .is-divider,
.shop-sidebar .is-divider {
    display: none;
}

#shop-sidebar .widget > ul > li > a,
.shop-sidebar .widget > ul > li > a {
    position: relative;
    display: flex;
    align-items: center;
    padding-left: 35px;
    transition: all 0.2s ease;
}

#shop-sidebar .widget > ul > li > a:before,
.shop-sidebar .widget > ul > li > a:before,
#shop-sidebar .widget > ul > li > a:after,
.shop-sidebar .widget > ul > li > a:after {
    content: "";
    position: absolute;
    left: 15px;
    width: 2px;
    height: 2px;
    background-color: #ccc;
    transform: translateY(0) rotate(0deg);
    transition: 
        height 0.25s ease, 
        width 0.25s ease,
        transform 0.2s ease 0.2s, 
        opacity 0.2s ease 0.2s,
        background-color 0.2s ease;
    transform-origin: center;
}

#shop-sidebar .widget > ul > li > a:after,
.shop-sidebar .widget > ul > li > a:after {
    opacity: 0;
}

#shop-sidebar .widget > ul > li:not(.active):hover > a,
.shop-sidebar .widget > ul > li:not(.active):hover > a {
    color: var(--fs-color-primary);
    padding-left: 42px;
}

#shop-sidebar .widget > ul > li:not(.active):hover > a:before,
.shop-sidebar .widget > ul > li:not(.active):hover > a:before {
    background-color: var(--fs-color-primary);
    width: 1.5px;
    height: 6px;
    transform: translateY(-2.2px) rotate(-45deg);
    opacity: 1;
}

#shop-sidebar .widget > ul > li:not(.active):hover > a:after,
.shop-sidebar .widget > ul > li:not(.active):hover > a:after {
    background-color: var(--fs-color-primary);
    width: 1.5px;
    height: 6px;
    transform: translateY(2.2px) rotate(45deg);
    opacity: 1;
}

#shop-sidebar .widget > ul > li.active > a,
.shop-sidebar .widget > ul > li.active > a {
    color: var(--fs-color-primary);
    padding-left: 42px;
    transition: none;
}

#shop-sidebar .widget > ul > li.active > a:before,
.shop-sidebar .widget > ul > li.active > a:before,
#shop-sidebar .widget > ul > li.active > a:after,
.shop-sidebar .widget > ul > li.active > a:after {
    background-color: var(--fs-color-primary);
    width: 1.5px;
    height: 6px;
    opacity: 1;
    transition: none;
}

#shop-sidebar .widget > ul > li.active > a:before,
.shop-sidebar .widget > ul > li.active > a:before {
    transform: translateY(-2.2px) rotate(-45deg);
}

#shop-sidebar .widget > ul > li.active > a:after,
.shop-sidebar .widget > ul > li.active > a:after {
    transform: translateY(2.2px) rotate(45deg);
}




  header .product-category *{
      transition: .25s;
  }
 header .product-category:hover h5{
     color: var(--fs-color-primary);
     margin-top: -2px;
 }




  /* ==========================================================================
产品详情
   ========================================================================== */
.single-product table {
    border-collapse: collapse; /* Collapses the border to make it look like a single, continuous line */
}

.single-product th, .single-product td {
    text-align: left;
    padding: 12px 15px !important;
    border-bottom: 1px dotted #ddd;
}

.single-product thead {
    background-color: #333; 
    color: #fff; 
}

.single-product tbody tr:nth-child(odd) {
    background-color: #ffffff; 
}
.single-product tbody tr:first-child *{
    color: #fff;
}
.single-product tbody tr:first-child {
    background-color: var(--fs-color-primary);
    color: #fff; 
}
.single-product tbody tr:first-child:hover {
    background-color:var(--fs-color-primary);
    color: #fff;
}

.single-product tbody tr:hover {
    background-color: #F5F5F5; 
}


@media (max-width: 549px) {
    table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

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


.stuck .header-main{
    background: #2D9B43 !important;
    .nav>li>a{
    color: #fff;

    }
    .nav>li.active>a{
        color: #fff;
    }
    .nav-line-bottom>li>a:before{
        background-color: #43c302
    }
    #logo img{
   
    /* 亮度设为0变为黑色，invert(1)将黑色反转为白色 */
    filter: brightness(0) invert(1);
    /* 兼容性 */
    -webkit-filter: brightness(0) invert(1);

    padding: 10px;
    transition: .3s;
    }
}


/*导航*/
.nav-line-bottom > li > a:before,
.nav-line-grow > li > a:before,
.nav-line > li > a:before {
    background-color: var(--fs-color-primary);
    content: "";
    height: 3px;
    left: 50%;
    opacity: 0;
    position: absolute;
    bottom: 0;
    transform: translateX(-50%);
    transition: all .3s ease-in-out;
    width: 0;
}

/* 仅针对非 active 的 li 触发 hover 效果 */
.nav-line-bottom > li:not(.active):hover > a:before,
.nav-line-grow > li:not(.active):hover > a:before,
.nav-line > li:not(.active):hover > a:before {
    opacity: 1;
    width: 100%;
   
}
.nav>li.active>a{
     color:  var(--fs-color-primary);
}
/* 已激活状态直接展开，无视 hover */
.nav-line-bottom > li.active > a:before,
.nav-line-grow > li.active > a:before,
.nav-line > li.active > a:before {
    opacity: 1;
    width: 100%;
}
  /* ==========================================================================
联系
   ========================================================================== */
 .page-contact-us .from-title{
     display: none;
 }
 
 .frm-fluent-form .choices[data-type*=select-multiple] .choices__input {
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    display: inline-block;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    padding: 6px 0;
    width: 100%;
    min-width: 5ch ! IMPORTANT;
}

 
 .frm-fluent-form .choices__list--multiple .choices__item {

    font-size: 12px !important;
    font-weight: 500;
    margin-top: 3px !important;
    margin-bottom: 1px !important;
    margin-right: 3px!important ;
    padding: 0px 8px!important ;

}

 
 /* ==========================================================================
面包屑
   ========================================================================== */
.breadcrumb-item + .breadcrumb-item::before {
    display: inline-block !important;
    content: "\ea6e" !important;
    font-family: "remixicon" !important;
    padding-right: 0.5rem;
    color: #6c757d;
    vertical-align: middle;
}

.breadcrumb-item + .breadcrumb-item {
    padding-left: 0.5rem;
}
.breadcrumb li::after{
    display: none;
}
 .breadcrumbs-dak{
    border-bottom: 1px solid #eee;
 }
 
  .breadcrumbs-dak a{
      color: var(--fs-color-primary);
  }
/* ==========================================================================
可持续
   ========================================================================== */
.sustainability .nav-line-bottom{
    border-bottom: 1px solid #eee;
}

.sustainability .nav>li {
    padding: 0 20px;
}

.sustainability .nav>li.active>a{
    color: var(--fs-color-primary) ;
}

@media only screen and (max-width: 48em) {
   .sustainability .nav > li > a{
       font-size: 12px;
    } 
    .sustainability .nav>li {
        padding: 0 10px;
    }
}
/* ==========================================================================
关于我们
   ========================================================================== */


@media only screen and (max-width: 48em) {
  .about-date .col-5 {
        width: 33.3333% !important;
        float: left !important;
        display: flex !important;
        flex-basis: 33.3333%;
        max-width: 33.3333%;
    } 
    .about-date .col-inner{
        padding: 15px !important;
    }
}


/*展会*/

@media (max-width: 549px) {
    .exhibition .grid-col{
    width: 50%;
    height: 140px !important;
    }
    .exhibition .row .large-12{
        margin-bottom: 0;
        padding-bottom :0;
    }
}


/*证书*/
.certificate .box-text{
    border-radius: 6px;
    box-shadow: 1px 3px 10px #0000002b;
}
@media (max-width: 549px) {
    .certificate .box-text,
    .certificate .box-text *{
        background: #fff !important;
        color: #000 !important;
        box-shadow:none;
        padding: 0 !important;
    }
    .certificate .box-text h3{
        color: var(--fs-color-primary) !important;
    }
}
@media (max-width: 549px) {
    .certificate .hover-slide,
    .certificate .hover-slide-in,
    .certificate .hover-zoom,
    .certificate .hover-zoom-in,
    .certificate .show-on-hover {
        opacity: 1;
    }
    .certificate .box-text{
        padding: 5px 10px !important;
      
        margin: 0 !important;
    max-width: 100% !important;
    }

}

/* 展会 */
.tabs-exhibition .nav .tab span{
  visibility:hidden;
  display:inline-block;
  width:0;
  height:0;
}

#tab-exhibition-1 a::after,
#tab-exhibition-2 a::after,
#tab-exhibition-3 a::after,
#tab-exhibition-4 a::after{
  content:"";
  display:inline-block;
  width:200px;           
  height:100px;
  margin-left:0;
  vertical-align:middle;
  background-size:contain;
  background-repeat:no-repeat;
  background-position:right;
}

@media (max-width: 549px) {
	

#tab-exhibition-1 a::after,
#tab-exhibition-2 a::after,
#tab-exhibition-3 a::after,
#tab-exhibition-4 a::after{
  width:70px;           
  height:30px;
}
}


/* 分别指定背景图 */
#tab-exhibition-1 a::after{ background-image:url('img/exhibition-1.webp'); }
#tab-exhibition-2 a::after{ background-image:url('img/exhibition-2.webp'); }
#tab-exhibition-3 a::after{ background-image:url('img/exhibition-3.webp'); }
#tab-exhibition-4 a::after{ background-image:url('img/exhibition-4.webp'); }

.exhibition-blog .box-text{
display: none;
}
