/* ============================================
   Shop RTL Overrides
   Loaded after shop-common.css when dir="rtl"
   ============================================ */

/* ── General text alignment ──────────────────── */
.single-shop-left-list .item,
.single-shop-left .shop-left-title .shop-left-list .category-lists .list,
.single-shop-left .shop-left-title .shop-left-list .color-lists .list {
    text-align: right;
    padding-left: 0;
    padding-right: 30px;
}

.single-shop-left-list .item::before,
.single-shop-left-filter-list .item::before {
    left: auto;
    right: 0;
}

.single-shop-left-list .item.menu-item-has-children {
    padding-right: 0;
}

.single-shop-left-list .item.menu-item-has-children > .submenu {
    padding-left: 0;
    padding-right: 20px;
}

.single-shop-left-list .item.menu-item-has-children::after {
    right: auto;
    left: 0;
}

.single-shop-left-filter-list .item {
    padding-left: 0;
    padding-right: 30px;
}

.single-shop-left-title .title::after {
    right: auto;
    left: 0;
}

.single-shop-left .shop-left-title .title::after {
    right: auto;
    left: 0;
}

/* ── Badge positioning ───────────────────────── */
.global-badge {
    right: auto;
    left: 0;
}

.global-badge.left-side {
    left: auto;
    right: 0;
}

.global-badge-box {
    margin-left: 0;
    margin-right: auto;
}

.cart-btn-absolute {
    left: auto;
    right: 20px;
}

/* ── Product card icons ──────────────────────── */
.global-card-thumb-badge {
    right: auto;
    left: 10px;
}

.global-card-thumb-badge.right-side {
    left: auto;
    right: 10px;
}

/* ── Checkout layout ─────────────────────────── */
.checkout-wrapper {
    text-align: right;
}

.checkout-wrapper .single-checkout-list {
    text-align: right;
}

.checkout-wrapper .checkbox-inlines .checkbox-label {
    text-align: right;
}

.checkout-wrapper .toggle-password {
    right: auto;
    left: 20px;
}

/* ── Cart table ──────────────────────────────── */
.table-list-content .custom--table thead tr th:first-child {
    text-align: right;
}

.table-list-content .custom--table tbody tr td .product-name-table .carts-contents {
    margin-left: 0;
    margin-right: 20px;
    text-align: right;
}

.table-list-content .custom--table tbody tr td .close-table-cart {
    right: auto;
    left: 5px;
}

.table-update-btn {
    text-align: right;
}

.coupon-wrapper {
    text-align: right;
}

/* ── Product details ─────────────────────────── */
.single-shop-details-wrapper {
    text-align: right;
}

.shop-details-faq-contents .faq-contents .faq-item {
    text-align: right;
}

.shop-details-faq-contents .faq-contents .faq-item .faq-title::after {
    right: auto;
    left: 0;
}

.tab-description {
    text-align: right;
}

/* ── Blog details ────────────────────────────── */
.single-blog-details-content-tags-item:not(:last-child) {
    padding-right: 0;
    padding-left: 20px;
}

.single-blog-details-content-tags-item:not(:first-child) {
    padding-left: 0;
    padding-right: 20px;
}

.single-blog-details-content-tags-item:not(:first-child)::before {
    left: auto;
    right: -5px;
}

blockquote {
    border-left: none;
    border-right: 5px solid var(--main-color-one);
}

.single-blog-details {
    text-align: right;
}

.details-comment-content {
    text-align: right;
}

.details-comment-content .single-commetns .comment-label {
    text-align: right;
}

.comment-list .blog-details-flex-content {
    text-align: right;
}

.comment-list .comment-list {
    margin-left: 0;
    margin-right: 80px;
}

@media (max-width: 767px) {
    .comment-list .comment-list {
        margin-right: 40px;
    }
}

/* ── Blog sidebar ────────────────────────────── */
.sidebar-search-form .single-search-sidebar button {
    right: auto;
    left: 15px;
}

.sidebar-search-form .single-search-sidebar .form--control {
    padding: 0 15px 0 40px;
}

.recent-post-contents .recent-post-single .recent-post-flex {
    text-align: right;
}

