@charset "UTF-8";
/*
Theme Name: flatsome Child
Description: This is a child theme for flatsome Theme
Author: dak
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编辑器，条件加载)
 * ===================================================
 */
 
 
 
 
 .goods-info .price-wrapper .price {
    display: block;
    margin-bottom: 0;
}


/* 产品评价数量：只显示数字 */
.woocommerce-review-link {
    font-size: 0;
}

.woocommerce-review-link .count {
    font-size: 14px;
    font-weight: 600;
    color: inherit;
}

.woocommerce-review-link::before {
    content: "(";
    font-size: 14px;
}

.woocommerce-review-link::after {
    content: ")";
    font-size: 14px;
}

 
   
/*
 * Technical Parameters Table
 * Theme color: #D64D45
 * Table only - no panel changes
 */

.style-dak-table {
    --dak-table-primary: #D64D45;
    --dak-table-border: rgba(214, 77, 69, 0.18);
    --dak-table-light: rgba(214, 77, 69, 0.045);
    --dak-table-text: #30323d;
}

/* 只给表格所在区域增加横向滚动 */
.style-dak-table
.section-content > .row + .row
.text {
    width: 100%;
    max-width: 100%;

    overflow-x: auto;
    overflow-y: hidden;

    padding-bottom: 6px;

    -webkit-overflow-scrolling: touch;
    overscroll-behavior-inline: contain;

    scrollbar-width: thin;
    scrollbar-color:
        var(--dak-table-primary)
        rgba(214, 77, 69, 0.08);
}

.style-dak-table
.section-content > .row + .row
.text::-webkit-scrollbar {
    height: 6px;
}

.style-dak-table
.section-content > .row + .row
.text::-webkit-scrollbar-track {
    border-radius: 20px;
    background: rgba(214, 77, 69, 0.08);
}

.style-dak-table
.section-content > .row + .row
.text::-webkit-scrollbar-thumb {
    border-radius: 20px;
    background: var(--dak-table-primary);
}

/* 表格本体 */
.style-dak-table table {
    width: 100%;
    min-width: 720px;

    margin: 0;

    border: 1px solid var(--dak-table-primary);
    border-collapse: separate !important;
    border-spacing: 0;

    border-radius: 12px;
    overflow: hidden;

    background: #ffffff;
}

/* 所有单元格边框 */
.style-dak-table table td {
    padding: 16px 20px;

    border: 1px solid var(--dak-table-border);

    background: #ffffff;
    color: var(--dak-table-text) !important;

    font-size: 14px;
    line-height: 1.6;
    text-align: left;
    vertical-align: middle;

    word-break: normal;
    overflow-wrap: anywhere;

    transition:
        background-color .22s ease,
        color .22s ease;
}

/* 第一列 */
.style-dak-table table td:first-child {
    width: 220px;

    background: rgba(214, 77, 69, 0.08);
    color: var(--dak-table-primary) !important;

    font-weight: 700;
}

/* 隔行背景 */
.style-dak-table table tr:nth-child(even) td:not(:first-child) {
    background: rgba(214, 77, 69, 0.025);
}

/* 鼠标经过 */
.style-dak-table table tr:hover td {
    background: rgba(214, 77, 69, 0.08);
}

.style-dak-table table tr:hover td:first-child {
    background: var(--dak-table-primary);
    color: #ffffff !important;
}

/* 覆盖原来文字模块中的白色字体 */
.style-dak-table table,
.style-dak-table table tbody,
.style-dak-table table tr,
.style-dak-table table td {
    color: var(--dak-table-text) !important;
}

/* 手机端横向滑动 */
@media (max-width: 549px) {
    .style-dak-table table {
        min-width: 680px;
    }

    .style-dak-table table td {
        padding: 13px 15px;

        font-size: 13px;
        line-height: 1.5;
    }

    .style-dak-table table td:first-child {
        position: sticky;
        left: 0;
        z-index: 2;

        width: 170px;

        box-shadow: 5px 0 12px rgba(214, 77, 69, 0.08);
    }
}

.style-dak-table td:first-child,
.style-dak-table th:first-child {
    padding-left: 20px;
}

/* 左上角 */
.style-dak-table table tr:first-child td:first-child {
    border-top-left-radius: 11px;
}

/* 右上角 */
.style-dak-table table tr:first-child td:last-child {
    border-top-right-radius: 11px;
}

/* 左下角 */
.style-dak-table table tr:last-child td:first-child {
    border-bottom-left-radius: 11px;
}

/* 右下角 */
.style-dak-table table tr:last-child td:last-child {
    border-bottom-right-radius: 11px;
}
 /* ==========================================================================
头部
   ========================================================================== */
 header .nav-left {
    justify-content: center;
}

