.elementor-2747 .elementor-element.elementor-element-d7be2b2{--display:flex;}.elementor-2747 .elementor-element.elementor-element-d7be2b2.e-con{--flex-grow:0;--flex-shrink:0;}.elementor-2747 .elementor-element.elementor-element-0a35951{width:100%;max-width:100%;}.elementor-2747 .elementor-element.elementor-element-a4057e3{width:var( --container-widget-width, 67% );max-width:67%;--container-widget-width:67%;--container-widget-flex-grow:0;}.elementor-2747 .elementor-element.elementor-element-a4057e3 > .elementor-widget-container{margin:0px 0px 0px 0px;padding:0px 0px 0px 0px;}.elementor-2747 .elementor-element.elementor-element-a4057e3.elementor-element{--align-self:center;}@media(max-width:767px){.elementor-2747 .elementor-element.elementor-element-a4057e3{--container-widget-width:993px;--container-widget-flex-grow:0;width:var( --container-widget-width, 993px );max-width:993px;}}@media(min-width:768px){.elementor-2747 .elementor-element.elementor-element-d7be2b2{--width:110.594%;}}/* Start custom CSS for shortcode, class: .elementor-element-a4057e3 *//* =====================================
   خانه پرده یاس | چیدمان محصولات صفحه 2747
   دو ستون مرتب در دسکتاپ و موبایل
===================================== */

body.page-id-2747 {
  --yas-bg: #f8f3eb;
  --yas-card: #fffefa;
  --yas-brown: #98784f;
  --yas-text: #493a2d;
  --yas-border: #e8dfd1;
}

/* چیدمان اصلی محصولات */
body.page-id-2747 .woocommerce ul.products,
body.page-id-2747 .elementor-widget-woocommerce-products ul.products {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 16px !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 10px !important;
  align-items: stretch !important;
}

/* حذف چیدمان شناور پیش‌فرض ووکامرس */
body.page-id-2747 .woocommerce ul.products::before,
body.page-id-2747 .woocommerce ul.products::after {
  display: none !important;
  content: none !important;
}

body.page-id-2747 .woocommerce ul.products li.product {
  float: none !important;
  clear: none !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;

  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;

  height: 100% !important;
  box-sizing: border-box !important;
  overflow: hidden !important;

  padding: 11px !important;
  background: var(--yas-card) !important;
  border: 1px solid var(--yas-border) !important;
  border-radius: 17px !important;
  box-shadow: 0 3px 12px rgba(73,58,45,.055) !important;

  transition: transform .25s ease, box-shadow .25s ease !important;
}

/* افکت ظریف هاور */
body.page-id-2747 .woocommerce ul.products li.product:hover {
  transform: translateY(-3px);
  box-shadow: 0 7px 18px rgba(73,58,45,.10) !important;
}

/* تصویر محصول */
body.page-id-2747 .woocommerce ul.products li.product a img {
  
  max-height: 210px !important;
  object-fit: contain !important;
  object-position: center !important;

  margin: 0 0 10px !important;
  padding: 0 !important;
  border-radius: 11px !important;
  background: #f8f3eb !important;
}

/* عنوان محصول */
body.page-id-2747 .woocommerce ul.products li.product .woocommerce-loop-product__title {
  min-height: 46px !important;
  padding: 5px 3px !important;
  margin: 0 0 7px !important;

  color: var(--yas-text) !important;
  font-family: inherit !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.9 !important;
  text-align: right !important;
}

/* قیمت */
body.page-id-2747 .woocommerce ul.products li.product .price {
  display: block !important;
  min-height: 30px !important;
  margin: 4px 0 10px !important;

  color: var(--yas-brown) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.8 !important;
  text-align: right !important;
}

body.page-id-2747 .woocommerce ul.products li.product .price del {
  opacity: .55 !important;
  font-size: 11px !important;
}

body.page-id-2747 .woocommerce ul.products li.product .price ins {
  color: var(--yas-brown) !important;
  text-decoration: none !important;
}

/* دکمه خرید */
body.page-id-2747 .woocommerce ul.products li.product .button {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: 100% !important;
  min-height: 38px !important;
  margin: auto 0 0 !important;
  padding: 8px 10px !important;

  background: var(--yas-brown) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 30px !important;

  font-family: inherit !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;

  transition: background .2s ease !important;
}

