.elementor-40492 .elementor-element.elementor-element-b898312{--display:flex;--flex-direction:column;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--justify-content:center;--align-items:center;}.elementor-40492 .elementor-element.elementor-element-00b1fb1{--display:flex;}.elementor-40492 .elementor-element.elementor-element-19aea11{--confirmation-message-display:block;--confirmation-message-alignment:center;--bank-details-alignment:center;--sections-border-type:none;--confirmation-message-color:var( --e-global-color-primary );--general-text-color:var( --e-global-color-secondary );--payment-details-space-between:20px;--payment-details-titles-spacing:15px;--payment-details-border-width:1px;}.elementor-40492 .elementor-element.elementor-element-19aea11 .woocommerce-thankyou-order-received{font-size:1.3rem;font-weight:900;}.elementor-40492 .elementor-element.elementor-element-19aea11 address, .elementor-40492 .elementor-element.elementor-element-19aea11 .product-purchase-note, .elementor-40492 .elementor-element.elementor-element-19aea11 .woocommerce-thankyou-order-details + p{font-size:1.2rem;font-weight:900;}.elementor-40492 .elementor-element.elementor-element-19aea11 .woocommerce-order-overview.order_details li{font-family:"YekanBakh", Sans-serif;font-size:16px;}.elementor-40492 .elementor-element.elementor-element-19aea11 .woocommerce-order-overview.order_details li strong{font-size:1rem;font-weight:900;}@media(min-width:768px){.elementor-40492 .elementor-element.elementor-element-00b1fb1{--width:95%;}}/* Start custom CSS for woocommerce-purchase-summary, class: .elementor-element-19aea11 */.woocommerce-js .woocommerce-customer-details .woocommerce-customer-details--phone::before{
    margin-left: 5.5em;
}
.elementor-widget-woocommerce-purchase-summary .woocommerce address{
    color:#2F3F50;
    font-family: 'YekanBakh';
    
}
/*.yith-ctpw-front .order_details li:nth-child(even), .elementor-element .order_details li:nth-child(even){*/
/*    background-color: #fff;*/
/*}*/
/* ============================================================
   WooCommerce Thank You Page — Custom CSS
   افزودن به: CSS پیشرفته ویجت Purchase Summary در المنتور
   رنگ سازمانی: #085877
   ============================================================ */

/* ── متغیرهای پایه ── */
:root {
  --brand:        #085877;
  --brand-dark:   #064560;
  --brand-light:  #e6f3f8;
  --success:      #1D9E75;
  --success-bg:   #E1F5EE;
  --row-odd:      #ffffff;
  --row-even:     #f7f7f7;
  --border:       #e0e0e0;
  --text:         #1a1a1a;
  --muted:        #6b6b6b;
  --radius:       10px;
}


/* ════════════════════════════════════════════
   ۱. هدر تشکر — بالای صفحه
   ════════════════════════════════════════════ */
.woocommerce-thankyou-order-received-actions,
.woocommerce h1.entry-title {
  display: none;
}

/* پیام اصلی تشکر */
.woocommerce-notice--success,
p.woocommerce-notice,
.woocommerce-thankyou p:first-of-type {
  text-align: center;
  background: var(--brand) !important;
  color: #fff !important;
  border: none !important;
  border-radius: var(--radius) var(--radius) 0 0 !important;
  padding: 2.5rem 2rem 1.5rem !important;
  font-size: 18px !important;
  font-weight: 500 !important;
  margin-bottom: 0 !important;
}

/* آیکون چک بالای پیام */
.woocommerce-notice--success::before,
p.woocommerce-notice::before {
  content: "✓";
  display: block;
  width: 60px;
  height: 60px;
  line-height: 57px;
  border-radius: 50%;
  border: 2.5px solid rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.12);
  margin: 0 auto 1.25rem;
  font-size: 26px;
}


/* ════════════════════════════════════════════
   ۲. جدول اطلاعات سفارش (Order Details)
   ════════════════════════════════════════════ */
.woocommerce-order-details,
.woocommerce-customer-details {
  margin-top: 0 !important;
}

/* عنوان بخش‌ها */
.woocommerce-order-details__title,
.woocommerce-column__title,
h2.woocommerce-order-details__title,
h2.woocommerce-column__title {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  color: var(--brand) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  padding: 1rem 1.25rem 0.75rem !important;
  margin: 0 !important;
  background: #fff !important;
  border-bottom: 1px solid var(--border) !important;
  border-top: 1px solid var(--border) !important;
}


/* ════════════════════════════════════════════
   ۳. جدول محصولات (Order Items Table)
   ════════════════════════════════════════════ */