/* 顶部左侧自定义 HTML 内容添加下划线 */
.nav-small.nav > li.html.custom.html_topbar_left,
.nav-small.nav > li.html.custom.html_topbar_left a,
.nav-small.nav > li.html.custom.html_topbar_left p,
.nav-small.nav > li.html.custom.html_topbar_left span {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

/* 悬浮效果 */
.nav-small.nav > li.html.custom.html_topbar_left a:hover {
    text-decoration-thickness: 1px;
}


/* 一级菜单全部大写 */
.header-nav-main > li > a.nav-top-link {
    text-transform: uppercase !important;
    letter-spacing: .08em;
    font-weight: 600;
}

/* 二级菜单保持原样 */
.header-nav-main .nav-dropdown a,
.header-nav-main .ux-menu-link__text,
.header-nav-main .header-title {
    text-transform: none !important;
}

/* ==========================================================================
   产品列表卡片 - Remix Icon + Add to Cart
   按钮贴近底部，并关闭 Tooltip 提示
   ========================================================================== */

/* 按钮区域贴近图片底部 */
.image-tools.grid-tools.bottom {
    left: 0 !important;
    right: 0 !important;
    bottom: 6px !important;
    width: 100% !important;
    padding: 0 10px !important;
    text-align: center !important;
    overflow: visible !important;
}

/* Add to Cart 链接 */
.image-tools.grid-tools .add-to-cart-grid {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: auto !important;
    max-width: calc(100% - 20px);
    margin: 0 auto !important;
    padding: 0 !important;
    background: transparent !important;
    overflow: visible !important;
}

/* 按钮主体 */
.image-tools.grid-tools .add-to-cart-grid .cart-icon {
    position: relative;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: auto !important;
    min-width: 138px !important;
    max-width: 100%;
    height: 36px !important;
    min-height: 36px !important;
    margin: 0 !important;
    padding: 0 16px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: var(--primary-color) !important;
    box-shadow: none !important;
    color: #fff !important;
    font-size: 0 !important;
    line-height: 1 !important;
    white-space: nowrap;
    overflow: hidden;
    transition:
        background-color 0.25s ease,
        opacity 0.25s ease;
}

/* 隐藏原生加号 */
.image-tools.grid-tools .add-to-cart-grid .cart-icon > strong {
    display: none !important;
}

/* Remix Icon */
.image-tools.grid-tools .add-to-cart-grid .cart-icon::before {
    content: "\f11f";
    display: inline-block;
    flex: 0 0 auto;
    font-family: "remixicon" !important;
    font-size: 16px !important;
    font-style: normal;
    font-weight: 400 !important;
    line-height: 1;
}

/* 按钮文字 */
.image-tools.grid-tools .add-to-cart-grid .cart-icon::after {
    content: "Add to Cart";
    display: inline-block;
    flex: 0 0 auto;
    color: #fff;
    font-size: 12px !important;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0;
    text-transform: none;
    white-space: nowrap;
}

/* Hover 只变深，不上移 */
.image-tools.grid-tools .add-to-cart-grid:hover .cart-icon {
    background: #222 !important;
    color: #fff !important;
    transform: none !important;
}

/* 关闭元素自带 Tooltip 伪元素 */
.image-tools.grid-tools .cart-icon.tooltip::before,
.image-tools.grid-tools .cart-icon.tooltip::after {
    visibility: visible;
}

/*
 * 上面的 ::before 和 ::after 已用于图标及文字，
 * 因此关闭 Flatsome tooltip 产生的额外提示层。
 */
.image-tools.grid-tools .cart-icon.tooltip {
    pointer-events: none;
}

.image-tools.grid-tools .add-to-cart-grid {
    pointer-events: auto;
}

/* Hover 此按钮时，隐藏 Tooltipster 提示框 */
body:has(.image-tools.grid-tools .add-to-cart-grid:hover)
.tooltipster-base {
    display: none !important;
}

/* 加载状态 */
.image-tools.grid-tools .add-to-cart-grid.loading .cart-icon {
    opacity: 0.65;
}

/* 已添加状态 */
.image-tools.grid-tools .add-to-cart-grid.added .cart-icon::after {
    content: "Added to Cart";
}

/* 平板及较窄产品卡片 */
@media (max-width: 849px) {
    .image-tools.grid-tools.bottom {
        bottom: 5px !important;
    }

    .image-tools.grid-tools .add-to-cart-grid .cart-icon {
        min-width: 128px !important;
        height: 34px !important;
        min-height: 34px !important;
        padding: 0 13px !important;
    }

    .image-tools.grid-tools .add-to-cart-grid .cart-icon::before {
        font-size: 15px !important;
    }

    .image-tools.grid-tools .add-to-cart-grid .cart-icon::after {
        font-size: 11px !important;
    }
}


/* ==========================================================================
   成人用品项目 - WooCommerce 排序下拉框
   扁平方形全边框样式
   ========================================================================== */

.woocommerce-ordering {
    position: relative;
    display: inline-block;
    margin: 0;
}

/* 排序下拉框 */
.woocommerce-ordering select.orderby {
    display: block;
    width: auto;
    min-width: 210px;
    height: 42px;
    margin: 0;
    padding: 0 42px 0 14px;
    border: 1px solid #d8d8d8;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: #333;
    font-size: 13px;
    font-weight: 400;
    line-height: 42px;
    cursor: pointer;
    outline: none;

    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;

    transition:
        border-color 0.25s ease,
        color 0.25s ease;
}

/* 下拉箭头 */
.woocommerce-ordering::after {
    content: "\ea4e";
    position: absolute;
    top: 50%;
    right: 14px;
    color: #777;
    font-family: "remixicon";
    font-size: 16px;
    line-height: 1;
    pointer-events: none;
    transform: translateY(-50%);
    transition: color 0.25s ease;
}

/* 悬浮 */
.woocommerce-ordering:hover select.orderby {
    border-color: #222;
}

.woocommerce-ordering:hover::after {
    color: #222;
}

/* 聚焦 */
.woocommerce-ordering select.orderby:focus {
    border-color: var(--primary-color);
    box-shadow: none;
}

/* 手机端 */
@media (max-width: 549px) {
    .woocommerce-ordering {
        width: 100%;
    }

    .woocommerce-ordering select.orderby {
        width: 100%;
        min-width: 0;
        height: 40px;
        font-size: 12px;
        line-height: 40px;
    }
}

/* ==========================================================================
   成人用品项目 - 桌面端顶部三个 Remix Icon 图标
   搜索 / 购物袋 / 用户
   去除圆形边框和背景
   ========================================================================== */

/* 图标按钮 */
.flex-col.hide-for-medium.flex-right
.header-nav-main
.header-button > a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 36px !important;
    min-width: 36px !important;
    height: 36px !important;
    min-height: 36px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: inherit;
}

