.elementor-6583 .elementor-element.elementor-element-a5674c6{--display:flex;--padding-top:100px;--padding-bottom:100px;--padding-left:0px;--padding-right:0px;}.elementor-6583 .elementor-element.elementor-element-cf72949{--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;--padding-top:0px;--padding-bottom:100px;--padding-left:0px;--padding-right:0px;}.elementor-widget-theme-archive-title .elementor-heading-title{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );color:var( --e-global-color-primary );}.elementor-6583 .elementor-element.elementor-element-4fafdb2{text-align:center;}.elementor-6583 .elementor-element.elementor-element-4fafdb2 .elementor-heading-title{font-family:"Vazirmatn", Sans-serif;font-size:38px;font-weight:700;color:#253478;}.elementor-6583 .elementor-element.elementor-element-1940177{--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:100px 100px;--row-gap:100px;--column-gap:100px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-6583 .elementor-element.elementor-element-584eb23{--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;--gap:50px 50px;--row-gap:50px;--column-gap:50px;border-style:solid;--border-style:solid;border-width:1px 1px 1px 1px;--border-top-width:1px;--border-right-width:1px;--border-bottom-width:1px;--border-left-width:1px;border-color:#D8D8DA;--border-color:#D8D8DA;--border-radius:25px 25px 25px 25px;--margin-top:180px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:32px;--padding-bottom:32px;--padding-left:32px;--padding-right:32px;}.elementor-6583 .elementor-element.elementor-element-584eb23:not(.elementor-motion-effects-element-type-background), .elementor-6583 .elementor-element.elementor-element-584eb23 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#FFFFFF;}.elementor-6583 .elementor-element.elementor-element-584eb23.e-con{--align-self:flex-start;}.elementor-widget-heading .elementor-heading-title{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );color:var( --e-global-color-primary );}.elementor-6583 .elementor-element.elementor-element-6d84f34 .elementor-heading-title{font-family:"Vazirmatn", Sans-serif;font-size:29px;font-weight:700;color:#253478;}.elementor-6583 .elementor-element.elementor-element-d715d82{--display:flex;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.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-6583 .elementor-element.elementor-element-805a6c9.elementor-wc-products  ul.products{grid-column-gap:20px;grid-row-gap:40px;}.elementor-6583 .elementor-element.elementor-element-805a6c9 nav.woocommerce-pagination{margin-top:50px;font-family:"Vazirmatn", Sans-serif;}.elementor-6583 .elementor-element.elementor-element-805a6c9.elementor-wc-products ul.products li.product span.onsale{display:block;}@media(max-width:1024px){.elementor-6583 .elementor-element.elementor-element-805a6c9.elementor-wc-products  ul.products{grid-column-gap:20px;grid-row-gap:40px;}}@media(min-width:768px){.elementor-6583 .elementor-element.elementor-element-a5674c6{--content-width:1440px;}.elementor-6583 .elementor-element.elementor-element-cf72949{--width:100%;}.elementor-6583 .elementor-element.elementor-element-584eb23{--width:20%;}.elementor-6583 .elementor-element.elementor-element-d715d82{--width:80%;}}@media(max-width:767px){.elementor-6583 .elementor-element.elementor-element-cf72949{--padding-top:24px;--padding-bottom:24px;--padding-left:24px;--padding-right:24px;}.elementor-6583 .elementor-element.elementor-element-4fafdb2 .elementor-heading-title{font-size:26px;}.elementor-6583 .elementor-element.elementor-element-1940177{--gap:20px 20px;--row-gap:20px;--column-gap:20px;}.elementor-6583 .elementor-element.elementor-element-584eb23{--margin-top:50px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;}.elementor-6583 .elementor-element.elementor-element-6d84f34 .elementor-heading-title{font-size:22px;}.elementor-6583 .elementor-element.elementor-element-805a6c9.elementor-wc-products  ul.products{grid-column-gap:20px;grid-row-gap:40px;}}/* Start custom CSS for shortcode, class: .elementor-element-9a017ed */.product-attribute-filter {
    padding-bottom: 30px !important;
    border-bottom: 1px solid #8c8c8c !important;
}/* End custom CSS */
/* Start custom CSS for wc-archive-products, class: .elementor-element-805a6c9 */ul.order {
    display: none;
}

ul.sort-count.order-dropdown {
    display: none;
}

ul.fusion-grid-list-view {
    display: none;
}

.tafco-product-card {
    border: 1px solid #d8d8da;
    border-radius: 25px;
    background: #fff;
}

.tafco-product-info {
    padding: 18px;
}

.catalog-ordering .order li a, .fusion-grid-list-view li, .order-dropdown .current-li, .order-dropdown ul li a {
    background-color: #253478 !important;
}

.catalog-ordering .order li a, .fusion-grid-list-view, .fusion-grid-list-view li, .order-dropdown .current-li, .order-dropdown ul li a, .order-dropdown>li:after {
    border-color: unset !important;
}

span.current-li {
    border-radius: 25px;
}

.current-li-content {
    min-width: 155px !important;
}

.order-dropdown .current-li {
    padding: 0 24px 0 13px !important;
}


a.tafco-product-image img {
    border-radius: 25px !important;
}


.tafco-product-title a {
  color: #253478 !important;
  font-size: 17px;
}

.tafco-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

h3.tafco-product-title.fusion-responsive-typography-calculated {
    text-align: center;
}

.tafco-cart {
    background: #253478;
    padding: 6px;
    margin-top: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 25px;
}

a.button.product_type_simple.add_to_cart_button.ajax_add_to_cart {
    color: white !important;
}

.bbp-pagination .bbp-pagination-links, .fusion-pagination, .page-links, .pagination, .woocommerce-pagination {
    justify-content: center !important;
}

