/* 面包屑隐藏 */
.wf_pagetitle {
    display: none;
}
.home-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}
.home-header-right {
    width: 30%;
    padding-left: 1rem;
}
.home-header-right img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.home-header-right-item {
    height: 19.75rem;
}
.home-header-right-item:first-child {
    margin-bottom: 0.5rem;
}

.shop-now-slide-overlay {
    position: absolute;
    bottom: 2%;
    right: -9.8%;
    transform: translate(-50%, -50%);
    background-color: var(--wf-main-color);
    color: #fff;
    padding: 2.4rem 9.6rem;
    border-radius: 2rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    opacity: 0;
}

.owl-container {
    width: 70%;
    position: relative;
}
.owl-container .item {
    height: 40rem;
    width: 100%;
    /* border: 1px solid #3c3c3c; */
}
.owl-container .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* border-radius: 20px; */
}

/* 分页点样式 */
.owl-dots {
    position: absolute !important;
    bottom: 10px !important;
    left: 0 !important;
    width: 100% !important;
    text-align: center !important;
    z-index: 10 !important;
}

.owl-dot span {
    width: 20px !important;
    height: 4px !important;
    background: rgba(239,239,239,1) !important;
    /* border-radius: 4px !important; */
    transition: all 0.3s ease;
    border: none !important;
}

.owl-dot.active span {
    width: 30px !important;
    background: rgba(60,60,60,1) !important;
}

/* 进度条样式 */
.progress-wrapper {
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(0,0,0,0.1);
    z-index: 9;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #f5f3f3, #918e8e);
    transition: width 0.1s linear;
}

.owl-carousel {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.grid-x {
    display: flex;
    flex-flow: row wrap;
}
.gap-1rem {
    gap: 1rem;
}
.gap-2rem {
    gap: 2rem;
}
.gap-4rem {
    gap: 4rem;
}
.usage-scenarios-container {
    padding: 0 10rem;
}
.usage-scenarios-item {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-size: cover;
    position: relative;
    padding: 2.5rem 1.5rem 2rem;
    text-align: center;
    height: 33rem;
    border-radius: 2rem;
    z-index: 1;
}
.usage-scenarios-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    /* z-index: 1; */
    border-radius: 2rem;
    transition: all 0.3s ease;
}
/* .usage-scenarios-item h3 {
    color: #fff;
    z-index: 2;
} */
.usage-scenarios-item:first-child {
    background-image: url(/wp-content/uploads/2025/12/RESTORATION.jpg);
}
.usage-scenarios-item:nth-child(2) {
    background-image: url(/wp-content/uploads/2025/12/Jan-San.jpg);
}
.usage-scenarios-item:nth-child(3) { 
    background-image: url(/wp-content/uploads/2025/12/Pet.jpg);
}
.usage-scenarios-item:last-child {
    background-image: url(/wp-content/uploads/2025/12/Construction.jpg);
}
.industry-content-ui {
    z-index: 2;
    padding-left: 0;
    opacity: 0;
    visibility: hidden;
    /* margin-bottom: calc(-187px + 0px); */
    /* transition: margin-bottom .3s ease; */
    transition: all 0.3s ease;  /* 使用all过渡所有属性 */
}
.usage-scenarios-item:first-child .industry-content-ui {
    margin-bottom: -177px;
}
.usage-scenarios-item:nth-child(2) .industry-content-ui {
    margin-bottom: -140px;
}
.usage-scenarios-item:nth-child(3) .industry-content-ui {
    margin-bottom: -140px;
}
.usage-scenarios-item:last-child .industry-content-ui {
    margin-bottom: -100px;
}
.industry-content-ui li {
    list-style: none;
    font-size: 1.8rem;
    color: #fff;
    text-align: left;
    margin-bottom: 0.5rem;
}
.industry-content-ui li span {
    color: #fff;
    margin-right: 0.5rem;
    font-weight: 600;
}
.industry-content-ui li a {
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 500;
}
.home-content .usage-scenarios-item:hover .industry-content-ui {
    opacity: 1;
    visibility: visible;
    /* 结束状态：0px */
    /* margin-bottom: calc(-187px + 187px); */
    margin-bottom: 50px;
}
.usage-scenarios-item h3 {
    color: #fff;
    z-index: 2;
    opacity: 1;
    visibility: visible;
    transition: all 0.5s ease;
    font-size: 2.5rem;
    /* animation: fadeInDownStagger 1s ease-out forwards; */
}
.usage-scenarios-item:hover h3 {
    opacity: 0;
    visibility: hidden;
    /* animation: fadeInUpStagger 1s ease-out forwards; */
}
.usage-scenarios-item:hover::before {
    background: rgba(0,0,0,0.8);
}

.usage-scenarios-item h1 {
    color: #fff;
    z-index: 2;
    text-transform: uppercase;
    font-size: 4rem;
    display: none;
}

.home-content-title-wrapper {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}
.home-content-title-wrapper .line {
    flex-grow: 1;
    height: 2px;
    background-color: #ccc;
    display: inline-block;
}
.home-content-title-wrapper h5 {
    color: #939090;
    font-weight: 500;
}

