.elementor-15 .elementor-element.elementor-element-1d584c64{--display:flex;}.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 );}/* Start custom CSS *//* ============================================= */
/*           My Account - Modern RTL UI          */
/*        Brand Color: #133D5F | RTL Ready       */
/* ============================================= */

/* ---------- 1. General & Layout ---------- */
.wd-my-account-wrapper,
.woocommerce-MyAccount-content,
.woocommerce-MyAccount-sidebar {
    direction: rtl !important;
    text-align: right !important;
}

.wd-my-account-wrapper {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 30px !important;
    margin-top: 20px !important;
flex-direction: row !important;
}

/* ---------- 2. Sidebar (Right Menu) ---------- */
.wd-my-account-sidebar {
    background: #ffffff !important;
    border-radius: 16px !important;
    padding: 24px !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08) !important;
    width: 100% !important;
    max-width: 280px !important;
}

.woocommerce-MyAccount-title {
    font-size: 22px !important;
    font-weight: 700 !important;
    color: #133D5F !important;
    margin-bottom: 24px !important;
    padding-bottom: 12px !important;
    border-bottom: 2px solid #f0f0f0 !important;
    text-align: right !important;
}

.woocommerce-MyAccount-navigation ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
}

.woocommerce-MyAccount-navigation li a {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 12px 16px !important;
    color: #555555 !important;
    text-decoration: none !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    border-radius: 10px !important;
    transition: all 0.3s ease !important;
    white-space: nowrap !important;
}

/* Hide <br> in menu links */
.woocommerce-MyAccount-navigation li a br {
    display: none !important;
}

/* Unicode Icons */
.woocommerce-MyAccount-navigation li a::before {
    font-size: 18px !important;
    min-width: 20px !important;
    text-align: center !important;
    color: #133D5F !important;
}

.woocommerce-MyAccount-navigation-link--dashboard a::before { content: "🏠" !important; }
.woocommerce-MyAccount-navigation-link--orders a::before { content: "📦" !important; }
.woocommerce-MyAccount-navigation-link--downloads a::before { content: "📥" !important; }
.woocommerce-MyAccount-navigation-link--edit-address a::before { content: "📍" !important; }
.woocommerce-MyAccount-navigation-link--edit-account a::before { content: "👤" !important; }
.woocommerce-MyAccount-navigation-link--wishlist a::before { content: "❤️" !important; }
.woocommerce-MyAccount-navigation-link--customer-logout a::before { content: "🚪" !important; }

/* Hover & Active States */
.woocommerce-MyAccount-navigation li a:hover,
.woocommerce-MyAccount-navigation li.is-active a {
    background-color: #f0f7ff !important;
    color: #133D5F !important;
}
.woocommerce-MyAccount-navigation li a:hover::before,
.woocommerce-MyAccount-navigation li.is-active a::before {
    color: #133D5F !important;
}

/* Logout Special Style */
.woocommerce-MyAccount-navigation-link--customer-logout a {
    color: #e63946 !important;
}
.woocommerce-MyAccount-navigation-link--customer-logout a::before {
    color: #e63946 !important;
}
.woocommerce-MyAccount-navigation-link--customer-logout a:hover {
    background-color: #ffebee !important;
    color: #c1121f !important;
}
.woocommerce-MyAccount-navigation-link--customer-logout a:hover::before {
    color: #c1121f !important;
}

/* ---------- 3. Main Content Area ---------- */
.woocommerce-MyAccount-content {
    background: #ffffff !important;
    border-radius: 16px !important;
    padding: 32px !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08) !important;
    flex: 1 !important;
    min-width: 0 !important;
}

/* Welcome Message */
.woocommerce-MyAccount-content > p:first-of-type {
    font-size: 18px !important;
    font-weight: 600 !important;
    color: #133D5F !important;
    margin-bottom: 24px !important;
    line-height: 1.6 !important;
    padding-bottom: 16px !important;
    border-bottom: 1px solid #f0f0f0 !important;
}
.woocommerce-MyAccount-content > p:first-of-type strong {
    color: #133D5F !important;
    font-weight: 700 !important;
}
.woocommerce-MyAccount-content > p:first-of-type a {
    color: #e63946 !important;
    text-decoration: underline !important;
    font-weight: 600 !important;
}
.woocommerce-MyAccount-content > p:first-of-type a:hover {
    color: #c1121f !important;
}

