.elementor-590 .elementor-element.elementor-element-e648253{--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:0px 0px;--row-gap:0px;--column-gap:0px;--flex-wrap:wrap;}.elementor-590 .elementor-element.elementor-element-e648253:not(.elementor-motion-effects-element-type-background), .elementor-590 .elementor-element.elementor-element-e648253 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#1B1B1B;}.elementor-590 .elementor-element.elementor-element-7d99147{--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-widget-image .widget-image-caption{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-590 .elementor-element.elementor-element-a89cc66 img{border-radius:15px 15px 15px 15px;}.elementor-590 .elementor-element.elementor-element-85650ea{--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-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-590 .elementor-element.elementor-element-d20f75f .elementor-heading-title{font-family:"Roboto Slab", Sans-serif;font-size:20px;font-weight:400;color:#FFFFFF;}.elementor-widget-text-editor{font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );color:var( --e-global-color-text );}.elementor-widget-text-editor.elementor-drop-cap-view-stacked .elementor-drop-cap{background-color:var( --e-global-color-primary );}.elementor-widget-text-editor.elementor-drop-cap-view-framed .elementor-drop-cap, .elementor-widget-text-editor.elementor-drop-cap-view-default .elementor-drop-cap{color:var( --e-global-color-primary );border-color:var( --e-global-color-primary );}.elementor-590 .elementor-element.elementor-element-4e30d43{text-align:justify;font-family:"IRANYekanX", Sans-serif;font-size:13px;font-weight:400;line-height:22px;color:#FFFFFF;}.elementor-590 .elementor-element.elementor-element-9fedea0{--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-590 .elementor-element.elementor-element-a3d9113{--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-590 .elementor-element.elementor-element-a3d9113:not(.elementor-motion-effects-element-type-background), .elementor-590 .elementor-element.elementor-element-a3d9113 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#1B1B1B;}.elementor-590 .elementor-element.elementor-element-4e3fd42{text-align:center;}.elementor-590 .elementor-element.elementor-element-4e3fd42 .elementor-heading-title{font-family:"Roboto Slab", Sans-serif;font-size:22px;font-weight:400;color:#FFFFFF;}.elementor-590 .elementor-element.elementor-element-7dde0f2{background-color:#353535;padding:20px 20px 20px 20px;border-radius:15px 15px 15px 15px;box-shadow:0px 0px 10px -4px rgba(0,0,0,0.5);text-align:justify;font-family:"IRANYekanX", Sans-serif;font-size:13px;font-weight:400;line-height:22px;color:#FFFFFF;}:root{--page-title-display:none;}@media(min-width:768px){.elementor-590 .elementor-element.elementor-element-7d99147{--width:33.3333%;}.elementor-590 .elementor-element.elementor-element-85650ea{--width:33.3333%;}.elementor-590 .elementor-element.elementor-element-9fedea0{--width:33.3333%;}}/* Start custom CSS for shortcode, class: .elementor-element-12fdd58 *//******** فونت‌های IRANYekanX (هم عادی هم FaNum) ********/
/* اگر Variable داری */
@font-face{
  font-family:"IRANYekanXFaNum";
  src:url("/wp-content/uploads/fonts/IRANYekanXFaNumVF.woff2") format("woff2-variations");
  font-weight:100 900; font-style:normal; font-display:swap;
}
@font-face{
  font-family:"IRANYekanX";
  src:url("/wp-content/uploads/fonts/IRANYekanXVF.woff2") format("woff2-variations");
  font-weight:100 900; font-style:normal; font-display:swap;
}
/* اگر Variable نداری، این‌ها را نگه دار و مسیرها را درست کن */
@font-face{
  font-family:"IRANYekanXFaNum";
  src:url("/wp-content/uploads/fonts/IRANYekanXFaNum-Regular.woff2") format("woff2");
  font-weight:400; font-style:normal; font-display:swap;
}
@font-face{
  font-family:"IRANYekanXFaNum";
  src:url("/wp-content/uploads/fonts/IRANYekanXFaNum-Bold.woff2") format("woff2");
  font-weight:700; font-style:normal; font-display:swap;
}
@font-face{
  font-family:"IRANYekanX";
  src:url("/wp-content/uploads/fonts/IRANYekanX-Regular.woff2") format("woff2");
  font-weight:400; font-style:normal; font-display:swap;
}
@font-face{
  font-family:"IRANYekanX";
  src:url("/wp-content/uploads/fonts/IRANYekanX-Bold.woff2") format("woff2");
  font-weight:700; font-style:normal; font-display:swap;
}

