.elementor-kit-5{--e-global-color-primary:#140266;--e-global-color-secondary:#297DE2;--e-global-color-text:#FFFFFF;--e-global-color-accent:#E5B017;--e-global-color-bb3af02:#14026603;--e-global-color-984614a:#E5AB02;--e-global-typography-primary-font-family:"yekan";--e-global-typography-primary-font-weight:600;--e-global-typography-secondary-font-family:"yekan";--e-global-typography-secondary-font-weight:400;--e-global-typography-text-font-family:"yekan";--e-global-typography-text-font-weight:400;--e-global-typography-accent-font-family:"yekan";--e-global-typography-accent-font-weight:500;font-family:"yekan", Sans-serif;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1140px;}.e-con{--container-max-width:1140px;}.elementor-widget:not(:last-child){--kit-widget-spacing:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}h1.entry-title{display:var(--page-title-display);}.elementor-kit-5 e-page-transition{background-color:#FFBC7D;}.site-header .site-branding{flex-direction:column;align-items:stretch;}.site-header{padding-inline-end:0px;padding-inline-start:0px;}.site-footer .site-branding{flex-direction:column;align-items:stretch;}@media(max-width:1024px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}
/* Start custom CSS */.woocommerce-product-gallery.woocommerce-product-gallery--with-images{
    margin: 0!important;
}


.nias-mainafteraddcart{
   position: fixed;
   top: 0;
   right: 0;
   z-index: 9999;
   backdrop-filter: blur(5px);
   display: none;
    
}
.nias-mainafteraddcart.active{
    display: flex;
}


button.single_add_to_cart_button.elementor-button.button.alt.loading {
    opacity: 1;
}



.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.loading::after, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.loading::after, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.loading::after, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.loading::after, :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce #respond input#submit.loading::after, :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce a.button.loading::after, :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce button.button.loading::after, :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce input.button.loading::after {
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    inset: 0;
    margin: auto;
    z-index: 9999;
    font-size: 50px;
}

button.single_add_to_cart_button.elementor-button.button.alt.loading:before {
    content: "";
    background: #0c0c0c57;
    height: 100vh;
    width: 100vw;
    position: fixed;
    right: 0;
    top: 0;
    backdrop-filter: blur(5px);
    z-index: 9999;
}





/* ===== برفک شاپ – کارت محصول در لوپ آیتم المنتور =====
   کلاس‌هایی که باید در المنتور (Advanced ← CSS Classes) به المنت‌ها بدهید:
   bf-loop-card  → کانتینر اصلی لوپ آیتم
   bf-card-img   → ویجت تصویر شاخص
   bf-badge-pos  → ویجت شورتکد [barfak_discount]
   bf-heart-pos  → ویجت شورتکد [barfak_wishlist]                                   */

:root{--bf-badge:#1038c4;--bf-tile1:#eef2ff;--bf-tile2:#dce6ff}   /* رنگ نشان و رنگ پس‌زمینه آبی پشت عکس */

/* کانتینر لوپ آیتم: مبنای جای‌گیری نشان و قلب */
.bf-loop-card{position:relative}

/* ---------- پس‌زمینه آبی پشت عکس + حذف پس‌زمینه سفید خود عکس ---------- */
.bf-card-img .elementor-widget-container{
  position:relative;isolation:isolate;overflow:hidden;border-radius:14px;
  background:radial-gradient(ellipse at 50% 40%,var(--bf-tile1),var(--bf-tile2));
}
.bf-card-img img{
  display:block;box-sizing:border-box;width:100%!important;height:auto;
  aspect-ratio:1/1;object-fit:contain;padding:14px;
  mix-blend-mode:multiply;            /* سفیدیِ پس‌زمینه عکس محو می‌شود و رنگ آبی دیده می‌شود */
  transition:transform .35s;
}
.bf-loop-card:hover .bf-card-img img{transform:scale(1.04)}

/* ---------- نشان درصد تخفیف (بالا، سمت شروع = راست در سایت فارسی) ---------- */
.bf-badge-pos{position:absolute!important;top:26px;inset-inline-start:26px;z-index:3;width:auto!important;max-width:none!important;margin:0!important}
.bf-off{
  display:inline-block;padding:2px 12px;border-radius:8px;
  background:var(--bf-badge);color:#fff;font-size:13px;font-weight:800;line-height:1.7;
  box-shadow:0 4px 10px rgba(16,56,196,.3);
}

/* ---------- آیکن قلب علاقه‌مندی (بالا، سمت پایان = چپ) ---------- */
.bf-heart-pos{position:absolute!important;top:22px;inset-inline-end:22px;z-index:3;width:auto!important;max-width:none!important;margin:0!important}
.bf-fav{
  display:grid!important;place-items:center;width:42px;height:42px;min-width:0!important;padding:0!important;
  border:0!important;border-radius:50%!important;background:#fff!important;color:#6b7285!important;
  box-shadow:0 3px 12px rgba(16,56,196,.2);cursor:pointer;transition:transform .2s,color .2s;
}
.bf-fav svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.bf-fav:hover{transform:scale(1.1);color:#e0334c!important}
.bf-fav.on{color:#e0334c!important}
.bf-fav.on svg{fill:#e0334c}

/* ---------- اختیاری: اگر سایه کارت در لوپ کروسل بریده می‌شود، این خط را فعال کنید ---------- */
/* .elementor-widget-loop-carousel .swiper{padding:8px 6px 30px!important} *//* End custom CSS */
/* Start Custom Fonts CSS */@font-face {
	font-family: 'yekan';
	font-style: normal;
	font-weight: 100;
	font-display: auto;
	src: url('https://barfakshop.com/wp-content/uploads/2026/09/iranyekanwebthin.woff') format('woff');
}
@font-face {
	font-family: 'yekan';
	font-style: normal;
	font-weight: 200;
	font-display: auto;
	src: url('https://barfakshop.com/wp-content/uploads/2026/09/iranyekanwebregular.woff') format('woff');
}
@font-face {
	font-family: 'yekan';
	font-style: normal;
	font-weight: 400;
	font-display: auto;
	src: url('https://barfakshop.com/wp-content/uploads/2026/09/iranyekanwebmedium.woff') format('woff');
}
@font-face {
	font-family: 'yekan';
	font-style: normal;
	font-weight: 500;
	font-display: auto;
	src: url('https://barfakshop.com/wp-content/uploads/2026/09/iranyekanweblight.woff') format('woff');
}
@font-face {
	font-family: 'yekan';
	font-style: normal;
	font-weight: 700;
	font-display: auto;
	src: url('https://barfakshop.com/wp-content/uploads/2026/09/iranyekanwebextrabold.woff') format('woff');
}
@font-face {
	font-family: 'yekan';
	font-style: normal;
	font-weight: 800;
	font-display: auto;
	src: url('https://barfakshop.com/wp-content/uploads/2026/09/iranyekanwebbold.woff') format('woff');
}
@font-face {
	font-family: 'yekan';
	font-style: normal;
	font-weight: 900;
	font-display: auto;
	src: url('https://barfakshop.com/wp-content/uploads/2026/09/iranyekanwebblack.woff') format('woff');
}
/* End Custom Fonts CSS */