/* Romatex My Account Styles with Design System Colors (#191851 & #F99C1B) */

body.rtl .elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce .login, 
body.rtl .elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce .register, 
body.rtl .elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce .woocommerce-ResetPassword {
    direction: rtl;
    text-align: right;
}

body.ltr .elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce .login, 
body.ltr .elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce .register, 
body.ltr .elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce .woocommerce-ResetPassword {
    direction: ltr;
    text-align: left;
}

body.rtl.woocommerce-account #customer_login {
    direction: rtl !important;
    text-align: right !important;
}

body.ltr.woocommerce-account #customer_login {
    direction: ltr !important;
    text-align: left !important;
}

body.woocommerce-account #customer_login {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 30px !important;
    font-family: 'IBM Plex Sans Arabic', 'Tajawal', sans-serif !important;
    margin-top: 40px !important;
    margin-bottom: 40px !important;
}

body.woocommerce-account #customer_login::before,
body.woocommerce-account #customer_login::after {
    display: none !important;
    content: none !important;
}

body.woocommerce-account #customer_login h2 {
    font-size: 22px !important;
    font-weight: 700 !important;
    color: #191851 !important;
    margin: 0 0 20px 0 !important;
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    font-family: 'IBM Plex Sans Arabic', 'Tajawal', sans-serif !important;
}

body.woocommerce-account #customer_login .u-column1,
body.woocommerce-account #customer_login .u-column2 {
    background: #ffffff !important;
    border: 1px solid #F0F0F3 !important;
    border-radius: 20px !important;
    padding: 30px !important;
    box-shadow: 0 4px 20px rgba(25, 24, 81, 0.05) !important;
    box-sizing: border-box !important;
    width: 100% !important;
    float: none !important;
}

body.woocommerce-account #customer_login form {
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
}

body.woocommerce-account #customer_login .form-row {
    margin-bottom: 20px !important;
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    float: none !important;
}

body.woocommerce-account #customer_login label {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #667085 !important;
    margin-bottom: 8px !important;
    display: block !important;
    font-family: 'IBM Plex Sans Arabic', 'Tajawal', sans-serif !important;
}

body.woocommerce-account #customer_login input[type="text"],
body.woocommerce-account #customer_login input[type="email"],
body.woocommerce-account #customer_login input[type="password"] {
    height: 48px !important;
    border: 1.5px solid #E5E5E5 !important;
    border-radius: 12px !important;
    padding: 0 16px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #1A1A1A !important;
    outline: none !important;
    transition: all 0.2s ease !important;
    background-color: #ffffff !important;
    font-family: 'IBM Plex Sans Arabic', 'Tajawal', sans-serif !important;
    box-sizing: border-box !important;
    width: 100% !important;
}

body.woocommerce-account #customer_login input:focus {
    border-color: #F99C1B !important;
    box-shadow: 0px 0px 0px 4px rgba(249, 156, 27, 0.15) !important;
}

body.woocommerce-account #customer_login .password-input {
    position: relative !important;
    display: block !important;
    width: 100% !important;
}

body.woocommerce-account #customer_login .show-password-input {
    position: absolute !important;
    top: 50% !important;
    left: 16px !important;
    transform: translateY(-50%) !important;
    right: auto !important;
}

body.woocommerce-account #customer_login .woocommerce-form-login__rememberme {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    cursor: pointer !important;
    margin-bottom: 20px !important;
    flex-direction: row !important;
}

body.woocommerce-account #customer_login .woocommerce-form-login__rememberme input[type="checkbox"] {
    width: 18px !important;
    height: 18px !important;
    accent-color: #F99C1B !important;
    cursor: pointer !important;
    margin: 0 !important;
}

body.woocommerce-account #customer_login button.button {
    background: #F99C1B !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 30px !important;
    height: 48px !important;
    padding: 0 32px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.2s ease-in-out !important;
    font-family: 'IBM Plex Sans Arabic', 'Tajawal', sans-serif !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    margin-top: 10px !important;
    box-shadow: 0px 4px 12px rgba(249, 156, 27, 0.25) !important;
}

body.woocommerce-account #customer_login button.button:hover {
    background: #191851 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0px 6px 16px rgba(25, 24, 81, 0.3) !important;
}

body.woocommerce-account #customer_login .lost_password {
    margin-top: 15px !important;
    margin-bottom: 0 !important;
}

body.woocommerce-account #customer_login .lost_password a {
    color: #191851 !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    transition: color 0.2s ease !important;
}

body.woocommerce-account #customer_login .lost_password a:hover {
    color: #F99C1B !important;
}

body.woocommerce-account #customer_login .woocommerce-privacy-policy-text {
    font-size: 13px !important;
    line-height: 1.6 !important;
    color: #667085 !important;
    margin-bottom: 20px !important;
}

body.woocommerce-account #customer_login .woocommerce-privacy-policy-text a {
    color: #F99C1B !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}

@media (max-width: 767px) {
    body.woocommerce-account #customer_login {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
        padding: 0 15px !important;
    }
    
    body.woocommerce-account #customer_login .u-column1,
    body.woocommerce-account #customer_login .u-column2 {
        padding: 20px !important;
        border-radius: 16px !important;
    }

    body.woocommerce-account #customer_login button.button {
        width: 100% !important;
    }
}

