.elementor-6199 .elementor-element.elementor-element-aec91ee{--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;--border-radius:12px 12px 12px 12px;}.elementor-6199 .elementor-element.elementor-element-aec91ee:not(.elementor-motion-effects-element-type-background), .elementor-6199 .elementor-element.elementor-element-aec91ee > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#F7F7F7;}.elementor-6199 .elementor-element.elementor-element-ba91672{--display:flex;--align-items:flex-start;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );}.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-6199 .elementor-element.elementor-element-9f57e05{width:auto;max-width:auto;text-align:center;}.elementor-6199 .elementor-element.elementor-element-9f57e05 > .elementor-widget-container{background-image:url("https://forinou.com/wp-content/uploads/2025/11/Ellipse-35.png");margin:0px 0px 0px 0px;padding:0px 14px 0px 014px;background-position:top right;background-repeat:no-repeat;background-size:auto;}.elementor-6199 .elementor-element.elementor-element-9f57e05.elementor-element{--align-self:flex-start;}.elementor-6199 .elementor-element.elementor-element-9f57e05 .elementor-heading-title{font-family:"Bonyade Koodak FaNum", Sans-serif;font-size:32px;font-weight:800;line-height:59px;}.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-6199 .elementor-element.elementor-element-37323c6 > .elementor-widget-container{margin:-2px 0px 0px 0px;padding:0px 0px 0px 0px;}.elementor-6199 .elementor-element.elementor-element-37323c6{text-align:center;font-family:"Bonyade Koodak FaNum", Sans-serif;font-size:16px;font-weight:400;line-height:4px;color:var( --e-global-color-primary );}@media(max-width:767px){.elementor-6199 .elementor-element.elementor-element-ba91672{--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-6199 .elementor-element.elementor-element-9f57e05 .elementor-heading-title{font-size:26px;}.elementor-6199 .elementor-element.elementor-element-37323c6 > .elementor-widget-container{margin:-17px 0px 0px 0px;}.elementor-6199 .elementor-element.elementor-element-37323c6{font-size:12px;line-height:24px;}}@media(min-width:768px){.elementor-6199 .elementor-element.elementor-element-aec91ee{--content-width:1107px;}}/* Start custom CSS for shortcode, class: .elementor-element-7ad4532 */.my-orders-master-wrapper {
    position: relative;
    min-height: 600px;
    overflow: hidden;
    direction: rtl;
}

/* سوئیچ ویوها */
.orders-view {
    transition: opacity 0.5s ease, transform 0.4s ease;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    transform: translateY(20px);
    padding: 0 10px;
}
.orders-view.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
#order-details-view { padding: 20px 10px; }
#order-details-content { max-width: 900px; margin: 0 auto; }