/* Guide Paragraph */
.woocommerce-MyAccount-content > p:nth-of-type(2) {
    font-size: 16px !important;
    color: #555555 !important;
    line-height: 1.7 !important;
    margin-bottom: 32px !important;
}
.woocommerce-MyAccount-content > p:nth-of-type(2) a {
    color: #133D5F !important;
    text-decoration: underline !important;
    font-weight: 600 !important;
}
.woocommerce-MyAccount-content > p:nth-of-type(2) a:hover {
    color: #0d2a42 !important;
}

/* Clean up duplicate nav inside content */
.wd-my-account-links {
    display: none !important;
}
.woocommerce-MyAccount-content .nav-link-text {
    display: inline !important;
    margin: 0 !important;
    padding: 0 !important;
}
.woocommerce-MyAccount-content a br,
.woocommerce-MyAccount-content .nav-link-text br,
.woocommerce-MyAccount-content .wd-nav-icon + br {
    display: none !important;
}

/* ---------- 4. Orders Table ---------- */
.woocommerce-orders-table {
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    margin-top: 24px !important;
    background: #ffffff !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06) !important;
}

.woocommerce-orders-table thead th {
    background-color: #f0f7ff !important;
    color: #133D5F !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    padding: 16px 20px !important;
    text-align: right !important;
    border-bottom: 2px solid #dbeafe !important;
}

.woocommerce-orders-table tbody td,
.woocommerce-orders-table tbody th {
    padding: 18px 20px !important;
    border-bottom: 1px solid #f1f5f9 !important;
    color: #475569 !important;
    font-size: 15px !important;
    vertical-align: middle !important;
}
.woocommerce-orders-table tbody tr:last-child td,
.woocommerce-orders-table tbody tr:last-child th {
    border-bottom: none !important;
}

/* Order Number Link */
.woocommerce-orders-table__cell-order-number a {
    color: #133D5F !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    font-size: 16px !important;
}
.woocommerce-orders-table__cell-order-number a:hover {
    text-decoration: underline !important;
}
.woocommerce-orders-table__cell-order-number a br {
    display: none !important;
}

/* Status (fallback without :contains) */
.woocommerce-orders-table__cell-order-status {
    font-weight: 600 !important;
    color: #d97706 !important; /* Default for "در انتظار" */
}

/* Total Amount */
.woocommerce-Price-amount.amount {
    font-weight: 700 !important;
    color: #133D5F !important;
}
.woocommerce-Price-currencySymbol {
    font-weight: normal !important;
    margin-left: 4px !important;
}

/* View Button */
.woocommerce-button.button.view {
    background-color: #133D5F !important;
    color: white !important;
    border: none !important;
    padding: 8px 16px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    transition: all 0.25s ease !important;
    cursor: pointer !important;
    display: inline-block !important;
    text-align: center !important;
    min-width: 80px !important;
}
.woocommerce-button.button.view:hover {
    background-color: #0d2a42 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 8px rgba(19, 61, 95, 0.2) !important;
}

/* Address Boxes */
.woocommerce-Address {
    background: #f9fbfd !important;
    padding: 20px !important;
    border-radius: 12px !important;
    margin-bottom: 20px !important;
    border: 1px solid #e2e8f0 !important;
}
.woocommerce-Address h3 {
    color: #133D5F !important;
    margin-top: 0 !important;
    font-size: 18px !important;
    font-weight: 600 !important;
}

/* ---------- 5. Edit Account Form ---------- */
.woocommerce-EditAccountForm {
    max-width: 700px !important;
    margin: 0 auto !important;
}

.woocommerce-EditAccountForm label {
    display: block !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #133D5F !important;
    margin-bottom: 8px !important;
    line-height: 1.4 !important;
}
.woocommerce-EditAccountForm .required {
    color: #e63946 !important;
}

