/**
 * RTL Custom Stylesheet
 * Loaded only for Arabic (ar) and Hebrew (he) languages
 *
 * @package Enzian WordPress theme
 */

/* ==========================================================================
   General RTL adjustments
   ========================================================================== */
body {
  direction: rtl;
  text-align: right;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header,
.main-header,
.header-container {
  direction: rtl;
}

.site-header .menu,
.main-navigation ul {
  padding-right: 0;
}

/* ==========================================================================
   Navigation Menu
   ========================================================================== */
.main-navigation ul li {
  margin-right: 0;
  margin-left: 20px;
}

.main-navigation ul li:last-child {
  margin-left: 0;
}

.main-navigation ul ul {
  right: 0;
  left: auto;
}

/* ==========================================================================
   Buttons & Links
   ========================================================================== */
.btn,
.button,
button,
input[type="submit"] {
  direction: rtl;
}

.btn i,
.button i {
  margin-right: 0;
  margin-left: 8px;
}

/* ==========================================================================
   Forms
   ========================================================================== */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="url"],
input[type="number"],
textarea,
select {
  text-align: right;
  direction: rtl;
}

.form-row label {
  text-align: right;
}

/* ==========================================================================
   WooCommerce
   ========================================================================== */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  text-align: right;
}

.woocommerce ul.products li.product .price {
  direction: rtl;
}

.woocommerce-product-gallery {
  direction: rtl;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
  padding-right: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
  margin-left: 5px;
  margin-right: 0;
}

.woocommerce .quantity .qty {
  text-align: center;
}

.woocommerce-cart table.cart td.actions .coupon .input-text {
  margin-left: 5px;
  margin-right: 0;
}

.woocommerce ul.cart_list li img,
.woocommerce ul.product_list_widget li img {
  float: left;
  margin-right: 0;
  margin-left: 10px;
}

/* ==========================================================================
   Sidebar & Widgets
   ========================================================================== */
.widget,
.widget-area {
  direction: rtl;
  text-align: right;
}

.widget ul {
  padding-right: 0;
  padding-left: 0;
}

/* ==========================================================================
   Posts & Articles
   ========================================================================== */
.post,
.entry-content,
.entry-meta {
  direction: rtl;
  text-align: right;
}

.entry-meta span {
  margin-left: 10px;
  margin-right: 0;
}

blockquote {
  border-right: 4px solid #bc8157;
  border-left: none;
  padding-right: 20px;
  padding-left: 0;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer,
.footer-container {
  direction: rtl;
  text-align: right;
}

.site-footer .widget {
  text-align: right;
}

/* ==========================================================================
   Breadcrumbs
   ========================================================================== */
.breadcrumb,
.breadcrumbs {
  direction: rtl;
}

.breadcrumb-item + .breadcrumb-item::before {
  padding-right: 0.5rem;
  padding-left: 0.5rem;
  content: "\\";
}

/* ==========================================================================
   Pagination
   ========================================================================== */
.pagination,
.page-numbers {
  direction: rtl;
}

.pagination .prev,
.pagination .next {
  transform: scaleX(-1);
}

/* ==========================================================================
   Float helpers
   ========================================================================== */
.alignleft {
  float: right;
  margin-right: 0;
  margin-left: 1.5em;
}

.alignright {
  float: left;
  margin-left: 0;
  margin-right: 1.5em;
}

/* ==========================================================================
   Icons & Carousels
   ========================================================================== */
.slick-prev {
  right: auto;
  left: 0;
}

.slick-next {
  left: auto;
  right: 0;
}

/* ==========================================================================
   Hebrew specific font tweaks
   ========================================================================== */
html[lang^="he"] body,
html[lang^="he"] h1,
html[lang^="he"] h2,
html[lang^="he"] h3,
html[lang^="he"] h4,
html[lang^="he"] h5,
html[lang^="he"] h6 {
  font-family: "Heebo", "Rubik", "Arial Hebrew", Arial, sans-serif;
}

/* ==========================================================================
   Arabic specific font tweaks
   ========================================================================== */
html[lang^="ar"] body,
html[lang^="ar"] h1,
html[lang^="ar"] h2,
html[lang^="ar"] h3,
html[lang^="ar"] h4,
html[lang^="ar"] h5,
html[lang^="ar"] h6 {
  font-family: "Cairo", "Tajawal", "Tahoma", Arial, sans-serif;
}

.lakit-nav {
  direction: rtl !important;
}

.product_list_widget a.remove {
  left: -10px;
  right: auto !important;
}
