.elementor-871 .elementor-element.elementor-element-b7997f1{--display:flex;}.elementor-871 .elementor-element.elementor-element-4ddbaff{--spacer-size:30px;}.elementor-871 .elementor-element.elementor-element-4552f87{--display:flex;}.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-871 .elementor-element.elementor-element-ad92df7.elementor-wc-products  ul.products{grid-column-gap:20px;grid-row-gap:40px;}.elementor-871 .elementor-element.elementor-element-ad92df7.elementor-wc-products ul.products li.product span.onsale{display:block;}.elementor-871 .elementor-element.elementor-element-a7e4afe{--display:flex;}.elementor-871 .elementor-element.elementor-element-d66a6b7{--spacer-size:75px;}@media(max-width:1024px){.elementor-871 .elementor-element.elementor-element-ad92df7.elementor-wc-products  ul.products{grid-column-gap:20px;grid-row-gap:40px;}}@media(max-width:767px){.elementor-871 .elementor-element.elementor-element-ad92df7.elementor-wc-products  ul.products{grid-column-gap:20px;grid-row-gap:40px;}}/* Start custom CSS for wc-archive-products, class: .elementor-element-ad92df7 *//* ==================================
   ABEDINI ACADEMY – PRODUCT ARCHIVE
================================== */

.abedini-courses,
body.woocommerce.archive {
    --ab-orange: #f45705;
    --ab-orange-dark: #d94600;
    --ab-dark: #171717;
    --ab-text: #55545a;
    --ab-bg: #fff8f3;
    --ab-border: #f0e8e3;
}

