@charset "UTF-8";
@import "main.css";
@import "diy.css";
/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 1.0.0
*/
.context-product-wrapper {
    margin-bottom: 10px;
}

.context-product-cat {
    max-height: 400px;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.context-product-cat.expanded {
    max-height: none;
}

.context-product-cat ul {
    margin-left: 14px;
}

.context-product-cat li {
    margin: 6px 0;
}

.context-product-cat .active > a {
    font-weight: bold;
    color: #01a7a3;
}

.context-product-cat .cat-count {
    font-size: 12px;
    color: #999;
    margin-left: 4px;
}

.context-cat-toggle {
    display: inline-block;
    margin-top: 10px;
    cursor: pointer;
    font-size: 14px;
    color: #0073aa;
}

.context-cat-toggle:hover {
    text-decoration: underline;
}

.context-product-cat li {
    margin-bottom: 7px;
    margin-left: 0 !important;
}


.product-small .afrfqbt {
    display: none;
}





/*产品详情*/
.yith_ywraq_add_item_response_message {
    display: none !important;
}


/* 整行横向排列 */
.add-to-cart-container .cart {
    display: flex;
    align-items: center;
    gap: 12px; /* 项目间距，可调整 */
}

@media (max-width: 549px) {
    
    
    .seopress-breadcrumb .breadcrumb li {
    margin-left: 0;
    padding: 5px 0;
}

    .add-to-cart-container .cart {
        display: flex !important;
        align-items: auto !important;
        gap: 12px; /* 项目间距，可调整 */
    }
    
    .single_add_to_cart_button.button.alt, .add-request-quote-button.button {
    margin: 0 !important;
    width: 100%;
}

}

/* 统一按钮大小 */

.single_add_to_cart_button.button.alt{
    padding: 12px 20px;
    min-width: 140px; /* 按钮统一宽度，可调整 */
    text-align: center;
    box-sizing: border-box;
}





.woocommerce ul.products li.product a.add-request-quote-button.button, .wp-block-post.product a.add-request-quote-button.button, a.add-request-quote-button.button {
    font-size: 1em;
    display: inline-block;
    text-align: center;
    word-break: break-word;
    padding: 1rem 2rem;
    margin-top: 0;
    text-decoration: none;
    margin: 0;
    cursor: pointer;
}
.single_add_to_cart_button.button.alt, .add-request-quote-button.button {
    padding: 7px 9px !important;
    height: 50px !important;
    min-width: 200px;
    border-radius: 5px;
    line-height: 34px;
    text-align: center;
    color: #fff;
}



.add-to-cart-container .cart {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
}


.custom-product-tabs {
    max-width: 1200px;
    margin: 0 auto;
}


/*顶部*/



.breadcrumb-item:first-child a span[itemprop="name"] {
    font-size: 0; /* 隐藏文字 */
}

.breadcrumb-item:first-child a span[itemprop="name"]::before {
content: "\f015";
font-family: "Font Awesome 6 Free";
font-weight: 900;
    font-size: 14px; /* 图标大小可调 */
}




.addify-quote-form__contents td {

    vertical-align: baseline !important;

}


.afrq-menu-item:before{
    display: none;
}

.quote-li .afrq-menu-item .totalitems {
    width: auto;
    white-space: nowrap;
    padding-left: 0px !important;
    background: #ff3e3e;
    width: 17px;
    line-height: 17px;
    height: 17px;
    border-radius: 17px;
    top: 2px;
    margin: -31px 0 0 0;
    font-size: 10px;
     box-shadow: 1px 1px 3px 0 rgba(0, 0, 0, .3);
      opacity: 1;
       font-weight: bolder;
       text-align: center;
}
.addify-quote-form.template_two .adf-quote-detail-wrap {
    width: 58% !important;
    overflow-x: auto;
}

.page-id-1879 .addify-quote-form__contents td {
 line-height: 0px !important;
}

.afrfq-popup-form-step[data-active="true"] .afrfq-popup-form-step-label {
    background: var(--fs-color-primary);

}

.addify-quote-form__contents th {
    line-height: 1.5 !important;
}


.afrfq-popup-form-step-label {
    width: 35px;
    height: 35px;
    border-radius: 30px;
    background: #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    color: #fff;
}

table.addify-quote-form__contents td.offered-price .offered-price-input {
    padding: 0.326em;
    width: 4.706325903em;
    width: 75px !important;
    padding: 6px 0 6px 4px !important;
    line-height: 1.618 !important;
    vertical-align: -webkit-baseline-middle;
    border: 1px solid #57575733;
    font-size: 14px !important;
}

.addify-quote-form__contents.template-two th {
    color: #494f68 !important;
    vertical-align: top !important;
}

#wide-nav #quote-li-icon{
    display: none;
}



/* =========================================
   图标样式（全部白色 SVG 如果你已经是白色SVG）
========================================= */
header .icon-user,
header .dashicons-cart,
header .icon-shopping-cart {
    width: 32px;
    height: 32px;
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}


header .icon-user:before {
    display: none;
}

/* =========================================
   3 个 SVG 图标绑定（直接图像）
========================================= */
header .icon-user {
    background-image: url('img/icon-user.svg');
}

header .dashicons-cart {
    background-image: url('img/icon-cart2.svg');
}

header .icon-shopping-cart {
    background-image: url('img/icon-cart.svg');
}

/* 移除多余的 :before 伪元素 */
header .icon-shopping-cart:before,
header .dashicons-cart:before {
    display: none !important;
    content: none !important;
}