/* جدول اصلی لیست سفارش‌ها */
.my-orders-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    font-family: Tahoma, Arial, sans-serif;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
.my-orders-table th,
.my-orders-table td {
    padding: 18px 12px;
    text-align: center;
    vertical-align: middle;
    font-size: 16px;
    color: #443355;
    position: relative;
}
.my-orders-table th { font-weight: 500; background: #fff; border-bottom: 2px solid #E6DBEA; }
.my-orders-table td { font-weight: 400; border-bottom: 1px solid #eee; }
.my-orders-table th:not(:last-child)::after,
.my-orders-table td:not(:last-child)::after {
    content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
    height: 60%; width: 2px; background: #E6DBEA;
}
.my-orders-table tbody tr:hover { background-color: #f9f5fb; }
.my-orders-table .order-status { padding: 6px 14px; border-radius: 20px; font-weight: bold; background: transparent !important; }

.view-order-btn {
    display: inline-block;
    width: 145px; height: 44px; line-height: 44px;
    text-align: center; background: #E6DBEA; color: #443355;
    border-radius: 200px; font-size: 15px; font-weight: 500;
    text-decoration: none; transition: all 0.3s;
}
.view-order-btn:hover { background: #d8c9e0; }

/* پنل جزئیات — شفاف */
.order-detail-panel {
    background: transparent !important;
    box-shadow: none !important;
    padding: 0;
}

/* عنوان + تاریخ */
.detail-header-new {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 25px;
}
.detail-title-new { font-size: 16px; font-weight: 600; color: #443355; }
.detail-date-new {
    display: flex; align-items: center; gap: 8px;
    background: #E6DBEA; padding: 0 18px; height: 44px; border-radius: 16px;
    font-size: 14px; font-weight: 400; color: #443355;
}
.detail-date-new svg { flex-shrink: 0; }

/* جدول محصولات — کاملاً سفید + فاصله ۳۲ پیکسل پایین */
.detail-items-table-new,
.detail-items-table-new table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #ffffff !important;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 32px;
}
.detail-items-table-new th,
.detail-items-table-new td {
    width: 50%; padding: 16px 12px; text-align: center;
    font-size: 16px; font-weight: 400; color: #443355;
    background: #ffffff !important; position: relative;
}
.detail-items-table-new th {
    background: #ffffff !important;
    border-bottom: 2px solid #E6DBEA;
}
.detail-items-table-new th:first-child::after,
.detail-items-table-new td:first-child::after {
    content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
    height: 60%; width: 2px; background: #E6DBEA;
}
.detail-items-table-new td { border-bottom: 1px solid #eee; }

/* جمع کل */
.detail-total-bar {
    background: #E6DBEA; color: #757575; font-size: 14px; font-weight: 400;
    text-align: center; padding: 20px; border-radius: 16px;
    margin: 24px; display: flex; align-items: center; justify-content: center; gap: 35px;
}
.detail-total-bar strong { color: #2C2C2D; font-size: 24px; font-weight: 600; }

/* روش پرداخت + قیمت کل — کنار هم تضمینی با فاصله ۲۲ پیکسل */
.detail-double-new {
    display: flex;
    gap: 22px;
    margin: 0 0 20px 0;
    flex-wrap: nowrap; /* مهم — اجازه نمیده زیر هم بیفتن */
}
.detail-box.payment-box.inline-label,
.detail-box.total-price-box {
    flex: 1 1 50%;
    min-width: 0; /* اجازه میده داخل فلکس کوچک بشه */
    background: #E6DBEA;
    padding: 20px;
    border-radius: 16px;
    text-align: center;
    font-size: 14px;
    color: #2C2C2D;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-sizing: border-box;
}
.detail-box.payment-box.inline-label strong,
.detail-box.total-price-box strong {
    color: #757575;
    font-weight: 400;
    white-space: nowrap;
}

/* آدرس — تمام عرض + وسط چین */
.address-box-inline {
    background: #E6DBEA; /* مثل روش پرداخت */
    width: 100%;
    padding: 20px;
    border-radius: 16px;
    display: flex;
    justify-content: center; /* وسط چین افقی */
    align-items: center;     /* وسط چین عمودی */
    gap: 8px;
    text-align: center;
    font-size: 14px;
    color: #2C2C2D;
    box-sizing: border-box;
}
.address-box-inline strong {
    color: #757575;
    font-weight: 400;
    flex-shrink: 0;
}

.detail-back-wrapper {
    display: flex;
    justify-content: flex-end; /* سمت راست */
    margin-top: 20px;          /* فاصله کمتر از قبل */
}
.back-to-list-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 220px;
    height: 52px;
    line-height: 52px;
    background: #443355 !important;
    color: #fff !important;
    border-radius: 200px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(68,51,85,0.3);
}



/* حالت خالی */
.no-orders-empty-state {
    text-align: center; padding: 80px 20px; max-width: 600px; margin: 0 auto;
}
.no-orders-empty-state img { width: 180px; margin-bottom: 30px; opacity: 0.9; }
.no-orders-empty-state h3 {
    font-size: 14px; font-weight: 400; color: #757575;
    margin: 0 0 35px 0; line-height: 1.7;
}
.no-orders-empty-state a.view-order-btn {
    display: inline-block; width: 220px; height: 52px; line-height: 52px;
    background: #443355; color: #ffffff !important; font-size: 14px; font-weight: 400;
    border-radius: 200px; text-decoration: none;
    box-shadow: 0 8px 25px rgba(68,51,85,0.35); transition: all 0.3s;
}
.no-orders-empty-state a.view-order-btn:hover {
    background: #332244; transform: translateY(-2px);
}

/* ====================== ریسپانسیو ====================== */
@media (max-width: 600px) {
.detail-items-table-new,
.detail-items-table-new table {
    width: 100%!important;
    border-collapse: separate;
    border-spacing: 0;
    background: #ffffff !important;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 32px;
}
    #order-details-view {
        padding: 15px 10px;
    }

    /* هدر جزئیات: عنوان و تاریخ کنار هم در موبایل */
    .detail-header-new {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
        margin-bottom: 25px;
    }

    .detail-title-new {
        font-size: 15px;
        font-weight: 600;
        color: #443355;
        margin: 0;
    }

    .detail-date-new {
        align-self: center;
        width: auto;
        flex-shrink: 0;
    }

    /* جمع کل */
    .detail-total-bar {
        flex-direction: row;
        gap: 12px;
        padding: 20px;
        border-radius: 16px;
        font-size: 15px;
        margin: 24px 0;
    }

    .detail-total-bar strong {
        font-size: 22px;
    }

    /* روش پرداخت و قیمت کل */
    .detail-double-new {
        flex-direction: column;
        gap: 16px;
    }

    /* دکمه بازگشت */
    .detail-back-wrapper {
        justify-content: center;
        margin-top: 20px;
    }

    .back-to-list-btn {
        width: 100%;
        max-width: 300px;
        height: 48px;
        font-size: 14px;
    }

    /* کاهش فونت‌ها */
    .my-orders-table th,
    .my-orders-table td,
    .detail-items-table-new th,
    .detail-items-table-new td,
    .detail-title-new {
        font-size: 14px;
    }

    /* جدول لیست سفارش‌ها در موبایل */
    .my-orders-table,
    .my-orders-table thead,
    .my-orders-table tbody,
    .my-orders-table th,
    .my-orders-table td,
    .my-orders-table tr {
        display: block;
    }

    .my-orders-table thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    .my-orders-table tr {
        border: 1px solid #eee;
        border-radius: 16px;
        margin-bottom: 20px;
        background: #fff;
        padding: 16px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.06);
        display: flex;
        flex-direction: column;
        gap: 16px;
        width: 100%;
        box-sizing: border-box;
    }

    .my-orders-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0;
        border: none;
        position: relative;
    }

    .my-orders-table td::before {
        content: attr(data-label);
        font-weight: 500;
        color: #443355;
        flex-shrink: 0;
        min-width: 110px;
        text-align: right;
    }

    .my-orders-table td > *:not(::before) {
        text-align: left;
    }

    .my-orders-table td:last-child {
        padding-top: 12px;
        margin-top: 8px;
        border-top: 1px dotted #eee;
    }

    .view-order-btn {
        width: 100px;
        height: 40px;
        line-height: 40px;
        background: rgba(230, 219, 234, 0.4) !important;
        color: #443355;
        font-size: 14px;
        border-radius: 200px;
        transition: all 0.3s;
    }

    .view-order-btn:hover {
        background: rgba(230, 219, 234, 0.7) !important;
    }

    .my-orders-table .order-status {
        padding: 6px 8px;
        font-size: 13px;
    }

    /* جدول محصولات در جزئیات سفارش — موبایل (کارت سفید تمام عرض مثل بقیه باکس‌ها) */
    .detail-items-table-new,
    .detail-items-table-new table {
        display: block;
        background: transparent !important;
        border-radius: 0;
        margin-bottom: 20px;
        width: 100%;
        max-width: 100%;
        padding: 0;
        box-sizing: border-box;
    }

    .detail-items-table-new thead {
        display: none;
    }

.detail-items-table-new tr {
    background: #ffffff;
    border: 1px solid #eee;
    border-radius: 16px;
    margin-bottom: 16px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}


    .detail-items-table-new td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 8px 0;
        border-bottom: 1px dotted #eee;
        font-size: 14px;
        color: #443355;
        width: 100%;
    }

    .detail-items-table-new td:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    /* حذف خط عمودی جداکننده در موبایل */
    .detail-items-table-new th:first-child::after,
    .detail-items-table-new td:first-child::after {
        display: none !important;
    }

    /* لیبل‌ها: سمت راست با عرض ثابت */
    .detail-items-table-new td:first-child::before {
        content: "محصول:";
        font-weight: 500;
        color: #443355;
        flex-shrink: 0;
        min-width: 80px;
    }

    .detail-items-table-new td:last-child::before {
        content: "مجموع:";
        font-weight: 500;
        color: #443355;
        flex-shrink: 0;
        min-width: 80px;
    }

    /* مقادیر: سمت چپ */
    .detail-items-table-new td > *:not(::before) {
        text-align: left;
        margin-left: auto;
    }

    /* اسکرول عمودی */
    .my-orders-master-wrapper {
        max-height: 100vh;
        overflow-y: auto;
        padding-bottom: 40px;
    }
}

.my-orders-table .order-status,
.my-orders-table .order-status.pending,
.my-orders-table .order-status.paid,
.my-orders-table .order-status.processing,
.my-orders-table .order-status.shipped,
.my-orders-table .order-status.delivered,
.my-orders-table .order-status.canceled,
.my-orders-table .order-status.returned {
    font-size:14px;
    font-weight: 400 !important;
}/* End custom CSS */
/* Start Custom Fonts CSS */@font-face {
	font-family: 'Bonyade Koodak FaNum';
	font-style: normal;
	font-weight: 400;
	font-display: auto;
	src: url('https://forinou.com/wp-content/uploads/2025/11/BonyadeKoodakFaNum-Regular.woff2') format('woff2');
}
@font-face {
	font-family: 'Bonyade Koodak FaNum';
	font-style: normal;
	font-weight: 500;
	font-display: auto;
	src: url('https://forinou.com/wp-content/uploads/2025/11/BonyadeKoodakFaNum-Medium.woff2') format('woff2');
}
@font-face {
	font-family: 'Bonyade Koodak FaNum';
	font-style: normal;
	font-weight: 600;
	font-display: auto;
	src: url('https://forinou.com/wp-content/uploads/2025/11/BonyadeKoodakFaNum-Bold.woff2') format('woff2');
}
@font-face {
	font-family: 'Bonyade Koodak FaNum';
	font-style: normal;
	font-weight: 700;
	font-display: auto;
	src: url('https://forinou.com/wp-content/uploads/2025/11/BonyadeKoodakFaNum-ExtraBold.woff2') format('woff2');
}
@font-face {
	font-family: 'Bonyade Koodak FaNum';
	font-style: normal;
	font-weight: 800;
	font-display: auto;
	src: url('https://forinou.com/wp-content/uploads/2025/11/BonyadeKoodakFaNum-Black.woff2') format('woff2');
}
@font-face {
	font-family: 'Bonyade Koodak FaNum';
	font-style: normal;
	font-weight: 300;
	font-display: auto;
	src: url('https://forinou.com/wp-content/uploads/2025/11/BonyadeKoodakFaNum-Light.woff2') format('woff2');
}
/* End Custom Fonts CSS */