table.woocommerce-table--order-details,
table.shop_table {
  width: 100% !important;
  border-collapse: collapse !important;
  border: 1px solid var(--border) !important;
  border-top: none !important;
  border-radius: 0 !important;
  margin: 0 !important;
  font-size: 13.5px !important;
}

/* هدر جدول */
table.woocommerce-table--order-details thead tr,
table.shop_table thead tr {
  background: var(--brand) !important;
}

table.woocommerce-table--order-details thead th,
table.shop_table thead th {
  padding: 10px 1.25rem !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  color: rgba(255,255,255,0.9) !important;
  letter-spacing: 0.04em !important;
  border: none !important;
  text-align: right !important;
}

table.woocommerce-table--order-details thead th.product-total,
table.shop_table thead th.product-total {
  text-align: left !important;
}

/* ردیف‌های فرد — سفید */
table.woocommerce-table--order-details tbody tr:nth-child(odd),
table.shop_table tbody tr:nth-child(odd) {
  background: var(--row-odd) !important;
}

/* ردیف‌های زوج — خاکستری روشن */
table.woocommerce-table--order-details tbody tr:nth-child(even),
table.shop_table tbody tr:nth-child(even) {
  background: var(--row-even) !important;
}

/* سلول‌های بدنه */
table.woocommerce-table--order-details tbody td,
table.shop_table tbody td {
  padding: 11px 1.25rem !important;
  color: var(--text) !important;
  border: none !important;
  border-bottom: 1px solid var(--border) !important;
  vertical-align: middle !important;
}

table.woocommerce-table--order-details tbody tr:last-child td,
table.shop_table tbody tr:last-child td {
  border-bottom: none !important;
}

/* نام محصول */
table.woocommerce-table--order-details td.product-name a,
table.shop_table td.product-name a {
  color: var(--text) !important;
  font-weight: 500 !important;
  text-decoration: none !important;
}

table.woocommerce-table--order-details td.product-name a:hover,
table.shop_table td.product-name a:hover {
  color: var(--brand) !important;
}

/* تعداد محصول */
table.woocommerce-table--order-details .product-quantity,
table.shop_table .product-quantity {
  color: var(--muted) !important;
  font-size: 12px !important;
}

/* ستون قیمت */
table.woocommerce-table--order-details td.product-total,
table.shop_table td.product-total {
  color: var(--brand) !important;
  font-weight: 500 !important;
  text-align: left !important;
}


/* ════════════════════════════════════════════
   ۴. جدول جمع‌بندی (Totals)
   ════════════════════════════════════════════ */
table.woocommerce-table--order-details tfoot tr,
table.shop_table tfoot tr {
  background: var(--row-odd) !important;
  border-top: 1px solid var(--border) !important;
}

table.woocommerce-table--order-details tfoot tr:nth-child(even),
table.shop_table tfoot tr:nth-child(even) {
  background: var(--row-even) !important;
}

table.woocommerce-table--order-details tfoot td,
table.woocommerce-table--order-details tfoot th,
table.shop_table tfoot td,
table.shop_table tfoot th {
  padding: 10px 1.25rem !important;
  font-size: 13.5px !important;
  color: var(--muted) !important;
  border: none !important;
  border-bottom: 1px solid var(--border) !important;
}

table.woocommerce-table--order-details tfoot td:last-child,
table.shop_table tfoot td:last-child {
  text-align: left !important;
  color: var(--text) !important;
  font-weight: 500 !important;
}

/* ردیف مبلغ نهایی */
table.woocommerce-table--order-details tfoot tr.order-total,
table.shop_table tfoot tr.order-total {
  background: var(--brand-light) !important;
  border-bottom: none !important;
}

table.woocommerce-table--order-details tfoot tr.order-total th,
table.woocommerce-table--order-details tfoot tr.order-total td,
table.shop_table tfoot tr.order-total th,
table.shop_table tfoot tr.order-total td {
  color: var(--brand) !important;
  font-weight: 500 !important;
  font-size: 15px !important;
  border-bottom: none !important;
}

table.woocommerce-table--order-details tfoot tr.order-total td strong,
table.shop_table tfoot tr.order-total td strong {
  color: var(--brand) !important;
  font-weight: 500 !important;
}


/* ════════════════════════════════════════════
   ۵. اطلاعات متا سفارش (Order Meta)
   ════════════════════════════════════════════ */
.woocommerce-order-overview,
ul.woocommerce-order-overview {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: var(--brand-dark) !important;
  border-radius: 0 !important;
  border: none !important;
}

