/* My account RTL style rules.

	* Table of contents

	- Personal information
	- Change password form
	- Orders table

 */

/* Personal information
------------------------------------------------------------------------------------------------- */

@media screen and ( min-width: 1024px ) {
	.my-account-fields:last-child {
		border-right-width: 0;
		border-left-width: 1px;
	}
}

/* Change password form
------------------------------------------------------------------------------------------------- */

@media screen and ( min-width: 1024px ) {
	.change-password-form-container .my-account-fields:last-child {
		border-right-width: 1px;
	}
}

/* Orders table
------------------------------------------------------------------------------------------------- */

.woocommerce table.shop_table_responsive tr td.order-date,
.woocommerce-page table.shop_table_responsive tr td.order-date {
	text-align: right !important;
}

.woocommerce table.shop_table_responsive tr td.order-date::before,
.woocommerce-page table.shop_table_responsive tr td.order-date::before {
	right: auto;
	left: 0;
}

/* fix rtl direction for latin texts */
.product-items .order-item__name,
.product-items .color-attr,
.product-items .size-attr,
.product-items .order-item__price,
.product-items .order-item__quantity {
	display: flex;
	column-gap: 5px;
	gap: 5px;
	text-align: right;
}

.product-items .order-item__name :first-child,
.product-items .color-attr :first-child,
.product-items .size-attr :first-child,
.product-items .order-item__price :first-child,
.product-items .order-item__quantity :first-child {
	flex-shrink: 0;
}

@media screen and ( min-width: 1024px ) {
	.product-items .order-item__attrs .color-title,
	.product-items .order-item__attrs .size-title {
		margin-right: 0;
		margin-left: 10px;
	}
}