/*
 * RTL support for Arabic pages.
 * Keep every rule scoped to html[dir="rtl"] so English/LTR styling stays unchanged.
 */

html[dir="rtl"],
html[dir="rtl"] body {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] body,
html[dir="rtl"] button,
html[dir="rtl"] input,
html[dir="rtl"] select,
html[dir="rtl"] textarea {
  unicode-bidi: plaintext;
}

html[dir="rtl"] input,
html[dir="rtl"] textarea,
html[dir="rtl"] select,
html[dir="rtl"] .select2-container--default .select2-selection--single,
html[dir="rtl"] .woocommerce form .form-row input.input-text,
html[dir="rtl"] .woocommerce form .form-row textarea,
html[dir="rtl"] .wc-block-components-text-input input,
html[dir="rtl"] .wc-block-components-textarea,
html[dir="rtl"] .wc-block-components-combobox-control input,
html[dir="rtl"] .wc-block-components-select__select {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] input[type="email"],
html[dir="rtl"] input[type="url"],
html[dir="rtl"] input[type="tel"],
html[dir="rtl"] input[name*="email" i],
html[dir="rtl"] input[name*="phone" i],
html[dir="rtl"] input[name*="mobile" i],
html[dir="rtl"] .wc-block-components-address-form__email input,
html[dir="rtl"] .wc-block-components-address-form__phone input,
html[dir="rtl"] .scentra-checkout-email-field input,
html[dir="rtl"] .scentra-checkout-phone-field input,
html[dir="rtl"] .scentra-checkout-secondary-phone-field input {
  direction: ltr;
  text-align: left;
  unicode-bidi: embed;
}

html[dir="rtl"] ::placeholder {
  text-align: right;
}

html[dir="rtl"] input[type="email"]::placeholder,
html[dir="rtl"] input[type="url"]::placeholder,
html[dir="rtl"] input[type="tel"]::placeholder,
html[dir="rtl"] input[name*="email" i]::placeholder,
html[dir="rtl"] input[name*="phone" i]::placeholder,
html[dir="rtl"] input[name*="mobile" i]::placeholder {
  text-align: left;
}

html[dir="rtl"] table,
html[dir="rtl"] th,
html[dir="rtl"] td,
html[dir="rtl"] caption,
html[dir="rtl"] .woocommerce table.shop_table,
html[dir="rtl"] .woocommerce table.shop_table th,
html[dir="rtl"] .woocommerce table.shop_table td {
  text-align: right;
}

html[dir="rtl"] ul,
html[dir="rtl"] ol {
  padding-left: 0;
  padding-right: 1.25rem;
}

html[dir="rtl"] .site-header__inner,
html[dir="rtl"] .site-nav__menu,
html[dir="rtl"] .site-header__actions,
html[dir="rtl"] .footer-links,
html[dir="rtl"] .site-footer__inner,
html[dir="rtl"] .social-links,
html[dir="rtl"] .language-switcher,
html[dir="rtl"] .dark-filter-cats,
html[dir="rtl"] .shop-header-bar,
html[dir="rtl"] .shop-header-bar__right .woocommerce-ordering,
html[dir="rtl"] .dark-card-actions,
html[dir="rtl"] .woocommerce .quantity,
html[dir="rtl"] .woocommerce div.product form.cart,
html[dir="rtl"] .woocommerce div.product .woocommerce-tabs ul.tabs,
html[dir="rtl"] .woocommerce .woocommerce-form-login .woocommerce-form__label-for-checkbox,
html[dir="rtl"] .widget_price_filter .price_slider_wrapper .price_slider_amount,
html[dir="rtl"] .widget_layered_nav_filters ul,
html[dir="rtl"] .return-request-actions {
  direction: rtl;
}

html[dir="rtl"] .site-header__logo,
html[dir="rtl"] .site-header__logo a,
html[dir="rtl"] .site-header__logo-text {
  justify-content: flex-end;
  text-align: right;
}

