.elementor-8244 .elementor-element.elementor-element-aa7fe56{--display:flex;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--gap:0px 0px;--row-gap:0px;--column-gap:0px;}.elementor-8244 .elementor-element.elementor-element-8263870{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;border-style:solid;--border-style:solid;border-width:0px 2px 0px 0px;--border-top-width:0px;--border-right-width:2px;--border-bottom-width:0px;--border-left-width:0px;border-color:#525151;--border-color:#525151;--border-radius:0px 0px 0px 0px;--margin-top:10px;--margin-bottom:0px;--margin-left:0px;--margin-right:10px;}.elementor-8244 .elementor-element.elementor-element-8263870.e-con{--flex-grow:0;--flex-shrink:0;}.elementor-8244 .elementor-element.elementor-element-2739b01{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--margin-top:10px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;}.elementor-8244 .elementor-element.elementor-element-2739b01.e-con{--flex-grow:0;--flex-shrink:0;}.elementor-widget-wc-archive-products.elementor-wc-products ul.products li.product .woocommerce-loop-product__title{color:var( --e-global-color-primary );}.elementor-widget-wc-archive-products.elementor-wc-products ul.products li.product .woocommerce-loop-category__title{color:var( --e-global-color-primary );}.elementor-widget-wc-archive-products.elementor-wc-products ul.products li.product .woocommerce-loop-product__title, .elementor-widget-wc-archive-products.elementor-wc-products ul.products li.product .woocommerce-loop-category__title{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );}.elementor-widget-wc-archive-products.elementor-wc-products ul.products li.product .price{color:var( --e-global-color-primary );font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );}.elementor-widget-wc-archive-products.elementor-wc-products ul.products li.product .price ins{color:var( --e-global-color-primary );}.elementor-widget-wc-archive-products.elementor-wc-products ul.products li.product .price ins .amount{color:var( --e-global-color-primary );}.elementor-widget-wc-archive-products{--products-title-color:var( --e-global-color-primary );}.elementor-widget-wc-archive-products.products-heading-show .related-products > h2, .elementor-widget-wc-archive-products.products-heading-show .upsells > h2, .elementor-widget-wc-archive-products.products-heading-show .cross-sells > h2{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );}.elementor-widget-wc-archive-products.elementor-wc-products ul.products li.product .price del{color:var( --e-global-color-primary );}.elementor-widget-wc-archive-products.elementor-wc-products ul.products li.product .price del .amount{color:var( --e-global-color-primary );}.elementor-widget-wc-archive-products.elementor-wc-products ul.products li.product .price del {font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );}.elementor-widget-wc-archive-products.elementor-wc-products ul.products li.product .button{font-family:var( --e-global-typography-accent-font-family ), Sans-serif;font-weight:var( --e-global-typography-accent-font-weight );}.elementor-widget-wc-archive-products.elementor-wc-products .added_to_cart{font-family:var( --e-global-typography-accent-font-family ), Sans-serif;font-weight:var( --e-global-typography-accent-font-weight );}.elementor-widget-wc-archive-products .elementor-products-nothing-found{color:var( --e-global-color-text );font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );}.elementor-8244 .elementor-element.elementor-element-b266923.elementor-wc-products ul.products li.product{--button-align-display:flex;--button-align-direction:column;--button-align-justify:space-between;}.elementor-8244 .elementor-element.elementor-element-b266923{width:var( --container-widget-width, 98.077% );max-width:98.077%;--container-widget-width:98.077%;--container-widget-flex-grow:0;}.elementor-8244 .elementor-element.elementor-element-b266923.elementor-element{--flex-grow:0;--flex-shrink:0;}.elementor-8244 .elementor-element.elementor-element-b266923.elementor-wc-products  ul.products{grid-column-gap:20px;grid-row-gap:40px;}.elementor-8244 .elementor-element.elementor-element-b266923.elementor-wc-products ul.products li.product .woocommerce-loop-product__title{color:#3A3939;}.elementor-8244 .elementor-element.elementor-element-b266923.elementor-wc-products ul.products li.product .woocommerce-loop-category__title{color:#3A3939;}.elementor-8244 .elementor-element.elementor-element-b266923.elementor-wc-products ul.products li.product .star-rating{color:#E25815;}.elementor-8244 .elementor-element.elementor-element-b266923.elementor-wc-products ul.products li.product .button{background-color:#4C4CAB;}.elementor-8244 .elementor-element.elementor-element-b266923.elementor-wc-products ul.products li.product span.onsale{display:block;background-color:#E25815;}@media(min-width:768px){.elementor-8244 .elementor-element.elementor-element-8263870{--width:29%;}.elementor-8244 .elementor-element.elementor-element-2739b01{--width:77%;}}@media(max-width:1024px){.elementor-8244 .elementor-element.elementor-element-b266923.elementor-wc-products  ul.products{grid-column-gap:20px;grid-row-gap:40px;}}@media(max-width:767px){.elementor-8244 .elementor-element.elementor-element-b266923.elementor-wc-products  ul.products{grid-column-gap:20px;grid-row-gap:40px;}}/* Start custom CSS for wc-archive-products, class: .elementor-element-b266923 *//* 多行截断样式 */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
    max-height: 4.2em;
    word-break: break-word;
    position: relative;
    padding-bottom: 0 !important;
}

/* 移除标题上的优惠券伪元素 */
ul.products li.product .woocommerce-loop-product__title::before,
ul.products li.product .woocommerce-loop-product__title::after {
    content: none !important;
}

/* 恢复价格的正常样式 */
ul.products li.product .price {
    position: relative;
    display: block;
    padding-bottom: 0; /* 移除优惠券预留空间 */
    margin-bottom: 10px; /* 增加与下方内容的间距 */
}

/* 创建按钮上方的优惠券容器 */
ul.products li.product .button {
    position: relative;
    margin-top: 40px !important; /* 为优惠券预留空间 */
}

/* 在按钮上方添加优惠券 */
ul.products li.product .button::before {
    content: "Free Shipping Coupon";
    position: absolute;
    top: -35px; /* 在按钮上方35px位置 */
    left: 0;
    color: #e60000;
    font-weight: bold;
    font-size: 12px;
    line-height: 1.3;
    z-index: 2;
    width: 100%;
    text-align: left
}

ul.products li.product .button::after {
    content: "Code: RWMBV78H";
    position: absolute;
    top: -18px; /* 在红色优惠券下方 */
    left: 0;
    color: #27ae60;
    font-weight: bold;
    font-size: 12px;
    line-height: 1.3;
    z-index: 2;
    width: 100%;
    text-align: left
}

/* 确保产品容器有足够空间 */
ul.products li.product {
    min-height: 300px; /* 增加最小高度 */
    position: relative;
    padding-bottom: 20px; /* 为底部留空间 */
}

/* 修复可能存在的主题冲突 */
ul.products li.product .button.added {
    display: none !important; /* 隐藏"已添加"提示 */
}

/* 星级评分调整 */
.star-rating {
    margin-bottom: 8px !important;
}/* End custom CSS */