/* 去除 Flatsome 圆形线框 */
.flex-col.hide-for-medium.flex-right
.header-nav-main
.header-button > a.circle,
.flex-col.hide-for-medium.flex-right
.header-nav-main
.header-button > a.is-outline {
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

/* 图标容器 */
.flex-col.hide-for-medium.flex-right
.header-nav-main
.header-button > a > i {
    position: relative;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 21px !important;
    height: 21px !important;
    margin: 0 !important;
    font-size: 0 !important;
    line-height: 1 !important;
}

/* 清除 Flatsome 原图标 */
.flex-col.hide-for-medium.flex-right
.header-nav-main
.header-button > a > i::before {
    content: "" !important;
    display: block !important;
    width: 21px;
    height: 21px;
    background-color: currentColor;
    background-image: none !important;
    transition: opacity 0.2s ease;
}

/* 搜索：Remix Icon - search-line */
.flex-col.hide-for-medium.flex-right
.header-nav-main
.header-search
.header-button > a > i::before {
    -webkit-mask-image: url("https://api.iconify.design/ri/search-line.svg");
    mask-image: url("https://api.iconify.design/ri/search-line.svg");
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
}

/* 购物袋：Remix Icon - shopping-bag-3-line */
.flex-col.hide-for-medium.flex-right
.header-nav-main
.cart-item
.header-button > a > i::before {
    -webkit-mask-image: url("https://api.iconify.design/ri/shopping-bag-3-line.svg");
    mask-image: url("https://api.iconify.design/ri/shopping-bag-3-line.svg");
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
}

/* 用户：Remix Icon - user-3-line */
.flex-col.hide-for-medium.flex-right
.header-nav-main
.account-item
.header-button > a > i::before {
    -webkit-mask-image: url("https://api.iconify.design/ri/user-3-line.svg");
    mask-image: url("https://api.iconify.design/ri/user-3-line.svg");
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
}

/* 购物车数量角标 */
.flex-col.hide-for-medium.flex-right
.header-nav-main
.cart-item
.header-button i[data-icon-label]::after {
    top: -7px !important;
    right: -9px !important;
    min-width: 16px !important;
    height: 16px !important;
    padding: 0 4px !important;
    border-radius: 999px !important;
    font-size: 9px !important;
    line-height: 16px !important;
    text-align: center;
}

/* 悬浮效果 */
.flex-col.hide-for-medium.flex-right
.header-nav-main
.header-button > a:hover {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    opacity: 0.65;
}

/* 图标间距 */
.flex-col.hide-for-medium.flex-right
.header-nav-main > li {
    margin-left: 5px;
}



/*线条动画*/

/* 导航横线：从左向右展开 */
.nav-line-bottom > li > a::before,
.nav-line-grow > li > a::before,
.nav-line > li > a::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--fs-color-primary);
    opacity: 1;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.35s ease;
}