html[dir="rtl"] .site-header__logo-link .astra-child-logo--header,
html[dir="rtl"] .mobile-drawer__logo .astra-child-logo--header,
html[dir="rtl"] .footer-brand__logo .astra-child-logo--footer {
  object-position: right center;
}

html[dir="rtl"] .site-nav__menu > li > a,
html[dir="rtl"] .site-header__logo-text,
html[dir="rtl"] .sidebar-title,
html[dir="rtl"] .widget-filter-label,
html[dir="rtl"] .filter-cat-link,
html[dir="rtl"] .shop-page-title,
html[dir="rtl"] .shop-header-bar__right .woocommerce-ordering::before,
html[dir="rtl"] .woocommerce-ordering select,
html[dir="rtl"] .woocommerce form.woocommerce-ordering select,
html[dir="rtl"] .dark-product-card h2,
html[dir="rtl"] .dark-add-to-cart-btn,
html[dir="rtl"] .woocommerce ul.products li.product h2,
html[dir="rtl"] .woocommerce ul.products li.product .onsale,
html[dir="rtl"] .woocommerce-account .woocommerce-MyAccount-navigation ul li a,
html[dir="rtl"] .woocommerce-orders-table th,
html[dir="rtl"] .woocommerce .lost_password a,
html[dir="rtl"] .woocommerce .woocommerce-form-login .woocommerce-form__label-for-checkbox,
html[dir="rtl"] .widget_product_categories ul li a,
html[dir="rtl"] .widget_layered_nav ul li a,
html[dir="rtl"] .widget_layered_nav_filters ul li a,
html[dir="rtl"] .widget_price_filter .price_slider_wrapper .price_slider_amount .button,
html[dir="rtl"] .yith-wcwl-share-title,
html[dir="rtl"] .wishlist-title h2 {
  letter-spacing: 0;
  text-transform: none;
}

html[dir="rtl"] .announcement-bar__viewport {
  direction: ltr;
}

html[dir="rtl"] .announcement-bar__track,
html[dir="rtl"] .announcement-bar__sequence {
  direction: ltr;
}

html[dir="rtl"] .announcement-bar__inner .material-symbols-outlined {
  margin-inline-start: 0;
  margin-inline-end: clamp(14px, 2.5vw, 34px);
}

html[dir="rtl"] .announcement-bar__item,
html[dir="rtl"] .announcement-bar__text,
html[dir="rtl"] .announcement-bar__extra {
  direction: rtl;
  text-align: right;
  white-space: nowrap;
  line-height: 1.45;
}

html[dir="rtl"] .announcement-bar__inner::before {
  left: 0;
  right: auto;
  background: linear-gradient(90deg, var(--c-bg-dark), transparent);
}

html[dir="rtl"] .announcement-bar__inner::after {
  right: 0;
  left: auto;
  background: linear-gradient(270deg, var(--c-bg-dark), transparent);
}

html[dir="rtl"] .site-nav__menu > li > a::after {
  left: auto;
  right: 0;
  transform-origin: right center;
}

html[dir="rtl"] .header-account-menu__dropdown,
html[dir="rtl"] .site-nav__menu .sub-menu {
  left: 0;
  right: auto;
  text-align: right;
}

