@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编辑器，条件加载)
 * ===================================================
 */
 

 


 .tax-product_tag #main, .tax-product_cat #wrapper, .post-type-archive-product #wrapper, .post-type-archive-product #main, .post-type-archive-product .shop-page-title, .tax-product_cat #main, .tax-product_cat .shop-page-title {
    background: #F8F5EF;
}


.filter-button {
    display: inline-block;
    margin-top: 2.5em;
    border: 1px solid #3b3b3b;
    padding: 10px 20px;
}


/* ==========================================================================
产品页面
   ========================================================================== */
.goods-info-text-border li{
    border-bottom:1px solid #999;
} 

.goods-right{
    /* 设置表单容器为 Flex 布局 */
    form.cart {
        display: flex;
        flex-direction: column;
    }
    
    /* 将包含按钮的提交部分顺序设为 -1，使其排在最前 */
    form.cart .single_add_to_cart_button,
    form.cart .ux-buy-now-button,
    form.cart .ux-quantity {
        order: -1;
    }
    
    /* 可选：调整按钮与下方选项之间的间距 */
    form.cart .ux-buy-now-button {
        margin-bottom: 20px; 
    }
    
    /* 确保数量选择器也排在前面（如果需要的话） */
    .goods-right-qty-label, 
    .ux-quantity {
        order: -2;
    }
}



/*对规格尺寸按钮颜色*/
.wapf-swatch--text.wapf-checked {
    border-color: #988968;
    background: #988968;
    color: #fff;
}


.woocommerce-Tabs-panel .row-full-width {
    max-width: fit-content ! IMPORTANT;
}
 
 
/* Table base style */
.woocommerce-Tabs-panel table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 12px;
  overflow: hidden;
  font-size: 14px;
}

/* Table cells */
.woocommerce-Tabs-panel table th,
.woocommerce-Tabs-panel table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #e0e0e0;
}

/* One color per row */
.woocommerce-Tabs-panel table tr:nth-child(odd) {
  background-color: #f5f5f5;
}

.woocommerce-Tabs-panel table tr:nth-child(even) {
  background-color: #ffffff;
}

/* Header cells */
.woocommerce-Tabs-panel table th {
  font-weight: 600;
  color: #333;
  width: 35%;
}

/* Remove last row border */
.woocommerce-Tabs-panel table tr:last-child th,
.woocommerce-Tabs-panel table tr:last-child td {
  border-bottom: none;
}

/* Rounded corners */
.woocommerce-Tabs-panel table tr:first-child th:first-child {
  border-top-left-radius: 12px;
}

.woocommerce-Tabs-panel table tr:first-child td:last-child {
  border-top-right-radius: 12px;
}

.woocommerce-Tabs-panel table tr:last-child th:first-child {
  border-bottom-left-radius: 12px;
}

.woocommerce-Tabs-panel table tr:last-child td:last-child {
  border-bottom-right-radius: 12px;
}

/*详情*/
/* 重置原生 radio */
.wapf-input[type="radio"] {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border: 2px solid #bbb;
    border-radius: 50%;
    position: relative;
    cursor: pointer;
    transition: all 0.25s ease;
    vertical-align: middle;
    margin-right: 1px;
}

.wapf input[type=checkbox], .wapf input[type=radio] {
    float: left;
    margin-top: 3px !important;
}

/* hover */
.wapf-input[type="radio"]:hover {
  border-color: #888;
}

/* 选中外圈 */
.wapf-input[type="radio"]:checked {
  border-color: #000;
}

/* 选中内点 */
.wapf-input[type="radio"]:checked::after {
  content: "";
  width: 8px;
  height: 8px;
  background: #000;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}


/*库存标准选择ui*/
.wapf-swatch-label{
    font-size: 11px;
}


.product-template-default .description_tab  a{
    font-size: 18px;
}




 
 .flatpickr-current-month .numInputWrapper {
    width: 6ch;
    width: 7ch\0;
    display: inline-block;
    top: -21px;
    left: 30px;
    width: 57px;
    background: #f3fafd;
    border-radius: 4px;
}



 /* Scope to your specific form ID to avoid breaking other modules */
#fluentform_4 button[type="submit"]:disabled {
    background-color: #a0a0a0 !important;
    border-color: #a0a0a0 !important;
    cursor: wait;
    opacity: 0.8;
}

#fluentform_4 button[type="submit"] {
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-weight: bold;
}


 
/* 1. 设置列容器为 Flex 布局，以便定位底部 */
.item-btn-list .col-inner {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}

/* 2. 让列表内容块自动撑开空间 */
/* 选中按钮上方的最后一个文本块（即包含 <ul> 的 div） */
.item-btn-list .col-inner > .text:nth-last-of-type(1) {
    flex-grow: 1 !important;
}

/* 3. 保护中间的 gradientbtn 不受 flex 影响 */
/* 确保它的宽度依然根据文字自适应，不会变成 100% */
.item-btn-list .col-inner > .button.gradientbtn {
    align-self: flex-start !important; /* 靠左对齐，不拉伸 */
    width: auto !important;            /* 宽度自适应内容 */
    display: inline-block !important;  /* 保持行内块属性 */
}

/* 4. 强制底部的 primary expand 按钮对齐 */
.item-btn-list .col-inner > .button.primary.expand {
    margin-top: 20px !important;
    width: 100% !important;           /* 保持底部主按钮满宽 */
}



  /* ==========================================================================
头部
   ========================================================================== */
 /*头部阴影改线条*/
 .header-shadow .header-wrapper, .header-wrapper.stuck, .layout-shadow #wrapper {
    box-shadow: 1px 1px 1px rgb(0 0 0 / 4%);
}

 header .nav-dropdown-bold .nav-column li>a,
 header .nav-dropdown.nav-dropdown-bold>li>a {
    border-radius: 0;
    margin: 0;
    padding-left: 20px;
    padding-right: 20px;
}

  /* ==========================================================================
UI通用细节
   ========================================================================== */

/*修复白色按钮偏大*/
 .white {
    border: none;
}

 /*按钮字体图标修复*/
 .button i{
     display: inline-block;
 }
 
 
 
 /* ==========================================================================
页面-品牌故事
   ========================================================================== */
   
   
   @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编辑器，条件加载)
 * ===================================================
 */
  /* ==========================================================================
头部
   ========================================================================== */
 /*头部阴影改线条*/
 .header-shadow .header-wrapper, .header-wrapper.stuck, .layout-shadow #wrapper {
    box-shadow: 1px 1px 1px rgb(0 0 0 / 4%);
}

 header .nav-dropdown-bold .nav-column li>a,
 header .nav-dropdown.nav-dropdown-bold>li>a {
    border-radius: 0;
    margin: 0;
    padding-left: 20px;
    padding-right: 20px;
}

  /* ==========================================================================
UI通用细节
   ========================================================================== */

/*修复白色按钮偏大*/
 .white {
    border: none;
}

 /*按钮字体图标修复*/
 .button i{
     display: inline-block;
 }
 
 
 
 /* ==========================================================================
页面-品牌故事
   ========================================================================== */
@media (max-width: 549px) {
    .sticky-section {
       
        height: auto !important;
        width: 100% !important;
        position: relative !important;
    }
}



.light-tabs .nav-vertical>li+li {
    border-top: 1px solid #ececec14;
}

@media (min-width: 850px) {
    .light-tabs .nav-vertical+.tab-panels {
        border-left: 1px solid #ececec14;
  
    }
}



.sticky-add-to-cart .goods-right-qty-label{
    display: none;
}

.sticky-add-to-cart .goods-right{
    display: none;
}