body.page-id-2747 .woocommerce ul.products li.product .button:hover {
  background: #745839 !important;
  color: #fff !important;
}

/* نشان تخفیف */
body.page-id-2747 .woocommerce ul.products li.product .onsale {
  top: 9px !important;
  right: 9px !important;
  left: auto !important;

  min-height: 27px !important;
  min-width: 27px !important;
  padding: 5px 8px !important;

  background: var(--yas-brown) !important;
  color: #fff !important;
  border-radius: 20px !important;

  font-size: 10px !important;
  line-height: 1.6 !important;
}



/* موبایل */
@media (max-width: 767px) {
  body.page-id-2747 .woocommerce ul.products,
  body.page-id-2747 .elementor-widget-woocommerce-products ul.products {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 9px !important;
    padding: 5px !important;
  }

  body.page-id-2747 .woocommerce ul.products li.product {
    width: 100% !important;
    padding: 7px !important;
    border-radius: 13px !important;
  }

  body.page-id-2747 .woocommerce ul.products li.product a img {
    height: 125px !important;
    max-height: 125px !important;
    object-fit: contain !important;
    border-radius: 9px !important;
  }

  body.page-id-2747 .woocommerce ul.products li.product .woocommerce-loop-product__title {
    min-height: 40px !important;
    font-size: 11px !important;
  }

  body.page-id-2747 .woocommerce ul.products li.product .price {
    font-size: 11px !important;
  }

  body.page-id-2747 .woocommerce ul.products li.product .button {
    min-height: 34px !important;
    font-size: 10px !important;
    padding: 6px !important;
  }
}



/* اصلاح قطعی اندازه نشان ترب‌پی */
body.page-id-2713 .torobpay-product-badge,
body.page-id-2747 .torobpay-product-badge,
body.page-id-2713 .torobpay-product-badge-inner,
body.page-id-2747 .torobpay-product-badge-inner {
    box-sizing: border-box !important;
    width: fit-content !important;
    max-width: 190px !important;
    min-width: 0 !important;
    flex: 0 0 auto !important;
    align-self: flex-start !important;
}

body.page-id-2713 .torobpay-product-badge,
body.page-id-2747 .torobpay-product-badge {
    display: inline-flex !important;
    position: absolute !important;
    top: 9px !important;
    right: 9px !important;
    left: auto !important;
    z-index: 30 !important;
}

body.page-id-2713 .torobpay-product-badge-inner,
body.page-id-2747 .torobpay-product-badge-inner {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
    padding: 5px 9px !important;
    border-radius: 20px !important;
    background: #eaf5df !important;
    border: 1px solid #9ce76a !important;
    overflow: hidden !important;
}

body.page-id-2713 .torobpay-product-badge-inner img,
body.page-id-2747 .torobpay-product-badge-inner img {
    width: 16px !important;
    height: 16px !important;
    object-fit: contain !important;
}




/* =========================================
   خانه پرده یاس | مرتب‌سازی کارت محصولات 2747
   ========================================= */

body.page-id-2747 .woocommerce ul.products li.product {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    position: relative !important;
    height: 100% !important;
    min-height: 0 !important;
    padding: 10px !important;
    overflow: hidden !important;
}

/* لینک اصلی محصول */
body.page-id-2747 .woocommerce ul.products li.product
a.woocommerce-LoopProduct-link {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    flex: 0 0 auto !important;
    position: relative !important;
    text-decoration: none !important;
}

/* عنوان محصول */
body.page-id-2747 .woocommerce ul.products li.product
.woocommerce-loop-product__title {
    display: block !important;
    min-height: 44px !important;
    margin: 4px 0 7px !important;
    padding: 0 4px !important;
    text-align: right !important;
    line-height: 1.9 !important;
}

/* قیمت محصول */
body.page-id-2747 .woocommerce ul.products li.product .price {
    display: block !important;
    min-height: 30px !important;
    margin: 0 0 10px !important;
    text-align: right !important;
    line-height: 1.8 !important;
}