.recent-post-contents .recent-post-single .recent-post-flex .recent-post-thumb {
    margin-right: 0;
    margin-left: 15px;
}

/* ── Breadcrumb ──────────────────────────────── */
.breadcrumb-contents-list-item:not(:last-child) {
    padding-right: 0;
    padding-left: 20px;
}

.breadcrumb-contents-list-item:not(:first-child) {
    padding-left: 0;
    padding-right: 20px;
}

.breadcrumb-contents-list-item:last-child {
    padding-left: 0;
    padding-right: 0;
}

.breadcrumb-contents-list-item:not(:last-child)::after {
    right: auto;
    left: 0;
    transform: scaleX(-1);
}

/* ── Shop filter results ─────────────────────── */
span.showing-results {
    text-align: right;
    display: block;
}

.selectder-filter-contents .selected-flex-list li:not(:first-child) a {
    padding-right: 20px;
    padding-left: 0;
}

.selectder-filter-contents .selected-flex-list li:not(:last-child) a {
    padding-left: 20px;
    padding-right: 0;
}

.selectder-filter-contents .selected-flex-list li:not(:last-child) a::after {
    right: auto;
    left: -8px;
}

/* ── Shop list view ──────────────────────────── */
.signle-shop-list .shop-list-flex {
    text-align: right;
}

.signle-shop-list .shop-list-contents .global-shop-list .list .color-list {
    margin-left: 0;
    margin-right: 10px;
}

.signle-shop-list .shop-list-contents .global-shop-list .list:not(:last-child) .shop-size::after {
    right: auto;
    left: 0;
}

.signle-shop-list .shop-list-contents .global-shop-list .list:not(:first-child) .shop-size {
    padding-left: 0;
    padding-right: 10px;
}

.signle-shop-list .shop-list-contents .global-shop-list .list .artificial {
    margin-left: 0;
    margin-right: 10px;
}

/* ── Contact / Forms ─────────────────────────── */
.contact-form {
    text-align: right;
}

.contacts-content {
    text-align: right;
}

.single-input .form--message {
    text-align: right;
}

/* ── User dashboard ──────────────────────────── */
.single-dashboard-input {
    text-align: right;
}

.dashboard-password-details .btn-wrapper {
    text-align: right;
}

.single-dashboard-input .single-info-input .nice-select {
    text-align: right !important;
}

.dashboard-address-details {
    text-align: right;
}

.seller-profile-details-wrapper .btn-wrapper {
    text-align: right;
}

.profile-single-badge .profile-badge-flex .author-thumb {
    margin-right: 0;
    margin-left: 30px;
}

.profile-badge-contetns {
    text-align: right;
}

.seller-order-status-contents {
    text-align: right;
}

.single-complete-orders {
    text-align: right;
}

/* ── Pagination ──────────────────────────────── */
.pagination-list::before,
.pagination-list::after {
    transform: scaleX(-1);
}

/* ── Nice Select ─────────────────────────────── */
.nice-select:after {
    right: auto;
    left: 20px;
}

/* ── Toggle password ─────────────────────────── */
.toggle-password {
    right: auto;
    left: 20px;
}

/* ── Login / Register ────────────────────────── */
.signin-contents {
    text-align: right;
}

.checkbox-inlines .checkbox-label {
    text-align: right;
}

/* ── About page ──────────────────────────────── */
.single-about-content {
    text-align: right;
}

.single-about-address {
    text-align: right;
}

.about-contents-title {
    padding-left: 0;
    padding-right: 70px;
}

@media (max-width: 1199px) {
    .about-contents-title {
        padding-right: 50px;
    }
}

/* ── Title bottom border ─────────────────────── */
.title-bottom-border::before {
    left: auto;
    right: 0;
}

/* ── Shop details cart content ───────────────── */
.shop-detail-cart-content .single-shop-details-wrapper {
    text-align: right;
}

/* ── Price display ───────────────────────────── */
.price-update-through .flash-prices {
    margin-right: 0;
    margin-left: 10px;
}

/* ── Status details ──────────────────────────── */
.status-details-title {
    text-align: right;
    margin-right: 0 !important;
    margin-left: 10px;
}

