.elementor-459 .elementor-element.elementor-element-f7a981e{--display:flex;}.elementor-459 .elementor-element.elementor-element-f7a981e.e-con{--flex-grow:0;--flex-shrink:0;}.elementor-459 .elementor-element.elementor-element-616f04d{--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;--padding-top:30px;--padding-bottom:30px;--padding-left:30px;--padding-right:30px;}.elementor-459 .elementor-element.elementor-element-2ba8cf9{--display:flex;}.elementor-459 .elementor-element.elementor-element-2ba8cf9.e-con{--flex-grow:0;--flex-shrink:0;}.elementor-459 .elementor-element.elementor-element-2647149{--wd-gap:8px;}.elementor-459 .elementor-element.elementor-element-130d0de{--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;}.elementor-459 .elementor-element.elementor-element-a60b6f2{--display:flex;}.elementor-459 .elementor-element.elementor-element-a60b6f2.e-con{--flex-grow:0;--flex-shrink:0;}.elementor-459 .elementor-element.elementor-element-c3f40fa{--display:flex;}.elementor-459 .elementor-element.elementor-element-ba48717.elementor-wc-products  ul.products{grid-column-gap:20px;grid-row-gap:40px;}.elementor-459 .elementor-element.elementor-element-ba48717.elementor-wc-products ul.products li.product span.onsale{display:block;}@media(min-width:768px){.elementor-459 .elementor-element.elementor-element-f7a981e{--width:36.252%;}.elementor-459 .elementor-element.elementor-element-2ba8cf9{--width:20.887%;}.elementor-459 .elementor-element.elementor-element-a60b6f2{--width:36.252%;}.elementor-459 .elementor-element.elementor-element-c3f40fa{--width:100%;}}@media(max-width:1024px){.elementor-459 .elementor-element.elementor-element-ba48717.elementor-wc-products  ul.products{grid-column-gap:20px;grid-row-gap:40px;}}@media(max-width:767px){.elementor-459 .elementor-element.elementor-element-ba48717.elementor-wc-products  ul.products{grid-column-gap:20px;grid-row-gap:40px;}}/* Start custom CSS for woocommerce-products, class: .elementor-element-ba48717 */.wd-products .wd-product {
    border: none !important;
    box-shadow: none !important;
    display: flex !important;
    flex-direction: column !important;
}

.wd-product .product-element-bottom {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
}

.wd-product .price {
    min-height: 44px !important;
}

.wd-product .wd-bottom-actions {
    margin-top: auto !important;
}

.wd-product .hover-img {
    display: none !important;
}
.wd-product .content-product-imagin {
    margin-bottom: 0 !important;
}

.wd-product .wd-product-cats {
    display: none !important;
}

.wd-product .wrap-wishlist-button,
.wd-product .wrap-quickview-button,
.wd-product .wrapp-swatches,
.wd-product .wd-compare-btn {
    display: none !important;
}

