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

.star-rating span:before {
    color:#ffcd83 !important
  
}

#reviews-content-left {
    text-align: center;
    box-sizing: border-box;
    margin: auto;
    vertical-align: middle;
    border-radius: 2px 0 0 2px;
    width: 50%;
    flex-direction: column;
    margin: 0;
}




 .goods-cat-list{
     display: none;
 }
 .term-custom-table .goods-cat-list{
    display: block;
}
header .nav-left {
    justify-content: center;
}


.text-row-toggle-btn {
    margin-top: 10px;
    margin-bottom: 10px;
}


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





/* 表格外层支持横向滑动 */
.custom-product-tabs {
  width: 100%;
  overflow-x: auto;

  -webkit-overflow-scrolling: touch;
}

/* 表格主体 */
.custom-product-tabs table {
  width: 100%;
  min-width: 600px; /* 防止手机端被压缩 */
  border-collapse: collapse;
  background: #ffffff;
  border: 1px solid #eee;
  border-radius: 10px;
  overflow: hidden;
  font-size: 14px;
  color: #333;
    margin: 20px 0;
    box-shadow: 1px 2px 10px #eee;
}

/* 表头和单元格 */
.custom-product-tabs table th,
.custom-product-tabs table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid #f1f3f5;
  vertical-align: middle;
}

/* 表头样式 */
.custom-product-tabs table th {
  width: 32%;
  background: #f8f9fa;
  font-weight: 600;
  color: #222;
  white-space: nowrap;
}

/* 内容 */
.custom-product-tabs table td {
  background: #fff;
  color: #555;
}

/* 最后一行去掉边框 */
.custom-product-tabs table tr:last-child th,
.custom-product-tabs table tr:last-child td {
  border-bottom: none;
}

/* hover效果 */
.custom-product-tabs table tr:hover td,
.custom-product-tabs table tr:hover th {
  background: #fafafa;
  transition: background 0.25s ease;
}

/* 滚动条美化（可选） */
.custom-product-tabs::-webkit-scrollbar {
  height: 6px;
}

.custom-product-tabs::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.custom-product-tabs::-webkit-scrollbar-thumb {
  background: #cfd4da;
  border-radius: 10px;
}

.custom-product-tabs::-webkit-scrollbar-thumb:hover {
  background: #adb5bd;
}

/* 手机端优化 */
@media (max-width: 768px) {

  .custom-product-tabs table {
    font-size: 13px;
  }

  .custom-product-tabs table th,
  .custom-product-tabs table td {
    padding: 12px 14px;
  }

  .custom-product-tabs table th {
    width: 40%;
  }
}