/******** متغیرها + فونت سراسری ********/
:root{
  /* اول FaNum تا اعداد فارسی شوند */
  --hm-font:"IRANYekanXFaNum","IRANYekanX","IRANYekanX-FaNum",system-ui,-apple-system,Segoe UI,Arial,sans-serif;
  --hm-green:#16a34a;
  --hm-green-dark:#0f8a3d;
}
html, body, .elementor *, .woocommerce *{
  font-family:var(--hm-font) !important;
}

/******** باکس شورتکد [add_to_cart] ********/
.add_to_cart_inline{
  display:flex !important;
  flex-direction:column !important;   /* چیدمان طبیعی: اول قیمت، بعد دکمه */
  align-items:stretch;
  gap:12px;
  border:0 !important; padding:0 !important; background:transparent !important;
}

/* قیمت: بیاد بالا و فونت FaNum بگیره */
.add_to_cart_inline .price{
  order:-1 !important;                /* بیاد بالای دکمه */
  text-align:center; margin:0;
  color:#fff;
  font-weight:800; font-size:1.35rem; line-height:1.7;
}

/* اجبار فونت FaNum روی همه‌ی بخش‌های قیمت */
.add_to_cart_inline .price,
.add_to_cart_inline .price *,
.add_to_cart_inline .woocommerce-Price-amount,
.add_to_cart_inline .woocommerce-Price-amount *{
  font-family:"IRANYekanXFaNum","IRANYekanX",sans-serif !important;
  direction:rtl; unicode-bidi:plaintext;
}

/* قیمت تخفیف‌خورده */
.add_to_cart_inline del{ opacity:.6; margin-inline-end:8px; }
.add_to_cart_inline ins{ text-decoration:none; }

/******** دکمه خرید: سبز تیره + افکت Glow ********/
.add_to_cart_inline .button,
.single_add_to_cart_button{
  position:relative; overflow:hidden;
  display:block; width:100%; text-align:center;
  padding:10px 14px;
  border:0 !important; border-radius:10px;
  font-weight:700; font-size:.95rem; letter-spacing:.2px;
  color:#fff !important; background:var(--hm-green-dark) !important;
  box-shadow:0 4px 10px rgba(22,163,74,.25);
  transition:background .25s ease, transform .2s ease, box-shadow .2s ease;
}
.add_to_cart_inline .button:hover{
  background:var(--hm-green) !important;
  transform:translateY(-2px);
  box-shadow:0 10px 22px rgba(22,163,74,.45);
}
.add_to_cart_inline .button::after{
  content:""; position:absolute; inset:0; pointer-events:none;
  background:radial-gradient(circle at 50% 50%,
           rgba(255,255,255,.22) 0%, rgba(255,255,255,.10) 35%, rgba(255,255,255,0) 60%);
  transform:scale(0); opacity:0;
  transition:transform .35s ease-out, opacity .35s ease-out;
}
.add_to_cart_inline .button:hover::after{
  transform:scale(2.05); opacity:1;
}
.add_to_cart_inline .button:active{
  transform:translateY(0);
  box-shadow:0 6px 14px rgba(22,163,74,.35);
}
/* ====== قیمتِ [add_to_cart] — فیکس قطعی جایگاه/فونت/رنگ ====== */

/* ظرف شورتکد: ستون عمودی (قیمت بالا، دکمه پایین) */
.add_to_cart_inline{
  display:flex !important;
  flex-direction:column !important;
  align-items:stretch !important;
  gap:12px !important;
  border:0 !important; padding:0 !important; background:transparent !important;
}