/* ── Order details table ─────────────────────── */
.order-details-table th,
.order-details-table td {
    text-align: right;
}

/* ── Seller details ──────────────────────────── */
.seller-details-box {
    text-align: right;
}

.about-seller-flex-content {
    text-align: right;
}

.title-seller {
    text-align: right;
}

/* ── Checkout single list ────────────────────── */
.single-checkout-list .common-title {
    text-align: right !important;
}

/* ── Global flex card contents ───────────────── */
.global-flex-card-contents-para {
    text-align: right;
}

.global-flex-card-contents-para.extra-padding-right {
    padding-right: 0;
    padding-left: 100px;
}

@media (max-width: 1199px) {
    .global-flex-card-contents-para.extra-padding-right {
        padding-left: 0;
    }
}

/* ── Overlay hover effects ───────────────────── */
.hover-overlay::before {
    left: auto;
    right: 0;
}

/* ── Search suggestions ──────────────────────── */
.search-suggestions-wrapper {
    text-align: right;
}

/* ── Product variant selection ───────────────── */
.product-variant-list {
    text-align: right;
}

.color-list,
.size_list {
    text-align: right;
}

/* ── Shop product sort bar ───────────────────── */
.shop-sorting-flex {
    text-align: right;
}

/* ── Cart shopping dropdown ──────────────────── */
.cart-shopping .addto-cart-contents {
    right: auto;
    left: 0;
}

.cart-shopping .addto-cart-img-contents {
    text-align: right;
}

.cart-shopping .single-addto-carts .addto-cart-flex-contents .addto-cart-thumb {
    margin-right: 0;
    margin-left: 10px;
}

/* ── Login account dropdown ──────────────────── */
.login-account .account-list-item {
    right: auto;
    left: 0;
    text-align: right;
}

/* ── Back to top ─────────────────────────────── */
.back-to-top {
    right: auto;
    left: 30px;
}

/* ── Digital product pages ───────────────────── */
.digital-product-card {
    text-align: right;
}

/* ── Checkout cart items ────────────────────── */
.single-checkout-cart-items .single-check-carts .check-cart-flex-contents .checkout-cart-img-contents {
    text-align: right;
}

/* ── Form check label ───────────────────────── */
.form-check-label {
    text-align: right;
}

/* ── Specification table ────────────────────── */
.specification-table th,
.specification-table td {
    text-align: right;
}

/* ── Checkout form ──────────────────────────── */
.checkout-form {
    text-align: right;
}

.checkout-form-contents {
    text-align: right;
}

.checkout-form-contents-title {
    text-align: right;
}

.checkout-inner-title {
    text-align: right;
}

/* ── Checkout order summary ─────────────────── */
.checkout-order-summery {
    text-align: right;
}

/* ── Gift card input ────────────────────────── */
.gift-card-wrapper {
    text-align: right;
}

/* ── Coupon form ────────────────────────────── */
.coupon-contents {
    text-align: right;
}

/* ── Shipping method labels ─────────────────── */
.shipping-method-label {
    text-align: right;
}

/* ── Custom-style.css RTL overrides ─────────── */
.quick-view-shop-wrapper .single-shop-details-wrapper {
    margin-left: 0;
    margin-right: 20px;
}

.footer-link-list-tenant li a {
    padding-left: 0;
    padding-right: 20px;
}

.footer-link-list-tenant li a::before {
    left: auto;
    right: 0;
}

.list_sub_item li {
    padding-left: 0;
    padding-right: 20px;
}

.list_sub_item li::before {
    left: auto;
    right: 0;
}

/* ── Responsive mobile menu ──────────────────── */
@media (max-width: 991px) {
    .navbar-area .nav-container .responsive-mobile-menu .navbar-toggler {
        right: auto;
        left: 0;
    }

    .click-content-show {
        right: auto;
        left: 60px;
    }

    .right-contents-show {
        margin-left: 0;
        margin-right: auto;
    }

    .show-nav-content {
        margin-left: unset;
        margin-right: auto;
    }
}

/* ── Footer overrides (shop pages) ───────────── */
.footer-widget {
    text-align: right;
}

.footer-widget .footer-inner .subscribe-form .widget-form-single button {
    right: auto;
    left: 0;
}

