/*
Theme Name: Storefront Child
Template: storefront
Version: 1.0
Description: A child theme for customizing the Storefront theme.
Author: Your Name
*/

/* 你的自定义CSS代码写在下面 */

@media (min-width: 768px) {
.storefront-primary-navigation{background: #EFEFEE;height: 8.6875rem;}
.main-navigation ul.menu>li>a, .main-navigation ul.nav-menu>li>a {
        padding: 1.9em 1em !important;color: #4A6150;
    }
.woocommerce-active .site-header .site-branding{width: 7% !important;}
.main-navigation ul li a:hover, .main-navigation ul li:hover > a, .site-title a:hover, .site-header ul.menu li.current-menu-item > a{color: #4A6150 !important;}
.col-full {
        max-width: 138rem !important;
        margin-left: auto;
        margin-right: auto;
        padding: 0 !important;
        box-sizing: content-box;
    }
.storefront-full-width-content .content-area {
        width: 100%;
        float: left;
        margin-left: 0;
        margin-right: 0;
        margin-top: 20px;
    }
.home.blog .site-header, .home.page:not(.page-template-template-homepage) .site-header, .home.post-type-archive-product .site-header{margin: 0  !important;padding:  0  !important;}
}
.home.blog .site-header, .home.page:not(.page-template-template-homepage) .site-header, .home.post-type-archive-product .site-header{margin: 0  !important;padding:  0  !important;}
.logo1{margin-top: 1.2rem;line-height: 4.225rem;}
.clear{clear: both;}
/* === 平行布局样式 === */

/* 主要容器 */
.inline-header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 80px;
    padding: 10px 0;
}

/* Logo 区域 */
.header-logo-inline {
    flex: 0 0 auto;
}

/* 导航菜单区域 - 居中 */
.header-nav-inline {
    flex: 1;
    display: flex;
    justify-content: center;
}

/* 修复导航菜单的显示 */
.header-nav-inline .main-navigation {
    display: inline-block;
    margin: 0;
}

.header-nav-inline .menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.header-nav-inline .menu > li {
    margin: 0 12px;
}

.header-nav-inline .menu > li > a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 0;
    transition: color 0.3s ease;
}

.header-nav-inline .menu > li > a:hover {
    color: #007cba;
}

/* 购物车区域 */
.header-cart-inline {
    flex: 0 0 auto;
}

/* 购物车样式优化 */
.header-cart-inline .site-header-cart {
    margin: 0;
}

.header-cart-inline .cart-contents {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    padding: 8px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.header-cart-inline .cart-contents:hover {
    background: #f8f9fa;
    border-color: #007cba;
}

.header-cart-inline .amount {
    margin-right: 5px;
    font-weight: 500;
}

.header-cart-inline .count {
    background: #ff4444;
    color: white;
    border-radius: 10px;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: bold;
    margin-left: 5px;
}

/* === 移动端响应式设计 === */

@media (max-width: 768px) {
    .inline-header-container {
        flex-wrap: wrap;
        min-height: auto;
        padding: 15px 0;
    }

    /* Logo 在移动端占满宽度 */
    .header-logo-inline {
        flex: 0 0 100%;
        text-align: center;
        margin-bottom: 15px;
    }
    
    /* 导航菜单在移动端隐藏，显示菜单按钮 */
    .header-nav-inline {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        z-index: 1000;
        padding: 20px;
    }
    
    .header-nav-inline.active {
        display: block;
    }
    
    .header-nav-inline .menu {
        flex-direction: column;
    }
    
    .header-nav-inline .menu > li {
        margin: 0;
        width: 100%;
    }
    
    .header-nav-inline .menu > li > a {
        display: block;
        padding: 12px 0;
        border-bottom: 1px solid #f0f0f0;
    }
    
    /* 购物车在移动端右对齐 */
    .header-cart-inline {
        position: absolute;
        top: 20px;
        right: 15px;
    }
    
    /* 移动端菜单切换按钮 */
    .menu-toggle {
        position: absolute;
        top: 20px;
        left: 15px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 8px;
        display: flex;
        flex-direction: column;
        gap: 4px;
    }
    
    .menu-toggle span {
        display: block;
        width: 25px;
        height: 3px;
        background: #333;
        transition: all 0.3s ease;
    }
}

/* 小屏幕手机优化 */
@media (max-width: 480px) {
    .inline-header-container {
        padding: 10px 0;
    }
    
    .header-cart-inline .cart-contents {
        padding: 6px 8px;
        font-size: 14px;
    }
    
    .header-cart-inline .amount {
        display: none; /* 在小屏幕上隐藏金额，只显示图标和数量 */
    }
    
    .header-cart-inline .count {
        margin-left: 0;
    }
}
/* === 完全重置 Header 样式 === */

/* 隐藏所有默认的 header 元素 */
.site-header .site-branding,
.site-header .storefront-primary-navigation,
.site-header .site-header-cart {
    display: none !important;
}

/* 自定义 Header 样式 */
.custom-header-wrapper {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: relative;
    z-index: 1000;
}

.custom-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 80px;
    width: 100%;
}

/* Logo 样式 */
.custom-logo {
    flex: 0 0 auto;
}

.custom-logo .site-branding {
    margin: 0;
    display: block !important;
}

.custom-logo .custom-logo {
    max-height: 50px;
    width: auto;
}

/* 导航菜单样式 */
.custom-navigation {
    flex: 1;
    display: flex;
    justify-content: center;
}

.custom-primary-navigation {
    display: inline-block;
    margin: 0;
}

.custom-primary-navigation ul.menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.custom-primary-navigation ul.menu > li {
    margin: 0 15px;
    position: relative;
}

.custom-primary-navigation ul.menu > li > a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    padding: 10px 0;
    transition: color 0.3s ease;
}

.custom-primary-navigation ul.menu > li > a:hover {
    color: #007cba;
}

/* 下拉菜单 */
.custom-primary-navigation ul.menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.custom-primary-navigation ul.menu > li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* 购物车样式 */
.custom-header-right {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}

.custom-cart {
    position: relative;
}

.custom-cart-content .site-header-cart {
    margin: 0;
    display: block !important;
}