html[dir="rtl"] .site-nav__menu .sub-menu a,
html[dir="rtl"] .header-account-menu__dropdown a,
html[dir="rtl"] .mobile-drawer,
html[dir="rtl"] .mobile-nav__menu,
html[dir="rtl"] .mobile-nav__menu a,
html[dir="rtl"] .search-overlay,
html[dir="rtl"] .search-quick-panel,
html[dir="rtl"] .search-results-panel {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .cart-count,
html[dir="rtl"] .wishlist-count {
  left: -7px;
  right: auto;
}

html[dir="rtl"] .mobile-nav__menu .sub-menu {
  padding-left: 0;
  padding-right: 1rem;
  border-left: 0;
  border-right: 1px solid rgba(242, 202, 80, 0.16);
}

html[dir="rtl"] .mobile-drawer__close {
  margin-left: 0;
  margin-right: auto;
}

html[dir="rtl"] .search-overlay__close {
  left: 22px;
  right: auto;
}

html[dir="rtl"] .search-overlay__form .search-field {
  padding-left: 54px;
  padding-right: 18px;
}

html[dir="rtl"] .search-overlay__submit {
  left: 6px;
  right: auto;
}

html[dir="rtl"] .dark-shop-container,
html[dir="rtl"] .woocommerce .ast-woocommerce-container,
html[dir="rtl"] .woocommerce-page .ast-woocommerce-container {
  direction: rtl;
}

html[dir="rtl"] .sidebar-featured-card__content {
  left: 24px;
  right: 24px;
  text-align: right;
}

html[dir="rtl"] .shop-header-bar__right .woocommerce-ordering select,
html[dir="rtl"] .woocommerce-ordering select,
html[dir="rtl"] .woocommerce form.woocommerce-ordering select {
  background-position: 18px calc(50% - 1px), 24px calc(50% - 1px);
  padding: 11px 18px 11px 42px !important;
}

html[dir="rtl"] .shop-price-filter__track,
html[dir="rtl"] .shop-price-filter__fill {
  left: 0;
  right: 0;
}

html[dir="rtl"] .filter-cat-item.is-active .filter-cat-link,
html[dir="rtl"] .woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a {
  border-bottom-color: var(--c-gold);
}

html[dir="rtl"] .woocommerce ul.products,
html[dir="rtl"] .products,
html[dir="rtl"] .dark-products-grid,
html[dir="rtl"] .featured-products-grid,
html[dir="rtl"] .shop-products-grid {
  direction: rtl;
}

html[dir="rtl"] .woocommerce ul.products li.product,
html[dir="rtl"] .dark-product-card,
html[dir="rtl"] .product-card,
html[dir="rtl"] .shop-product-card {
  text-align: right;
}

html[dir="rtl"] .woocommerce ul.products li.product .price,
html[dir="rtl"] .dark-product-card .price,
html[dir="rtl"] .dark-card-price,
html[dir="rtl"] .price {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .woocommerce span.onsale,
html[dir="rtl"] .woocommerce ul.products li.product .onsale {
  left: auto;
  right: 12px;
}

html[dir="rtl"] .woocommerce .star-rating {
  direction: ltr;
  text-align: left;
}

html[dir="rtl"] .woocommerce .woocommerce-breadcrumb,
html[dir="rtl"] .woocommerce-breadcrumb,
html[dir="rtl"] .woocommerce-notices-wrapper,
html[dir="rtl"] .woocommerce-error,
html[dir="rtl"] .woocommerce-info,
html[dir="rtl"] .woocommerce-message,
html[dir="rtl"] .wc-block-components-notice-banner {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .woocommerce-error,
html[dir="rtl"] .woocommerce-info,
html[dir="rtl"] .woocommerce-message {
  padding-left: 1.5em;
  padding-right: 3.25em;
}

html[dir="rtl"] .woocommerce-error::before,
html[dir="rtl"] .woocommerce-info::before,
html[dir="rtl"] .woocommerce-message::before {
  left: auto;
  right: 1.4em;
}

html[dir="rtl"] .woocommerce-error .button,
html[dir="rtl"] .woocommerce-info .button,
html[dir="rtl"] .woocommerce-message .button {
  float: left;
}

html[dir="rtl"] .woocommerce div.product div.summary,
html[dir="rtl"] .woocommerce div.product div.images,
html[dir="rtl"] .woocommerce div.product .product_title,
html[dir="rtl"] .woocommerce div.product p.price,
html[dir="rtl"] .woocommerce div.product span.price,
html[dir="rtl"] .woocommerce div.product .woocommerce-product-details__short-description,
html[dir="rtl"] .woocommerce div.product .product_meta,
html[dir="rtl"] .woocommerce div.product .woocommerce-tabs,
html[dir="rtl"] .woocommerce div.product .woocommerce-tabs .panel,
html[dir="rtl"] .woocommerce #reviews,
html[dir="rtl"] .woocommerce #review_form {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .woocommerce div.product form.cart .variations th,
html[dir="rtl"] .woocommerce div.product form.cart .variations td {
  text-align: right;
}

html[dir="rtl"] .woocommerce div.product form.cart .reset_variations {
  margin-left: 0;
  margin-right: 0.75rem;
}

html[dir="rtl"] .woocommerce .quantity .qty {
  text-align: center;
  direction: ltr;
}

html[dir="rtl"] .woocommerce-tabs ul.tabs {
  padding-right: 0 !important;
}

html[dir="rtl"] .woocommerce-tabs ul.tabs li {
  margin-left: 0.35rem !important;
  margin-right: 0 !important;
}

html[dir="rtl"] .woocommerce-cart .cart-collaterals,
html[dir="rtl"] .woocommerce-cart .cart_totals,
html[dir="rtl"] .woocommerce-cart .wp-block-woocommerce-cart,
html[dir="rtl"] .woocommerce-cart .wc-block-cart,
html[dir="rtl"] .woocommerce-cart .wc-block-cart__main,
html[dir="rtl"] .woocommerce-cart .wc-block-cart__sidebar,
html[dir="rtl"] .woocommerce-cart .wc-block-components-sidebar-layout,
html[dir="rtl"] .woocommerce-cart .wc-block-components-main,
html[dir="rtl"] .woocommerce-cart .wc-block-components-sidebar,
html[dir="rtl"] .woocommerce-cart .wc-block-cart-items,
html[dir="rtl"] .woocommerce-cart .wc-block-cart-item,
html[dir="rtl"] .woocommerce-cart .wc-block-components-totals-wrapper,
html[dir="rtl"] .woocommerce-cart table.cart,
html[dir="rtl"] .woocommerce-cart table.cart td,
html[dir="rtl"] .woocommerce-cart table.cart th,
html[dir="rtl"] .woocommerce-checkout,
html[dir="rtl"] .woocommerce-checkout .entry-content > .woocommerce,
html[dir="rtl"] .woocommerce-checkout .wp-block-woocommerce-checkout,
html[dir="rtl"] .woocommerce-checkout .wc-block-components-sidebar-layout,
html[dir="rtl"] .woocommerce-checkout .wc-block-components-checkout-step,
html[dir="rtl"] .woocommerce-checkout .wc-block-components-order-summary,
html[dir="rtl"] .woocommerce-checkout .wc-block-components-panel,
html[dir="rtl"] .woocommerce-checkout-review-order,
html[dir="rtl"] .woocommerce-billing-fields,
html[dir="rtl"] .woocommerce-shipping-fields,
html[dir="rtl"] .woocommerce-additional-fields {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .woocommerce-cart .wc-block-components-sidebar-layout,
html[dir="rtl"] .woocommerce-checkout .wc-block-components-sidebar-layout {
  direction: rtl;
}

html[dir="rtl"] .woocommerce-cart .wp-block-heading.has-text-align-left,
html[dir="rtl"] .woocommerce-checkout .wp-block-heading.has-text-align-left {
  text-align: right !important;
}

html[dir="rtl"] .woocommerce-cart .wp-block-heading.has-text-align-center,
html[dir="rtl"] .woocommerce-checkout .wp-block-heading.has-text-align-center {
  text-align: center !important;
}

html[dir="rtl"] .woocommerce-cart .wc-block-components-product-name,
html[dir="rtl"] .woocommerce-cart .wc-block-components-product-metadata,
html[dir="rtl"] .woocommerce-cart .wc-block-cart-item__prices,
html[dir="rtl"] .woocommerce-cart .wc-block-components-totals-item,
html[dir="rtl"] .woocommerce-cart .wc-block-components-totals-coupon,
html[dir="rtl"] .woocommerce-cart .wc-block-components-totals-coupon__content,
html[dir="rtl"] .woocommerce-cart .wc-block-components-totals-coupon__form,
html[dir="rtl"] .woocommerce-checkout .wc-block-components-product-name,
html[dir="rtl"] .woocommerce-checkout .wc-block-components-product-metadata,
html[dir="rtl"] .woocommerce-checkout .wc-block-components-order-summary-item__description,
html[dir="rtl"] .woocommerce-checkout .wc-block-components-totals-coupon,
html[dir="rtl"] .woocommerce-checkout .wc-block-components-totals-coupon__content,
html[dir="rtl"] .woocommerce-checkout .wc-block-components-totals-coupon__form {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .woocommerce-cart .wc-block-cart-item__image,
html[dir="rtl"] .woocommerce-checkout .wc-block-components-order-summary-item__image {
  margin-left: 16px;
  margin-right: 0;
}

html[dir="rtl"] .woocommerce-cart .wc-block-components-totals-item__label,
html[dir="rtl"] .woocommerce-checkout .wc-block-components-totals-item__label {
  text-align: right;
}

html[dir="rtl"] .woocommerce-cart .wc-block-components-totals-item__value,
html[dir="rtl"] .woocommerce-checkout .wc-block-components-totals-item__value {
  text-align: left;
}

html[dir="rtl"] .woocommerce-cart .wc-block-cart__submit-button,
html[dir="rtl"] .woocommerce-cart .wc-block-components-button,
html[dir="rtl"] .woocommerce-cart .wc-block-components-totals-coupon__button,
html[dir="rtl"] .woocommerce-checkout .wc-block-components-button,
html[dir="rtl"] .woocommerce-checkout .wc-block-components-totals-coupon__button,
html[dir="rtl"] .woocommerce-checkout .wc-block-components-checkout-place-order-button,
html[dir="rtl"] .woocommerce-cart .wc-block-components-text-input label,
html[dir="rtl"] .woocommerce-checkout .wc-block-components-text-input label,
html[dir="rtl"] .woocommerce-checkout .wc-block-components-checkout-step__title,
html[dir="rtl"] .woocommerce-checkout .wc-block-components-order-summary__button-text,
html[dir="rtl"] .woocommerce-checkout .wc-block-checkout__terms .wc-block-components-checkbox__label,
html[dir="rtl"] .woocommerce-checkout .wc-block-checkout__terms span:not(.screen-reader-text) {
  letter-spacing: 0 !important;
  text-transform: none !important;
}

html[dir="rtl"] .woocommerce-cart table.cart td.actions .coupon {
  float: right;
}

html[dir="rtl"] .woocommerce-cart table.cart td.actions .button {
  float: left;
}

html[dir="rtl"] .woocommerce-checkout .wc-block-components-sidebar-layout {
  grid-template-columns: minmax(0, 1.32fr) minmax(300px, 0.82fr);
}

html[dir="rtl"] .woocommerce-checkout .wc-block-components-main {
  grid-column: auto;
}

html[dir="rtl"] .woocommerce-checkout .wc-block-components-sidebar {
  grid-column: auto;
}

html[dir="rtl"] .woocommerce-checkout .wc-block-components-checkbox,
html[dir="rtl"] .woocommerce-checkout .wc-block-components-radio-control__option,
html[dir="rtl"] .woocommerce-checkout .wc-block-components-totals-item,
html[dir="rtl"] .woocommerce-checkout .wc-block-components-order-summary-item,
html[dir="rtl"] .woocommerce-checkout .wc-block-components-payment-method-label,
html[dir="rtl"] .woocommerce form .form-row label,
html[dir="rtl"] .woocommerce form .form-row .woocommerce-input-wrapper {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .woocommerce-checkout .wc-block-components-checkbox label,
html[dir="rtl"] .woocommerce-checkout .wc-block-components-radio-control__option {
  flex-direction: row;
}

html[dir="rtl"] .woocommerce-checkout .components-custom-select-control__button {
  text-align: right !important;
}

html[dir="rtl"] .woocommerce-checkout .wc-block-checkout__form .wc-blocks-components-select__expand {
  left: 16px !important;
  right: auto !important;
}

html[dir="rtl"] .woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
  padding: 0 15px 0 42px !important;
  text-align: right !important;
}

html[dir="rtl"] .woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow {
  left: 0 !important;
  right: auto !important;
}

html[dir="rtl"] .woocommerce-checkout .iti__country-container {
  left: auto;
  right: 0;
}

html[dir="rtl"] .woocommerce-checkout .iti__selected-country,
html[dir="rtl"] .woocommerce-checkout .iti__selected-flag {
  border-left: 1px solid rgba(242, 202, 80, 0.18);
  border-right: 0;
  border-radius: 0 0.35rem 0.35rem 0;
}

html[dir="rtl"] .woocommerce-checkout .iti input.input-text,
html[dir="rtl"] .woocommerce-checkout .iti input[type="tel"],
html[dir="rtl"] .woocommerce-checkout .iti .wc-block-components-text-input input,
html[dir="rtl"] .woocommerce-checkout .iti--allow-dropdown input,
html[dir="rtl"] .woocommerce-checkout .iti--show-selected-dial-code input,
html[dir="rtl"] .woocommerce-checkout .iti--separate-dial-code input,
html[dir="rtl"] .woocommerce-checkout input.scentra-phone-input {
  padding-left: 1rem !important;
  padding-right: 6rem !important;
}

html[dir="rtl"] .woocommerce-account .woocommerce,
html[dir="rtl"] .woocommerce-account .woocommerce-MyAccount-navigation,
html[dir="rtl"] .woocommerce-account .woocommerce-MyAccount-content,
html[dir="rtl"] .woocommerce-account .woocommerce-MyAccount-content p,
html[dir="rtl"] .woocommerce-account .woocommerce-MyAccount-content address,
html[dir="rtl"] .woocommerce-account .woocommerce-MyAccount-content form,
html[dir="rtl"] .woocommerce-account .woocommerce-MyAccount-content .woocommerce-address-fields,
html[dir="rtl"] .woocommerce-account .woocommerce-privacy-policy-text {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .woocommerce-account .woocommerce-MyAccount-navigation ul {
  padding: 0 !important;
}

html[dir="rtl"] .woocommerce-orders-table .woocommerce-orders-table__cell-order-number a {
  justify-content: flex-end !important;
}

html[dir="rtl"] .woocommerce-orders-table .woocommerce-orders-table__cell-order-actions {
  justify-content: flex-start !important;
}

html[dir="rtl"] .woocommerce-account .addresses .title h2,
html[dir="rtl"] .woocommerce-account .addresses .title h3 {
  float: right;
}

html[dir="rtl"] .woocommerce-account .addresses .title .edit {
  float: left;
}

html[dir="rtl"] .woocommerce-order-received .woocommerce-order-overview,
html[dir="rtl"] .woocommerce-order-received .woocommerce-order-details,
html[dir="rtl"] .woocommerce-order-received .woocommerce-customer-details,
html[dir="rtl"] .woocommerce-order-received .woocommerce-column,
html[dir="rtl"] .woocommerce-order-received address {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .woocommerce-order-received .woocommerce-order-overview li {
  border-left: 1px solid rgba(242, 202, 80, 0.1) !important;
  border-right: 0 !important;
}

html[dir="rtl"] .woocommerce-order-received .woocommerce-order-overview li:last-child {
  border-left: 0 !important;
}

html[dir="rtl"] .wishlist_table,
html[dir="rtl"] .wishlist_table th,
html[dir="rtl"] .wishlist_table td,
html[dir="rtl"] .yith-wcwl-form,
html[dir="rtl"] .yith-wcwl-share,
html[dir="rtl"] .wishlist-title {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .wishlist_table .product-add-to-cart,
html[dir="rtl"] .wishlist_table .product-remove {
  text-align: center;
}

html[dir="rtl"] .yith-wcwl-share ul {
  padding-right: 0;
}

html[dir="rtl"] .astra-child-shortcode,
html[dir="rtl"] .featured-products-shortcode,
html[dir="rtl"] .shop-shortcode,
html[dir="rtl"] .section-heading,
html[dir="rtl"] .section-title,
html[dir="rtl"] .section-subtitle,
html[dir="rtl"] .hero-content,
html[dir="rtl"] .hero-actions,
html[dir="rtl"] .auth-panel,
html[dir="rtl"] .auth-form,
html[dir="rtl"] .return-request-form,
html[dir="rtl"] .return-request-list,
html[dir="rtl"] .scentra-form,
html[dir="rtl"] .form-row {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .hero-actions,
html[dir="rtl"] .section-actions,
html[dir="rtl"] .auth-actions,
html[dir="rtl"] .form-actions {
  justify-content: flex-end;
}

html[dir="rtl"] .wp-block-button,
html[dir="rtl"] .wp-block-buttons,
html[dir="rtl"] .wp-block-navigation,
html[dir="rtl"] .wp-block-group,
html[dir="rtl"] .entry-content,
html[dir="rtl"] .page-content,
html[dir="rtl"] .entry-summary {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .wp-block-buttons {
  justify-content: flex-end;
}

@media (max-width: 921px) {
  html[dir="rtl"] .site-header__inner,
  html[dir="rtl"] .shop-header-bar,
  html[dir="rtl"] .dark-shop-container,
  html[dir="rtl"] .woocommerce-checkout .wc-block-components-sidebar-layout,
  html[dir="rtl"] .woocommerce-checkout .wc-block-components-contact-fields:has(.scentra-checkout-email-field):has(.scentra-checkout-phone-field),
  html[dir="rtl"] .woocommerce-checkout .wc-block-checkout__contact-fields:has(.scentra-checkout-email-field):has(.scentra-checkout-phone-field),
  html[dir="rtl"] .woocommerce-checkout .wc-block-components-address-form,
  html[dir="rtl"] .woocommerce-checkout .woocommerce-shipping-fields__field-wrapper,
  html[dir="rtl"] .woocommerce-checkout .woocommerce-billing-fields__field-wrapper {
    grid-template-columns: 1fr !important;
  }

  html[dir="rtl"] .woocommerce-checkout .wc-block-components-main,
  html[dir="rtl"] .woocommerce-checkout .wc-block-components-sidebar {
    grid-column: auto;
  }

  html[dir="rtl"] .woocommerce-cart table.cart td,
  html[dir="rtl"] .woocommerce-account .woocommerce-MyAccount-content table td {
    text-align: right !important;
  }

  html[dir="rtl"] .woocommerce-cart table.cart td::before,
  html[dir="rtl"] .woocommerce-account .woocommerce-MyAccount-content table td::before {
    float: right;
    margin-left: 0.75rem;
    margin-right: 0;
  }
}

@media (max-width: 575.98px) {
  html[dir="rtl"] .woocommerce-error .button,
  html[dir="rtl"] .woocommerce-info .button,
  html[dir="rtl"] .woocommerce-message .button,
  html[dir="rtl"] .woocommerce-cart table.cart td.actions .coupon,
  html[dir="rtl"] .woocommerce-cart table.cart td.actions .button {
    float: none;
  }

  html[dir="rtl"] .woocommerce-order-received .woocommerce-order-overview li {
    border-left: 0 !important;
  }
}
