/* Main RTL theme style rules.

	* Table of contents

	- Defaults
		- Select menu
		- Custom attributes
		- Form fields
		- Checkbox and radio
	- Header
		- Header icons
		TODO: Remove menu point if theme NOT use mini cart.
		- Mini cart
		TODO: Remove menu point if theme NOT use wishlist dropdown.
		- Wishlist dropdown
	- Other site parts
		- Preloader animation
		- Contact form
	- Front page
		- Product slider
	- Category page
		- Products filter
		- Quick buy
	- Product page
		- Product notice
		- Product gallery
		- Product summary
		- Product size table
		- Product tabs
		- Related products
	- My account
		- Orders table
	- Cart & Checkout
		- Items
		- Shipping
		- Summary
	- FAQ
 */

/* Defaults
================================================================================================= */

/* Select menu
------------------------------------------------------------------------------------------------- */

.ui-selectmenu-button span.ui-icon {
	right: 90px;
}

.ui-menu .ui-menu-item {
	text-align: right;
}

/* Custom attributes
------------------------------------------------------------------------------------------------- */

.color-tumbler-wrap .plus-btn {
	margin-right: 0;
	margin-left: -10px;
}

/* Form fields
------------------------------------------------------------------------------------------------- */

.form-row .form-row__error-msg {
	right: 3px;
	left: auto;
}

.form-row label[for] {
	right: 0;
	left: auto;
	margin-left: auto;
}

#account_birthday_field.form-row:not( .filled ) label,
#datepicker_field.form-row:not( .filled ) label {
	right: 40px;
	left: auto;
}

.form-row.filled label[for] {
	right: 10px;
	left: auto;
}

/* Checkbox and radio
------------------------------------------------------------------------------------------------- */

.custom-checkbox,
li > input[type="radio"] + *::before {
	margin-right: 0;
	margin-left: 10px;
}

.woocommerce-shipping-methods li > input[type="radio"] + *::before {
	margin-right: -24px;
	margin-left: 10px;
}

/* Header
================================================================================================= */

/* Header icons
------------------------------------------------------------------------------------------------- */

.header-icon__counter {
	right: -5px;
	left: auto;
}

/* TODO: Remove block if theme NOT use mini cart. */
/* Mini cart
------------------------------------------------------------------------------------------------- */

.mini-cart-item__remove {
	right: auto;
	left: 0;
}

/* TODO: Remove block if theme NOT use wishlist dropdown. */
/* Wishlist dropdown
------------------------------------------------------------------------------------------------- */

.wishlist__dropdown .wishlist-item__remove {
	right: auto;
	left: 10px;
}

/* Other site parts
================================================================================================= */

/* Preloader animation
------------------------------------------------------------------------------------------------- */

.dots3-preloader span:nth-child(1) {
	-webkit-animation-delay: 0.6s;
	animation-delay: 0.6s;
}

.dots3-preloader span:nth-child(3) {
	-webkit-animation-delay: 0.2s;
	animation-delay: 0.2s;
}

/* Contact form
------------------------------------------------------------------------------------------------- */

span.wpcf7-not-valid-tip {
	right: 0;
	left: auto;
}

/* Front page
================================================================================================= */

/* Product slider
------------------------------------------------------------------------------------------------- */

.front-product-slider button.slick-prev {
	right: 5px;
	left: auto;
}

.front-product-slider button.slick-prev::before {
	content: url('../images/icons/arrow__right.svg');
}

.front-product-slider button.slick-prev::before:hover {
	content: url('../images/icons/arrow__right.svg');
}

.front-product-slider button.slick-next {
	right: auto;
	left: 5px;
}

.front-product-slider button.slick-next::before {
	content: url('../images/icons/arrow__left.svg');
}

.front-product-slider button.slick-next::before:hover {
	content: url('../images/icons/arrow__left.svg');
}

/* Category page
================================================================================================= */

/* Products filter
------------------------------------------------------------------------------------------------- */

.content-sidebar .sidebar {
	right: 0;
	left: auto;
}

/* Quick buy
------------------------------------------------------------------------------------------------- */