.custom-cart .cart-contents {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    padding: 8px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.custom-cart .cart-contents:hover {
    background: #f8f9fa;
    border-color: #007cba;
}

.custom-cart .amount {
    margin-right: 5px;
    font-weight: 500;
}

.custom-cart .count {
    background: #ff4444;
    color: white;
    border-radius: 10px;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: bold;
    margin-left: 5px;
}

/* === 移动端响应式 === */

@media (max-width: 768px) {
    .custom-header-inner {
        flex-wrap: wrap;
        min-height: 60px;
        padding: 10px 0;
    }
    
    /* Logo 居中 */
    .custom-logo {
        flex: 1;
        text-align: center;
        order: 1;
    }
    
    /* 导航菜单隐藏，显示切换按钮 */
    .custom-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        z-index: 1000;
        order: 3;
        flex: 1 0 100%;
    }
    
    .custom-navigation.active {
        display: block;
    }
    
    .custom-primary-navigation ul.menu {
        flex-direction: column;
        padding: 20px;
    }
    
    .custom-primary-navigation ul.menu > li {
        margin: 0;
        width: 100%;
    }
    
    .custom-primary-navigation ul.menu > li > a {
        display: block;
        padding: 12px 0;
        border-bottom: 1px solid #f0f0f0;
    }
    
    /* 购物车在右上角 */
    .custom-header-right {
        order: 2;
        position: absolute;
        top: 15px;
        right: 15px;
    }
    
    /* 移动端菜单按钮 */
    .mobile-menu-toggle {
        position: absolute;
        top: 15px;
        left: 15px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 8px;
        display: flex;
        flex-direction: column;
        gap: 4px;
        z-index: 1001;
    }
    
    .mobile-menu-toggle span {
        display: block;
        width: 25px;
        height: 3px;
        background: #333;
        transition: all 0.3s ease;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}
/* === 强力 Header 覆盖样式 === */

/* 隐藏所有可能重复的元素 */
.site-header .site-branding,
.site-header .storefront-primary-navigation,
.site-header .main-navigation,
.site-header .site-header-cart,
.site-header .primary-navigation {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
}

/* 自定义 Header 布局 */
.custom-header-override {
    background: #EFEFEE;
    position: relative;
	height: 8.6875rem;
    z-index: 1000;
}

.header-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 80px;
    width: 100%;
    position: relative;
}

/* Logo 样式 */
.header-logo {
    flex: 0 0 auto;
}

.header-logo .custom-logo {
    max-height: 50px;
    width: auto;
}

.header-logo .site-title {
    margin: 0;
    font-size: 24px;
}

.header-logo .site-title a {
    text-decoration: none;
    color: #333;
}

/* 导航菜单样式 - 确保只有一个 */
.header-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.header-nav .primary-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.header-nav .primary-menu > li {
    margin: 0 22px;
    position: relative;
}

.header-nav .primary-menu > li > a {
    color: #485F4E;
    text-decoration: none;
    font-weight:600;
    padding: 10px 0;
    transition: color 0.3s ease;
    display: block;
}

.header-nav .primary-menu > li > a:hover {
}

/* 下拉菜单 */
.header-nav .primary-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #EFEFEE;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    min-width: 300px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
    list-style: none;
    margin: 0;
    padding: 0;
}

.header-nav .primary-menu > li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.header-nav .primary-menu .sub-menu li a {
    display: block;
    padding: 10px 15px;
    color: #485F4E;
    font-weight: 600;
    transition: color 0.3s ease;
    display: block;
    text-decoration: none;
}

.header-nav .primary-menu .sub-menu li a:hover {
    background: #f8f9fa;
}

/* 右侧区域 */
.header-right {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}

/* 购物车样式 */
.header-cart .cart-contents {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    padding: 8px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
}

.header-cart .cart-contents:hover {
    background: #f8f9fa;
    border-color: #007cba;
}

.header-cart .cart-icon {
    font-size: 18px;
    margin-right: 5px;
}

.header-cart .cart-count {
    background: #ff4444;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
}

/* === 移动端响应式 === */

@media (max-width: 768px) {
    .header-layout {
        flex-wrap: wrap;
        min-height: 60px;
    }
    .col-full {
            max-width: 100% !important;
            margin-left: 5px !important;
            margin-right: 5px !important;
            padding: 0 2.617924em;
            box-sizing: content-box;
        }
	.mobile-menu-toggle{left: 5px !important;}
    /* Logo 在移动端居中 */
    .header-logo {
        flex: 1;
        text-align: center;
        order: 1;
    }
    
    /* 导航菜单在移动端隐藏 */
    .header-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        z-index: 99999999;
        order: 3;
        flex: 1 0 100%;
    }
    
    .header-nav.active {
        display: block;
    }
    
    .header-nav .primary-menu {
        flex-direction: column;
        padding: 20px;
    }
    
    .header-nav .primary-menu > li {
        margin: 0;
        width: 100%;
    }
    
    .header-nav .primary-menu > li > a {
        padding: 12px 0;
        border-bottom: 1px solid #f0f0f0;
    }
    
    /* 下拉菜单在移动端改为静态 */
    .header-nav .primary-menu .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: none;
    }
    
    /* 购物车在移动端右上角 */
    .header-right {
        order: 2;
        position: absolute;
        top: 26px;
        right: 5px;
    }
    
    /* 移动端菜单按钮 */
    .mobile-menu-toggle {
        position: absolute;
        top: 26px;
        left: 5px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 8px;
        display: flex;
        flex-direction: column;
        gap: 4px;
        z-index: 1001;
    }
    
    .mobile-menu-toggle span {
        display: block;
        width: 25px;
        height: 3px;
        background: #333;
        transition: all 0.3s ease;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}
/* 购物车样式 - 只显示图标和数量 */
.header-cart {
    position: relative;
    display: flex;
    align-items: center;
}

.cart-contents {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #333;
    padding: 8px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    transition: all 0.3s ease;
    background: white;
    position: relative;
    width: 44px;
    height: 44px;
}

.cart-contents:hover {
    background: #f8f9fa;
    border-color: #007cba;
    transform: translateY(-1px);
}