.woocommerce-order-overview li,
ul.woocommerce-order-overview li {
  padding: 1rem !important;
  text-align: center !important;
  border-right: 1px solid rgba(255,255,255,0.1) !important;
  border-bottom: none !important;
  color: rgba(255,255,255,0.7) !important;
  font-size: 12px !important;
  margin: 0 !important;
}

.woocommerce-order-overview li:last-child,
ul.woocommerce-order-overview li:last-child {
  border-right: none !important;
}

.woocommerce-order-overview li strong,
ul.woocommerce-order-overview li strong {
  display: block !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  margin-top: 4px !important;
}

/* وضعیت سفارش — badge سبز */
.woocommerce-order-overview .woocommerce-order-overview__status strong,
ul.woocommerce-order-overview .woocommerce-order-overview__status strong {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  background: var(--success-bg) !important;
  color: var(--success) !important;
  font-size: 12px !important;
  padding: 3px 10px !important;
  border-radius: 20px !important;
  margin-top: 4px !important;
}


/* ════════════════════════════════════════════
   ۶. آدرس صورت‌حساب و ارسال
   ════════════════════════════════════════════ */
.woocommerce-customer-details {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 0 !important;
  border: 1px solid var(--border) !important;
  border-top: none !important;
}

.woocommerce-column--billing-address,
.woocommerce-column--shipping-address {
  padding: 1.25rem !important;
  font-size: 13.5px !important;
  line-height: 1.8 !important;
  color: var(--text) !important;
}

.woocommerce-column--billing-address {
  border-left: 1px solid var(--border) !important;
}

.woocommerce-column--billing-address h2,
.woocommerce-column--shipping-address h2 {
  font-size: 11.5px !important;
  color: var(--muted) !important;
  font-weight: 500 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  margin-bottom: 10px !important;
  border: none !important;
  padding: 0 !important;
  background: none !important;
}

address {
  font-style: normal !important;
  line-height: 1.85 !important;
}


/* ════════════════════════════════════════════
   ۷. یکپارچگی کلی کانتینر
   ════════════════════════════════════════════ */
.woocommerce-order {
  border-radius: var(--radius) !important;
  overflow: hidden !important;
  box-shadow: 0 2px 16px rgba(8,88,119,0.08) !important;
}

/* آخرین المان — گرد کردن گوشه پایین */
.woocommerce-customer-details,
.woocommerce-order-details:last-child table {
  border-radius: 0 0 var(--radius) var(--radius) !important;
  overflow: hidden !important;
}


/* ════════════════════════════════════════════
   ۸. لینک‌ها و دکمه‌ها
   ════════════════════════════════════════════ */
.woocommerce-thankyou .button,
.woocommerce .button.alt {
  background: var(--brand) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 6px !important;
  padding: 10px 24px !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  transition: background 0.2s !important;
  text-decoration: none !important;
}

.woocommerce-thankyou .button:hover,
.woocommerce .button.alt:hover {
  background: var(--brand-dark) !important;
  color: #fff !important;
}


/* ════════════════════════════════════════════
   ۹. ریسپانسیو
   ════════════════════════════════════════════ */
@media (max-width: 600px) {
  ul.woocommerce-order-overview {
    grid-template-columns: 1fr !important;
  }
  ul.woocommerce-order-overview li {
    border-right: none !important;
    border-bottom: 1px solid rgba(255,255,255,0.1) !important;
  }
  .woocommerce-customer-details {
    grid-template-columns: 1fr !important;
  }
  .woocommerce-column--billing-address {
    border-left: none !important;
    border-bottom: 1px solid var(--border) !important;
  }
}/* End custom CSS */
/* Start Custom Fonts CSS */@font-face {
	font-family: 'YekanBakh';
	font-style: normal;
	font-weight: normal;
	font-display: auto;
	src: url('https://mifado.ir/wp-content/uploads/2026/05/Yekan-Bakh-FaNum-04-Regular.woff') format('woff'),
		url('https://mifado.ir/wp-content/uploads/2026/05/YekanBakhEN04Regular.ttf') format('truetype');
}
@font-face {
	font-family: 'YekanBakh';
	font-style: normal;
	font-weight: bold;
	font-display: auto;
	src: url('https://mifado.ir/wp-content/uploads/2026/05/YekanBakhEN06Bold.eot');
	src: url('https://mifado.ir/wp-content/uploads/2026/05/YekanBakhEN06Bold.eot?#iefix') format('embedded-opentype'),
		url('https://mifado.ir/wp-content/uploads/2026/05/YekanBakhEN06Bold.woff') format('woff'),
		url('https://mifado.ir/wp-content/uploads/2026/05/YekanBakhEN06Bold.ttf') format('truetype');
}
/* End Custom Fonts CSS */