.quickbuy-panel-container .waitlist_block button.waitlist_add {
	right: auto;
	left: 0;
}

.quickbuy-panel-container .waitlist_block button.waitlist_add.thannkyou {
	right: auto;
	left: 0;
}

@media screen and ( min-width: 1680px ) {
	.quickbuy-panel-container .waitlist_block button.waitlist_add {
		right: auto;
		left: 3px;
	}

	.quickbuy-panel-container .waitlist_block button.waitlist_add.thannkyou {
		right: auto;
		left: 3px;
	}
}

/* Product page
================================================================================================= */

/* Product notice
------------------------------------------------------------------------------------------------- */

#product-notice-place {
	right: 30px;
	left: auto;
}

#product-notice-place ul.woocommerce-error,
#product-notice-place .woocommerce-message {
	padding-left: 0;
	padding-right: 24px;
}

#product-notice-place .woocommerce-error::before,
#product-notice-place .woocommerce-message::before {
	right: 0;
	left: auto;
}

/* Product gallery
------------------------------------------------------------------------------------------------- */

.woocommerce-product-gallery__wrapper button.slick-prev {
	right: 0;
	left: auto;
}

.woocommerce-product-gallery__wrapper button.slick-prev::before {
	content: url('../images/icons/arrow__right.svg');
}

.woocommerce-product-gallery__wrapper button.slick-next {
	right: auto;
	left: 0;
}

.woocommerce-product-gallery__wrapper button.slick-next::before {
	content: url('../images/icons/arrow__left.svg');
}

/* Product summary
------------------------------------------------------------------------------------------------- */

.share-list-container {
	right: auto;
	left: 0;
}

button.waitlist_add,
.woocommerce .waitlist_add.button {
	right: auto;
	left: 0;
}

button.waitlist_add.thannkyou,
.woocommerce .waitlist_add.button.thannkyou {
	right: auto;
	/* button place ( 150px ) and gap ( 25px ) */
	left: calc( 150px + 25px );
}

/* Product size table
------------------------------------------------------------------------------------------------- */

.size-table-btn {
	flex-direction: row-reverse;
}

/* Product tabs
------------------------------------------------------------------------------------------------- */

.woocommerce-Tabs-panel h2::before {
	margin-right: 0;
	margin-left: 10px;
}

/* Related products
------------------------------------------------------------------------------------------------- */

.related.products button.slick-prev {
	right: 10px;
	left: auto;
}

.related.products button.slick-prev::before {
	content: url('../images/icons/arrow__right.svg');
}

.related.products button.slick-prev::before:hover {
	content: url('../images/icons/arrow__right.svg');
}

.related.products button.slick-next {
	right: auto;
	left: 10px;
}

.related.products button.slick-next::before {
	content: url('../images/icons/arrow__left.svg');
}

.related.products button.slick-next::before:hover {
	content: url('../images/icons/arrow__left.svg');
}

/* My account
================================================================================================= */

/* 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;
}

/* Cart & Checkout
================================================================================================= */

/* Items
------------------------------------------------------------------------------------------------- */

.cart_item .product-remove {
	right: auto;
	left: 0;
}

/* Shipping
------------------------------------------------------------------------------------------------- */

.woocommerce ul#shipping_method li label {
	margin-right: 24px;
	margin-left: 65px;
}

.woocommerce ul#shipping_method .amount {
	right: auto;
	left: 0;
}

/* TODO: Remove media rule and content if theme NOT use SEPARATED checkout */
@media screen and ( max-width: 768px ) {
	.woocommerce table.shop_table_responsive tr td,
	.woocommerce-page table.shop_table_responsive tr td {
		text-align: right !important;
	}
}

/* Summary
------------------------------------------------------------------------------------------------- */

#add_payment_method #payment ul.payment_methods li input,
.woocommerce-cart #payment ul.payment_methods li input,
.woocommerce-checkout #payment ul.payment_methods li input {
	margin-right: 0;
	margin-left: 10px;
}

/* FAQ
================================================================================================= */

.faq__title::after {
	right: auto;
	left: 0;
}