/* Hover 和当前菜单状态 */
.nav-line-bottom > li:hover > a::before,
.nav-line-bottom > li.active > a::before,
.nav-line-bottom > li.current-menu-item > a::before,
.nav-line-bottom > li.current-menu-ancestor > a::before,
.nav-line-grow > li:hover > a::before,
.nav-line-grow > li.active > a::before,
.nav-line-grow > li.current-menu-item > a::before,
.nav-line-grow > li.current-menu-ancestor > a::before,
.nav-line > li:hover > a::before,
.nav-line > li.active > a::before,
.nav-line > li.current-menu-item > a::before,
.nav-line > li.current-menu-ancestor > a::before {
    transform: scaleX(1);
}



/*产品详情*/

/*评论*/
body.single-product .woocommerce-tabs.wc-tabs-wrapper .tab-panels{
    background: #FFFCF6 ;
}
@media (min-width: 851px) {
    body.single-product .woocommerce-tabs.wc-tabs-wrapper #tab-reviews {
       
        max-width: 900px !important;
        margin: 0 auto !important;
    }

}





/* ==========================================================================
   成人用品项目 - 产品详情购买区域
   自适应布局：左侧收藏 / 右侧 Add to Cart
   ========================================================================== */

.single-product .add-to-cart-container.form-minimal {
    width: 100%;
    max-width: 100%;
    margin: 0;
}

/* 自适应双列，不设置固定宽度 */
/*.single-product .add-to-cart-container.form-minimal form.cart {*/
/*    display: grid !important;*/
/*    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);*/
/*    align-items: center;*/
/*    gap: clamp(14px, 3vw, 32px);*/
/*    width: 100%;*/
/*    max-width: 100%;*/
/*    margin: 0 !important;*/
/*}*/

/* 防止 Grid 子元素撑破宽度 */
.single-product .add-to-cart-container.form-minimal form.cart > * {
    min-width: 0;
    max-width: 100%;
}

/* 隐藏数量选择 */
.single-product
.add-to-cart-container.form-minimal
.ux-quantity {
    display: none !important;
}

/* 隐藏原生 Add to cart */
.single-product
.add-to-cart-container.form-minimal
.single_add_to_cart_button {
    display: none !important;
}



/* ==========================================================================
   左侧收藏
   ========================================================================== */

.single-product
.add-to-cart-container.form-minimal
.tinv-wraper {
    grid-column: 1;
    grid-row: 1;

    display: flex !important;
    align-items: center;
    justify-content: flex-start;

    width: 100%;
    max-width: 100%;
    min-width: 0;

    margin: 0 !important;
    padding: 0 !important;
}

/* 清除插件占位元素 */
.single-product
.add-to-cart-container.form-minimal
.tinv-wishlist-clear {
    display: none !important;
}

/* 收藏链接 */
.single-product
.add-to-cart-container.form-minimal
.tinvwl_add_to_wishlist_button {
    display: inline-flex !important;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;

    width: auto;
    max-width: 100%;
    min-width: 0;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;

    color: #222 !important;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.3;

    text-transform: none;
}

/* 收藏图标 */
.single-product
.add-to-cart-container.form-minimal
.tinvwl_add_to_wishlist_button::before {
    flex: 0 0 auto;
    margin: 0 !important;
    color: #222 !important;
    font-size: 21px !important;
    line-height: 1 !important;
}

/* 收藏文字 */
.single-product
.add-to-cart-container.form-minimal
.tinvwl_add_to_wishlist-text {
    min-width: 0;
    color: #222;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.3;
    text-transform: none;
    white-space: normal;
}

/* 收藏 Hover */
.single-product
.add-to-cart-container.form-minimal
.tinvwl_add_to_wishlist_button:hover,
.single-product
.add-to-cart-container.form-minimal
.tinvwl_add_to_wishlist_button:hover::before,
.single-product
.add-to-cart-container.form-minimal
.tinvwl_add_to_wishlist_button:hover
.tinvwl_add_to_wishlist-text {
    color: var(--primary-color) !important;
}

/* 隐藏收藏 Tooltip */
.single-product
.add-to-cart-container.form-minimal
.tinvwl-tooltip {
    display: none !important;
}


/* ==========================================================================
   iPad / 平板
   仍然保持左右布局
   ========================================================================== */