body.rtl.woocommerce-account form.woocommerce-ResetPassword {
    direction: rtl !important;
    text-align: right !important;
}

body.ltr.woocommerce-account form.woocommerce-ResetPassword {
    direction: ltr !important;
    text-align: left !important;
}

body.woocommerce-account form.woocommerce-ResetPassword {
    background: #ffffff !important;
    border: 1px solid #F0F0F3 !important;
    border-radius: 20px !important;
    padding: 30px !important;
    box-shadow: 0 4px 20px rgba(25, 24, 81, 0.05) !important;
    max-width: 600px !important;
    margin: 40px auto !important;
    box-sizing: border-box !important;
    font-family: 'IBM Plex Sans Arabic', 'Tajawal', sans-serif !important;
}

body.woocommerce-account form.woocommerce-ResetPassword p {
    font-size: 14px !important;
    line-height: 1.6 !important;
    color: #667085 !important;
    margin-bottom: 24px !important;
}

body.woocommerce-account form.woocommerce-ResetPassword .form-row {
    margin-bottom: 20px !important;
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    float: none !important;
}

body.woocommerce-account form.woocommerce-ResetPassword label {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #667085 !important;
    margin-bottom: 8px !important;
    display: block !important;
}

body.woocommerce-account form.woocommerce-ResetPassword input.input-text {
    height: 48px !important;
    border: 1.5px solid #E5E5E5 !important;
    border-radius: 12px !important;
    padding: 0 16px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #1A1A1A !important;
    outline: none !important;
    transition: all 0.2s ease !important;
    background-color: #ffffff !important;
    font-family: 'IBM Plex Sans Arabic', 'Tajawal', sans-serif !important;
    box-sizing: border-box !important;
    width: 100% !important;
}

body.woocommerce-account form.woocommerce-ResetPassword input.input-text:focus {
    border-color: #F99C1B !important;
    box-shadow: 0px 0px 0px 4px rgba(249, 156, 27, 0.15) !important;
}

body.woocommerce-account form.woocommerce-ResetPassword button.button {
    background: #F99C1B !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 30px !important;
    height: 48px !important;
    padding: 0 32px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.2s ease-in-out !important;
    font-family: 'IBM Plex Sans Arabic', 'Tajawal', sans-serif !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    margin-top: 10px !important;
    box-shadow: 0px 4px 12px rgba(249, 156, 27, 0.25) !important;
}

body.woocommerce-account form.woocommerce-ResetPassword button.button:hover {
    background: #191851 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0px 6px 16px rgba(25, 24, 81, 0.3) !important;
}

@media (max-width: 767px) {
    body.woocommerce-account form.woocommerce-ResetPassword {
        padding: 20px !important;
        border-radius: 16px !important;
        margin: 20px 15px !important;
    }

    body.woocommerce-account form.woocommerce-ResetPassword button.button {
        width: 100% !important;
    }
}