.featrue-product-title {
    text-align: center;
    background-color: var(--wf-main-color);
    padding: 1rem 0;
}
.featrue-product-title h4 {
    color: #fff;
}
.featrue-product-container {
    padding: 0 4rem;
}
.featrue-product-menu { 
    padding: 1rem 0;
}
.featrue-product-menu ul { 
    margin: 0;
    padding: 0;
    /* display: flex; */
    float: left;
    display: inline-block;
    width: 100%;
    margin-bottom: 2rem;
}
.featrue-product-menu ul li { 
    list-style: none;
    float: left;
    display: inline-block;
    /* flex: 1; */
    text-align: center;
    width: 20%;
}
.featrue-product-menu ul li:first-child { 
    text-align: left;
    width: 10%;
}
.featrue-product-menu ul li:last-child { 
    text-align: right;
    width: 10%;
}
.featrue-product-menu ul li span {
    font-size: 2rem;
    font-weight: 600;
    color: #7f7a7a;
    cursor: pointer;
}
.featrue-product-menu ul li.active span {
    color: #000;
    border-bottom: 3px solid var(--wf-main-color);
    padding-bottom: 0.5rem;
}

/* 覆盖样式 */
.featrue-product-content {
    position: relative;
    clear: both;
}
.featrue-product-content:hover .carousel-nav {
    display: block;
}
.featrue-product-content .woocommerce ul.products {
    display: flex;
    gap: 2rem;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2rem;
}
.featrue-product-content .woocommerce ul.products li.product:first-child {
    margin-left: -2rem;
}
.featrue-product-content .woocommerce ul.products li.product:last-child {
    margin-right: -2rem;
}
.featrue-product-content .woocommerce ul.products li.product {
    flex: 0 0 18.2%;
    margin: 0;
}
.featrue-product-content .woocommerce ul.products::-webkit-scrollbar {
    height: 3px;
}
.featrue-product-content .woocommerce ul.products::-webkit-scrollbar-thumb {
    background: var(--wf-main-color);
}
.featrue-product-content .carousel-nav {
    border-radius: 50%;
    width: 4rem;
    height: 4rem;
    background-color: rgba(213, 21, 34, 0.85);
    top: 45%;
    display: none;
}
.featrue-product-content .carousel-nav:hover {
    background-color: var(--wf-main-color);
}
.xpower-purchase-title h4 {
    color: #000;
}
.xpower-purchase-container {
    padding: 0 4rem;
    display: flex;
    gap: 4rem;
}
.xpower-purchase-item  {
    border: 2px solid #efefef;
    border-radius: 1rem;
    padding: 1rem 2rem 2rem 2rem;
    flex: 1;
    display: flex;
    flex-flow: column;
}
.xpower-purchase-item h5 { 
    margin-bottom: 2rem;
    color: #000;
}
.xpower-purchase-item h6 {
    color: #000;
    padding: 1rem 0 1.5rem 0;
}
.xpower-purchase-item img {
    width: 100%;
    object-fit: cover;
}
.xpower-purchase-item a {
    text-decoration: none;
    width: 100%;
    display: inline-block;
    text-align: center;
    border: 2px solid var(--wf-main-color);
    border-radius: 0.5rem;
    padding: 0.5rem 0;
    font-weight: bold;
    margin-top: auto;
}
.xpower-purchase-item a:hover { 
    background-color: var(--wf-main-color);
    color: #fff;
}
.xpower-purchase-item .excerpt {
    height: auto;
}
.comment-title h6 {
    text-align: center;
    font-size: 3rem;
}
.comment-container {
    text-align: center;
    padding: 0 10%;
}
.comment-container .item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 25rem;
}
.comment-container .item p {
    font-size: 2rem;
    margin-bottom: 4rem;
}
.comment-container .author {
    padding: 2rem 0;
}
.home-content.woocommerce .woocommerce-product-rating .star-rating {
    margin: 0;
    float: unset;
}
.home-content.woocommerce .star-rating {
    font-size: 2rem;
}
.home-content.woocommerce .star-rating span::before, .home-content.woocommerce .star-rating::before {
    /* color: #9c9c9c; */
    color: var(--wf-text-color);
}
.home-content.woocommerce .star-rating {
    line-height: 0.9;
}
/* .home-content.woocommerce .star-rating span::before { 
    height: 1.3em;
    top: 0.2px;
} */
.comment-container span.top { 
    font-family: Inter, sans-serif;
    margin-bottom: 1rem;
}
.comment-container span.top::before {
    content: "\201c";
    display: block;
    margin: .1em 0 -.3em 0;
    color: rgba(var(--text-color) / .2);
    font-size: max(3.2em, 96px);
    font-weight: 700;
    line-height: .6;
}