span.page-numbers.current {
    color: #253478 !important;
}

a.page-numbers {
    color: #253478 !important;
    border: none !important;
}

.tafco-product-image {
  position: relative;
  display: block;
  overflow: hidden;
}

.tafco-product-image img {
  width: 100%;
  display: block;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1); 
}

.tafco-product-image .hover-image {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

.tafco-product-image:hover .hover-image {
  opacity: 1;
}

.tafco-product-image:hover .primary-image {
  opacity: 0;
}



.tafco-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: column;
  gap: 15px;
}

.tafco-cart-icon a {
  color: #253478;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, color 0.25s ease;
}

.tafco-cart-icon a:hover {
  color: #253478; 
  transform: scale(1.1);
}

.tafco-price .old-price {
  text-decoration: line-through;
  opacity: 0.6;
  display: block;
  font-size: 0.9em;
}

.tafco-price .new-price {
  display: block;
  font-weight: bold;
}


.tafco-product-image-wrap {
  position: relative;
  border-bottom: 1px solid #d8d8de;
}

.tafco-sale-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #d32f2f;
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  padding: 4px 12px;
  border-radius: 6px;
  z-index: 10;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  line-height: 1;
  direction: ltr;
}


.tafco-sku {
    font-weight: 800;
    text-align: center;
}

.tafco-cart-icon {
    display: flex;
}

.tafco-price {
    font-weight: 800;
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.tafco-product-card {
	transition: box-shadow 0.3s ease;
}

.tafco-product-card:hover {
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

span.custom-price {
    border: 1px solid #079807;
    padding: 4px 16px 4px 12px;
    border-radius: 5px;
}

.custom-price a {
    color: #333 !important;
}


@media only screen and (max-width: 767px) {
    /* تنظیمات کارت محصول */
    .tafco-product-card {
        border-radius: 20px;
        margin-bottom: 20px;
        height: auto !important;
        min-height: 450px;
    }
    
    /* اطلاعات محصول */
    .tafco-product-info {
        padding: 12px;
    }
    
    /* تصویر محصول */
    a.tafco-product-image img {
        border-radius: 20px !important;
    }
    
    /* عنوان محصول */
    .tafco-product-title a {
        font-size: 15px !important;
        line-height: 1.4;
    }
    
    h3.tafco-product-title.fusion-responsive-typography-calculated {
        font-size: 1.1rem !important;
        margin-bottom: 8px;
        text-align: center;
    }
    
    /* سطر متا اطلاعات */
    .tafco-meta-row {
        flex-direction: column;
        gap: 8px;
        align-items: stretch;
        margin-bottom: 10px;
    }
    
    /* SKU */
    .tafco-sku {
        font-size: 12px;
        margin-bottom: 5px;
    }
    
    /* ردیف پایینی */
    .tafco-bottom-row {
        flex-direction: row;
        gap: 10px;
        align-items: center;
        justify-content: space-between;
        margin-top: 12px;
    }
    
    /* قیمت */
    .tafco-price {
        flex-direction: column;
        gap: 4px;
        align-items: flex-start;
        font-size: 14px;
    }
    
    .tafco-price .old-price,
    .tafco-price .new-price {
        font-size: 0.85em;
    }
    
    span.custom-price {
        padding: 3px 10px;
        font-size: 12px;
        border-width: 1px;
    }
    
    /* سبد خرید */
    .tafco-cart {
        margin-top: 0;
        padding: 5px 12px;
        border-radius: 20px;
        min-width: 110px;
    }
    
    .tafco-cart-icon {
        display: flex;
        align-items: center;
    }
    
    .tafco-cart-icon a {
        font-size: 14px;
    }
    
    a.button.product_type_simple.add_to_cart_button.ajax_add_to_cart {
        font-size: 13px;
        padding: 5px 0;
    }
    
    /* نشان sale */
    .tafco-sale-badge {
        top: 15px;
        right: 15px;
        font-size: 11px;
        padding: 3px 8px;
        border-radius: 4px;
    }
    
    /* تصاویر hover - غیرفعال در موبایل */
    .tafco-product-image:hover .hover-image {
        opacity: 0;
    }
    
    .tafco-product-image:hover .primary-image {
        opacity: 1;
    }
    
    /* سایه hover کارت */
    .tafco-product-card:hover {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    
    /* پینجینیشن */
    .bbp-pagination .bbp-pagination-links, 
    .fusion-pagination, 
    .page-links, 
    .pagination, 
    .woocommerce-pagination {
        flex-wrap: wrap;
        gap: 5px;
    }
    
    .page-numbers {
        padding: 5px 10px !important;
        font-size: 14px !important;
        margin: 2px !important;
    }
    
    span.page-numbers.current,
    a.page-numbers {
        font-size: 14px;
    }
    
    /* تنظیمات dropdown مرتب‌سازی */
    .current-li-content {
        min-width: 140px !important;
    }
    
    .order-dropdown .current-li {
        padding: 0 15px 0 10px !important;
        font-size: 13px;
        height: 35px;
        line-height: 35px;
    }
    
    span.current-li {
        border-radius: 20px;
    }
    
    /* بهبود layout محصولات در گرید */
    .products .product {
        width: calc(50% - 10px) !important;
        margin: 5px !important;
    }
    
    .products {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 10px !important;
    }
    
    /* تنظیمات مربوط به border */
    .tafco-product-image-wrap {
        border-bottom: 1px solid #eaeaea;
    }
    
    /* تنظیمات flex برای آیتم‌های قیمت */
    .tafco-price {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
    
    /* تنظیمات لینک در custom-price */
    .custom-price a {
        font-size: 12px;
    }
    
    ul.fusion-grid-list-view {
    display: none !important;
    }
}/* End custom CSS */