/* WooCommerce My Account Navigation & Dashboard */
body.woocommerce-account .woocommerce-MyAccount-navigation ul {
    list-style: none !important;
    margin: 0 0 30px 0 !important;
    padding: 0 !important;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    border-bottom: 2px solid #F0F0F3;
    padding-bottom: 12px !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul li {
    list-style: none !important;
    margin: 0 !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 700;
    color: #191851;
    text-decoration: none;
    border-radius: 20px;
    background: #F8FAFC;
    transition: all 0.2s ease;
    font-family: 'IBM Plex Sans Arabic', 'Tajawal', sans-serif;
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a,
body.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover {
    background: #F99C1B;
    color: #ffffff !important;
}

body.woocommerce-account .woocommerce-MyAccount-content {
    background: #ffffff;
    border: 1px solid #F0F0F3;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(25, 24, 81, 0.05);
    box-sizing: border-box;
}

/* ==========================================================================
   My Account Details, Orders, Addresses & Edit Profile Styles (Romatex DS)
   ========================================================================== */

.woocommerce-MyAccount-content-wrapper {
    font-family: 'IBM Plex Sans Arabic', 'Tajawal', sans-serif !important;
    color: #1A1A1A !important;
}
.woocommerce-MyAccount-content-wrapper > p:first-of-type {
    background: #F8F9FA !important;
    border: 1px solid #E5E7EB !important;
    border-radius: 14px !important;
    padding: 18px 24px !important;
    font-size: 15px !important;
    line-height: 1.6 !important;
    color: #4B5563 !important;
    margin-bottom: 28px !important;
    display: block !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02) !important;
}

.woocommerce-MyAccount-content-wrapper > p:first-of-type mark {
    background: none !important;
    padding: 0 !important;
    font-weight: 700 !important;
    color: #F99C1B !important;
}

.woocommerce-MyAccount-content-wrapper > p:first-of-type mark.order-status {
    background-color: rgba(249, 156, 27, 0.1) !important; 
    color: #F99C1B !important;
    padding: 4px 12px !important;
    border-radius: 20px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    border: 1px solid rgba(249, 156, 27, 0.3) !important;
    display: inline-block !important;
    margin: 0 6px !important;
}

.woocommerce-order-details,
.woocommerce-customer-details {
    background: #ffffff !important;
    border: 1px solid #F0F0F3 !important;
    border-radius: 16px !important;
    padding: 28px !important;
    margin-bottom: 30px !important;
    box-shadow: 0 4px 20px rgba(25, 24, 81, 0.04) !important;
}

.woocommerce .woocommerce-order-details .woocommerce-order-details__title,
.woocommerce-page .woocommerce-order-details .woocommerce-order-details__title,
.woocommerce .woocommerce-customer-details .woocommerce-column__title,
.woocommerce-page .woocommerce-customer-details .woocommerce-column__title {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #191851 !important;
    margin: 0 0 20px 0 !important;
    padding: 0 0 12px 0 !important;
    border: none !important;
    border-bottom: 2px solid #F3F4F6 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    line-height: 1.4 !important;
    font-family: 'IBM Plex Sans Arabic', 'Tajawal', sans-serif !important;
}

.woocommerce table.shop_table.woocommerce-table--order-details,
.woocommerce-page table.shop_table.woocommerce-table--order-details {
    width: 100% !important;
    border-collapse: collapse !important;
    border-spacing: 0 !important;
    margin: 0 0 10px 0 !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}

.woocommerce table.shop_table.woocommerce-table--order-details thead,
.woocommerce-page table.shop_table.woocommerce-table--order-details thead {
    background-color: #F8F9FA !important;
    border: none !important;
}

.woocommerce table.shop_table.woocommerce-table--order-details thead th,
.woocommerce-page table.shop_table.woocommerce-table--order-details thead th {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #191851 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    padding: 14px 18px !important;
    border: none !important;
    border-bottom: 2px solid #E5E7EB !important;
    text-align: right !important; 
    font-family: 'IBM Plex Sans Arabic', 'Tajawal', sans-serif !important;
}

body:not(.rtl) .woocommerce table.shop_table.woocommerce-table--order-details thead th,
body:not(.rtl) .woocommerce-page table.shop_table.woocommerce-table--order-details thead th,
html[lang="en-US"] .woocommerce table.shop_table.woocommerce-table--order-details thead th,
html[lang="en-US"] .woocommerce-page table.shop_table.woocommerce-table--order-details thead th {
    text-align: left !important;
}

.woocommerce table.shop_table.woocommerce-table--order-details tbody td,
.woocommerce-page table.shop_table.woocommerce-table--order-details tbody td {
    padding: 18px !important;
    border: none !important;
    border-bottom: 1px solid #F3F4F6 !important;
    font-size: 15px !important;
    vertical-align: middle !important;
    color: #1A1A1A !important;
    text-align: right !important; 
}

body:not(.rtl) .woocommerce table.shop_table.woocommerce-table--order-details tbody td,
body:not(.rtl) .woocommerce-page table.shop_table.woocommerce-table--order-details tbody td,
html[lang="en-US"] .woocommerce table.shop_table.woocommerce-table--order-details tbody td,
html[lang="en-US"] .woocommerce-page table.shop_table.woocommerce-table--order-details tbody td {
    text-align: left !important;
}

.woocommerce table.shop_table.woocommerce-table--order-details tbody td.product-name a,
.woocommerce-page table.shop_table.woocommerce-table--order-details tbody td.product-name a {
    color: #191851 !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    transition: color 0.2s ease !important;
}

.woocommerce table.shop_table.woocommerce-table--order-details tbody td.product-name a:hover,
.woocommerce-page table.shop_table.woocommerce-table--order-details tbody td.product-name a:hover {
    color: #F99C1B !important;
}

.woocommerce table.shop_table.woocommerce-table--order-details tbody td.product-name .product-quantity,
.woocommerce-page table.shop_table.woocommerce-table--order-details tbody td.product-name .product-quantity {
    color: #6B7280 !important;
    font-weight: 500 !important;
    margin: 0 4px !important;
}

.woocommerce table.shop_table.woocommerce-table--order-details tbody td.product-total,
.woocommerce-page table.shop_table.woocommerce-table--order-details tbody td.product-total,
.woocommerce table.shop_table.woocommerce-table--order-details tfoot td,
.woocommerce-page table.shop_table.woocommerce-table--order-details tfoot td {
    text-align: left !important; 
}

body:not(.rtl) .woocommerce table.shop_table.woocommerce-table--order-details tbody td.product-total,
body:not(.rtl) .woocommerce-page table.shop_table.woocommerce-table--order-details tbody td.product-total,
body:not(.rtl) .woocommerce table.shop_table.woocommerce-table--order-details tfoot td,
body:not(.rtl) .woocommerce-page table.shop_table.woocommerce-table--order-details tfoot td,
html[lang="en-US"] .woocommerce table.shop_table.woocommerce-table--order-details tbody td.product-total,
html[lang="en-US"] .woocommerce-page table.shop_table.woocommerce-table--order-details tbody td.product-total,
html[lang="en-US"] .woocommerce table.shop_table.woocommerce-table--order-details tfoot td,
html[lang="en-US"] .woocommerce-page table.shop_table.woocommerce-table--order-details tfoot td {
    text-align: right !important; 
}

.woocommerce table.shop_table.woocommerce-table--order-details tfoot th,
.woocommerce-page table.shop_table.woocommerce-table--order-details tfoot th {
    padding: 14px 18px !important;
    border: none !important;
    border-bottom: 1px solid #F3F4F6 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #4B5563 !important;
    text-align: right !important; 
}

body:not(.rtl) .woocommerce table.shop_table.woocommerce-table--order-details tfoot th,
body:not(.rtl) .woocommerce-page table.shop_table.woocommerce-table--order-details tfoot th,
html[lang="en-US"] .woocommerce table.shop_table.woocommerce-table--order-details tfoot th,
html[lang="en-US"] .woocommerce-page table.shop_table.woocommerce-table--order-details tfoot th {
    text-align: left !important;
}

.woocommerce table.shop_table.woocommerce-table--order-details tfoot td,
.woocommerce-page table.shop_table.woocommerce-table--order-details tfoot td {
    padding: 14px 18px !important;
    border: none !important;
    border-bottom: 1px solid #F3F4F6 !important;
    font-size: 15px !important;
    color: #1A1A1A !important;
}

.woocommerce table.shop_table.woocommerce-table--order-details tfoot td .woocommerce-Price-amount,
.woocommerce-page table.shop_table.woocommerce-table--order-details tfoot td .woocommerce-Price-amount {
    font-weight: 700 !important;
}

.woocommerce table.shop_table.woocommerce-table--order-details tfoot tr:nth-last-of-type(2) th,
.woocommerce-page table.shop_table.woocommerce-table--order-details tfoot tr:nth-last-of-type(2) th,
.woocommerce table.shop_table.woocommerce-table--order-details tfoot tr:nth-last-of-type(2) td,
.woocommerce-page table.shop_table.woocommerce-table--order-details tfoot tr:nth-last-of-type(2) td {
    border-bottom: 2px solid #E5E7EB !important;
}

.woocommerce table.shop_table.woocommerce-table--order-details tfoot tr:last-of-type th,
.woocommerce-page table.shop_table.woocommerce-table--order-details tfoot tr:last-of-type th,
.woocommerce table.shop_table.woocommerce-table--order-details tfoot tr:last-of-type td,
.woocommerce-page table.shop_table.woocommerce-table--order-details tfoot tr:last-of-type td {
    border-bottom: none !important;
}

.woocommerce table.shop_table.woocommerce-table--order-details tfoot tr td span.woocommerce-Price-amount.amount,
.woocommerce-page table.shop_table.woocommerce-table--order-details tfoot tr td span.woocommerce-Price-amount.amount {
    color: #F99C1B !important;
}

.woocommerce table.shop_table.woocommerce-table--order-details tfoot tr:nth-child(2) th,
.woocommerce-page table.shop_table.woocommerce-table--order-details tfoot tr:nth-child(2) th {
    font-weight: 700 !important;
    color: #191851 !important;
}

.woocommerce table.shop_table.woocommerce-table--order-details tfoot tr:nth-child(2) td span.woocommerce-Price-amount.amount,
.woocommerce-page table.shop_table.woocommerce-table--order-details tfoot tr:nth-child(2) td span.woocommerce-Price-amount.amount {
    font-size: 18px !important;
    font-weight: 800 !important;
}

.woocommerce .woocommerce-customer-details address,
.woocommerce-page .woocommerce-customer-details address {
    border: 1px solid #F0F0F3 !important;
    background: #F8F9FA !important;
    border-radius: 12px !important;
    padding: 24px !important;
    font-style: normal !important;
    line-height: 1.8 !important;
    font-size: 14px !important;
    color: #4B5563 !important;
    margin: 0 !important;
}

.woocommerce .woocommerce-customer-details address .woocommerce-customer-details--phone,
.woocommerce-page .woocommerce-customer-details address .woocommerce-customer-details--phone,
.woocommerce .woocommerce-customer-details address .woocommerce-customer-details--email,
.woocommerce-page .woocommerce-customer-details address .woocommerce-customer-details--email {
    margin: 10px 0 0 0 !important;
    font-weight: 700 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    color: #191851 !important;
}

.woocommerce .woocommerce-customer-details address .woocommerce-customer-details--phone::before,
.woocommerce-page .woocommerce-customer-details address .woocommerce-customer-details--phone::before {
    content: "📞";
    font-size: 14px !important;
}

.woocommerce .woocommerce-customer-details address .woocommerce-customer-details--email::before,
.woocommerce-page .woocommerce-customer-details address .woocommerce-customer-details--email::before {
    content: "✉️";
    font-size: 14px !important;
}

@media (max-width: 768px) {
    .woocommerce-order-details,
    .woocommerce-customer-details {
        padding: 16px !important;
        border-radius: 12px !important;
    }
    .woocommerce table.shop_table.woocommerce-table--order-details tbody td,
    .woocommerce-page table.shop_table.woocommerce-table--order-details tbody td,
    .woocommerce table.shop_table.woocommerce-table--order-details tfoot th,
    .woocommerce-page table.shop_table.woocommerce-table--order-details tfoot th,
    .woocommerce table.shop_table.woocommerce-table--order-details tfoot td,
    .woocommerce-page table.shop_table.woocommerce-table--order-details tfoot td {
        padding: 12px 10px !important;
        font-size: 13px !important;
    }
    .woocommerce .woocommerce-customer-details address,
    .woocommerce-page .woocommerce-customer-details address {
        padding: 16px !important;
    }
}

.woocommerce-EditAccountForm.edit-account,
.woocommerce-page .woocommerce-EditAccountForm.edit-account {
    background: #ffffff !important;
    border: 1px solid #F0F0F3 !important;
    border-radius: 16px !important;
    padding: 30px !important;
    margin-bottom: 30px !important;
    box-shadow: 0 4px 20px rgba(25, 24, 81, 0.04) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important; 
    box-sizing: border-box !important;
}

.woocommerce .woocommerce-EditAccountForm .form-row,
.woocommerce-page .woocommerce-EditAccountForm .form-row {
    float: none !important;
    width: 100% !important;
    margin: 0 0 20px 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    box-sizing: border-box !important;
    background: transparent !important;
    border: none !important;
}

@media (min-width: 769px) {
    .woocommerce .woocommerce-EditAccountForm.edit-account,
    .woocommerce-page .woocommerce-EditAccountForm.edit-account {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0 24px !important;
    }
    
    .woocommerce .woocommerce-EditAccountForm .form-row-first,
    .woocommerce-page .woocommerce-EditAccountForm .form-row-first {
        grid-column: 1 !important;
    }
    
    .woocommerce .woocommerce-EditAccountForm .form-row-last,
    .woocommerce-page .woocommerce-EditAccountForm .form-row-last {
        grid-column: 2 !important;
    }
    
    .woocommerce .woocommerce-EditAccountForm .form-row-wide,
    .woocommerce-page .woocommerce-EditAccountForm .form-row-wide,
    .woocommerce .woocommerce-EditAccountForm fieldset,
    .woocommerce-page .woocommerce-EditAccountForm fieldset,
    .woocommerce .woocommerce-EditAccountForm p:last-of-type,
    .woocommerce-page .woocommerce-EditAccountForm p:last-of-type {
        grid-column: span 2 !important;
        width: 100% !important;
    }
}

.woocommerce .woocommerce-EditAccountForm .clear,
.woocommerce-page .woocommerce-EditAccountForm .clear {
    display: none !important;
}

.woocommerce .woocommerce-EditAccountForm label,
.woocommerce-page .woocommerce-EditAccountForm label {
    font-family: 'IBM Plex Sans Arabic', 'Tajawal', sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #4B5563 !important;
    margin-bottom: 8px !important;
    display: inline-block !important;
    text-align: right !important; 
}

body:not(.rtl) .woocommerce .woocommerce-EditAccountForm label,
body:not(.rtl) .woocommerce-page .woocommerce-EditAccountForm label,
html[lang="en-US"] .woocommerce .woocommerce-EditAccountForm label,
html[lang="en-US"] .woocommerce-page .woocommerce-EditAccountForm label {
    text-align: left !important;
}

.woocommerce .woocommerce-EditAccountForm label span.required,
.woocommerce-page .woocommerce-EditAccountForm label span.required {
    color: #DC2626 !important;
    font-weight: bold !important;
    margin: 0 2px !important;
}

.woocommerce .woocommerce-EditAccountForm input[type="text"],
.woocommerce-page .woocommerce-EditAccountForm input[type="text"],
.woocommerce .woocommerce-EditAccountForm input[type="email"],
.woocommerce-page .woocommerce-EditAccountForm input[type="email"],
.woocommerce .woocommerce-EditAccountForm input[type="password"],
.woocommerce-page .woocommerce-EditAccountForm input[type="password"] {
    height: 48px !important;
    border: 1.5px solid #E5E5E5 !important;
    border-radius: 12px !important;
    padding: 0 16px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #1A1A1A !important;
    background-color: #ffffff !important;
    outline: none !important;
    transition: all 0.2s ease !important;
    font-family: 'IBM Plex Sans Arabic', 'Tajawal', sans-serif !important;
    box-sizing: border-box !important;
    box-shadow: none !important;
    width: 100% !important;
}

.woocommerce .woocommerce-EditAccountForm input:focus,
.woocommerce-page .woocommerce-EditAccountForm input:focus {
    border-color: #F99C1B !important;
    box-shadow: 0px 0px 0px 4px rgba(249, 156, 27, 0.15) !important;
    background-color: #ffffff !important;
}

.woocommerce .woocommerce-EditAccountForm .password-input,
.woocommerce-page .woocommerce-EditAccountForm .password-input {
    position: relative !important;
    display: block !important;
    width: 100% !important;
}

.woocommerce .woocommerce-EditAccountForm .password-input input,
.woocommerce-page .woocommerce-EditAccountForm .password-input input {
    padding-right: 48px !important; 
}

body.rtl .woocommerce .woocommerce-EditAccountForm .password-input input,
body.rtl .woocommerce-page .woocommerce-EditAccountForm .password-input input {
    padding-right: 16px !important;
    padding-left: 48px !important; 
}

.woocommerce .woocommerce-EditAccountForm .password-input .show-password-input,
.woocommerce-page .woocommerce-EditAccountForm .password-input .show-password-input {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    right: 14px !important;
    left: auto !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
    outline: none !important;
    width: 24px !important;
    height: 24px !important;
    padding: 0 !important;
    margin: 0 !important;
    z-index: 5 !important;
}

body.rtl .woocommerce .woocommerce-EditAccountForm .password-input .show-password-input,
body.rtl .woocommerce-page .woocommerce-EditAccountForm .password-input .show-password-input {
    left: 14px !important;
    right: auto !important;
}

.woocommerce .woocommerce-EditAccountForm .password-input .show-password-input::after,
.woocommerce-page .woocommerce-EditAccountForm .password-input .show-password-input::after {
    font-family: Dashicons !important;
    content: "\f177" !important; 
    color: #6B7280 !important;
    font-size: 18px !important;
    display: inline-block !important;
    line-height: 1 !important;
}

.woocommerce .woocommerce-EditAccountForm .password-input .show-password-input.display-password::after,
.woocommerce-page .woocommerce-EditAccountForm .password-input .show-password-input.display-password::after {
    content: "\f530" !important; 
}

.woocommerce .woocommerce-EditAccountForm span#account_display_name_description,
.woocommerce-page .woocommerce-EditAccountForm span#account_display_name_description {
    font-size: 13px !important;
    color: #9CA3AF !important;
    margin-top: 6px !important;
    display: block !important;
    line-height: 1.4 !important;
}

