/**
 * WeTheme RTL Stylesheet
 */


body.rtl {
    direction: rtl;
    text-align: right;
}

/* RTL Layout */

.rtl .main-navigation ul {
    flex-direction: row;
    column-gap: 2.5rem;
    flex-wrap: wrap;
}

.rtl .widget-area {
    float: left;
}

/* RTL Typography */
.rtl h1, .rtl h2, .rtl h3, .rtl h4, .rtl h5, .rtl h6 {
    text-align: right;
}

.rtl p {
    text-align: right;
}

/* RTL Form */

.rtl input[type="text"],
.rtl input[type="email"],
.rtl input[type="password"],
.rtl input[type="search"],
.rtl input[type="url"],
.rtl input[type="tel"],
.rtl textarea,
.rtl select {
    text-align: right;
}

/* Breadcrumbs */
.rtl .breadcrumb {
    direction: rtl;
}

.rtl .breadcrumb-separator {
    transform: rotate(180deg);
}


/* Product grid */
.rtl .woocommerce .products {
    direction: rtl;
}

.rtl .text-left {
    text-align: right !important;
}

.rtl .text-right {
    text-align: left !important;
}

.rtl .ml-auto {
    margin-left: 0 !important;
    margin-right: auto !important;
}

.rtl .mr-auto {
    margin-right: 0 !important;
    margin-left: auto !important;
}

.rtl .pl-0 {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.rtl .pr-0 {
    padding-right: 0 !important;
    padding-left: 0 !important;
}

.rtl .megamenu-panel {
    right: auto;
    left: 0;
}

.rtl .sub-submenu {
    left: auto;
    right: 100%;
}

.rtl .level2-item > a:hover {
    padding-right: 0;
    padding-left: 8px;
}

.rtl .main-category-item.has-dropdown > a::after {
    margin-right: 0;
    margin-left: 5px;
}

.rtl .header-icons {
    flex-direction: row;
}

.rtl .header-login {
    margin-right: 0;
}

@media (max-width: 768px) {
    .rtl .main-menu {
        text-align: right;
    }
    
    .rtl .level1-item > a {
        text-align: right;
    }
    
    .rtl .level2-item > a {
        text-align: right;
    }
}