.footer-widget .footer-inner .subscribe-form .widget-form-single .form--control {
    padding: 0 20px 0 60px;
}

.footer-list-bars .footer-inner .footer-link-list .list {
    padding-left: 0;
    padding-right: 40px;
}

.footer-list-bars .footer-inner .footer-link-list .list::before {
    left: auto;
    right: 0;
}

.footer-widget .footer-inner .footer-link-list .list i {
    transform: scaleX(-1);
}

.footer-middle-border div[class*=col]:not(:first-child) .footer-widget::before {
    left: auto;
    right: -50px;
}

@media (min-width: 1200px) and (max-width: 1399px) {
    .footer-middle-border div[class*=col]:not(:first-child) .footer-widget::before {
        right: -30px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .footer-middle-border div[class*=col]:not(:first-child) .footer-widget::before {
        right: -20px;
    }
}

/* ── Slick slider arrows ─────────────────────── */
.global-slick-init .slick-prev,
.slick-prev {
    left: auto;
    right: -40px;
}

.global-slick-init .slick-next,
.slick-next {
    right: auto;
    left: -40px;
}

.append-featured,
.append-flash,
.append-blog,
.append-feedback,
.append-team {
    flex-direction: row-reverse;
}

.append-featured i,
.append-flash i,
.append-blog i,
.append-feedback i,
.append-team i {
    transform: scaleX(-1);
}

/* ── Timer/countdown ─────────────────────────── */
.global-timer .syotimer__body .syotimer-cell:not(:last-child)::after {
    right: auto;
    left: -30px;
}

/* ── Language selector ───────────────────────── */
.language-content .nice-select {
    padding-left: 30px;
    padding-right: 18px;
}

.language-content .nice-select::after {
    right: auto;
    left: 15px;
}

/* ── Category searchbar ──────────────────────── */
.category-searchbar .form--control {
    padding: 0 20px 0 100px;
}

.right-position-button {
    right: auto;
    left: 0;
}

/* ── Topbar ──────────────────────────────────── */
.topbar-logo {
    text-align: right;
}

.topbar-bottom-right-content {
    margin-left: 0;
}

/* ── Payment gateway selection (checkout) ──── */
.payment-gateway-wrapper ul li:after {
    right: auto;
    left: 0;
}

.payment-gateway-wrapper ul li:before {
    right: auto;
    left: 0;
}

/* ── Quantity buttons (cart page) ────────────── */
.table-list-content .custom--table tbody tr td .product-quantity .quantity-input::before {
    left: auto;
    right: 0;
}

.table-list-content .custom--table tbody tr td .product-quantity .substract,
.table-list-content .custom--table tbody tr td .product-quantity .plus {
    left: auto;
}

.table-list-content .custom--table tbody tr td .product-quantity .plus {
    right: auto;
    left: 5px;
}

@media (min-width: 300px) and (max-width: 991.98px) {
    .table-list-content .custom--table tbody tr td .product-quantity {
        margin-right: auto;
        margin-left: 10px;
    }
}

/* ── Product details quantity ───────────────── */
.shop-details-cart-content .plus-minus-input .substract,
.shop-details-cart-content .plus-minus-input .plus {
    direction: ltr;
}

/* ── Search form icon position ──────────────── */
.search-suggestion-input-wrapper .search-icon {
    right: auto;
    left: 15px;
}

.search-suggestion-input-wrapper .form--control {
    padding-left: 40px;
    padding-right: 15px;
}

/* ── Navbar submenu arrows ──────────────────── */
.navbar-area .nav-container .navbar-collapse .navbar-nav li.menu-item-has-children > a::after {
    margin-left: 0;
    margin-right: 5px;
}

/* ── Product card action buttons ────────────── */
.global-card-thumb .global-card-thumb-badge-flex {
    right: auto;
    left: 10px;
}

/* ── Flash sale / deal timer ────────────────── */
.deal-content-wrapper {
    text-align: right;
}

/* ── Newsletter input ───────────────────────── */
.newsletter-form .form--control {
    padding-right: 20px;
    padding-left: 130px;
}

.newsletter-form .newsletter-btn {
    right: auto;
    left: 0;
}