.woocommerce .woocommerce-EditAccountForm span#account_display_name_description em,
.woocommerce-page .woocommerce-EditAccountForm span#account_display_name_description em {
    font-style: normal !important;
}

.woocommerce .woocommerce-EditAccountForm fieldset,
.woocommerce-page .woocommerce-EditAccountForm fieldset {
    border: 1px solid #E5E7EB !important;
    background: #F8F9FA !important;
    border-radius: 14px !important;
    padding: 24px !important;
    margin: 15px 0 25px 0 !important;
    box-shadow: none !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    box-sizing: border-box !important;
}

.woocommerce .woocommerce-EditAccountForm fieldset legend,
.woocommerce-page .woocommerce-EditAccountForm fieldset legend {
    background: #191851 !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    padding: 6px 16px !important;
    border-radius: 30px !important;
    border: none !important;
    float: none !important;
    width: auto !important;
    margin: 0 0 10px 0 !important;
    display: inline-block !important;
    line-height: 1 !important;
}

.woocommerce .woocommerce-EditAccountForm button[type="submit"],
.woocommerce-page .woocommerce-EditAccountForm button[type="submit"] {
    background-color: #F99C1B !important;
    color: #ffffff !important;
    font-family: 'IBM Plex Sans Arabic', 'Tajawal', sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    padding: 12px 32px !important;
    border-radius: 30px !important;
    border: none !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 4px 12px rgba(249, 156, 27, 0.25) !important;
    height: 48px !important;
    min-width: 180px !important;
    margin-top: 10px !important;
    outline: none !important;
}