.woocommerce-Input {
    width: 100% !important;
    padding: 14px 16px !important;
    font-size: 16px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 10px !important;
    background-color: #ffffff !important;
    transition: all 0.3s ease !important;
    box-sizing: border-box !important;
}
.woocommerce-Input:focus {
    outline: none !important;
    border-color: #133D5F !important;
    box-shadow: 0 0 0 3px rgba(19, 61, 95, 0.15) !important;
}

#account_display_name_description {
    display: block !important;
    margin-top: 8px !important;
    font-size: 14px !important;
    color: #64748b !important;
    font-style: normal !important;
    line-height: 1.5 !important;
}

/* Password Fields */
.password-input {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
}
.password-input input {
    padding-right: 50px !important;
}
.show-password-input {
    position: absolute !important;
    left: 16px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: none !important;
    border: none !important;
    cursor: pointer !important;
    font-size: 18px !important;
    color: #94a3b8 !important;
    width: 24px !important;
    height: 24px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.show-password-input:hover {
    color: #133D5F !important;
}

/* Submit Button */
.woocommerce-Button.button {
    background-color: #133D5F !important;
    color: white !important;
    border: none !important;
    padding: 14px 32px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    border-radius: 10px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    display: inline-block !important;
    text-align: center !important;
    box-shadow: 0 4px 12px rgba(19, 61, 95, 0.2) !important;
}
.woocommerce-Button.button:hover {
    background-color: #0d2a42 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(19, 61, 95, 0.3) !important;
}

.woocommerce-form-row {
    margin-bottom: 24px !important;
}

/* Password Section Legend */
.woocommerce-EditAccountForm fieldset {
    border: none !important;
    padding: 0 !important;
    margin: 32px 0 24px 0 !important;
}
.woocommerce-EditAccountForm legend {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #133D5F !important;
    margin-bottom: 16px !important;
    padding-bottom: 12px !important;
    border-bottom: 2px solid #f1f5f9 !important;
    width: 100% !important;
    text-align: right !important;
    float: right !important;
}

/* ---------- 6. Responsive (Mobile) ---------- */
@media (max-width: 768px) {
    /* Main Layout */
    .wd-my-account-wrapper {
        flex-direction: column !important;
    }
    .wd-my-account-sidebar,
    .woocommerce-MyAccount-content {
        max-width: 100% !important;
        padding: 20px !important;
    }

    /* Orders Table */
    .woocommerce-orders-table thead {
        display: none !important;
    }
    .woocommerce-orders-table,
    .woocommerce-orders-table tbody,
    .woocommerce-orders-table tr,
    .woocommerce-orders-table td,
    .woocommerce-orders-table th {
        display: block !important;
    }
    .woocommerce-orders-table tr {
        border: 1px solid #e2e8f0 !important;
        border-radius: 12px !important;
        padding: 16px !important;
        margin-bottom: 16px !important;
        background: #ffffff !important;
    }
    .woocommerce-orders-table td {
        border: none !important;
        padding: 10px 0 !important;
        position: relative !important;
        padding-right: 30% !important;
    }
    .woocommerce-orders-table td::before {
        content: attr(data-title) ": " !important;
        position: absolute !important;
        right: 100% !important;
        top: 10px !important;
        font-weight: 600 !important;
        color: #133D5F !important;
        width: 28% !important;
        text-align: left !important;
    }
    .woocommerce-button.button.view {
        width: 100% !important;
        margin-top: 12px !important;
    }

    /* Form */
    .woocommerce-form-row--first,
    .woocommerce-form-row--last {
        width: 100% !important;
        float: none !important;
    }
    .clear {
        display: none !important;
    }
}






/* ============================================= */
/*        آدرس‌های حساب کاربری - مدرن و زیبا       */
/*        Brand Color: #133D5F | RTL Ready       */
/* ============================================= */

/* ---------- عنوان فرم ---------- */
.woocommerce-MyAccount-content h2 {
    font-size: 22px !important;
    font-weight: 700 !important;
    color: #133D5F !important;
    margin-bottom: 24px !important;
    padding-bottom: 12px !important;
    border-bottom: 2px solid #f0f0f0 !important;
    text-align: right !important;
}

/* ---------- فیلدهای فرم ---------- */
.woocommerce-address-fields__field-wrapper .form-row {
    margin-bottom: 20px !important;
    display: flex !important;
    flex-direction: column !important;
}

/* دو ستونه در دسکتاپ */
@media (min-width: 769px) {
    .form-row-first,
    .form-row-last {
        width: 48% !important;
        float: right !important; /* RTL */
    }
    .form-row-first {
        margin-left: 4% !important;
    }
    .form-row-wide {
        width: 100% !important;
        float: none !important;
    }
}

/* ---------- لیبل‌ها ---------- */
.woocommerce-address-fields label {
    display: block !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #133D5F !important;
    margin-bottom: 8px !important;
    line-height: 1.4 !important;
    text-align: right !important;
}

.woocommerce-address-fields .required {
    color: #e63946 !important;
}
.woocommerce-address-fields .optional {
    color: #64748b !important;
    font-size: 14px !important;
}

/* ---------- فیلدهای ورودی ---------- */
.woocommerce-address-fields input.input-text,
.woocommerce-address-fields select {
    width: 100% !important;
    padding: 14px 16px !important;
    font-size: 16px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 10px !important;
    background-color: #ffffff !important;
    transition: all 0.3s ease !important;
    box-sizing: border-box !important;
    direction: rtl !important;
    text-align: right !important;
}

.woocommerce-address-fields input.input-text:focus,
.woocommerce-address-fields select:focus {
    outline: none !important;
    border-color: #133D5F !important;
    box-shadow: 0 0 0 3px rgba(19, 61, 95, 0.15) !important;
}

/* ---------- دکمه ذخیره ---------- */
.woocommerce-address-fields button.button {
    background-color: #133D5F !important;
    color: white !important;
    border: none !important;
    padding: 14px 32px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    border-radius: 10px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    display: inline-block !important;
    text-align: center !important;
    box-shadow: 0 4px 12px rgba(19, 61, 95, 0.2) !important;
}
.woocommerce-address-fields button.button:hover {
    background-color: #0d2a42 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(19, 61, 95, 0.3) !important;
}

/* ---------- Select2 (اگر فعال باشد) ---------- */
.select2-container--default .select2-selection--single {
    height: auto !important;
    padding: 12px 16px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 10px !important;
    background-color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 1.4 !important;
    color: #334155 !important;
    padding: 0 !important;
    margin: 0 !important;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    right: 16px !important;
    left: auto !important;
}
.select2-container--default.select2-container--open .select2-selection--single {
    border-color: #133D5F !important;
}

/* ---------- Responsive (موبایل) ---------- */
@media (max-width: 768px) {
    .form-row-first,
    .form-row-last,
    .form-row-wide {
        width: 100% !important;
        float: none !important;
        margin-left: 0 !important;
    }
}
/* ============================================= */
/*        جزئیات سفارش - مدرن و زیبا              */
/*        Brand Color: #133D5F | RTL Ready         */
/* ============================================= */

/* ---------- عنوان سفارش (بالای صفحه) ---------- */
.woocommerce-MyAccount-content > p:first-of-type {
    font-size: 18px !important;
    line-height: 1.7 !important;
    color: #475569 !important;
    margin-bottom: 32px !important;
    padding: 20px !important;
    background: #f9fbfd !important;
    border-radius: 12px !important;
    border-right: 4px solid #133D5F !important;
}
.woocommerce-MyAccount-content > p:first-of-type mark {
    background: none !important;
    font-weight: 700 !important;
    color: #133D5F !important;
    padding: 0 4px !important;
}

/* ---------- عناوین بخش‌ها ---------- */
.woocommerce-order-details__title,
.woocommerce-column__title {
    font-size: 22px !important;
    font-weight: 70,0 !important;
    color: #133D5F !important;
    margin: 40px 0 24px 0 !important;
    padding-bottom: 12px !important;
    border-bottom: 2px solid #f0f0f0 !important;
    text-align: right !important;
}

/* ---------- جدول جزئیات سفارش ---------- */
.woocommerce-table--order-details {
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    background: #ffffff !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06) !important;
    direction: rtl !important;
    text-align: right !important;
}

/* سرستون‌ها */
.woocommerce-table--order-details thead th {
    background-color: #f0f7ff !important;
    color: #133D5F !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    padding: 16px 20px !important;
    text-align: right !important;
    border-bottom: 2px solid #dbeafe !important;
}

/* سلول‌های بدنه */
.woocommerce-table--order-details tbody td,
.woocommerce-table--order-details tfoot th,
.woocommerce-table--order-details tfoot td {
    padding: 16px 20px !important;
    border-bottom: 1px solid #f1f5f9 !important;
    color: #475569 !important;
    font-size: 15px !important;
    vertical-align: top !important;
}

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

/* لینک محصول */
.woocommerce-table--order-details .product-name a {
    color: #133D5F !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}
.woocommerce-table--order-details .product-name a:hover {
    text-decoration: underline !important;
}

/* تعداد محصول */
.product-quantity {
    display: block !important;
    margin-top: 6px !important;
    color: #64748b !important;
    font-weight: normal !important;
}

/* قیمت‌ها */
.woocommerce-Price-amount.amount {
    font-weight: 700 !important;
    color: #133D5F !important;
}
.woocommerce-Price-currencySymbol {
    font-weight: normal !important;
    margin-left: 4px !important;
}

/* ---------- آدرس مشتری ---------- */
.woocommerce-customer-details address {
    background: #f9fbfd !important;
    padding: 24px !important;
    border-radius: 12px !important;
    border: 1px solid #e2e8f0 !important;
    direction: rtl !important;
    text-align: right !important;
    line-height: 1.8 !important;
    color: #475569 !important;
    margin-top: 24px !important;
}
.woocommerce-customer-details address br {
    display: none !important;
}
.woocommerce-customer-details address p {
    margin: 8px 0 0 0 !important;
}

/* ---------- Responsive (موبایل) ---------- */
@media (max-width: 768px) {
    /* جدول به‌صورت عمودی */
    .woocommerce-table--order-details,
    .woocommerce-table--order-details thead,
    .woocommerce-table--order-details tbody,
    .woocommerce-table--order-details tfoot,
    .woocommerce-table--order-details tr,
    .woocommerce-table--order-details td,
    .woocommerce-table--order-details th {
        display: block !important;
        text-align: right !important;
    }

    .woocommerce-table--order-details thead {
        display: none !important;
    }

    .woocommerce-table--order-details tr {
        border: 1px solid #e2e8f0 !important;
        border-radius: 12px !important;
        padding: 16px !important;
        margin-bottom: 16px !important;
        background: #ffffff !important;
    }

    .woocommerce-table--order-details td {
        border: none !important;
        padding: 10px 0 !important;
        position: relative !important;
        padding-right: 30% !important;
    }

    /* برچسب ستون‌ها در موبایل */
    .woocommerce-table--order-details .product-name::before {
        content: "محصول:" !important;
    }
    .woocommerce-table--order-details .product-total::before {
        content: "مجموع:" !important;
    }

    .woocommerce-table--order-details td::before {
        content: "" !important;
        position: absolute !important;
        right: 100% !important;
        top: 10px !important;
        font-weight: 600 !important;
        color: #133D5F !important;
        width: 28% !important;
        text-align: left !important;
    }

    /* فوتر جدول */
    .woocommerce-table--order-details tfoot tr {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 12px !important;
        padding: 16px !important;
    }
    .woocommerce-table--order-details tfoot th,
    .woocommerce-table--order-details tfoot td {
        flex: 1 1 45% !important;
        min-width: 120px !important;
        padding: 0 !important;
        border: none !important;
    }
}/* End custom CSS */