@media (max-width: 849px) {

    .single-product
    .add-to-cart-container.form-minimal
    form.cart {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
        gap: 16px;
    }

    .single-product
    .add-to-cart-container.form-minimal
    .ux-buy-now-button {
        height: 46px !important;
        min-height: 46px !important;
        padding: 0 16px !important;
    }

    .single-product
    .add-to-cart-container.form-minimal
    .ux-buy-now-button::after {
        font-size: 12px;
        letter-spacing: 0.13em;
    }

    .single-product
    .add-to-cart-container.form-minimal
    .tinvwl_add_to_wishlist-text {
        font-size: 13px;
    }
}


/* ==========================================================================
   手机端
   ========================================================================== */

@media (max-width: 549px) {

    .single-product
    .add-to-cart-container.form-minimal
    form.cart {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
    }

    /* 按钮在上 */
    .single-product
    .add-to-cart-container.form-minimal
    .ux-buy-now-button {
        grid-column: 1;
        grid-row: 1;
        width: 100% !important;
    }

    /* 收藏在下 */
    .single-product
    .add-to-cart-container.form-minimal
    .tinv-wraper {
        grid-column: 1;
        grid-row: 2;
        justify-content: center;
    }

    .single-product
    .add-to-cart-container.form-minimal
    .tinvwl_add_to_wishlist_button {
        justify-content: center;
    }
}







 
 /* ==========================================================================
WooCommerce Photo Reviews：统一缩略图与白色卡片高度
========================================================================== */

/* 卡片外层 */
.woocommerce-photo-reviews-shortcode
.shortcode-wcpr-grid-item {
    background: #ffffff !important;
    overflow: hidden !important;
}

/* 整张卡片 */
.woocommerce-photo-reviews-shortcode
.shortcode-wcpr-grid-item
.shortcode-wcpr-content {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    height: 540px !important;
    min-height: 540px !important;
    max-height: 540px !important;
    background: #ffffff !important;
    overflow: hidden !important;
}

/* 图片区域 */
.woocommerce-photo-reviews-shortcode
.shortcode-wcpr-grid-item
.shortcode-reviews-images-container {
    position: relative !important;
    flex: 0 0 280px !important;
    width: 100% !important;
    height: 280px !important;
    min-height: 280px !important;
    max-height: 280px !important;
    background: #f5f5f5 !important;
    overflow: hidden !important;
}

/* 主图容器 */
.woocommerce-photo-reviews-shortcode
.shortcode-wcpr-grid-item
.shortcode-reviews-images-wrap-right {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    overflow: hidden !important;
}

