[dir="rtl"] .product-details-box .blog-gallery-wrapper {
    direction: rtl;
}

[dir="rtl"] .blog-main-image-wrapper {
    flex-direction: row-reverse;
}

[dir="rtl"] .blog-nav-arrow.blog-left-arrow {
    right: 15px;
    left: auto;
}

[dir="rtl"] .blog-nav-arrow.blog-right-arrow {
    left: 15px;
    right: auto;
}

[dir="rtl"] .blog-thumb-box {
    float: right;
}


/* RTL Styles for Product Details Gallery */
[dir="rtl"] .product-details-box {
    direction: rtl;
}

[dir="rtl"] .img-box,
[dir="rtl"] .content-box {
    float: right !important;
}

[dir="rtl"] .project-post-image {
    text-align: right;
}

[dir="rtl"] .tt-gallery-1-overlay,
[dir="rtl"] .tt-gallery-1-caption {
    left: auto !important;
    right: 0 !important;
}

[dir="rtl"] .tt-gallery-1-search {
    margin-left: auto;
    margin-right: 0;
}

[dir="rtl"] .paylas {
    text-align: right;
}

[dir="rtl"] .carousel-container {
    direction: rtl;
}

[dir="rtl"] .carousel-wrapper {
    direction: ltr; /* Keep thumbnails in LTR order visually */
    justify-content: flex-end;
}

[dir="rtl"] .thumbnail-row {
    display: flex;
    flex-direction: row-reverse; /* Reverse thumbnail order in RTL */
}

[dir="rtl"] .carousel-control-div.carousel-control-prev {
    left: 15px;
    right: auto;
}

[dir="rtl"] .carousel-control-div.carousel-control-next {
    right: 15px;
    left: auto;
}

[dir="rtl"] .carousel-control-prev span.material-symbols-outlined {
    transform: rotate(180deg); /* Flip the arrow icon */
}

[dir="rtl"] .carousel-control-next span.material-symbols-outlined {
    transform: rotate(180deg); /* Flip the arrow icon */
}

[dir="rtl"] .thumbnail-box img {
    float: right;
}

[dir="rtl"] .touch_top-con {
    direction: ltr;
}

[dir="rtl"] .widget-contact-list {
    direction: ltr;
}

[dir="rtl"] .avatar {
    float: left; /* Align avatar to the left in RTL */
}



[dir="rtl"] .looking-wrapper3> .row {
  flex-direction: row-reverse !important;
}

/* 2) Keep slide CONTENT RTL so Arabic reads naturally */
[dir="rtl"] .blog-container> .slides-blog{
    direction: ltr !important;

}
[dir="rtl"] .looking-wrapper3>.container>.align-items-center {
    display: flex;
}