.woocommerce .woocommerce-EditAccountForm button[type="submit"]:hover,
.woocommerce-page .woocommerce-EditAccountForm button[type="submit"]:hover {
    background-color: #191851 !important;
    box-shadow: 0 4px 16px rgba(25, 24, 81, 0.25) !important;
    transform: translateY(-1px) !important;
}

.woocommerce .woocommerce-EditAccountForm button[type="submit"]:active,
.woocommerce-page .woocommerce-EditAccountForm button[type="submit"]:active {
    transform: translateY(1px) !important;
}

@media (max-width: 768px) {
    .woocommerce-EditAccountForm.edit-account,
    .woocommerce-page .woocommerce-EditAccountForm.edit-account {
        padding: 20px !important;
        border-radius: 12px !important;
    }
    
    .woocommerce .woocommerce-EditAccountForm fieldset,
    .woocommerce-page .woocommerce-EditAccountForm fieldset {
        padding: 16px !important;
        border-radius: 12px !important;
    }
    
    .woocommerce .woocommerce-EditAccountForm button[type="submit"],
    .woocommerce-page .woocommerce-EditAccountForm button[type="submit"] {
        width: 100% !important;
    }
}

.woocommerce .woocommerce-Addresses.col2-set,
.woocommerce-page .woocommerce-Addresses.col2-set {
    display: flex !important;
    flex-direction: row !important;
    gap: 24px !important;
    width: 100% !important;
    float: none !important;
    margin: 24px 0 0 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

.woocommerce .woocommerce-Addresses.col2-set .woocommerce-Address,
.woocommerce-page .woocommerce-Addresses.col2-set .woocommerce-Address {
    flex: 1 !important;
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    background: #ffffff !important;
    border: 1px solid #F0F0F3 !important;
    border-radius: 16px !important;
    padding: 28px !important;
    box-shadow: 0 4px 20px rgba(25, 24, 81, 0.04) !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
}

.woocommerce .woocommerce-Address-title,
.woocommerce-page .woocommerce-Address-title {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin: 0 0 16px 0 !important;
    padding: 0 0 12px 0 !important;
    border: none !important;
    border-bottom: 2px solid #F3F4F6 !important;
    float: none !important;
    width: 100% !important;
}

.woocommerce .woocommerce-Address-title h2,
.woocommerce-page .woocommerce-Address-title h2,
.woocommerce .woocommerce-Address-title h3,
.woocommerce-page .woocommerce-Address-title h3 {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #191851 !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.4 !important;
    text-transform: none !important;
    font-family: 'IBM Plex Sans Arabic', 'Tajawal', sans-serif !important;
}

.woocommerce .woocommerce-Address-title .edit,
.woocommerce-page .woocommerce-Address-title .edit {
    font-family: 'IBM Plex Sans Arabic', 'Tajawal', sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #F99C1B !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
    margin: 0 !important;
    padding: 0 !important;
    display: inline-block !important;
    float: none !important;
}

.woocommerce .woocommerce-Address-title .edit:hover,
.woocommerce-page .woocommerce-Address-title .edit:hover {
    color: #191851 !important;
    text-decoration: none !important;
}

.woocommerce .woocommerce-Address address,
.woocommerce-page .woocommerce-Address address {
    font-style: normal !important;
    line-height: 1.7 !important;
    font-size: 14px !important;
    color: #4B5563 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    flex-grow: 1 !important;
    text-align: right !important; 
}

body:not(.rtl) .woocommerce .woocommerce-Address address,
body:not(.rtl) .woocommerce-page .woocommerce-Address address,
html[lang="en-US"] .woocommerce .woocommerce-Address address,
html[lang="en-US"] .woocommerce-page .woocommerce-Address address {
    text-align: left !important;
}

.woocommerce .woocommerce-Address address:empty,
.woocommerce-page .woocommerce-Address address:empty,
.woocommerce .woocommerce-Address address:contains('You have not set up'),
.woocommerce-page .woocommerce-Address address:contains('You have not set up') {
    font-style: italic !important;
    color: #9CA3AF !important;
}

@media (max-width: 768px) {
    .woocommerce .woocommerce-Addresses.col2-set,
    .woocommerce-page .woocommerce-Addresses.col2-set {
        flex-direction: column !important;
        gap: 20px !important;
    }
    
    .woocommerce .woocommerce-Addresses.col2-set .woocommerce-Address,
    .woocommerce-page .woocommerce-Addresses.col2-set .woocommerce-Address {
        padding: 20px !important;
        border-radius: 12px !important;
    }
}

.woocommerce-MyAccount-content-wrapper > form > h2,
.woocommerce-page .woocommerce-MyAccount-content-wrapper > form > h2,
.woocommerce-MyAccount-content-wrapper > form > h3,
.woocommerce-page .woocommerce-MyAccount-content-wrapper > form > h3 {
    font-family: 'IBM Plex Sans Arabic', 'Tajawal', sans-serif !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #191851 !important;
    margin: 0 0 24px 0 !important;
    padding-bottom: 12px !important;
    border: none !important;
    border-bottom: 2px solid #F3F4F6 !important;
    text-transform: none !important;
    line-height: 1.4 !important;
}

.woocommerce-address-fields,
.woocommerce-page .woocommerce-address-fields {
    background: #ffffff !important;
    border: 1px solid #F0F0F3 !important;
    border-radius: 16px !important;
    padding: 30px !important;
    margin-bottom: 30px !important;
    box-shadow: 0 4px 20px rgba(25, 24, 81, 0.04) !important;
    box-sizing: border-box !important;
}

.woocommerce .woocommerce-address-fields .form-row,
.woocommerce-page .woocommerce-address-fields .form-row {
    float: none !important;
    width: 100% !important;
    margin: 0 0 20px 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    box-sizing: border-box !important;
    background: transparent !important;
    border: none !important;
}

@media (min-width: 769px) {
    .woocommerce .woocommerce-address-fields__field-wrapper,
    .woocommerce-page .woocommerce-address-fields__field-wrapper {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0 24px !important;
    }
    
    .woocommerce .woocommerce-address-fields .form-row-first,
    .woocommerce-page .woocommerce-address-fields .form-row-first {
        grid-column: 1 !important;
    }
    
    .woocommerce .woocommerce-address-fields .form-row-last,
    .woocommerce-page .woocommerce-address-fields .form-row-last {
        grid-column: 2 !important;
    }
    
    .woocommerce .woocommerce-address-fields .form-row-wide,
    .woocommerce-page .woocommerce-address-fields .form-row-wide {
        grid-column: span 2 !important;
        width: 100% !important;
    }
}

.woocommerce .woocommerce-address-fields label,
.woocommerce-page .woocommerce-address-fields label {
    font-family: 'IBM Plex Sans Arabic', 'Tajawal', sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #4B5563 !important;
    margin-bottom: 8px !important;
    display: inline-block !important;
    text-align: right !important; 
}

body:not(.rtl) .woocommerce .woocommerce-address-fields label,
body:not(.rtl) .woocommerce-page .woocommerce-address-fields label,
html[lang="en-US"] .woocommerce .woocommerce-address-fields label,
html[lang="en-US"] .woocommerce-page .woocommerce-address-fields label {
    text-align: left !important;
}

.woocommerce .woocommerce-address-fields label span.required,
.woocommerce-page .woocommerce-address-fields label span.required {
    color: #DC2626 !important;
    font-weight: bold !important;
    margin: 0 2px !important;
}

.woocommerce .woocommerce-address-fields label span.optional,
.woocommerce-page .woocommerce-address-fields label span.optional {
    color: #9CA3AF !important;
    font-weight: 500 !important;
    font-size: 12px !important;
}

.woocommerce .woocommerce-address-fields input[type="text"],
.woocommerce-page .woocommerce-address-fields input[type="text"],
.woocommerce .woocommerce-address-fields input[type="tel"],
.woocommerce-page .woocommerce-address-fields input[type="tel"] {
    height: 48px !important;
    border: 1.5px solid #E5E5E5 !important;
    border-radius: 12px !important;
    padding: 0 16px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #1A1A1A !important;
    background-color: #ffffff !important;
    outline: none !important;
    transition: all 0.2s ease !important;
    font-family: 'IBM Plex Sans Arabic', 'Tajawal', sans-serif !important;
    box-sizing: border-box !important;
    box-shadow: none !important;
    width: 100% !important;
}

.woocommerce .woocommerce-address-fields input:focus,
.woocommerce-page .woocommerce-address-fields input:focus {
    border-color: #F99C1B !important;
    box-shadow: 0px 0px 0px 4px rgba(249, 156, 27, 0.15) !important;
    background-color: #ffffff !important;
}

.woocommerce .woocommerce-address-fields .select2-container--default .select2-selection--single,
.woocommerce-page .woocommerce-address-fields .select2-container--default .select2-selection--single {
    height: 48px !important;
    border: 1.5px solid #E5E5E5 !important;
    border-radius: 12px !important;
    background-color: #ffffff !important;
    outline: none !important;
    display: flex !important;
    align-items: center !important;
    padding: 0 16px !important;
    box-sizing: border-box !important;
    transition: all 0.2s ease !important;
}

.woocommerce .woocommerce-address-fields .select2-container--default .select2-selection--single .select2-selection__rendered,
.woocommerce-page .woocommerce-address-fields .select2-container--default .select2-selection--single .select2-selection__rendered {
    padding: 0 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #1A1A1A !important;
    font-family: 'IBM Plex Sans Arabic', 'Tajawal', sans-serif !important;
    text-align: right !important; 
    line-height: normal !important;
}

body:not(.rtl) .woocommerce .woocommerce-address-fields .select2-container--default .select2-selection--single .select2-selection__rendered,
body:not(.rtl) .woocommerce-page .woocommerce-address-fields .select2-container--default .select2-selection--single .select2-selection__rendered {
    text-align: left !important;
}

.woocommerce .woocommerce-address-fields .select2-container--default .select2-selection--single .select2-selection__arrow,
.woocommerce-page .woocommerce-address-fields .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 46px !important;
    position: absolute !important;
    top: 0 !important;
    width: 30px !important;
    left: 12px !important;
    right: auto !important;
}