/* شبکه محصولات */
:is(.abedini-courses, body.woocommerce.archive) ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* کارت محصول */
:is(.abedini-courses, body.woocommerce.archive) ul.products li.product {
    position: relative;
    display: flex !important;
    flex-direction: column;
    width: auto !important;
    min-width: 0;
    height: 100%;
    margin: 0 !important;
    padding: 10px 10px 14px !important;
    float: none !important;
    overflow: hidden;

    background: #fff;
    border: 1px solid var(--ab-border);
    border-radius: 28px;
    box-shadow: 0 12px 35px rgba(45, 30, 20, 0.07);

    text-align: right !important;
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

/* خط نارنجی بالای کارت */
:is(.abedini-courses, body.woocommerce.archive) ul.products li.product::before {
    content: "";
    position: absolute;
    top: 0;
    right: 38px;
    left: 38px;
    height: 4px;
    z-index: 5;
    border-radius: 0 0 10px 10px;
    background: linear-gradient(90deg, #ff914d, var(--ab-orange));
    transition: right 0.35s ease, left 0.35s ease;
}

/* نشان روی تصویر */
:is(.abedini-courses, body.woocommerce.archive) ul.products li.product::after {
    content: "دوره تخصصی";
    position: absolute;
    top: 25px;
    right: 23px;
    z-index: 4;

    padding: 7px 13px;
    color: #fff;
    background: rgba(18, 18, 18, 0.82);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 100px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    font-family: "Vazirmatn", sans-serif;
    font-size: 11px;
    font-weight: 600;
}

/* هاور کارت */
:is(.abedini-courses, body.woocommerce.archive) ul.products li.product:hover {
    transform: translateY(-9px);
    border-color: rgba(244, 87, 5, 0.25);
    box-shadow: 0 22px 55px rgba(45, 30, 20, 0.14);
}

:is(.abedini-courses, body.woocommerce.archive) ul.products li.product:hover::before {
    right: 18px;
    left: 18px;
}

/* لینک اصلی محصول */
:is(.abedini-courses, body.woocommerce.archive)
ul.products li.product
.woocommerce-loop-product__link {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    color: inherit;
    text-decoration: none;
}

/* تصویر محصول */
:is(.abedini-courses, body.woocommerce.archive) ul.products li.product img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1;
    margin: 0 0 15px !important;

    object-fit: cover;
    object-position: center;
    border-radius: 21px;

    transition:
        transform 0.45s cubic-bezier(.2,.8,.2,1),
        filter 0.35s ease;
}

:is(.abedini-courses, body.woocommerce.archive) ul.products li.product:hover img {
    transform: scale(1.025);
    filter: saturate(1.08) contrast(1.02);
}

/* عنوان دوره */
:is(.abedini-courses, body.woocommerce.archive)
ul.products li.product
.woocommerce-loop-product__title {
    min-height: 56px;
    margin: 0 !important;
    padding: 0 10px !important;

    color: var(--ab-dark) !important;
    font-family: "Vazirmatn", sans-serif !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    line-height: 1.75 !important;
    text-align: right !important;

    transition: color 0.25s ease;
}

:is(.abedini-courses, body.woocommerce.archive)
ul.products li.product:hover
.woocommerce-loop-product__title {
    color: var(--ab-orange) !important;
}

/* قیمت */
:is(.abedini-courses, body.woocommerce.archive) ul.products li.product .price {
    display: flex !important;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;

    min-height: 36px;
    margin: 8px 0 0 !important;
    padding: 0 10px !important;

    color: var(--ab-orange) !important;
    font-family: "Vazirmatn", sans-serif !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    text-align: right !important;
}

:is(.abedini-courses, body.woocommerce.archive) .price del {
    color: #aaa !important;
    font-size: 12px;
    opacity: 1 !important;
}

:is(.abedini-courses, body.woocommerce.archive) .price ins {
    color: var(--ab-orange) !important;
    text-decoration: none !important;
}

/* دکمه */
:is(.abedini-courses, body.woocommerce.archive)
ul.products li.product
a.button {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    width: calc(100% - 16px);
    min-height: 50px;
    margin: 17px 8px 0 !important;
    padding: 10px 17px !important;

    color: #fff !important;
    background: var(--ab-dark) !important;
    border: 0 !important;
    border-radius: 15px !important;
    box-shadow: none !important;

    font-family: "Vazirmatn", sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    text-decoration: none !important;

    transition:
        background 0.3s ease,
        transform 0.3s ease;
}

:is(.abedini-courses, body.woocommerce.archive)
ul.products li.product
a.button::after {
    content: "←";
    display: flex;
    align-items: center;
    justify-content: center;
    width: 29px;
    height: 29px;
    margin: 0 !important;

    color: var(--ab-dark);
    background: #fff;
    border-radius: 50%;

    font-family: Arial, sans-serif;
    font-size: 16px;
    transition: transform 0.3s ease;
}

:is(.abedini-courses, body.woocommerce.archive)
ul.products li.product
a.button:hover {
    background: var(--ab-orange) !important;
    transform: translateY(-2px);
}

:is(.abedini-courses, body.woocommerce.archive)
ul.products li.product
a.button:hover::after {
    transform: translateX(-4px);
}

/* نشان تخفیف */
:is(.abedini-courses, body.woocommerce.archive) span.onsale {
    top: 24px !important;
    right: auto !important;
    left: 23px !important;
    z-index: 6;

    min-width: auto !important;
    min-height: auto !important;
    margin: 0 !important;
    padding: 7px 11px !important;

    color: #fff !important;
    background: var(--ab-orange) !important;
    border-radius: 100px !important;

    font-family: "Vazirmatn", sans-serif !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
}

/* پیام مشاهده سبد خرید */
:is(.abedini-courses, body.woocommerce.archive)
.added_to_cart.wc-forward {
    margin: 8px 10px 0;
    color: var(--ab-orange);
    font-size: 13px;
    font-weight: 600;
}

/* حذف ستاره‌ها در صورت وجود */
:is(.abedini-courses, body.woocommerce.archive) .star-rating {
    display: none !important;
}

/* تبلت */
@media (max-width: 1024px) {
    :is(.abedini-courses, body.woocommerce.archive) ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px !important;
    }
}

/* موبایل */
@media (max-width: 600px) {
    :is(.abedini-courses, body.woocommerce.archive) ul.products {
        grid-template-columns: 1fr;
        gap: 20px !important;
    }

    :is(.abedini-courses, body.woocommerce.archive) ul.products li.product {
        border-radius: 24px;
    }

    :is(.abedini-courses, body.woocommerce.archive) ul.products li.product img {
        border-radius: 18px;
    }

    :is(.abedini-courses, body.woocommerce.archive)
    ul.products li.product
    .woocommerce-loop-product__title {
        min-height: auto;
        font-size: 16px !important;
    }
}

.orderby{
    display: none;
}/* End custom CSS */