/* 主缩略图 */
.woocommerce-photo-reviews-shortcode
.shortcode-wcpr-grid-item
.shortcode-reviews-images-wrap-right
img.shortcode-reviews-images {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center center !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 隐藏插件内部左侧缩略图列表 */
.woocommerce-photo-reviews-shortcode
.shortcode-wcpr-grid-item
.shortcode-reviews-images-wrap-left {
    display: none !important;
}

/* 多图数量 */
.woocommerce-photo-reviews-shortcode
.shortcode-wcpr-grid-item
.shortcode-images-qty {
    position: absolute !important;
    right: 12px !important;
    bottom: 12px !important;
    z-index: 5 !important;
}

/* 白色文字内容区域 */
.woocommerce-photo-reviews-shortcode
.shortcode-wcpr-grid-item
.shortcode-review-content-container {
    display: flex !important;
    flex: 1 1 auto !important;
    flex-direction: column !important;
    width: 100% !important;
    height: 260px !important;
    min-height: 260px !important;
    max-height: 260px !important;
    box-sizing: border-box !important;
    background: #ffffff !important;
    overflow: hidden !important;
}

/* 评价标题最多两行 */
.woocommerce-photo-reviews-shortcode
.shortcode-wcpr-review-title {
    display: -webkit-box !important;
    overflow: hidden !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
}

/* 评价正文限制行数，避免撑高卡片 */
.woocommerce-photo-reviews-shortcode
.shortcode-wcpr-review-content,
.woocommerce-photo-reviews-shortcode
.shortcode-wcpr-review-content-short {
    display: -webkit-box !important;
    overflow: hidden !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 4 !important;
}

/* Helpful 固定在白色区域底部 */
.woocommerce-photo-reviews-shortcode
.wcpr-comment-helpful-button-container {
    margin-top: auto !important;
}

/* 隐藏的商品信息不参与卡片高度 */
.woocommerce-photo-reviews-shortcode
.shortcode-wcpr-single-product-summary-content-wrapper {
    display: none !important;
}

/* 平板 */
@media screen and (max-width: 849px) {
    .woocommerce-photo-reviews-shortcode
    .shortcode-wcpr-grid-item
    .shortcode-wcpr-content {
        height: 500px !important;
        min-height: 500px !important;
        max-height: 500px !important;
    }

    .woocommerce-photo-reviews-shortcode
    .shortcode-wcpr-grid-item
    .shortcode-reviews-images-container {
        flex-basis: 230px !important;
        height: 230px !important;
        min-height: 230px !important;
        max-height: 230px !important;
    }

    .woocommerce-photo-reviews-shortcode
    .shortcode-wcpr-grid-item
    .shortcode-review-content-container {
        height: 270px !important;
        min-height: 270px !important;
        max-height: 270px !important;
    }
}

/* 手机 */
@media screen and (max-width: 549px) {
    .woocommerce-photo-reviews-shortcode
    .shortcode-wcpr-grid-item
    .shortcode-wcpr-content {
        height: 430px !important;
        min-height: 430px !important;
        max-height: 430px !important;
    }

    .woocommerce-photo-reviews-shortcode
    .shortcode-wcpr-grid-item
    .shortcode-reviews-images-container {
        flex-basis: 180px !important;
        height: 180px !important;
        min-height: 180px !important;
        max-height: 180px !important;
    }

    .woocommerce-photo-reviews-shortcode
    .shortcode-wcpr-grid-item
    .shortcode-review-content-container {
        height: 250px !important;
        min-height: 250px !important;
        max-height: 250px !important;
    }

    .woocommerce-photo-reviews-shortcode
    .shortcode-wcpr-review-content,
    .woocommerce-photo-reviews-shortcode
    .shortcode-wcpr-review-content-short {
        -webkit-line-clamp: 3 !important;
    }
}




 
 @media (max-width: 549px) {
 .Trust-Badge .icon-box-center p{
     font-size: 9px;
 }
 .Trust-Badge .icon-box-center .icon-box-img {
    margin: 0 auto 0em;
}
 
}

@media (max-width: 549px) {
.home .flickity-button{
    display: none;
}
}



 
 /*信任徽章*/
 @media (max-width: 549px) {
 .Trust-Badge{
     display: NONE;
     
 }
 
 .home .Trust-Badge{
     display: block;
 }
}


/* ==========================================================================
详情产品
   ========================================================================== */
 /* 选择变体后显示的价格区域 */
body.single-product form.variations_form
.single_variation_wrap
.woocommerce-variation-price {
    display: block !important;
    width: 100% !important;
    margin: 15px 0 20px !important;
    padding: 0 !important;
}

/* 变体价格整体 */
body.single-product form.variations_form
.single_variation_wrap
.woocommerce-variation-price
span.price {
    display: flex !important;
    align-items: baseline !important;
    flex-wrap: wrap !important;
    gap: 9px !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 28px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
}

/* 强制所有金额元素继承字号 */
body.single-product form.variations_form
.woocommerce-variation-price
.price .woocommerce-Price-amount,

body.single-product form.variations_form
.woocommerce-variation-price
.price .woocommerce-Price-amount bdi {
    font-size: inherit !important;
    line-height: inherit !important;
    font-weight: inherit !important;
}

/* 原价 */
body.single-product form.variations_form
.woocommerce-variation-price
.price del {
    display: inline-flex !important;
    align-items: baseline !important;
    margin: 0 !important;
    color: #999 !important;
    font-size: 17px !important;
    line-height: 1.25 !important;
    font-weight: 400 !important;
    opacity: 1 !important;
}

/* 原价内部金额 */
body.single-product form.variations_form
.woocommerce-variation-price
.price del .woocommerce-Price-amount,

body.single-product form.variations_form
.woocommerce-variation-price
.price del bdi {
    font-size: 17px !important;
    line-height: 1.25 !important;
    font-weight: 400 !important;
}

/* 当前促销价 */
body.single-product form.variations_form
.woocommerce-variation-price
.price ins {
    display: inline-flex !important;
    align-items: baseline !important;
    margin: 0 !important;
    padding: 0 !important;
    color: var(--primary-color) !important;
    font-size: 28px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

/* 当前促销价内部金额 */
body.single-product form.variations_form
.woocommerce-variation-price
.price ins .woocommerce-Price-amount,

body.single-product form.variations_form
.woocommerce-variation-price
.price ins bdi {
    color: var(--primary-color) !important;
    font-size: 28px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
}

/* 货币符号 */
body.single-product form.variations_form
.woocommerce-variation-price
.woocommerce-Price-currencySymbol {
    font-size: 0.78em !important;
    line-height: 1 !important;
    vertical-align: 0.08em !important;
}

/* 手机端 */
@media screen and (max-width: 549px) {
    body.single-product form.variations_form
    .woocommerce-variation-price
    span.price,

    body.single-product form.variations_form
    .woocommerce-variation-price
    .price ins,

    body.single-product form.variations_form
    .woocommerce-variation-price
    .price ins .woocommerce-Price-amount,

    body.single-product form.variations_form
    .woocommerce-variation-price
    .price ins bdi {
        font-size: 24px !important;
    }

    body.single-product form.variations_form
    .woocommerce-variation-price
    .price del,

    body.single-product form.variations_form
    .woocommerce-variation-price
    .price del .woocommerce-Price-amount,

    body.single-product form.variations_form
    .woocommerce-variation-price
    .price del bdi {
        font-size: 15px !important;
    }
}
 
 code {
    background: #f1f1f1;
    border: none;
    border-radius: 4px;
    font-size: .9em;
    margin: 0 .2rem;
    padding: .2rem .5rem;
}
 
 /* Nexaura 优惠券按钮 */
.dak-nexaura-coupons-shortcode .wcpc-btn-apply {
    background: var(--primary-color) !important;
    border: 1px solid var(--primary-color) !important;
    color: #fff !important;
}

/* Copy 按钮改为主题色线框 */
.dak-nexaura-coupons-shortcode .wcpc-btn-copy {
    background: transparent !important;
    border: 1px solid var(--primary-color) !important;
    color: var(--primary-color) !important;
}

/* Hover */
.dak-nexaura-coupons-shortcode .wcpc-btn-copy:hover {
    background: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #fff !important;
}

.dak-nexaura-coupons-shortcode .wcpc-btn-apply:hover {
    background: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #fff !important;
    filter: brightness(0.9);
}
 @media (max-width: 549px) {
    .woocommerce-variation-add-to-cart, form.cart {
        display: flex;
        flex-wrap: wrap;
        gap: .2em;
        width: 100%;
    }
}
 
 /* =========================================================
 * Flatsome 顶部透明 Header
 * 桌面端鼠标移入后变为白色背景
 * Sticky 状态不处理
 * ========================================================= */

@media (min-width: 850px) and (hover: hover) and (pointer: fine) {

    /* 过渡动画 */
    #header,
    #header > .header-wrapper,
    #header #top-bar,
    #header #masthead,
    #header .header-bg-container,
    #header .header-bg-color,
    #header .header-bg-image,
    #header .header-nav-main > li > a,
    #header .header-button .button {
        transition:
            background-color 0.25s ease,
            color 0.25s ease,
            border-color 0.25s ease,
            box-shadow 0.25s ease,
            opacity 0.25s ease !important;
    }

    /* Header 整体白色 */
    html body #wrapper > #header.transparent:hover {
        background-color: #ffffff !important;
    }

    html body #wrapper > #header.transparent:hover
    > .header-wrapper:not(.stuck):not(.is-sticky):not(.sticky-active) {
        background-color: #ffffff !important;
        background-image: none !important;
        box-shadow:
            0 1px 0 rgba(56, 43, 37, 0.08),
            0 10px 30px rgba(56, 43, 37, 0.06) !important;
    }

    /* 顶部通知栏和主导航 */
    html body #wrapper > #header.transparent:hover
    > .header-wrapper:not(.stuck):not(.is-sticky):not(.sticky-active)
    #top-bar,

    html body #wrapper > #header.transparent:hover
    > .header-wrapper:not(.stuck):not(.is-sticky):not(.sticky-active)
    #masthead {
        background-color: #ffffff !important;
        background-image: none !important;
    }

    /* Flatsome Header 背景层 */
    html body #wrapper > #header.transparent:hover
    > .header-wrapper:not(.stuck):not(.is-sticky):not(.sticky-active)
    .header-bg-container,

    html body #wrapper > #header.transparent:hover
    > .header-wrapper:not(.stuck):not(.is-sticky):not(.sticky-active)
    .header-bg-color {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        background: #ffffff !important;
        background-color: #ffffff !important;
        background-image: none !important;
    }

    /* 关闭原透明 Header 的背景图 */
    html body #wrapper > #header.transparent:hover
    > .header-wrapper:not(.stuck):not(.is-sticky):not(.sticky-active)
    .header-bg-image {
        opacity: 0 !important;
        background: none !important;
        background-image: none !important;
    }

    /* 一级菜单改成深色 */
    html body #wrapper > #header.transparent:hover
    > .header-wrapper:not(.stuck):not(.is-sticky):not(.sticky-active)
    .header-nav-main > li > a,

    html body #wrapper > #header.transparent:hover
    > .header-wrapper:not(.stuck):not(.is-sticky):not(.sticky-active)
    .header-nav-main > li > a > i {
        color: #382b25 !important;
    }

    /* 当前菜单和悬停菜单 */
    html body #wrapper > #header.transparent:hover
    > .header-wrapper:not(.stuck):not(.is-sticky):not(.sticky-active)
    .header-nav-main > li.active > a,

    html body #wrapper > #header.transparent:hover
    > .header-wrapper:not(.stuck):not(.is-sticky):not(.sticky-active)
    .header-nav-main > li.current-menu-item > a,

    html body #wrapper > #header.transparent:hover
    > .header-wrapper:not(.stuck):not(.is-sticky):not(.sticky-active)
    .header-nav-main > li:hover > a {
        color: #382b25 !important;
    }

    /* 菜单下划线 */
    html body #wrapper > #header.transparent:hover
    > .header-wrapper:not(.stuck):not(.is-sticky):not(.sticky-active)
    .nav-line-bottom > li > a::before {
        background-color: #382b25 !important;
    }

    /* 顶部通知栏文字 */
    html body #wrapper > #header.transparent:hover
    > .header-wrapper:not(.stuck):not(.is-sticky):not(.sticky-active)
    #top-bar,

    html body #wrapper > #header.transparent:hover
    > .header-wrapper:not(.stuck):not(.is-sticky):not(.sticky-active)
    #top-bar a,

    html body #wrapper > #header.transparent:hover
    > .header-wrapper:not(.stuck):not(.is-sticky):not(.sticky-active)
    #top-bar .html {
        color: #382b25 !important;
    }

    /* 搜索、购物车、账户按钮 */
    html body #wrapper > #header.transparent:hover
    > .header-wrapper:not(.stuck):not(.is-sticky):not(.sticky-active)
    .header-button .button {
        color: #382b25 !important;
        border-color: rgba(56, 43, 37, 0.35) !important;
        background-color: transparent !important;
    }

    html body #wrapper > #header.transparent:hover
    > .header-wrapper:not(.stuck):not(.is-sticky):not(.sticky-active)
    .header-button .button i {
        color: inherit !important;
    }

    html body #wrapper > #header.transparent:hover
    > .header-wrapper:not(.stuck):not(.is-sticky):not(.sticky-active)
    .header-button .button:hover {
        color: #ffffff !important;
        border-color: #382b25 !important;
        background-color: #382b25 !important;
    }
}