/* اگر قیمت فرزند مستقیم است → ببَرش بالا و وسط‌چین */
.add_to_cart_inline > .price,
.add_to_cart_inline > .woocommerce-Price-amount.amount{
  order:-1 !important;
  display:block !important;
  width:100% !important;
  text-align:center !important;
  margin:0 0 10px !important;
}

/* اگر قیمت داخل یک .price تو در توست → باز هم وسط‌چین/تمام‌عرض شود */
.add_to_cart_inline .price{
  display:block !important;
  width:100% !important;
  text-align:center !important;
  margin:0 0 10px !important;
}

/* تایپوگرافی قیمت: اعداد حتماً IRANYekanXFaNum + رنگ سفید و خوانا */
.add_to_cart_inline .price,
.add_to_cart_inline .price *,
.add_to_cart_inline .woocommerce-Price-amount,
.add_to_cart_inline .woocommerce-Price-amount *,
.add_to_cart_inline .amount,
.add_to_cart_inline .amount *{
  color:#fff !important;
  font-family:"IRANYekanXFaNum","IRANYekanX",sans-serif !important;
  font-weight:800 !important;
  font-size:1.35rem !important;  /* اگر بزرگه 1.25rem کن */
  line-height:1.9 !important;
  opacity:1 !important;
  direction:rtl !important;
  unicode-bidi:plaintext !important;
  text-align:center !important;
}

/* واحد پول و عدد در یک خط و فاصله ملایم */
.add_to_cart_inline .price .woocommerce-Price-amount{
  display:inline-flex !important;
  align-items:baseline !important;
  gap:.35em !important;
  white-space:nowrap !important;
}
.add_to_cart_inline .woocommerce-Price-currencySymbol{
  margin-inline-start:.15em !important;
}

/* قیمت‌های تخفیف‌خورده */
.add_to_cart_inline del{ opacity:.6 !important; margin-inline-end:8px !important; }
.add_to_cart_inline ins{ text-decoration:none !important; }

/* ===== فیکس هاور دکمه خرید برای موبایل/تاچ ===== */
/* دستگاه‌های تاچ: هاور ساده (فقط تغییر رنگ)، بدون translate/Glow */
@media (hover:none), (pointer:coarse) {
  .add_to_cart_inline .button,
  .single_add_to_cart_button{
    transition:background .2s ease, box-shadow .2s ease; /* حذف ترنزیشنِ transform */
  }

  .add_to_cart_inline .button:hover,
  .single_add_to_cart_button:hover{
    background:var(--hm-green) !important;
    transform:none !important;                 /* بدون جابه‌جایی */
    box-shadow:0 4px 10px rgba(22,163,74,.25) !important; /* سایه‌ی کوچک و ثابت */
  }

  /* افکت نوری داخل دکمه را روی تاچ خاموش کن تا چیزی بیرون نزند */
  .add_to_cart_inline .button::after,
  .single_add_to_cart_button::after{
    display:none !important;
    content:none !important;
  }

  /* تاچ: حالت فشار (tap) – فقط کمی سایه */
  .add_to_cart_inline .button:active,
  .single_add_to_cart_button:active{
    transform:none !important;
    box-shadow:0 6px 14px rgba(22,163,74,.35) !important;
  }

  /* لغو هایلایت آبی در iOS/Android برای لمس تمیزتر */
  .add_to_cart_inline .button,
  .single_add_to_cart_button{
    -webkit-tap-highlight-color:transparent;
  }
}

/* در صورت نیاز، علاوه بر شرط تاچ، روی عرض‌های کوچک هم همان رفتار ساده را اعمال کن */
@media (max-width:640px){
  .add_to_cart_inline .button:hover,
  .single_add_to_cart_button:hover{
    background:var(--hm-green) !important;
    transform:none !important;
    box-shadow:0 4px 10px rgba(22,163,74,.25) !important;
  }
  .add_to_cart_inline .button::after,
  .single_add_to_cart_button::after{ display:none !important; content:none !important; }
}/* End custom CSS */