body:not(.rtl) .woocommerce .woocommerce-address-fields .select2-container--default .select2-selection--single .select2-selection__arrow,
body:not(.rtl) .woocommerce-page .woocommerce-address-fields .select2-container--default .select2-selection--single .select2-selection__arrow {
    right: 12px !important;
    left: auto !important;
}

.woocommerce .woocommerce-address-fields .select2-container--default.select2-container--focus .select2-selection--single,
.woocommerce-page .woocommerce-address-fields .select2-container--default.select2-container--focus .select2-selection--single {
    border-color: #F99C1B !important;
    box-shadow: 0px 0px 0px 4px rgba(249, 156, 27, 0.15) !important;
}

.woocommerce .woocommerce-address-fields button[type="submit"],
.woocommerce-page .woocommerce-address-fields button[type="submit"] {
    background-color: #F99C1B !important;
    color: #ffffff !important;
    font-family: 'IBM Plex Sans Arabic', 'Tajawal', sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    padding: 12px 32px !important;
    border-radius: 30px !important;
    border: none !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 4px 12px rgba(249, 156, 27, 0.25) !important;
    height: 48px !important;
    min-width: 180px !important;
    margin-top: 10px !important;
    outline: none !important;
}

.woocommerce .woocommerce-address-fields button[type="submit"]:hover,
.woocommerce-page .woocommerce-address-fields button[type="submit"]:hover {
    background-color: #191851 !important;
    box-shadow: 0 4px 16px rgba(25, 24, 81, 0.25) !important;
    transform: translateY(-1px) !important;
}

.woocommerce .woocommerce-address-fields button[type="submit"]:active,
.woocommerce-page .woocommerce-address-fields button[type="submit"]:active {
    transform: translateY(1px) !important;
}

@media (max-width: 768px) {
    .woocommerce-address-fields,
    .woocommerce-page .woocommerce-address-fields {
        padding: 20px !important;
        border-radius: 12px !important;
    }
    
    .woocommerce .woocommerce-address-fields button[type="submit"],
    .woocommerce-page .woocommerce-address-fields button[type="submit"] {
        width: 100% !important;
    }
}