.dak-spcat-v7-section{
    padding-bottom: 0 !important;
}
 @media (max-width: 549px) {
.dak-spcat-v7-section{
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.dak-spcat-v7-description{
    display: none;
}

.category-page-row {
    padding-top: 0px;
}


.woocommerce-ordering, .woocommerce-ordering select {
    display: inline-block;
    margin: 5px 0;
    width: 100%;
    border-radius: 10px;
}


}
 .page-title-inner {
    min-height: auto;
    padding-top: 0;
    position: relative;
}



/* 自定义媒体查询：仅在屏幕宽度小于 768px 的手机端生效 */
@media (max-width: 767px) {
    .shortcode-wcpr-content .shortcode-review-content-container .shortcode-wcpr-review-content {
        font-size: 10px !important;            /* 设置文字大小为 10px */
        line-height: 1.4 !important;          /* 建议设置行高，确保多行显示时不会重叠 */
        
        /* 核心：控制 4 行隐藏并显示省略号 */
        display: -webkit-box !important;
        -webkit-box-orient: vertical !important;
        -webkit-line-clamp: 4 !important;     /* 限制显示 4 行 */
        overflow: hidden !important;          /* 超出部分隐藏 */
    }
}

 .badge-container{
     font-size: 10px;
 }
 header .button.icon.is-small i {
    top: 2px;
}
 
 .nav-line-bottom>li>a:before, .nav-line-grow>li>a:before, .nav-line>li>a:before {
  height: 1px;
}



 
/* @media (min-width: 851px) {*/
/*    .logo-hide .header-logo-dark{*/
/*        display: none !important;*/
/*    }*/
/*    .logo-hide .header_logo{*/
/*        display: block !important;*/
/*    }*/
/*}*/

/*    @media (max-width: 549px) {*/
     
/*        .nav-dark .header-logo-dark, .stuck .header-logo-sticky {*/
/*            display: none !important;*/
/*        }*/
/*    }*/



 
 .hide-woo .wvs-archive-variations-wrapper,
.pro-tabs .wvs-archive-variations-wrapper{
     display: none !important;
}
 
 .map p{
     font-size: 0;
 }
.button.is-outline, input[type=button].is-outline, input[type=reset].is-outline, input[type=submit].is-outline {
    border: 1px solid;
}