/* ==========================================================================
   Marji V2 — RTL overrides (loaded after rtl.css on Arabic pages)
   ========================================================================== */

/* Topbar: mirror — language on LEFT in RTL (visual right in source flipping) */
html[dir="rtl"] .topbar .container { flex-direction:row; }
html[dir="rtl"] .topbar-left { flex-direction:row; }
html[dir="rtl"] .topbar-left .info-item { flex-direction:row; }
html[dir="rtl"] .topbar-left .social-block { flex-direction:row; }

/* Header row: brand still at start, search center, actions at end */
html[dir="rtl"] .header-main { flex-direction:row; }
html[dir="rtl"] .header-actions { flex-direction:row; }

/* Search button moves to the left in RTL */
html[dir="rtl"] .search input { padding:18px 26px 18px 60px; }
html[dir="rtl"] .search-btn { right:auto; left:8px; }

/* Header dropdowns open to the left */
html[dir="rtl"] .dropdown-panel { right:auto; left:0; }
html[dir="rtl"] .dropdown-panel a.dropdown-item { flex-direction:row; text-align:right; }

/* Search suggest */
html[dir="rtl"] .search-suggest a.sug-item { flex-direction:row; text-align:right; }

/* Cart popup */
html[dir="rtl"] .cart-popup .cart-line { flex-direction:row; text-align:right; }
html[dir="rtl"] .cart-popup .cart-popup-actions { flex-direction:row; }

/* Mega menu drawer slides from the LEFT in RTL */
html[dir="rtl"] .mega-menu { right:auto; left:0; transform:translateX(-100%); box-shadow:10px 0 40px rgba(0,0,0,0.2); }
html[dir="rtl"] .mega-menu.open { transform:translateX(0); }
html[dir="rtl"] .mega-menu .mega-head { flex-direction:row; }
html[dir="rtl"] .mega-menu .mega-cat > a { flex-direction:row; }
html[dir="rtl"] .mega-menu .mega-sub a { text-align:right; padding:10px 36px 10px 20px; }
html[dir="rtl"] .mega-menu .mega-cat.open > a i { transform:rotate(-90deg); }

/* Hero */
html[dir="rtl"] .hero-slide-text { text-align:right; }
html[dir="rtl"] .hero-slide-text .hero-actions { flex-direction:row; justify-content:flex-end; }
html[dir="rtl"] .hero-counter .counter-row { direction:rtl; }

/* Features V2 */
html[dir="rtl"] .features-v2 .feature-item { flex-direction:row; text-align:right; }

/* Products slider */
html[dir="rtl"] .products-slider .product-card { direction:rtl; }
html[dir="rtl"] .products-slider .swiper-button-next { left:10px; right:auto; }
html[dir="rtl"] .products-slider .swiper-button-prev { right:10px; left:auto; }

/* WhatsApp float on the left in RTL */
html[dir="rtl"] .wa-float { right:auto; left:24px; align-items:flex-start; }
html[dir="rtl"] .wa-float .wa-channels { align-items:flex-start; }
html[dir="rtl"] .wa-float .wa-channel { flex-direction:row; }

/* Footer */
html[dir="rtl"] .site-footer ul li a { flex-direction:row; }
html[dir="rtl"] .site-footer ul li a::before { content:"\f060"; }
html[dir="rtl"] .site-footer .h4-line { direction:ltr; justify-content:flex-end; }
html[dir="rtl"] .site-footer .footer-bottom { flex-direction:row; }
