.elementor-26485 .elementor-element.elementor-element-4f187bd{--display:flex;}.elementor-26485 .elementor-element.elementor-element-252c8de .elementor-heading-title{font-family:"IRANYekanX", Sans-serif;font-size:16px;}.elementor-26485 .elementor-element.elementor-element-67a14d3{--display:flex;}.elementor-26485 .elementor-element.elementor-element-ed92792{--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;--justify-content:space-around;--gap:0px 0px;--row-gap:0px;--column-gap:0px;}.elementor-26485 .elementor-element.elementor-element-fbb8155{--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-26485 .elementor-element.elementor-element-0c4bc43.elementor-wc-products  ul.products{grid-column-gap:20px;grid-row-gap:40px;}.elementor-26485 .elementor-element.elementor-element-0c4bc43.elementor-wc-products ul.products li.product .woocommerce-loop-product__title, .elementor-26485 .elementor-element.elementor-element-0c4bc43.elementor-wc-products ul.products li.product .woocommerce-loop-category__title{font-family:"IRANYekanX", Sans-serif;}.elementor-26485 .elementor-element.elementor-element-0c4bc43.elementor-wc-products ul.products li.product .price{font-family:"IRANYekanX", Sans-serif;}.elementor-26485 .elementor-element.elementor-element-0c4bc43.elementor-wc-products ul.products li.product .price del {font-family:"IRANYekanX", Sans-serif;}.elementor-26485 .elementor-element.elementor-element-0c4bc43.elementor-wc-products .added_to_cart{font-family:"IRANYekanX", Sans-serif;}.elementor-26485 .elementor-element.elementor-element-0c4bc43.elementor-wc-products ul.products li.product span.onsale{display:block;font-family:"IRANYekanX", Sans-serif;}.elementor-26485 .elementor-element.elementor-element-0c4bc43 .elementor-products-nothing-found{font-family:"IRANYekanX", Sans-serif;}body.elementor-page-26485:not(.elementor-motion-effects-element-type-background), body.elementor-page-26485 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#FFFFFF;}@media(min-width:768px){.elementor-26485 .elementor-element.elementor-element-ed92792{--content-width:1254px;}.elementor-26485 .elementor-element.elementor-element-fbb8155{--width:85%;}}@media(max-width:1024px){.elementor-26485 .elementor-element.elementor-element-0c4bc43.elementor-wc-products  ul.products{grid-column-gap:20px;grid-row-gap:40px;}}@media(max-width:767px){.elementor-26485 .elementor-element.elementor-element-0c4bc43.elementor-wc-products  ul.products{grid-column-gap:20px;grid-row-gap:40px;}}/* Start custom CSS for wc-archive-products, class: .elementor-element-0c4bc43 */<!-- استایل کامل آرشیو محصولات عقیق الکتریک (طرح آرتا الکتریک ۵ تایی دسکتاپ) -->
<style>
/* فونت یکان سراسری برای بخش آرشیو و المان‌های ووکامرس */
.aghigh-artastyle-archive,
.aghigh-artastyle-archive * {
    font-family: 'Yekan', 'IRANYekan', Tahoma, sans-serif !important;
}

/* ۱. حذف کامل متن شمارنده نتایج (Showing all results) */
.aghigh-artastyle-archive .woocommerce-result-count,
.woocommerce-result-count {
    display: none !important;
}

/* ۲. استایل نوار مرتب‌سازی بر اساس (Sorting Bar) به سبک شیک و مینیمال */
.aghigh-artastyle-archive .woocommerce-ordering {
    float: none !important;
    margin: 0 0 20px 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    direction: rtl !important;
    gap: 15px !important;
    border-bottom: 1px solid #f0f0f0 !important;
    padding-bottom: 12px !important;
}

/* در صورتی که فیلتر سلکت معمولی ووکامرس باشد */
.aghigh-artastyle-archive .woocommerce-ordering select.orderby {
    border: 1px solid #e0e0e0 !important;
    border-radius: 6px !important;
    padding: 6px 12px !important;
    font-size: 13px !important;
    color: #444 !important;
    background-color: #fafafa !important;
    outline: none !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.aghigh-artastyle-archive .woocommerce-ordering select.orderby:hover,
.aghigh-artastyle-archive .woocommerce-ordering select.orderby:focus {
    border-color: #d4af37 !important;
    background-color: #ffffff !important;
}

/* استایل لیست تب‌های مرتب‌سازی (در صورت استفاده از افزونه یا ویجت متنی) */
.aghigh-artastyle-archive .orderby-list,
.aghigh-artastyle-archive .product-sorting-tabs {
    display: flex !important;
    align-items: center !important;
    gap: 18px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.aghigh-artastyle-archive .orderby-list li a,
.aghigh-artastyle-archive .product-sorting-tabs a {
    color: #666 !important;
    font-size: 13px !important;
    text-decoration: none !important;
    padding-bottom: 4px !important;
    position: relative !important;
    transition: color 0.2s ease !important;
}

.aghigh-artastyle-archive .orderby-list li.active a,
.aghigh-artastyle-archive .orderby-list li a:hover,
.aghigh-artastyle-archive .product-sorting-tabs a.active,
.aghigh-artastyle-archive .product-sorting-tabs a:hover {
    color: #111111 !important;
    font-weight: bold !important;
}

.aghigh-artastyle-archive .orderby-list li.active a::after,
.aghigh-artastyle-archive .product-sorting-tabs a.active::after {
    content: '' !important;
    position: absolute !important;
    bottom: -13px !important;
    right: 0 !important;
    left: 0 !important;
    height: 2px !important;
    background: #e53935 !important;
}

/* ۳. گرید ۵ ستونی محصولات مخصوص دسکتاپ */
@media (min-width: 1025px) {
    .aghigh-artastyle-archive ul.products {
        display: grid !important;
        grid-template-columns: repeat(5, 1fr) !important;
        gap: 0px !important;
        border-top: 1px solid #ebebeb !important;
        border-right: 1px solid #ebebeb !important;
        padding: 0 !important;
        margin: 0 !important;
        list-style: none !important;
    }

    .aghigh-artastyle-archive ul.products li.product {
        width: 100% !important;
        margin: 0 !important;
        float: none !important;
        border-bottom: 1px solid #ebebeb !important;
        border-left: 1px solid #ebebeb !important;
        background: #ffffff !important;
        padding: 16px 14px !important;
        box-sizing: border-box !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        transition: all 0.25s ease-in-out !important;
        position: relative !important;
    }

    .aghigh-artastyle-archive ul.products li.product:hover {
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08) !important;
        z-index: 2 !important;
    }
}

/* تصویر محصول */
.aghigh-artastyle-archive ul.products li.product a img,
.aghigh-artastyle-archive ul.products li.product img {
    margin: 0 auto 12px auto !important;
    max-height: 180px !important;
    object-fit: contain !important;
    display: block !important;
    transition: transform 0.3s ease !important;
}

.aghigh-artastyle-archive ul.products li.product:hover img {
    transform: scale(1.04) !important;
}

/* عنوان محصول */
.aghigh-artastyle-archive ul.products li.product .woocommerce-loop-product__title,
.aghigh-artastyle-archive ul.products li.product h2,
.aghigh-artastyle-archive ul.products li.product h3 {
    font-size: 13.5px !important;
    line-height: 1.6 !important;
    color: #2b2b2b !important;
    font-weight: 500 !important;
    text-align: right !important;
    margin: 8px 0 14px 0 !important;
    padding: 0 !important;
    min-height: 44px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

/* لیبل درصد تخفیف گرد قرمز */
.aghigh-artastyle-archive ul.products li.product .onsale {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    left: auto !important;
    background-color: #e53935 !important;
    color: #fff !important;
    font-size: 11px !important;
    font-weight: bold !important;
    border-radius: 50% !important;
    width: 28px !important;
    height: 28px !important;
    line-height: 28px !important;
    min-height: auto !important;
    min-width: auto !important;
    text-align: center !important;
    padding: 0 !important;
    box-shadow: 0 2px 6px rgba(229, 57, 53, 0.3) !important;
}

/* ردیف قیمت و دکمه خرید در کنار هم */
.aghigh-artastyle-archive ul.products li.product .price-and-action-wrapper {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-top: auto !important;
    padding-top: 10px !important;
    border-top: 1px dashed #f0f0f0 !important;
    direction: rtl !important;
}

/* استایل قیمت */
.aghigh-artastyle-archive ul.products li.product .price {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    color: #1a1a1a !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    margin: 0 !important;
}

.aghigh-artastyle-archive ul.products li.product .price del {
    color: #a0a0a0 !important;
    font-size: 11.5px !important;
    font-weight: normal !important;
    margin-bottom: 2px !important;
}

.aghigh-artastyle-archive ul.products li.product .price ins {
    text-decoration: none !important;
    color: #1a1a1a !important;
}

/* دکمه افزودن به سبد خرید دایره‌ای قرمز */
.aghigh-artastyle-archive ul.products li.product .action-container {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}

.aghigh-artastyle-archive ul.products li.product .button.add_to_cart_button,
.aghigh-artastyle-archive ul.products li.product a.button {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    background: #e53935 !important;
    color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0 !important;
    border: none !important;
    box-shadow: 0 3px 8px rgba(229, 57, 53, 0.35) !important;
    cursor: pointer !important;
    transition: transform 0.2s ease, background 0.2s ease !important;
    margin: 0 !important;
}

.aghigh-artastyle-archive ul.products li.product .button.add_to_cart_button:hover {
    background: #c62828 !important;
    transform: scale(1.08) !important;
}

/* آیکون پلاس درون دکمه گرد */
.aghigh-artastyle-archive ul.products li.product .button.add_to_cart_button::before {
    content: "+" !important;
    font-size: 22px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    color: #ffffff !important;
}

/* حالت لودینگ ووکامرس */
.aghigh-artastyle-archive ul.products li.product .button.loading::after {
    top: 9px !important;
    right: 9px !important;
}

/* کادر مشاهده سبد خرید پس از کلیک و اضافه شدن */
.aghigh-artastyle-archive ul.products li.product .added_to_cart.wc-forward {
    position: absolute !important;
    top: calc(100% + 6px) !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    white-space: nowrap !important;
    background: #111111 !important;
    color: #d4af37 !important;
    border: 1px solid #d4af37 !important;
    font-size: 10.5px !important;
    padding: 3px 8px !important;
    border-radius: 4px !important;
    text-decoration: none !important;
    z-index: 10 !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2) !important;
    animation: fadeInCartBtn 0.3s ease !important;
}

@keyframes fadeInCartBtn {
    from { opacity: 0; transform: translate(-50%, -4px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}
</style>

<script>
(function($) {
    function reformatAghighProducts() {
        $('.aghigh-artastyle-archive ul.products li.product').each(function() {
            var $product = $(this);
            if (!$product.find('.price-and-action-wrapper').length) {
                var $price = $product.find('.price');
                var $button = $product.find('.button.add_to_cart_button, a.button');
                
                if ($price.length && $button.length) {
                    var $wrapper = $('<div class="price-and-action-wrapper"></div>');
                    var $actionContainer = $('<div class="action-container"></div>');
                    
                    $price.before($wrapper);
                    $wrapper.append($price);
                    $wrapper.append($actionContainer);
                    $actionContainer.append($button);
                }
            }
        });
    }

    $(document).ready(function() {
        reformatAghighProducts();
    });

    $(document).ajaxComplete(function() {
        reformatAghighProducts();
    });
})(jQuery);
</script>/* End custom CSS */