/* دکمه خرید؛ خارج از محدوده تصویر */
body.page-id-2747 .woocommerce ul.products li.product
a.button,
body.page-id-2747 .woocommerce ul.products li.product
a.add_to_cart_button {
    display: flex !important;
    position: relative !important;
    inset: auto !important;
    transform: none !important;
    float: none !important;
    clear: both !important;

    order: 10 !important;
    width: 100% !important;
    min-height: 39px !important;
    margin: 10px 0 0 !important;
    padding: 9px 12px !important;

    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    border-radius: 25px !important;
    background: #98784f !important;
    color: #fff !important;
}

/* جلوگیری از تداخل نشان ترب‌پی با تصویر */
body.page-id-2747 .torobpay-product-badge {
    z-index: 5 !important;
}

/* هماهنگی ارتفاع کارت‌ها */
body.page-id-2747 .woocommerce ul.products {
    align-items: stretch !important;
}

body.page-id-2747 .woocommerce ul.products li.product {
    box-sizing: border-box !important;
}

/* نمایش موبایل */
@media (max-width: 767px) {
    body.page-id-2747 .woocommerce ul.products li.product {
        padding: 7px !important;
    }

    body.page-id-2747 .woocommerce ul.products li.product
    a.woocommerce-LoopProduct-link img {
        height: 125px !important;
        max-height: 125px !important;
    }

    body.page-id-2747 .woocommerce ul.products li.product
    .woocommerce-loop-product__title {
        min-height: 40px !important;
        font-size: 11px !important;
    }

    body.page-id-2747 .woocommerce ul.products li.product
    a.button {
        min-height: 34px !important;
        font-size: 11px !important;
    }
}

/* تصویر محصول */
body.page-id-2747 .woocommerce ul.products li.product
a.woocommerce-LoopProduct-link img {
    
    max-height: 190px !important;
    margin: 0 0 10px !important;
    padding: 0 !important;
    object-fit: contain !important;
    object-position: center !important;
    background: #f8f3eb !important;
    border-radius: 11px !important;
}



/* رفع کشیدگی نوار اقساط ترب‌پی */
body.page-id-2747 .woocommerce ul.products li.product .mw_term_data {
    display: inline-flex !important;
    position: relative !important;
    inset: auto !important;
    float: none !important;

    width: fit-content !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;

    margin: 8px 0 5px auto !important;
    padding: 5px 9px !important;

    align-items: center !important;
    justify-content: center !important;
    flex-wrap: wrap !important;

    background: #edf5e6 !important;
    color: #526b3e !important;
    border: 1px solid #c8dfb5 !important;
    border-radius: 12px !important;

    font-size: 10px !important;
    line-height: 1.8 !important;
    white-space: normal !important;
    overflow: visible !important;
    box-sizing: border-box !important;
}

/* حذف لایه رنگی اضافی روی تصویر */
body.page-id-2747 .woocommerce ul.products li.product .mw_overly {
    display: none !important;
}

/* جلوگیری از کشیدگی تصویر */
body.page-id-2747 .woocommerce ul.products li.product
a.woocommerce-LoopProduct-link img {
    max-height: 190px !important;
    max-height: 190px !important;
    object-fit: contain !important;
    object-position: center !important;
    background: #f8f3eb !important;
}

/* حفظ نشان کوچک ترب‌پی */
body.page-id-2747 .torobpay-product-badge-inner {
    width: fit-content !important;
    max-width: 100% !important;
    min-width: 0 !important;
}

@media (max-width: 767px) {
    body.page-id-2747 .woocommerce ul.products li.product .mw_term_data {
        font-size: 9px !important;
        padding: 4px 7px !important;
    }

    body.page-id-2747 .woocommerce ul.products li.product
    a.woocommerce-LoopProduct-link img {
        height: 125px !important;
        max-height: 125px !important;
    }
}


/* حذف بزرگ‌نمایی تصویر هنگام رفتن موس روی محصول */
body.page-id-2747 .woocommerce ul.products li.product a img,
body.page-id-2747 .woocommerce ul.products li.product a:hover img {
    transform: none !important;
    scale: 1 !important;
    transition: none !important;
}

/* غیرفعال کردن لایه بزرگ‌نمایی ووکامرس */
body.page-id-2747 .woocommerce ul.products li.product .zoomImg,
body.page-id-2747 .woocommerce ul.products li.product .zoomContainer {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
}/* End custom CSS */