.cart-icon {
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 数量徽章样式 */
.cart-count-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4444;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
    line-height: 1;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* 当购物车为空时隐藏数量徽章 */
.cart-count-badge:empty {
    display: none;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .cart-contents {
        width: 40px;
        height: 40px;
        padding: 6px;
    }
    
    .cart-icon {
        font-size: 18px;
    }
    
    .cart-count-badge {
        width: 18px;
        height: 18px;
        font-size: 10px;
        top: -4px;
        right: -4px;
    }
}


/* ===== 强力重置所有默认购物车样式 ===== */

/* 隐藏所有默认的购物车元素 */
.site-header-cart,
.header-cart,
.cart-contents,
.cart-amount,
.cart-info {
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}
.star-rating span:before, .quantity .plus, .quantity .minus, p.stars a:hover:after, p.stars a:after, .star-rating span:before, #payment .payment_methods li input[type=radio]:first-child:checked+label:before
{color: #F17E62 !important;
}
.star-rating{font-size: 0.6em !important;}
/* ===== 新的简化购物车样式 ===== */

.header-cart-simple {
    position: relative;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.simple-cart-contents {
    display: flex !important;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #333;
    padding: 8px;
    border-radius: 4px;
    position: relative;
    width: 44px;
    height: 44px;
    transition: all 0.3s ease;
    visibility: visible !important;
    opacity: 1 !important;
}

.simple-cart-contents:hover {
    background: #f8f9fa;
    border-color: #007cba;
    transform: translateY(-1px);
}

.simple-cart-icon {
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: visible !important;
    opacity: 1 !important;
}

/* 数量徽章 */
.simple-cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    visibility: visible !important;
    opacity: 1 !important;
}

.count-badge {
    background: #485F4E;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
    line-height: 1;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    visibility: visible !important;
    opacity: 1 !important;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .simple-cart-contents {
        width: 35px;
        height: 35px;
        padding: 6px;
    }
    
    .simple-cart-icon {
        font-size: 18px;
    }
    
    .count-badge {
        width: 18px;
        height: 18px;
        font-size: 10px;
    }
}
/* ===== 导航栏搜索功能样式 ===== */

.header-search-container {
    position: relative;
    display: flex;
    align-items: center;
}

/* 搜索切换按钮 */
.search-toggle {
    background: none;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    cursor: pointer;
    padding: 8px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    background: white;
}

.search-toggle:hover {
    background: #f8f9fa;
    border-color: #007cba;
    transform: translateY(-1px);
}

.search-icon {
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 搜索表单包装器 */
.search-form-wrapper {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 4px;
    padding: 15px;
    min-width: 300px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
}

.search-form-wrapper.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* 搜索表单 */
.header-search-form {
    display: flex;
    gap: 8px;
}

.search-field {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.search-field:focus {
    outline: none;
    border-color: #007cba;
    box-shadow: 0 0 0 2px rgba(0,124,186,0.1);
}

.search-submit {
    background: #333;
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

.search-submit:hover {
    background: #555;
}

/* 搜索建议 */
.search-suggestions {
    margin-top: 10px;
    max-height: 200px;
    overflow-y: auto;
    display: none;
}

.search-suggestions.active {
    display: block;
}

.suggestion-item {
    padding: 8px 12px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.suggestion-item:hover {
    background: #f8f9fa;
}

.suggestion-item:last-child {
    border-bottom: none;
}

/* 搜索遮罩层 */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* 移动端搜索样式 */
@media (max-width: 768px) {
    .header-search-container {
        margin-right:0;
    }
    
    .search-toggle {
        width: 35px;
        height: 35px;
        padding: 6px;
    }
    
    .search-icon {
        font-size: 16px;
    }
    .search-form-wrapper {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        min-width: auto;
        border-radius: 0;
        box-shadow: 0 5px 25px rgba(0,0,0,0.15);
        padding: 20px;
    }
    
    .header-search-form {
        flex-direction: column;
    }
    
    .search-submit {
        margin-top: 10px;
    }
}

/* 桌面端布局调整 */
@media (min-width: 769px) {
    .header-right {
        display: flex;
        align-items: center;
        gap: 15px;
    }
}
/* ===== 搜索建议缩略图样式 ===== */

.suggestion-item {
    padding: 12px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: all 0.2s ease;
    display: block;
    text-decoration: none;
    color: inherit;
    background: white;
}

.suggestion-item:hover {
    background: #f8f9fa;
    transform: translateX(2px);
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-item.loading,
.suggestion-item.error,
.suggestion-item.no-results {
    text-align: center;
    color: #666;
    font-style: italic;
    justify-content: center;
}

.suggestion-item.error {
    color: #dc3545;
}

/* 搜索建议内容布局 */
.suggestion-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* 图片容器 */
.suggestion-image-container {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 4px;
    overflow: hidden;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
}

.suggestion-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.suggestion-item:hover .suggestion-image {
    transform: scale(1.05);
}

/* 详情区域 */
.suggestion-details {
    flex: 1;
    min-width: 0; /* 防止文本溢出 */
}

.suggestion-title {
    font-weight: 500;
    font-size: 14px;
    line-height: 1.3;
    margin-bottom: 4px;
    color: #333;
    
    /* 文本溢出显示省略号 */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.suggestion-price {
    color: #007cba;
    font-weight: bold;
    font-size: 13px;
}

/* 搜索建议容器 */
.search-suggestions {
    margin-top: 10px;
    max-height: 400px; /* 增加高度以容纳图片 */
    overflow-y: auto;
    display: none;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.search-suggestions.active {
    display: block;
}

/* 自定义滚动条 */
.search-suggestions::-webkit-scrollbar {
    width: 6px;
}

.search-suggestions::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.search-suggestions::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.search-suggestions::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* 移动端优化 */
@media (max-width: 768px) {
    .suggestion-content {
        gap: 10px;
    }
    
    .suggestion-image-container {
        width: 45px;
        height: 45px;
    }
    
    .suggestion-title {
        font-size: 13px;
        -webkit-line-clamp: 2;
    }
    
    .suggestion-price {
        font-size: 12px;
    }
    
    .search-suggestions {
        max-height: 300px;
    }
}

/* 加载动画 */
@keyframes shimmer {
    0% {
        background-position: -468px 0;
    }
    100% {
        background-position: 468px 0;
    }
}

.suggestion-image.loading {
    animation: shimmer 1.5s infinite linear;
    background: linear-gradient(to right, #f6f7f8 8%, #edeef1 18%, #f6f7f8 33%);
    background-size: 800px 104px;
}

/* 图片加载失败时的样式 */
.suggestion-image.error {
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 10px;
}



.fk{background-color: #F6F7F7;padding-top:50px;padding-bottom:50px;}
        .testimonials-section {
			    clear: both;
            max-width: 138rem;
            margin: 0 auto;
			padding-bottom:20px;
			padding-top:20px;
        }
        .testimonials-section-index{
			  clear: both;
            max-width: 138rem;
            margin: 0 auto;
			padding-bottom:0px;
			padding-top: 60px;
		}
        .section-title {
            text-align: center;
            margin-bottom: 10px;
            font-size: 16px;
            color: #485F4E;
            text-transform: uppercase;
            letter-spacing: 1px;
        }
        
        .section-subtitle {
            text-align: center;
            margin-bottom: 30px;
            font-size: 34px;
            color: #222;
            font-weight: bold;
			border: none;
        }
        
        .stars-container {
            display: flex;
            justify-content: center;
            gap: 15px;
            margin-bottom: 40px;
        }
        
        .stars {
            color: #FFD700;
            font-size: 20px;
        }
        
        .testimonials-container {
            position: relative;
            max-width: 100%;
            margin: 0 auto;
        }
        
        .testimonials-scroll {
            display: flex;
            overflow-x: auto;
            scroll-behavior: smooth;
            gap: 25px;
            padding: 10px 0 30px;
            scrollbar-width: thin;
            scrollbar-color: #ccc transparent;
        }
        
        .testimonials-scroll::-webkit-scrollbar {
            height: 6px;
        }
        
        .testimonials-scroll::-webkit-scrollbar-track {
            background: #f1f1f1;
            border-radius: 10px;
        }
        
        .testimonials-scroll::-webkit-scrollbar-thumb {
            background: #ccc;
            border-radius: 10px;
        }

        .testimonial-card {
            width: 49%;
            background: white;
            border-radius: 8px;
            padding: 30px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
            position: relative;
            flex-shrink: 0;
            transition: transform 0.3s ease;
        }
        
        .testimonial-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
        }
        
        .project-type {
            font-size: 14px;
            color: #666;
            margin-bottom: 15px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        
        .quote {
            font-size: 16px;
            line-height: 1.6;
            color: #333;
            margin-bottom: 20px;
        }
        
        .client-name {
            font-size: 16px;
            font-weight: bold;
            color: #222;
        }
        
        .scroll-controls {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 20px;
            margin-top: 20px;
        }
        
        .scroll-btn {
            background-color: #333;
            color: white;
            border: none;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            transition: background-color 0.3s;
        }
        
        .scroll-btn:hover {
            background-color: #555;
        }
        
        .scroll-indicators {
            display: flex;
            justify-content: center;
            gap: 8px;
        }
        
        .indicator {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background-color: #ccc;
            cursor: pointer;
            transition: background-color 0.3s;
        }
        
        .indicator.active {
            background-color: #555;
        }
        
        @media (max-width: 768px) {
            .testimonial-card {
                min-width: 280px;
            }
            
            .scroll-controls {
                flex-direction: column;
                gap: 10px;
            }
        }
  .faq-container {
            max-width: 138rem;
            margin: 40px auto;
            padding: 30px;
            background: white;
			padding-left:0;
			padding-right:0;

        }
        
        .faq-header {
            text-align: center;
            margin-bottom: 40px;
        }
        
        .faq-title {
            font-size: 34px;
            color: #2c3e50;
            margin-bottom: 15px;
            font-weight: 700;
        }
        
        .faq-subtitle {
            font-size: 14px;
            color: #7f8c8d;
            margin-bottom: 20px;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }
        
        .divider {
            height: 1px;
            background: linear-gradient(to right, transparent, #e0e0e0, transparent);
            margin: 30px 0;
        }
        
        .faq-list {
            list-style: none;
			margin:0px;
			padding:10px;
        }
        
        .faq-item {
            background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 1px 1px 5px 1px rgba(0, 0, 0, 0.1);
    margin-bottom: 25px;
            overflow: hidden;
			padding:5px 20px 5px 20px;
        }
        
        .faq-item:last-child {
            border-bottom: none;
        }
        
        .faq-question {
            padding: 20px 0;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: space-between;
            font-weight: 600;
            font-size: 20px;
            color: #2c3e50;
            transition: color 0.2s ease;
        }
        
        .faq-question:hover {
            color: #485F4E;
        }
    
        
        .faq-toggle {
            background: none;
            border: none;
            font-size: 2rem;
            color: #7f8c8d;
            cursor: pointer;
            transition: transform 0.3s ease, color 0.2s ease;
            width: 30px;
            height: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
        }
        
        .faq-toggle:hover {
            color: #485F4E;
            background-color: #f5f9ff;
        }
        
        .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.4s ease, padding 0.3s ease;
            padding: 0px;
            color: #555;
            line-height: 1.7;
        }
        
        .faq-item.active .faq-answer {
            max-height: 500px;
        }
        
        .faq-item.active .faq-toggle {
            transform: rotate(180deg);
            color: #485F4E;
        }
        
        .highlight {
            color: #485F4E;
            font-weight: 600;
        }
        
        @media (max-width: 768px) {
            .faq-container {
                padding: 20px;
                margin: 20px auto;
            }
            
            .faq-title {
                font-size: 2rem;
            }
            
            .faq-subtitle {
                font-size: 1rem;
            }
            
            .faq-question {
                font-size: 1.5rem;
                padding: 15px 0;
            }
            
            .faq-question::before {
                margin-right: 10px;
            }
            
            .faq-item.active .faq-answer {
                padding: 0 15px 15px 10px;
            }
        }
        
        @media (max-width: 480px) {
            .faq-container {
                padding: 15px;
            }
            
            .faq-title {
                font-size: 2.7rem;
            }
            
            .faq-question {
                font-size: 1.95rem;
            }
            
            .faq-answer {
                font-size: 1.2rem;
            }
        }
   .features-section {
			clear: both;
            width: 100%;
            background: white;
            border-radius: 12px;
            padding: 40px 30px;
        }
        
        .features-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .feature-item {
            flex: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            padding: 0 20px;
            position: relative;
        }
        
        .feature-item:not(:last-child)::after {
            content: "";
            position: absolute;
            right: 0;
            top: 50%;
            transform: translateY(-50%);
            height: 60px;
            width: 1px;
            background-color: #e0e0e0;
        }
        
        .feature-icon {
            width: 60px;
            height: 60px;
            background-color: #f0f7ff;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 15px;
            font-size: 24px;
            color: #3498db;
        }
        
        .feature-title {
            font-size: 22px;
            font-weight: 600;
            color: #2c3e50;
            margin-bottom: 8px;
            line-height: 1.3;
        }
        
        .feature-desc {
            font-size: 17px;
            color: #7f8c8d;
            line-height: 1.4;
        }
        
        /* 响应式设计 */
        @media (max-width: 768px) {
            .features-container {
                flex-direction: column;
                gap: 30px;
            }
            
            .feature-item {
                padding: 0;
                width: 100%;
            }
            
            .feature-item:not(:last-child)::after {
                display: none;
            }
            

        }
        
        @media (max-width: 480px) {
            .features-section {
                padding: 30px 20px;
            }
            
            .feature-icon {
                width: 50px;
                height: 50px;
                font-size: 20px;
            }
            
            .feature-title {
                font-size: 16px;
            }
            
            .feature-desc {
                font-size: 13px;
            }
        }
.woocommerce-loop-product__title{
    font-size: 2rem !important;
}
.wc-block-grid__product-title{font-size: 2rem !important;color: black !important;}
@media (min-width: 768px) {
    .site-header {
        padding-top:0 !important;

    }
}		
a:focus, input:focus, textarea:focus, button:focus{outline: none !important;}
    .module-container {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 40px;
      max-width: 138rem;
      margin: 0 auto;
    }

    .module-left {
      flex: 1;
      padding-right: 40px;
    }

    .proven-trusted {
      text-transform: uppercase;
      font-size: 14px;
      font-weight: 600;
      color: #0c4a39;
      margin-bottom: 16px;
    }

    .module-left h1 {
      font-size: 5rem;
	  font-weight: 600;
      color: #0c4a39;
      line-height: 1.2;
      margin-bottom: 24px;
    }

    .description {
      font-size: 1.6rem;
      color: #333;
      line-height: 1.6;
      margin-bottom: 32px;
    }

    .stats {
      display: flex;
      gap: 40px;
      margin-bottom: 40px;
    }

    .stat-number {
      font-size: 4rem;
      font-weight: 700;
      color: #0c4a39;
      margin-bottom: 12px;
    }

    .stat-label {
      font-size: 2rem;
      font-weight: 600;
      color: #0c4a39;
      margin-bottom: 8px;
    }

    .stat-desc {
      font-size: 1.5rem;
      color: #555;
      line-height: 1.4;
    }

    .logos {
      display: flex;
      align-items: center;
      gap: 30px;
    }

    .logos img {
      height: 20px;
      object-fit: contain;
    }

    .module-right {
      flex: 0 0 400px;
    }

    .image-wrapper {
      position: relative;
      border-radius: 12px;
    }

    .image-wrapper img {
      width: 100%;
      height: auto;
      display: block;
    }

    .reliability-badge {
      position: absolute;
      bottom: 30px;
      left: -35px;
      background-color: #96A99C;
      padding: 12px 16px;
      border-radius: 4px;
      font-weight: 700;
      color: #ffffff;
      font-size: 3.5rem;
      line-height: 1.2;
    }

    @media (max-width: 992px) {
      .module-container {
        flex-direction: column;
        align-items: flex-start;
      }

      .module-left {
        padding-right: 0;
        margin-bottom: 40px;
      }

      .module-right {
        flex: 1;
        width: 100%;
        max-width: 400px;
      }
    }

    @media (max-width: 768px) {
      .module-container {
        padding: 20px;
      }

      .module-left h1 {
        font-size: 3.5rem;
      }

      .stats {
        flex-direction: column;
        gap: 24px;
      }
    }
	

/* 新闻模块容器 */
.news-module {
    max-width: 138rem;
    margin: 0 auto;
    padding: 40px 20px;
    position: relative;
    overflow: hidden;
}

/* 标题样式 */
.news-header {
    text-align: center;
    margin-bottom: 40px;
}

.news-subtitle {
    color: #485F4E; /* 橙色 */
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 10px;
}

.news-title {
    color: #1a1a1a; /* 深灰色 */
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
}

/* 滚动容器 */
.news-scroll-container {
    overflow-x: auto;
    padding-bottom: 20px;
    -ms-overflow-style: none;  /* IE和Edge */
    scrollbar-width: none;  /* Firefox */
}

/* 隐藏滚动条但保留功能 */
.news-scroll-container::-webkit-scrollbar {
    display: none;
}

/* 新闻卡片容器 */
.news-cards {
    display: flex;
    gap: 30px;
    width: max-content;
    padding: 0 5px;
}

/* 新闻卡片样式 */
.news-card {
    width: 360px;
    flex-shrink: 0;
    background-color: #ffffff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
.look{color:#485F4E;}
/* 新闻图片 */
.news-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}

/* 新闻元数据 */
.news-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 20px 20px 15px;
    font-size: 13px;
    color: #777777;
}

.news-date::before {
    content: "📅";
    margin-right: 5px;
}

.news-comments::before {
    content: "💬";
    margin-right: 5px;
}

/* 新闻标题 */
.news-card-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 20px 15px;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 新闻摘要 */
.news-excerpt {
    font-size: 14px;
    color: #555555;
    margin: 0 20px 20px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-card p{
	 font-size: 15px;
    color: #555555;
    margin: 0 20px 20px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
/* 阅读更多链接 */
.read-more {
    display: inline-block;
    margin: 0 20px 20px;
    font-size: 14px;
    font-weight: 400;
    color: #485F4E;
    text-decoration: none;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #e69500;
}

/* 滚动指示器 */
.scroll-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

.indicator {
    width: 70px;
    height: 5px;
    border-radius: 0;
	padding: 0;
    background-color: #dddddd;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.indicator.active {
    background-color: #485F4E;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .news-module {
        padding: 30px 15px;
    }
}

@media (max-width: 768px) {
    .news-title {
        font-size: 26px;
    }
    
    .news-card {
        width: 300px;
    }
    
    .news-image {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .news-header {
        margin-bottom: 25px;
    }
    
    .news-title {
        font-size: 22px;
    }
    
    .news-card {
        width: 100%;
        max-width: 300px;
    }
    
    .scroll-indicators {
        margin-top: 20px;
    }
}
    /* 容器样式 */
    .process-module {
      max-width: 138rem;
      margin: 0 auto;
      padding: 0 20px;
	  padding-top:50px;
	  padding-bottom:50px;
    }

    /* 标题区域 */
    .process-header {
      display: flex;
      justify-content: space-between;
      align-items: flex-end;
      margin-bottom: 30px;
      flex-wrap: wrap;
      gap: 20px;
    }

    .process-header .section-label {
      color: #485F4E;
      font-size: 14px;
      font-weight: 600;
      letter-spacing: 0.5px;
      display: flex;
      align-items: center;
    }

    .process-header .section-label::before {
      content: "";
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background-color: #485F4E;
      margin-right: 8px;
    }

    .process-header h2 {
      font-size: 34px;
      font-weight: 700;
      color: #1e293b;
      line-height: 1.2;
      margin-top: 8px;
    }

    .process-header .contact-btn {
      background-color: #485F4E;
      color: white;
      border: none;
      padding: 12px 24px;
      border-radius: 8px;
      font-size: 16px;
      font-weight: 600;
      cursor: pointer;
      transition: background-color 0.3s ease;
    }
.process-header .contact-btn a{color:white;}
    .process-header .contact-btn:hover {
      background-color: #059669;
    }

    /* 图片与步骤容器 */
    .process-content {
      position: relative;
      width: 100%;
      border-radius: 16px;
      overflow: hidden;
    }

    /* 铺满宽度的图片 */
    .process-image {
      width: 100%;
      height: 600px;
      position: relative;
    }

    .process-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    /* 步骤卡片 */
    .steps-card {
      position: absolute;
      right: 80px;
      top: 50%;
      transform: translateY(-50%);
      background-color: white;
      padding: 40px;
      border-radius: 16px;
      box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    }

    .step {
      margin-bottom: 36px;
    }

    .step:last-child {
      margin-bottom: 0;
    }

    .step .step-number {
      display: inline-block;
      background-color:#485F4E;
      color:white;
      font-size: 13px;
      font-weight: 600;
      padding: 4px 12px;
      border-radius: 12px;
      margin-bottom: 14px;
    }

    .step h3 {
      font-size: 22px;
      color: #1e293b;
      font-weight: 600;
      margin-bottom: 10px;
    }

    .step p {
      font-size: 15px;
      color: #64748b;
      line-height: 1.6;
    }

    /* 响应式设计 */
    @media (max-width: 1200px) {
      .steps-card {
        right: 40px;
        width: 380px;
        padding: 35px;
      }
      
      .process-image {
        height: 550px;
      }
    }

    @media (max-width: 992px) {
      .steps-card {
        position: static;
        transform: none;
        width: 100%;
        margin-top: -100px;
        margin-bottom: 40px;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
        z-index: 10;
        position: relative;
      }
      
      .process-content {
        display: flex;
        flex-direction: column;
      }
      
      .process-image {
        height: 450px;
      }
    }

    @media (max-width: 768px) {
      .process-header {
        flex-direction: column;
        align-items: flex-start;
      }
      
      .process-header h2 {
        font-size: 32px;
      }
      
      .process-image {
        height: 350px;
      }
      
      .steps-card {
        margin-top: -80px;
        padding: 30px;
        margin-left: 20px;
        margin-right: 20px;
      }
    }

    @media (max-width: 576px) {
      .process-header h2 {
        font-size: 26px;
      }
      
      .process-image {
        height: 280px;
      }
      
      .steps-card {
        padding: 25px;
      }
      
      .step h3 {
        font-size: 20px;
      }
    }
/* 下拉箭头基础样式 */
.dropdown-arrow {
    margin-left: 8px;
    display: inline-flex;
    align-items: center;
    transition: transform 0.3s ease;
}

/* 桌面端箭头样式 */
@media (min-width: 769px) {
    .dropdown-arrow {
        width: 0;
        height: 0;
        border-left: 4px solid transparent;
        border-right: 4px solid transparent;
        border-top: 4px solid currentColor;
    }
    
    .header-nav .primary-menu > li:hover > a > .dropdown-arrow {
        transform: rotate(180deg);
    }
    
    /* 隐藏移动端SVG箭头在桌面端 */
    .mobile-arrow {
        display: none;
    }
}

/* 移动端样式 */
@media (max-width: 768px) {
    .header-nav .primary-menu {
        flex-direction: column;
        align-items: stretch;
    }
    .product-short-desc{height:50px;overflow:hidden;}
    .header-nav .primary-menu > li {
        border-bottom: 1px solid #e5e5e5;
    }
    
    .header-nav .primary-menu > li:last-child {
        border-bottom: none;
    }
    
    .header-nav .primary-menu > li > a {
        padding: 15px;
        justify-content: space-between;
        display: flex;
        align-items: center;
        text-decoration: none;
        color: inherit;
    }
    
    /* 移动端箭头样式 */
    .dropdown-arrow {
        margin-left: auto;
        padding-left: 10px;
    }
    
    .mobile-arrow {
        display: block;
        width: 12px;
        height: 12px;
        transition: transform 0.3s ease;
    }
    
    /* 移动端二级菜单 */
    .header-nav .sub-menu {
        position: static;
        background: #f9f9f9;
        border: none;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .header-nav .sub-menu.active {
        max-height: 500px;
    }
    
    .header-nav .sub-menu a {
        padding: 12px 30px;
        border-bottom: 1px solid #eee;
        display: block;
    }
    
    .header-nav .sub-menu li:last-child a {
        border-bottom: none;
    }
    
    /* 移动端箭头旋转动画 */
    .header-nav .primary-menu > li.active > a > .dropdown-arrow .mobile-arrow {
        transform: rotate(180deg);
    }
    
    /* 隐藏桌面端边框箭头在移动端 */
    .dropdown-arrow::before {
        display: none;
    }
}

/* 桌面端悬停效果 */
@media (min-width: 769px) {
    .header-nav .primary-menu > li:hover > .sub-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .header-nav .sub-menu {
        position: absolute;
        top: 100%;
        left: 0;
        min-width: 200px;
        background: #fff;
        border: 1px solid #e5e5e5;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        list-style: none;
        margin: 0;
        padding: 10px 0;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all 0.3s ease;
        z-index: 1000;
    }
    
    .header-nav .sub-menu li {
        margin: 0;
    }
    
    .header-nav .sub-menu a {
        display: block;
        padding: 8px 20px;
        text-decoration: none;
        color: #333;
        transition: background-color 0.3s ease;
    }
    
    .header-nav .sub-menu a:hover {
        background-color: #f5f5f5;
    }
}
		
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-item.active .faq-answer {
    max-height: 500px; /* 根据内容调整这个值 */
    transition: max-height 0.5s ease-in;
}

.faq-toggle {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}
.auth{display:inline; vertical-align: middle;}
/* 产品卡片整体 */
.product-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}


/* 图片区域 */
.product-gallery {
    display: flex;
    flex-direction: column;
}
.product-image, .application-image {
    width: 100%;
    height: 550px; /* 可根据需求调整 */
    object-fit: cover;
}
.application-image {
    display: none; /* 默认隐藏应用图，hover 时显示 */
}

/* 信息区域 */
.product-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.product-title {
    margin-bottom: 0.5rem;
}
.product-description {
    margin-bottom: 0.5rem;
}
.product-sku {
    margin-bottom: 0.5rem;
}
.product-rating {
    margin-bottom: 1rem;
}
.product-pricing .original-price-custom{
	color:#F17E62;
	
}
.product-pricing .sale-badge{
	border: 1px solid transparent;
    border-radius: var(--badge-corner-radius);
    display: inline-block;
    font-size: 1.2rem;
    line-height: 1;
    padding: .6rem 1.3rem;
    text-align: center;
    background:#F17E62;
    color:white;
    word-break: break-word;
	
}
.original-price {
    margin-right: 0.5rem;
}
.sale-badge {
    font-weight: bold;
}

/* 操作区域 */
.product-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
	
}
.choose-options {
    background: #0073aa;
    color: #fff;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease;
}
.choose-options:hover {
    background: #005177;
}

/* 动画 */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.custom-shop-container{width:138rem;margin:0 auto;}
@media (max-width: 768px) {
	.custom-shop-container{width:95%;}
}
.choose-options{background:none !important;color:#485F4E !important;}
.product-price2{
	font-size: 18px; 
    font-weight: bold; 
    color: #485F4E; 
    padding-left: 15px;
}
.product-short-desc{margin-bottom:10px}


.product_type_simple{padding-top:15px !important;color:#485F4E !important;}
.product_type_simple:hover{background:none !important;}


/* 简化筛选器样式 */
.simple-product-filters {
    margin-bottom: 30px;
    padding: 0;
}

.filters-form {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-group {
    flex: 1;
    min-width: 150px;
    max-width: 200px;
}

/* 下拉框样式 */
.filter-select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    background: white;
    color: #2c3e50;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-select:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

/* 重置按钮 */
.reset-filters-btn {
    display: inline-block;
    background: #95a5a6;
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.reset-filters-btn:hover {
    background: #7f8c8d;
    color: white;
    transform: translateY(-1px);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .filters-form {
        gap: 10px;
    }
    
    .filter-group {
        min-width: 120px;
        max-width: 150px;
    }
    
    .filter-select {
        padding: 8px 10px;
        font-size: 13px;
    }
    
    .reset-filters-btn {
        padding: 8px 15px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .filters-form {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-group {
        min-width: auto;
        max-width: none;
    }
}

/* 当前筛选标签 */
.current-filters {
    margin-bottom: 20px;
    padding: 12px 15px;
    background: #f8f9fa;
    border-radius: 6px;
}

.current-filters-title {
    margin: 0 0 8px 0;
    font-size: 0.9em;
    color: #2c3e50;
    font-weight: 600;
}

.filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.filter-tag {
    background: #485F4E;
    color: white;
    padding: 4px 10px;
    border-radius: 16px;
    font-size: 11px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.remove-filter {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 12px;
    padding: 0;
    margin-left: 4px;
    line-height: 1;
}


/* 可折叠筛选器样式 */
.collapsible-product-filters {
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
    background: white;
}

.filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #e5e5e5;
}

.filters-toggle-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #485F4E;
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.filters-toggle-btn:hover {
    background: #96A99C;
    transform: translateY(-1px);
}

.filters-toggle-btn.active .toggle-icon {
    transform: rotate(180deg);
}

.toggle-icon {
    transition: transform 0.3s ease;
    font-size: 12px;
}

.active-filters-display {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.active-filter-tag {
    background: #96A99C;
    color: white;
    padding: 4px 10px;
    border-radius: 16px;
    font-size: 12px;
    align-items: center;
    gap: 5px;
}

.remove-filter-tag {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 14px;
    padding: 0;
    margin-left: 4px;
    line-height: 1;
}

.filters-panel {
    padding: 20px;
    background: white;
}

.filters-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-label {
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
}

.filter-select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    background: white;
    color: #2c3e50;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-select:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.filter-actions {
    grid-column: 1 / -1;
    display: flex;
    gap: 15px;
    justify-content: center;
    padding-top: 20px;
    margin-top: 10px;
}

.apply-filters-btn {
    background: #485F4E;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.apply-filters-btn:hover {
    background: #485F4E;
    transform: translateY(-1px);
}

.reset-filters-btn {
    background: #95a5a6;
    color: white;
    padding: 12px 25px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.reset-filters-btn:hover {
    background: #7f8c8d;
    color: white;
    transform: translateY(-1px);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .filters-header {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .filters-toggle-btn {
        justify-content: center;
    }
    
    .filters-form {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .filter-actions {
        flex-direction: column;
    }
    
    .apply-filters-btn,
    .reset-filters-btn {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .filters-panel {
        padding: 15px;
    }
    
    .filter-select {
        padding: 8px 10px;
        font-size: 13px;
    }
}

/* 针对所有 WooCommerce 页面 */
.woocommerce-cart .site-main,
.woocommerce-checkout .site-main,
.woocommerce-account .site-main,
.woocommerce-register .site-main,
.woocommerce .site-main {
    max-width: 138rem;
    margin: 0 auto;
}
/* 针对所有 WooCommerce 页面 */
.woocommerce-cart .site-main,
.woocommerce-checkout .site-main,
.woocommerce-account .site-main,
.woocommerce-register .site-main,
#primary .site-main {
    max-width: 138rem;
    margin: 0 auto;
}
@media (max-width: 768px) {
.woocommerce-cart .site-main,
.woocommerce-checkout .site-main,
.woocommerce-account .site-main,
.woocommerce-register .site-main,
.woocommerce .site-main {
    max-width: 95%;
    margin: 0 auto;
}
.woocommerce-cart .site-main,
.woocommerce-checkout .site-main,
.woocommerce-account .site-main,
.woocommerce-register .site-main,
#primary .site-main {
    max-width: 95%;
    margin: 0 auto;
}

}

/* 针对单个产品页面的加入购物车按钮 */
.single-product .product-actions .button.alt,
.single-product .product-actions button.alt,
.single-product .custom-ajax-single-add-to-cart {
    background-color: #485F4E !important; /* 您想要的颜色 */
    border-color: #485F4E !important;
    color: #ffffff !important;
}

/* 悬停状态 */
.single-product .product-actions .button.alt:hover,
.single-product .product-actions button.alt:hover,
.single-product .custom-ajax-single-add-to-cart:hover {
    background-color: #3b4d40 !important;
    border-color: #3b4d40 !important;
    color: #ffffff !important;
}

/* ===== 强制启用文字选择 ===== */
/* 这个规则必须在所有其他规则之后 */

/* 只对主要内容区域启用文本选择 */
.entry-content,
.post-content,
.woocommerce-product-details__short-description,
.product-details,
.text-content,
.site-main {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}
/* 确保覆盖所有可能的类 */
.container, 
.content, 
.entry-content, 
.post-content, 
.woocommerce-product-details__short-description,
.product-details,
.text-block,
.wp-block-group,
.wp-block-columns,
.site-main {
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
    user-select: text !important;
}
.custom-size{margin-bottom:15px}
.button--primary{color:#485F4E;padding-top:10px;}
.news-card a{color:#485F4E;}
.lookimg{padding:15px;display:block}
.added_to_cart.alt, .added_to_cart, .widget a.button.checkout{display:none !important;}
.product-category-tabs {
    margin-bottom: 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center; /* 水平居中 */
    align-items: center;     /* 垂直居中 */
    text-align: center;      /* 备选方案，确保内部内容也居中 */
}

.category-tab {
    padding: 8px 18px 8px 18px;
    background: #f0f0f0;
    border: none;
	color:#485F4E;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
	border-radius: 50px;
	font-size:14px;
}

.category-tab.active {
    background: #485F4E;
    color: white;
}

.category-tab:hover:not(.active) {
    background: #e0e0e0;
}

.loading-products, .product-error {
    text-align: center;
    padding: 40px;
    color: #666;
}
.banner-top{background:#485F4E;height:40px;line-height:40px;}
.banner-top .banner-p{width:138rem;margin:0 auto;text-align:center;}
.banner-top .banner-p a{color:white;font-size:12px;}
@media (max-width: 768px) {.banner-top .banner-p{width:100%;}}

/* 容器配置 */
        .nl-container {
            width: 100%;
            max-width: 138rem !important;
            margin: 0 auto;
            box-sizing: border-box;
        }

        .nl-container * {
            box-sizing: border-box;
        }

        /* 列表网格布局 */
        .nl-grid {
            display: flex;
            flex-wrap: wrap;
            gap: 30px; /* 卡片之间的间距 */
            justify-content: flex-start;
        }

        /* 单个卡片样式 */
        .nl-card {
            background: #fff;
            /* 桌面端一行3个：(100% - 2个间距) / 3 */
            width: calc((100% - 60px) / 3); 
            border-radius: 2px;
            box-shadow: 0 2px 15px rgba(0, 0, 0, 0.04);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            display: flex;
            flex-direction: column;
            overflow: hidden;
            text-decoration: none; /* 去除链接下划线 */
        }

        .nl-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
        }

        /* 图片容器 */
        .nl-img-box {
            width: 100%;
            height: 240px; /* 固定高度确保整齐 */
            overflow: hidden;
            position: relative;
        }

        .nl-img-box img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
            display: block;
        }

        .nl-card:hover .nl-img-box img {
            transform: scale(1.05);
        }

        /* 内容区域 */
        .nl-content {
            padding: 25px;
            display: flex;
            flex-direction: column;
            flex-grow: 1;
            background-color: #fff;
        }

        /* 日期行 */
        .nl-meta {
            display: flex;
            align-items: center;
            font-size: 13px;
            color: #888;
            margin-bottom: 12px;
            font-weight: 400;
        }

        /* SVG 图标样式 */
        .nl-icon-cal {
            width: 14px;
            height: 14px;
            margin-right: 8px;
            flex-shrink: 0;
        }
        .nl-icon-cal .cal-bg { fill: #888; }
        .nl-icon-cal .cal-top { fill: #d9534f; } /* 还原图中的红色顶部 */

        /* 标题 */
        .nl-title {
            font-size: 18px;
            font-weight: 700;
            color: #222;
            margin: 0 0 12px 0;
            line-height: 1.4;
        }

/* 描述文本 - 增加多行省略效果 */
.nl-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0 0 25px 0;
    flex-grow: 1;
    font-weight: normal;
    
    /* --- 新增的核心代码 --- */
    display: -webkit-box;          /* 必须结合的属性 */
    -webkit-box-orient: vertical;  /* 必须结合的属性 */
    -webkit-line-clamp: 3;         /* 限制显示 3 行，你可以改为 2 或 4 */
    overflow: hidden;              /* 超出隐藏 */
    text-overflow: ellipsis;       /* 显示省略号 */
    /* -------------------- */
}

        /* 按钮链接 */
        .nl-read-btn {
            font-size: 12px;
            color: #666;
            text-transform: uppercase;
            font-weight: 600;
            letter-spacing: 0.5px;
            display: inline-flex;
            align-items: center;
            margin-top: auto;
            text-decoration: none;
        }

        .nl-read-btn:hover {
            color: #000;
        }

        /* 移动端与平板适配 */
        @media (max-width: 992px) {
            .nl-card {
                /* 平板端一行2个 */
                width: calc((100% - 30px) / 2); 
            }
        }

        @media (max-width: 600px) {
            .nl-card {
                /* 手机端一行1个 */
                width: 100%;
                margin-bottom: 20px;
            }
            .nl-grid {
                gap: 20px;
            }
            .nl-img-box {
                height: 200px;
            }
        }
.woocommerce-pagination .next,
.woocommerce-pagination .prev {
  text-indent:-9999px;
  position:static !important;
}
.pagination .page-numbers, .woocommerce-pagination .page-numbers {
  list-style: none;
  margin: 0;
  vertical-align: middle;
  font-size: 16px !important;
  background: #e7e2e2 !important;
  padding: 15px !important;
  color: black !important;
}
 .woocommerce-pagination .current {background:#485F4E !important;color:white !important}
    /* 移动端适配（768px断点） */
    @media (max-width: 768px) {
        /* 隐藏PC端标题+价格，显示移动端标题和单独价格 */
        .product-title-price-pc {
            display: none !important;
        }
        .product-title-mobile {
            display: block !important;
        }
        .product-price-mobile {
            display: block !important;
        }
        
        /* 移动端产品头部排版 */
        .product-header {
            flex-direction: column;
            align-items: flex-start !important;
            gap: 6px !important;
        }
        .product-info-wrapper {
            min-width: 100% !important;
        }
    }
    
    /* PC端样式 */
    @media (min-width: 769px) {
        /* 显示PC端标题+价格，隐藏移动端元素 */
        .product-title-price-pc {
            display: flex !important;
        }
        .product-title-mobile, .product-price-mobile {
            display: none !important;
        }
    }
    
    /* 通用样式 */
    .woocommerce-Price-amount {
        font-weight: 600 !important;
    }
    .testimonial-card a:hover {
        opacity: 0.9;
        text-decoration: underline;
    }
/* --- 彻底隐藏分页箭头，防止闪烁 --- */

/* 1. 针对链接本身：强制透明并缩小到零 */
.woocommerce-pagination a.prev, 
.woocommerce-pagination a.next,
.woocommerce-pagination .prev,
.woocommerce-pagination .next {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    font-size: 0 !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}

/* 2. 针对 Storefront 常见的伪元素图标 (关键步) */
.woocommerce-pagination .page-numbers li a::before,
.woocommerce-pagination .page-numbers li a::after {
    content: none !important;
    display: none !important;
}

/* 3. 如果你的三角形是作为列表项存在的，隐藏首尾节点 */
.woocommerce-pagination ul.page-numbers li:first-child:has(.prev),
.woocommerce-pagination ul.page-numbers li:last-child:has(.next) {
    display: none !important;
}