.wd-product .fade-in-block.wd-scroll {
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    max-height: none !important;
    height: auto !important;
    overflow: visible !important;
    transform: none !important;
}
.wd-product .hover-content.wd-more-desc {
    display: none !important;
}
.wd-product .wd-bottom-actions {
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

.wd-product .wd-add-btn {
    width: 100%;
}

.wd-product a.button.add_to_cart_button,
.wd-product a.button.added_to_cart {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    margin: 0 !important;
    min-height: 40px !important;
    height: 40px !important;
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    position: relative !important;
}

.wd-product a.button.add_to_cart_button::before,
.wd-product a.button.added_to_cart::before {
    content: none !important;
    display: none !important;
    animation: none !important;
    border: none !important;
}

.wd-product a.button.add_to_cart_button span,
.wd-product a.button.added_to_cart span {
    display: none !important;
}

.wd-product a.button.add_to_cart_button::after,
.wd-product a.button.added_to_cart::after {
    content: "افزودن به سبد خرید" !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: absolute !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: normal !important;
    color: #fff !important;
    opacity: 1 !important;
    visibility: visible !important;
    white-space: nowrap !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
    border: none !important;
    border-radius: 0 !important;
}

.wd-product a.button.loading,
.wd-product a.button.add_to_cart_button.loading,
.wd-product a.button.added_to_cart.loading {
    animation: none !important;
}

.wd-product a.button.loading::after,
.wd-product a.button.add_to_cart_button.loading::after {
    display: none !important;
}

.wd-product a.button.loading::before,
.wd-product a.button.add_to_cart_button.loading::before,
.wd-product a.button.added_to_cart.loading::before {
    content: none !important;
    display: none !important;
    animation: none !important;
    border: none !important;
    width: 0 !important;
    height: 0 !important;
}

.wd-product .price {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 6px;
}

.wd-product .price ins {
    order: 1;
    text-decoration: none !important;
}

.wd-product .price ins .woocommerce-Price-amount {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    white-space: nowrap;
    line-height: 1 !important;
}

.wd-product .price ins bdi {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    line-height: 1 !important;
}
.wd-product .price del {
    order: 2;
    font-size: 12px;
    opacity: 0.75;
}

.wd-product .price del,
.wd-product .price del .woocommerce-Price-amount,
.wd-product .price del bdi {
    text-decoration: line-through !important;
}

.wd-product .price del .woocommerce-Price-amount {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    line-height: 1 !important;
}

.wd-product .price del bdi {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    line-height: 1 !important;
}

.wd-product .price > .woocommerce-Price-amount {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    line-height: 1 !important;
}

.wd-product .price > .woocommerce-Price-amount bdi {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    line-height: 1 !important;
}

.wd-product .price del .woocommerce-Price-currencySymbol,
.wd-product .price > .woocommerce-Price-amount .woocommerce-Price-currencySymbol {
    font-size: 0 !important;
    display: inline-flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    align-self: center !important;
    vertical-align: middle !important;
    line-height: 1;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 0 2px;
    min-width: 14px;
    margin-inline-start: 5px !important;
    margin-inline-end: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    position: relative;
    top: 0 !important;
    transform: none !important;
}

.wd-product .price del .woocommerce-Price-currencySymbol::before,
.wd-product .price > .woocommerce-Price-amount .woocommerce-Price-currencySymbol::before {
    content: "تو";
    font-size: 7px;
    line-height: 1.2;
}
.wd-product .price del .woocommerce-Price-currencySymbol::after,
.wd-product .price > .woocommerce-Price-amount .woocommerce-Price-currencySymbol::after {
    content: "مان";
    font-size: 7px;
    line-height: 1.2;
}

.wd-product .price ins .woocommerce-Price-currencySymbol {
    display: none !important;
}

.wd-product .product-labels {
    position: absolute;
    top: 10px;
    inset-inline-start: 10px;
    z-index: 5;
}

.wd-product .product-image-link {
    display: block !important;
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    overflow: hidden !important;
}

.wd-product img.attachment-woocommerce_thumbnail,
.wd-product img.woocommerce-placeholder {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important;
}
.products-view-grid, .wd-products-per-page {
    display: none !important;
} 
@media (max-width: 767px) {

    /* بوردر ظریف دور کارت محصول */
    .wd-products .wd-product {
        border: 1px solid #e5e5e5 !important;
        box-shadow: none !important;
        border-radius: 8px !important;
        overflow: hidden !important;
    }

    /* دکمه افزودن به سبد خرید */
    .wd-product a.button.add_to_cart_button,
    .wd-product a.button.added_to_cart {
        width: 100% !important;
        min-width: 0 !important;
        height: 40px !important;
        min-height: 40px !important;
        padding: 0 !important;
        margin: 0 !important;
        box-sizing: border-box !important;
        background-color: #512a19 !important;
        color: #fff !important;
        border: 1px solid #512a19 !important;
        border-radius: 4px !important;
    }

    /* متن داخل دکمه */
    .wd-product a.button.add_to_cart_button::after,
    .wd-product a.button.added_to_cart::after {
        content: "افزودن به سبد خرید" !important;
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 !important;
        margin: 0 !important;
        box-sizing: border-box !important;
        color: #fff !important;
        font-size: 12px !important;
        font-weight: 500 !important;
        line-height: 1 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        background: transparent !important;
    }

    /* حالت هاور و کلیک */
    .wd-product a.button.add_to_cart_button:hover,
    .wd-product a.button.add_to_cart_button:focus,
    .wd-product a.button.add_to_cart_button:active,
    .wd-product a.button.added_to_cart:hover,
    .wd-product a.button.added_to_cart:focus,
    .wd-product a.button.added_to_cart:active {
        background-color: #512a19 !important;
        color: #fff !important;
        border-color: #512a19 !important;
    }
}
@media (min-width: 768px) {
    .wd-products {
        max-width: 1140px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}/* End custom CSS */