/* =========================================
   统一两个徽章 (气泡提示数字)
========================================= */
[data-icon-label]:after{
    background: #ff3e3e;
}
.raq-tip-counter .raq-items-number {
    background: #ff3e3e;
    color: #fff;
    font-size: 10px;
    line-height: 16px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 999px;
    text-align: center;
    font-weight: bold;
    display: inline-block;
    position: absolute;
    top: 2px;
    right: 1px;
    z-index: 99;
}

@media (min-width: 769px) {
    .widget_ywraq_mini_list_quote:hover .yith-ywraq-list-content {
        top: 0;
        opacity: 1;
        visibility: visible;
        z-index: 10;
    }
}


.account-link {
    display: inline-flex !important;
    flex-direction: row !important; /* 图标在前，文字在后 */
    align-items: center;
    gap: 6px;  /* 图标与文字间距，可调整 */
}

/* 让图标排在第一个 */
.account-link i.icon-user {
    order: 0 !important;
}

/* 让 admin 文本排在第二个 */
.account-link .header-account-title {
    order: 1 !important;
}


/* 给未登录按钮添加统一图标 */
.nav-top-not-logged-in {
    position: relative;
    padding-left: 26px; /* 给图标预留位置，可调整 */
}

/* 通过伪元素添加用户图标 */
.nav-top-not-logged-in::before {
    content: "";
    position: absolute;
    left: -28px;
    top: 50%;
    width: 32px;
    height: 32px;
    transform: translateY(-50%);
    background-size: contain;
    background-repeat: no-repeat;
    background-image: url('img/icon-user.svg'); /* 你自己的用户图标 */
}

header .button, 
header .dark .button.is-form,
header input[type=button],
header input[type=reset],
header input[type=submit] {

border: none;
}


header .button:hover, 
header .dark .button.is-form:hover,
header input[type=button]:hover,
header input[type=reset]:hover,
header input[type=submit]:hover {
    box-shadow: none;
    color: #fff;
    opacity: 1;
    outline: none;
}







.wide-nav a{
    text-transform: uppercase;
    letter-spacing:1px
}




.widget_ywraq_mini_list_quote .raq-info {
    display: block;
    margin: 0 !important;
    padding: 0 !important;
    color: #fff;
    font-size: 16px;
    border: none;
    cursor: pointer;
}



.header-shadow .header-wrapper, .header-wrapper.stuck, .layout-shadow #wrapper {
    box-shadow: 1px 1px 0px rgba(0, 0, 0, .1);
}

#wide-nav .flex-center {
    margin: initial;
}

#wide-nav .nav-box>li.active>a,
#wide-nav .nav-pills>li.active>a {
    background-color:transparent;
     color: #01a7a3;
    opacity: 1;
}
#wide-nav .nav-column>li>a,
#wide-nav .nav-dropdown>li>a {
    display: block;
    font-weight: bold;
    font-size: 13px;
    color: #183558 !important;
}
#wide-nav .nav-column>li>a:hover, #wide-nav .nav-dropdown>li>a:hover {
    background: transparent;
    color: rgb(0, 136, 204) !important;
}

#wide-nav .nav>li>a {
    border-top: 10px solid #fff;
    padding: 0px 5px 10px 5px !important;
    color: #183558;
     letter-spacing:1px;
    font-weight: bold;
}
#wide-nav .nav>li:hover>a{
    color: #fff;
    background: gray !important;

}

#wide-nav a{
    text-transform:uppercase;
}
input[type=search]{
    font-style:italic;
}
input[type=search]{
    height: 3.507em;
     border-radius: 5px 0 0 5px !important;
}
.submit-button i{
    color: #000;
}
.submit-button{
    width: 3.507em;
     height: 3.507em;
     background: #E5E5E5;
     border-radius: 0 5px 5px 0px !important;
     border: none;
}
/*页面表格 */
.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;

}


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

/*底部叠加图片*/
.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;
}



/*======================文章分类=======================*/
/*文章分类-文章项*/
.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: 30px !important;    
    
  }
  #top-bar{
      display: none;
  }
}

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

/*按钮-表单-圆角*/
.button,
#submit,
.ff-default .ff_btn_style {
  border-radius: px !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;
}


.afrfqbt_single_page {
     background-color: var(--primary-color) !important;
 }

.wpc-posts-found{
    display: none;
}
.widget_wpc_filters_widget{
    border: 1px solid #eee;
    padding: 20px;
}

.wpc-filter-title{
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    margin-top: 30px;
}

/* 关闭状态：加号 */
.wpc-filter-title .wpc-open-icon {
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    border: none !important;
    background: none !important;
    box-shadow: none !important;
    transform: none !important;
    position: static !important;
}
.wpc-filter-title .wpc-open-icon::before {
    content: "+";
    display: inline-block;
    font-weight: 700;
    font-size: 14px;
    line-height: 1;
}
/* 如果主题有 ::after，隐藏它 */
.wpc-filter-title .wpc-open-icon::after {
    display: none !important;
    content: none !important;
}

/* 展开状态：减号 */
.wpc-filter-section.wpc-opened .wpc-open-icon::before,
.wpc-filter-collapsible .wpc-opened .wpc-open-icon::before {
    content: "-";
}
/* 默认/关闭状态：加号 */
.wpc-filter-title .wpc-open-icon::before {
    content: "+";
    display: inline-block;
    font-weight: 700;
    font-size: 14px;
    line-height: 1;
}
/* 展开状态：减号（section 带 wpc-opened 时生效） */
.wpc-filters-section.wpc-opened .wpc-open-icon::before {
    content: "-";
}
/* 确保旧箭头隐藏 */
.wpc-filter-title .wpc-open-icon::after {
    content: none !important;
    display: none !important;
}

.star-rating span, .star-rating span:before {
    color: indianred;
}