.woocommerce ul.products li.product .product-single .product-img a.button.quickview-trigger {
    display: block !important;
}
.quickview-model-details {
    display: block !important;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.woocommerce div.product div.images .product-control-nav li {
    width: 60px !important;
    height: 60px !important;
}
.thumbnails-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.7rem;
}
.thumbnails-nav {
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 30px;
    height: 60px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    z-index: 2;
    display: block;
    position: relative;
    padding: 0;
}
.thumbnails-container .product-control-nav .owl-item.current li {
    border: 1px solid var(--wf-text-color);
    border-radius: 0.5rem;
}
.quickview-product .product-thumb.img-thumbnail .onsale {
    z-index: 2;
}
.woocommerce.single-product div.images ol.product-control-nav {
    margin-top: 0 !important;
    padding-top: 0.7rem;
}
.product-content .product-sku {
    margin: 1rem 0;
}
.product-content .price {
    margin-top: 0 !important;
    margin-bottom: 1rem !important;
}
.woocommerce div.product p.price del {
    font-size: 16px;
}
.woocommerce div.product p.price ins {
    font-size: 20px;
}
.variation-color-thumbnail {
    clear: both;
    border-top: 1px solid #d8d8d8;
    border-bottom: 1px solid #d8d8d8;
    padding: 1rem 0;
}
.variation-color-thumbnail ul {
    display: flex;
    justify-content: left;
    align-items: center;
    margin: 0;
    padding: 0;
    gap: 1rem;
}
.variation-color-thumbnail ul li {
    list-style: none;
    cursor: pointer;
    border: 1px solid #d8d8d8;
}
.variation-color-thumbnail ul li img { 
    width: 5rem;
    height: 5rem;
}
.variation-color-thumbnail ul li.current {
    border: 2px solid var(--wf-text-color);
}
.product-spec {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}
.product-spec .line {
    flex: 1;
    height: 1px;          /* 横线的粗细 */
    background-color: #ccc; /* 横线的颜色 */
}
.product-spec .content {
    font-size: 16px;
    font-weight: 400;
}
.product-attributes {
    float: left;
    width: 100%;
}
.product-attributes ul {
    margin: 0;
    padding: 0;
}
.product-attributes li {
    list-style: none;
    float: left;
    width: 31%;
    text-align: center;
    padding: 0.5rem 0;
    background-color: var(--wf-text-color);
    color: #fff;
    margin: 0 1rem 1rem 0;
}
.product-attributes li:nth-child(3), .product-attributes li:nth-child(6) {
    margin: 0 0 1rem 0;
}
.quickview-product .product-thumb.img-thumbnail {
    width: 50% !important;
}
.quickview-product .product-content.entry-summary {
    width: 50% !important;
}
.woocommerce-product-gallery__wrapper.owl-carousel .woocommerce-product-gallery__image {
    padding: 0;
    background-color: #ccc;
}
.woocommerce-product-gallery__wrapper.owl-carousel .owl-stage-outer {
    border: 1px solid #ccc;
    border-radius: 1rem;
}

.woocommerce div.product form.cart div.quantity {
    float: none !important;
    display: block !important;
    margin-bottom: 2rem;
}
.woocommerce div.product form.cart .button {
    float: none !important;
}
.woocommerce div.product form.cart .button {
    width: 49% !important;
}
.product-content .product_title a {
    text-decoration: none;
    color: var(--wf-secondary-color);
}
.view-product {
    margin-left: 4rem;
    color: var(--wf-text-color);
    font-weight: 400;
}

.quickview-actions form.cart a.view-product {
    display: inline-block;
    vertical-align: bottom;  /* 底部对齐 */
}
.woocommerce div.product form.cart div.quantity {
    width: 24% !important;
}
.quickview-actions button.disabled {
    background-color: #333 !important;
}

@media (max-width: 768px) {
    .owl-container {
        width: 100%;
    }
    .owl-container .item {
        height: 20rem;
    }
    .home-header-right {
        display: none;
    }
    
    /*********************** 应用场景样式 **********************/
    /* 一行显示一个 */
    .usage-scenarios-item {
        flex: 0 0 100%;
        height: 19rem;
    }
    .usage-scenarios-item h3 {
        font-size: 2.5rem;
    }
    .industry-content-ui li {
        font-size: 1.8rem;
    }
    .usage-scenarios-item:first-child .industry-content-ui {
        margin-bottom: -146px;
    }
    .usage-scenarios-item:nth-child(2) .industry-content-ui {
        margin-bottom: -88px;
    }
    .usage-scenarios-item:nth-child(3) .industry-content-ui {
        margin-bottom: -116px;
    }
    .usage-scenarios-item:last-child .industry-content-ui {
        margin-bottom: -60px;
    }
    
    /* 一行显示两个 */
    /* .home-content {
        gap: 6px;
    }
    .usage-scenarios-item {
        flex: 0 0 49%;
        height: 19rem;
    }
    .usage-scenarios-item h3 {
        font-size: 2rem;
    }
    .industry-content-ui li {
        font-size: 1.5rem;
    }
    .usage-scenarios-item:first-child .industry-content-ui {
        margin-bottom: -125px;
    }
    .usage-scenarios-item:nth-child(2) .industry-content-ui {
        margin-bottom: -82px;
    }
    .usage-scenarios-item:nth-child(3) .industry-content-ui {
        margin-bottom: -126px;
    }
    .usage-scenarios-item:last-child .industry-content-ui {
        margin-bottom: -58px;
    } */
}